=== RUN TestDownloadOnly/v1.20.0/json-events
aaa_download_only_test.go:81: (dbg) Run: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-360000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2
aaa_download_only_test.go:81: (dbg) Non-zero exit: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-360000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2 : exit status 40 (38.795223792s)
-- stdout --
	{"specversion":"1.0","id":"e9cf34f9-1748-4156-8fa7-dd68309d22a9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-360000] minikube v1.34.0 on Darwin 15.0.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
                                                
                                                	{"specversion":"1.0","id":"53c04b14-f563-4206-8588-50d7b5c1ecfb","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=19546"}}
                                                
                                                	{"specversion":"1.0","id":"d826b504-c45c-464f-9599-e7683a8d4805","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/19546-1040/kubeconfig"}}
                                                
                                                	{"specversion":"1.0","id":"fb5ef2a2-53a9-475e-be1c-a4af05b8da87","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":"ceb0fc59-b12f-439b-a77b-cb3bf9c68d74","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":"666abf1b-9285-48a6-9638-655284d8d66a","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/19546-1040/.minikube"}}
                                                
                                                	{"specversion":"1.0","id":"eb199e55-8fcf-4b23-ac03-df31bb56747d","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":"943c5946-bdf2-4bcf-8281-6c0e78d37019","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":"8ad9f1fd-6e3a-4c43-908b-318f265e51c7","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":"a7ac542d-1b5a-4e50-b9d0-763242f9011d","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":"d143fc31-df91-4bac-b6e2-08743e3771bb","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Starting \"download-only-360000\" primary control-plane node in \"download-only-360000\" cluster","name":"Starting Node","totalsteps":"19"}}
                                                
                                                	{"specversion":"1.0","id":"bdf7d6e0-eb15-4616-a7e9-d37ddd3a9d7a","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Downloading Kubernetes v1.20.0 preload ...","name":"Starting Node","totalsteps":"19"}}
                                                
                                                	{"specversion":"1.0","id":"b3fd92ca-3175-431b-ae63-d81516a95df1","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.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256: getter: \u0026{Ctx:context.Background Src:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256 Dst:/Users/jenkins/minikube-integration/19546-1040/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0] Decompressors:map[bz2:0x1400000f790 gz:0x1400000f798 tar:0x1400000f740 tar.bz2:0x1400000f750 tar.gz:0x1400000f760 tar.xz:0x1400000f770 tar.zst:0x1400000f780 tbz2:0x1400000f750 tgz:0x14
                                                
                                                00000f760 txz:0x1400000f770 tzst:0x1400000f780 xz:0x1400000f7a0 zip:0x1400000f7b0 zst:0x1400000f7a8] Getters:map[file:0x14000464770 http:0x14000746460 https:0x14000746730] 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":"d67dc67d-71dd-44ba-bdd2-0caed514c23c","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 **
I1003 19:47:27.309002 1557 out.go:345] Setting OutFile to fd 1 ...
I1003 19:47:27.309156 1557 out.go:392] TERM=,COLORTERM=, which probably does not support color
I1003 19:47:27.309159 1557 out.go:358] Setting ErrFile to fd 2...
I1003 19:47:27.309162 1557 out.go:392] TERM=,COLORTERM=, which probably does not support color
I1003 19:47:27.309293 1557 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/19546-1040/.minikube/bin
W1003 19:47:27.309397 1557 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/19546-1040/.minikube/config/config.json: open /Users/jenkins/minikube-integration/19546-1040/.minikube/config/config.json: no such file or directory
I1003 19:47:27.310814 1557 out.go:352] Setting JSON to true
	I1003 19:47:27.330098    1557 start.go:129] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":1018,"bootTime":1728009029,"procs":486,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"15.0.1","kernelVersion":"24.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
                                                
                                                W1003 19:47:27.330157 1557 start.go:137] gopshost.Virtualization returned error: not implemented yet
