=== 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-370000 --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-370000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2 : exit status 40 (18.413899666s)
-- stdout --
{"specversion":"1.0","id":"072d5fba-c154-4d28-9a84-bf40d7edb389","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-370000] minikube v1.34.0 on Darwin 15.0.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"18756854-26d5-4ef9-a3d3-ca1f49a013a3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=19787"}}
{"specversion":"1.0","id":"3d44ed28-dd2a-4876-807e-2ef4fa963040","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/19787-10623/kubeconfig"}}
{"specversion":"1.0","id":"4b8d8b94-e776-4eb8-93d4-bf8a1a9424aa","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":"902af10a-28af-4045-9bf9-b9e4b8bf8848","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":"11272474-2b1e-402e-ae6e-425b1aebb38e","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/19787-10623/.minikube"}}
{"specversion":"1.0","id":"e41e369c-a57a-4087-86a6-ab18f147d35e","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":"1109e7df-8362-4fd2-95d5-79fb25d2c914","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":"67570410-c1ec-48f9-aee9-2c3f0b4a104c","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":"dddd9ad1-927a-4b10-96a2-0969a8472862","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":"182bee10-72d8-426d-963e-4491b5c40bd4","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Starting \"download-only-370000\" primary control-plane node in \"download-only-370000\" cluster","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"6e32f588-d9f9-48ae-9f1d-fd3b3623120e","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":"8e355b0a-b718-4905-9421-02bd0ce25fc0","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/19787-10623/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0] Decompressors:map[bz2:0x140007925b0 gz:0x140007925b8 tar:0x140007924e0 tar.bz2:0x140007924f0 tar.gz:0x14000792540 tar.xz:0x14000792550 tar.zst:0x14000792590 tbz2:0x140007924f0 tgz:0x1
4000792540 txz:0x14000792550 tzst:0x14000792590 xz:0x140007925c0 zip:0x140007925d0 zst:0x140007925c8] Getters:map[file:0x140014d4550 http:0x14000c865f0 https:0x14000c86640] 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":"f664ae49-4b5e-4f53-ab9d-2d5d6b2fb7ea","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 **
I1010 11:22:21.283635 11136 out.go:345] Setting OutFile to fd 1 ...
I1010 11:22:21.283818 11136 out.go:392] TERM=,COLORTERM=, which probably does not support color
I1010 11:22:21.283821 11136 out.go:358] Setting ErrFile to fd 2...
I1010 11:22:21.283824 11136 out.go:392] TERM=,COLORTERM=, which probably does not support color
I1010 11:22:21.283941 11136 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/19787-10623/.minikube/bin
W1010 11:22:21.284051 11136 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/19787-10623/.minikube/config/config.json: open /Users/jenkins/minikube-integration/19787-10623/.minikube/config/config.json: no such file or directory
I1010 11:22:21.285470 11136 out.go:352] Setting JSON to true
I1010 11:22:21.303010 11136 start.go:129] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":6712,"bootTime":1728577829,"procs":524,"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"}
W1010 11:22:21.303086 11136 start.go:137] gopshost.Virtualization returned error: not implemented yet
I1010 11:22:21.307701 11136 out.go:97] [download-only-370000] minikube v1.34.0 on Darwin 15.0.1 (arm64)
I1010 11:22:21.307857 11136 notify.go:220] Checking for updates...
W1010 11:22:21.307909 11136 preload.go:293] Failed to list preload files: open /Users/jenkins/minikube-integration/19787-10623/.minikube/cache/preloaded-tarball: no such file or directory
I1010 11:22:21.311671 11136 out.go:169] MINIKUBE_LOCATION=19787
I1010 11:22:21.314641 11136 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/19787-10623/kubeconfig
I1010 11:22:21.317643 11136 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1010 11:22:21.320640 11136 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1010 11:22:21.323622 11136 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/19787-10623/.minikube
W1010 11:22:21.328656 11136 out.go:321] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1010 11:22:21.328854 11136 driver.go:394] Setting default libvirt URI to qemu:///system
I1010 11:22:21.331610 11136 out.go:97] Using the qemu2 driver based on user configuration
I1010 11:22:21.331627 11136 start.go:297] selected driver: qemu2
I1010 11:22:21.331641 11136 start.go:901] validating driver "qemu2" against <nil>
I1010 11:22:21.331687 11136 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I1010 11:22:21.334647 11136 out.go:169] Automatically selected the socket_vmnet network
I1010 11:22:21.341021 11136 start_flags.go:393] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1010 11:22:21.341116 11136 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I1010 11:22:21.341156 11136 cni.go:84] Creating CNI manager for ""
I1010 11:22:21.341198 11136 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1010 11:22:21.341253 11136 start.go:340] cluster config:
{Name:download-only-370000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.45-1728382586-19774@sha256:5d8c4f6d838467365e214e2194dd0153a763e3f78723b5f2a8e06ef7b47409ec 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-370000 Namespace:default APIServerHAVIP: APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local Con
tainerRuntime: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: SSHAuthSo
ck: SSHAgentPID:0 GPUs: AutoPauseInterval:1m0s}
I1010 11:22:21.345938 11136 iso.go:125] acquiring lock: {Name:mka5fed75c5943f5e917ac5bb6d1a9c386ae795f Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1010 11:22:21.349636 11136 out.go:97] Downloading VM boot image ...
I1010 11:22:21.349650 11136 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/19774/minikube-v1.34.0-1728382514-19774-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/19774/minikube-v1.34.0-1728382514-19774-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/19787-10623/.minikube/cache/iso/arm64/minikube-v1.34.0-1728382514-19774-arm64.iso
I1010 11:22:30.291956 11136 out.go:97] Starting "download-only-370000" primary control-plane node in "download-only-370000" cluster
I1010 11:22:30.291987 11136 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1010 11:22:30.363056 11136 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
I1010 11:22:30.363084 11136 cache.go:56] Caching tarball of preloaded images
I1010 11:22:30.363329 11136 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1010 11:22:30.368422 11136 out.go:97] Downloading Kubernetes v1.20.0 preload ...
I1010 11:22:30.368430 11136 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1010 11:22:30.465136 11136 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/19787-10623/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I1010 11:22:38.354599 11136 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1010 11:22:38.354766 11136 preload.go:254] verifying checksum of /Users/jenkins/minikube-integration/19787-10623/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I1010 11:22:39.048088 11136 cache.go:59] Finished verifying existence of preloaded tar for v1.20.0 on docker
I1010 11:22:39.048294 11136 profile.go:143] Saving config to /Users/jenkins/minikube-integration/19787-10623/.minikube/profiles/download-only-370000/config.json ...
I1010 11:22:39.048310 11136 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/19787-10623/.minikube/profiles/download-only-370000/config.json: {Name:mk8adaed966bd55990f86cf0fe6964be518521c3 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1010 11:22:39.048556 11136 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I1010 11:22:39.048792 11136 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/19787-10623/.minikube/cache/darwin/arm64/v1.20.0/kubectl
I1010 11:22:39.620260 11136 out.go:193]
W1010 11:22:39.623373 11136 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/19787-10623/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0 0x10549cfe0] Decompressors:map[bz2:0x140007925b0 gz:0x140007925b8 tar:0x140007924e0 tar.bz2:0x140007924f0 tar.gz:0x14000792540 tar.xz:0x14000792550 tar.zst:0x14000792590 tbz2:0x140007924f0 tgz:0x14000792540 txz:0x14000792550 tzst:0x14000792590 xz:0x140007925c0 zip:0x140007925d0 zst:0x140007925c8] Getters:map[file:0x140014d4550 http:0x14000c865f0 https:0x14000c86640] Dir:false ProgressLis
tener:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1010 11:22:39.623408 11136 out_reason.go:110]
W1010 11:22:39.630277 11136 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1010 11:22:39.634296 11136 out.go:193]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-370000" "--force" "--alsologtostderr" "--kubernetes-version=v1.20.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.20.0/json-events (18.42s)