=== RUN TestDownloadOnly/v1.16.0/json-events
aaa_download_only_test.go:69: (dbg) Run: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-046000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2
aaa_download_only_test.go:69: (dbg) Non-zero exit: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-046000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (19.480227459s)
-- stdout --
{"specversion":"1.0","id":"ec2e4805-2574-4361-8da1-a92a0fdd91e3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-046000] minikube v1.32.0 on Darwin 14.1.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"29692def-633d-4308-9178-f599edcab812","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17711"}}
{"specversion":"1.0","id":"a5eb03fb-affd-4887-a0c1-38d484168d1d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17711-5301/kubeconfig"}}
{"specversion":"1.0","id":"69969121-0a00-467a-b8b1-ef577d5ab4c6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_BIN=out/minikube-darwin-arm64"}}
{"specversion":"1.0","id":"ab8835d8-dc68-419a-97ae-1c7ac7f7fec8","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true"}}
{"specversion":"1.0","id":"d88a36fb-51d3-4a7f-91da-948cc5949237","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17711-5301/.minikube"}}
{"specversion":"1.0","id":"aa251bee-83c9-43f5-a117-45a62831512d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.warning","datacontenttype":"application/json","data":{"message":"minikube skips various validations when --force is supplied; this may lead to unexpected behavior"}}
{"specversion":"1.0","id":"3399c7fb-af51-4f1f-a2a3-c11858880e07","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"1","message":"Using the qemu2 driver based on user configuration","name":"Selecting Driver","totalsteps":"19"}}
{"specversion":"1.0","id":"be9d3602-c953-43e3-a132-2a301195c673","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"Automatically selected the socket_vmnet network"}}
{"specversion":"1.0","id":"3bc5be77-4d78-40a1-a7ed-ee677184b382","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"1","message":"Downloading VM boot image ...","name":"Selecting Driver","totalsteps":"19"}}
{"specversion":"1.0","id":"4979ee79-49a2-4d44-aa47-a04546ae4f9c","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Starting control plane node download-only-046000 in cluster download-only-046000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"84ff2394-7906-4add-80dc-bcbe5483e861","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Downloading Kubernetes v1.16.0 preload ...","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"ee8a9414-8f5d-44a8-92b4-aa1902e922d9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.error","datacontenttype":"application/json","data":{"advice":"","exitcode":"40","issues":"","message":"Failed to cache kubectl: download failed: https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl.sha1: getter: \u0026{Ctx:context.Background Src:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl.sha1 Dst:/Users/jenkins/minikube-integration/17711-5301/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104564a80 0x104564a80 0x104564a80 0x104564a80 0x104564a80 0x104564a80 0x104564a80] Decompressors:map[bz2:0x140005364d0 gz:0x140005364d8 tar:0x14000536480 tar.bz2:0x14000536490 tar.gz:0x140005364a0 tar.xz:0x140005364b0 tar.zst:0x140005364c0 tbz2:0x14000536490 tgz:0x140005
364a0 txz:0x140005364b0 tzst:0x140005364c0 xz:0x140005364e0 zip:0x140005364f0 zst:0x140005364e8] Getters:map[file:0x14000c72710 http:0x14000ac21e0 https:0x14000ac2230] Dir:false ProgressListener:\u003cnil\u003e Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404","name":"INET_CACHE_KUBECTL","url":""}}
{"specversion":"1.0","id":"16937676-e133-41f7-b10d-30b67fae6dd8","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.error","datacontenttype":"application/json","data":{"message":"╭───────────────────────────────────────────────────────────────────────────────────────────╮\n│ │\n│ If the above advice does not help, please let us know: │\n│ https://github.com/kubernetes/minikube/issues/new/choose │\n│ │\n│ Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue. │\n│
│\n╰───────────────────────────────────────────────────────────────────────────────────────────╯"}}
-- /stdout --
** stderr **
I1206 10:05:07.591478 5733 out.go:296] Setting OutFile to fd 1 ...
I1206 10:05:07.591637 5733 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1206 10:05:07.591639 5733 out.go:309] Setting ErrFile to fd 2...
I1206 10:05:07.591642 5733 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1206 10:05:07.591767 5733 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17711-5301/.minikube/bin
W1206 10:05:07.591856 5733 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17711-5301/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17711-5301/.minikube/config/config.json: no such file or directory
I1206 10:05:07.593109 5733 out.go:303] Setting JSON to true
I1206 10:05:07.610821 5733 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":2078,"bootTime":1701883829,"procs":472,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.1.2","kernelVersion":"23.1.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1206 10:05:07.610925 5733 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1206 10:05:07.617165 5733 out.go:97] [download-only-046000] minikube v1.32.0 on Darwin 14.1.2 (arm64)
I1206 10:05:07.621615 5733 out.go:169] MINIKUBE_LOCATION=17711
I1206 10:05:07.617279 5733 notify.go:220] Checking for updates...
W1206 10:05:07.617322 5733 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17711-5301/.minikube/cache/preloaded-tarball: no such file or directory
I1206 10:05:07.632558 5733 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17711-5301/kubeconfig
I1206 10:05:07.636945 5733 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1206 10:05:07.647733 5733 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1206 10:05:07.657834 5733 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17711-5301/.minikube
W1206 10:05:07.667439 5733 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1206 10:05:07.667622 5733 driver.go:392] Setting default libvirt URI to qemu:///system
I1206 10:05:07.670470 5733 out.go:97] Using the qemu2 driver based on user configuration
I1206 10:05:07.670479 5733 start.go:298] selected driver: qemu2
I1206 10:05:07.670481 5733 start.go:902] validating driver "qemu2" against <nil>
I1206 10:05:07.670522 5733 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1206 10:05:07.676320 5733 out.go:169] Automatically selected the socket_vmnet network
I1206 10:05:07.683567 5733 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1206 10:05:07.683651 5733 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1206 10:05:07.683755 5733 cni.go:84] Creating CNI manager for ""
I1206 10:05:07.683775 5733 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1206 10:05:07.683783 5733 start_flags.go:323] config:
{Name:download-only-046000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1701685682-17711@sha256:83c739eb138050ac22ab4acdb4b94720ad0623257a780b5e2621b741c3dbbf2f Memory:4000 CPUs:2 DiskSize:20000 VMDriver: Driver:qemu2 HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:0 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.16.0 ClusterName:download-only-046000 Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRun
time:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network:socket_vmnet Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/Users:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath:/opt/socket_vmnet/bin/socket_vmnet_client SocketVMnetPath:/var/run/socket_vmnet StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:}
I1206 10:05:07.688407 5733 iso.go:125] acquiring lock: {Name:mk339206fdb969f648015ff6c68cd5e1d7e991bc Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1206 10:05:07.692108 5733 out.go:97] Downloading VM boot image ...
I1206 10:05:07.692129 5733 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17711/minikube-v1.32.1-1701788780-17711-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17711/minikube-v1.32.1-1701788780-17711-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17711-5301/.minikube/cache/iso/arm64/minikube-v1.32.1-1701788780-17711-arm64.iso
I1206 10:05:19.160836 5733 out.go:97] Starting control plane node download-only-046000 in cluster download-only-046000
I1206 10:05:19.160855 5733 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1206 10:05:19.220305 5733 preload.go:119] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.16.0/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1206 10:05:19.220327 5733 cache.go:56] Caching tarball of preloaded images
I1206 10:05:19.221013 5733 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1206 10:05:19.225750 5733 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1206 10:05:19.225757 5733 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1206 10:05:19.306047 5733 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.16.0/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4?checksum=md5:a000baffb0664b293d602f95ed25caa6 -> /Users/jenkins/minikube-integration/17711-5301/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1206 10:05:25.783585 5733 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1206 10:05:25.783735 5733 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17711-5301/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1206 10:05:26.429209 5733 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1206 10:05:26.429408 5733 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17711-5301/.minikube/profiles/download-only-046000/config.json ...
I1206 10:05:26.429425 5733 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17711-5301/.minikube/profiles/download-only-046000/config.json: {Name:mkdee082b75d2825230f2059ab2a3e46f843ed3b Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1206 10:05:26.429650 5733 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1206 10:05:26.429828 5733 download.go:107] Downloading: https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl.sha1 -> /Users/jenkins/minikube-integration/17711-5301/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1206 10:05:26.991878 5733 out.go:169]
W1206 10:05:27.003346 5733 out_reason.go:110] Failed to cache kubectl: download failed: https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl.sha1: getter: &{Ctx:context.Background Src:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.16.0/bin/darwin/arm64/kubectl.sha1 Dst:/Users/jenkins/minikube-integration/17711-5301/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104564a80 0x104564a80 0x104564a80 0x104564a80 0x104564a80 0x104564a80 0x104564a80] Decompressors:map[bz2:0x140005364d0 gz:0x140005364d8 tar:0x14000536480 tar.bz2:0x14000536490 tar.gz:0x140005364a0 tar.xz:0x140005364b0 tar.zst:0x140005364c0 tbz2:0x14000536490 tgz:0x140005364a0 txz:0x140005364b0 tzst:0x140005364c0 xz:0x140005364e0 zip:0x140005364f0 zst:0x140005364e8] Getters:map[file:0x14000c72710 http:0x14000ac21e0 https:0x14000ac2230] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1206 10:05:27.003377 5733 out_reason.go:110]
W1206 10:05:27.012002 5733 out.go:229] ╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1206 10:05:27.014828 5733 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-046000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (19.48s)