I1003 19:47:27.335722 1557 out.go:97] [download-only-360000] minikube v1.34.0 on Darwin 15.0.1 (arm64)
I1003 19:47:27.335887 1557 notify.go:220] Checking for updates...
W1003 19:47:27.335896 1557 preload.go:293] Failed to list preload files: open /Users/jenkins/minikube-integration/19546-1040/.minikube/cache/preloaded-tarball: no such file or directory
I1003 19:47:27.338688 1557 out.go:169] MINIKUBE_LOCATION=19546
I1003 19:47:27.339876 1557 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/19546-1040/kubeconfig
I1003 19:47:27.343721 1557 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1003 19:47:27.350671 1557 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1003 19:47:27.357657 1557 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/19546-1040/.minikube
W1003 19:47:27.364714 1557 out.go:321] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1003 19:47:27.364941 1557 driver.go:394] Setting default libvirt URI to qemu:///system
I1003 19:47:27.369630 1557 out.go:97] Using the qemu2 driver based on user configuration
I1003 19:47:27.369651 1557 start.go:297] selected driver: qemu2
I1003 19:47:27.369669 1557 start.go:901] validating driver "qemu2" against <nil>
I1003 19:47:27.369782 1557 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I1003 19:47:27.373677 1557 out.go:169] Automatically selected the socket_vmnet network
I1003 19:47:27.379727 1557 start_flags.go:393] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1003 19:47:27.379851 1557 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I1003 19:47:27.379898 1557 cni.go:84] Creating CNI manager for ""
I1003 19:47:27.379940 1557 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1003 19:47:27.379984 1557 start.go:340] cluster config:
	{Name:download-only-360000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.45-1727731891-master@sha256:d66dfd4a976cf0b4581cac255174cef4031588c4570fa4a795e0b3d42edc9122 Memory:4000 CPUs:2 DiskSize:20000 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:8443 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.20.0 ClusterName:download-only-360000 Namespace:default APIServerHAVIP: APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local Co
                                                
                                                ntainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.20.0 ContainerRuntime:docker ControlPlane:true Worker:true}] 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: SSHAuthS
                                                
                                                ock: SSHAgentPID:0 GPUs: AutoPauseInterval:1m0s}
	I1003 19:47:27.384764    1557 iso.go:125] acquiring lock: {Name:mk76a49c49067b99577513bbb70fbceab7931be3 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
                                                
                                                I1003 19:47:27.388737 1557 out.go:97] Downloading VM boot image ...
I1003 19:47:27.388755 1557 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/19696/minikube-v1.34.0-1727108440-19696-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/19696/minikube-v1.34.0-1727108440-19696-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/19546-1040/.minikube/cache/iso/arm64/minikube-v1.34.0-1727108440-19696-arm64.iso
I1003 19:47:45.037323 1557 out.go:97] Starting "download-only-360000" primary control-plane node in "download-only-360000" cluster
I1003 19:47:45.037348 1557 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1003 19:47:45.297778 1557 preload.go:118] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.20.0/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I1003 19:47:45.297899 1557 cache.go:56] Caching tarball of preloaded images
I1003 19:47:45.298785 1557 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1003 19:47:45.302742 1557 out.go:97] Downloading Kubernetes v1.20.0 preload ...
I1003 19:47:45.302768 1557 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1003 19:47:45.860385 1557 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.20.0/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4?checksum=md5:1a3e8f9b29e6affec63d76d0d3000942 -> /Users/jenkins/minikube-integration/19546-1040/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I1003 19:48:04.715150 1557 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1003 19:48:04.715305 1557 preload.go:254] verifying checksum of /Users/jenkins/minikube-integration/19546-1040/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1003 19:48:05.410015 1557 cache.go:59] Finished verifying existence of preloaded tar for v1.20.0 on docker
I1003 19:48:05.410245 1557 profile.go:143] Saving config to /Users/jenkins/minikube-integration/19546-1040/.minikube/profiles/download-only-360000/config.json ...
	I1003 19:48:05.410262    1557 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/19546-1040/.minikube/profiles/download-only-360000/config.json: {Name:mk177ee186f2f53615699c35126b62254166afca Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
                                                
                                                I1003 19:48:05.410532 1557 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1003 19:48:05.410775 1557 download.go:107] Downloading: https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256 -> /Users/jenkins/minikube-integration/19546-1040/.minikube/cache/darwin/arm64/v1.20.0/kubectl
I1003 19:48:06.028044 1557 out.go:193]
	W1003 19:48:06.032165    1557 out_reason.go:110] Failed to cache kubectl: download failed: https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256: getter: &{Ctx:context.Background Src:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256 Dst:/Users/jenkins/minikube-integration/19546-1040/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0 0x104e756c0] Decompressors:map[bz2:0x1400000f790 gz:0x1400000f798 tar:0x1400000f740 tar.bz2:0x1400000f750 tar.gz:0x1400000f760 tar.xz:0x1400000f770 tar.zst:0x1400000f780 tbz2:0x1400000f750 tgz:0x1400000f760 txz:0x1400000f770 tzst:0x1400000f780 xz:0x1400000f7a0 zip:0x1400000f7b0 zst:0x1400000f7a8] Getters:map[file:0x14000464770 http:0x14000746460 https:0x14000746730] Dir:false ProgressList
                                                
                                                ener:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1003 19:48:06.032193 1557 out_reason.go:110]
W1003 19:48:06.039034 1557 out.go:283] ╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1003 19:48:06.043060 1557 out.go:193]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-360000" "--force" "--alsologtostderr" "--kubernetes-version=v1.20.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.20.0/json-events (38.80s)