=== 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-065000 --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-065000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2 : exit status 40 (39.822911208s)
-- stdout --
{"specversion":"1.0","id":"36ff867f-a36a-4859-ad80-61632f0344ba","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-065000] minikube v1.34.0 on Darwin 14.5 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"9ef622d1-6ccd-425a-8d3c-f32f551e8793","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=19740"}}
{"specversion":"1.0","id":"6b7e670c-7d71-4587-b0c1-29d1279a435a","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/19740-1141/kubeconfig"}}
{"specversion":"1.0","id":"add88860-07eb-4941-a73c-d300d2293901","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":"07f062fe-6cd1-4116-a4d1-22093ae96da3","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":"15df7f1f-ce4e-4861-9ce9-950dcb2131c2","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/19740-1141/.minikube"}}
{"specversion":"1.0","id":"4b2e2c7c-3008-44c7-9249-098ee6b8a9df","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":"f79218a3-30e4-425f-984a-963b99966214","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":"6c65812b-000a-44bd-bcf5-f31b05f974fa","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":"e345bf74-b998-4989-9ec6-155cf195934f","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":"d8357325-b7ac-401e-b0c5-fc1ada0f9962","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Starting \"download-only-065000\" primary control-plane node in \"download-only-065000\" cluster","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"37cfeab3-5b56-476b-be77-7772f35e54e1","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":"df6c76dc-1437-438f-9e56-f943841d631e","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/19740-1141/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0] Decompressors:map[bz2:0x140004878a0 gz:0x140004878a8 tar:0x14000487850 tar.bz2:0x14000487860 tar.gz:0x14000487870 tar.xz:0x14000487880 tar.zst:0x14000487890 tbz2:0x14000487860 tgz:0x14
000487870 txz:0x14000487880 tzst:0x14000487890 xz:0x140004878d0 zip:0x140004878e0 zst:0x140004878d8] Getters:map[file:0x1400093a780 http:0x14000980910 https:0x14000980960] 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":"f18dc32a-ee5f-435e-99b3-d0ca22f9bba4","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 **
I1001 15:46:47.212069 1660 out.go:345] Setting OutFile to fd 1 ...
I1001 15:46:47.212213 1660 out.go:392] TERM=,COLORTERM=, which probably does not support color
I1001 15:46:47.212216 1660 out.go:358] Setting ErrFile to fd 2...
I1001 15:46:47.212219 1660 out.go:392] TERM=,COLORTERM=, which probably does not support color
I1001 15:46:47.212350 1660 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/19740-1141/.minikube/bin
W1001 15:46:47.212430 1660 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/19740-1141/.minikube/config/config.json: open /Users/jenkins/minikube-integration/19740-1141/.minikube/config/config.json: no such file or directory
I1001 15:46:47.213735 1660 out.go:352] Setting JSON to true
I1001 15:46:47.231014 1660 start.go:129] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":975,"bootTime":1727821832,"procs":478,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.5","kernelVersion":"23.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1001 15:46:47.231081 1660 start.go:137] gopshost.Virtualization returned error: not implemented yet
I1001 15:46:47.235835 1660 out.go:97] [download-only-065000] minikube v1.34.0 on Darwin 14.5 (arm64)
I1001 15:46:47.235983 1660 notify.go:220] Checking for updates...
W1001 15:46:47.236070 1660 preload.go:293] Failed to list preload files: open /Users/jenkins/minikube-integration/19740-1141/.minikube/cache/preloaded-tarball: no such file or directory
I1001 15:46:47.239537 1660 out.go:169] MINIKUBE_LOCATION=19740
I1001 15:46:47.242642 1660 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/19740-1141/kubeconfig
I1001 15:46:47.247517 1660 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1001 15:46:47.250672 1660 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1001 15:46:47.254665 1660 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/19740-1141/.minikube
W1001 15:46:47.258677 1660 out.go:321] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1001 15:46:47.258916 1660 driver.go:394] Setting default libvirt URI to qemu:///system
I1001 15:46:47.263695 1660 out.go:97] Using the qemu2 driver based on user configuration
I1001 15:46:47.263715 1660 start.go:297] selected driver: qemu2
I1001 15:46:47.263731 1660 start.go:901] validating driver "qemu2" against <nil>
I1001 15:46:47.263825 1660 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I1001 15:46:47.267693 1660 out.go:169] Automatically selected the socket_vmnet network
I1001 15:46:47.273115 1660 start_flags.go:393] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1001 15:46:47.273219 1660 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I1001 15:46:47.273264 1660 cni.go:84] Creating CNI manager for ""
I1001 15:46:47.273298 1660 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1001 15:46:47.273343 1660 start.go:340] cluster config:
{Name:download-only-065000 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-065000 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}
I1001 15:46:47.277012 1660 iso.go:125] acquiring lock: {Name:mk2e6128dd9f7d36ae0a81872c582d2694baaef0 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1001 15:46:47.280719 1660 out.go:97] Downloading VM boot image ...
I1001 15:46:47.280740 1660 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/19740-1141/.minikube/cache/iso/arm64/minikube-v1.34.0-1727108440-19696-arm64.iso
I1001 15:47:05.035724 1660 out.go:97] Starting "download-only-065000" primary control-plane node in "download-only-065000" cluster
I1001 15:47:05.035745 1660 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1001 15:47:05.315497 1660 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
I1001 15:47:05.315584 1660 cache.go:56] Caching tarball of preloaded images
I1001 15:47:05.316447 1660 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1001 15:47:05.321918 1660 out.go:97] Downloading Kubernetes v1.20.0 preload ...
I1001 15:47:05.321944 1660 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1001 15:47:05.889505 1660 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/19740-1141/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I1001 15:47:25.400974 1660 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1001 15:47:25.401157 1660 preload.go:254] verifying checksum of /Users/jenkins/minikube-integration/19740-1141/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1001 15:47:26.096493 1660 cache.go:59] Finished verifying existence of preloaded tar for v1.20.0 on docker
I1001 15:47:26.096699 1660 profile.go:143] Saving config to /Users/jenkins/minikube-integration/19740-1141/.minikube/profiles/download-only-065000/config.json ...
I1001 15:47:26.096720 1660 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/19740-1141/.minikube/profiles/download-only-065000/config.json: {Name:mke95ab2104e60b276ab470a74508d6d1fa617da Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1001 15:47:26.096973 1660 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1001 15:47:26.097168 1660 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/19740-1141/.minikube/cache/darwin/arm64/v1.20.0/kubectl
I1001 15:47:26.957027 1660 out.go:193]
W1001 15:47:26.962015 1660 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/19740-1141/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0 0x1088256c0] Decompressors:map[bz2:0x140004878a0 gz:0x140004878a8 tar:0x14000487850 tar.bz2:0x14000487860 tar.gz:0x14000487870 tar.xz:0x14000487880 tar.zst:0x14000487890 tbz2:0x14000487860 tgz:0x14000487870 txz:0x14000487880 tzst:0x14000487890 xz:0x140004878d0 zip:0x140004878e0 zst:0x140004878d8] Getters:map[file:0x1400093a780 http:0x14000980910 https:0x14000980960] Dir:false ProgressList
ener:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1001 15:47:26.962046 1660 out_reason.go:110]
W1001 15:47:26.969923 1660 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1001 15:47:26.972907 1660 out.go:193]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-065000" "--force" "--alsologtostderr" "--kubernetes-version=v1.20.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.20.0/json-events (39.82s)