=== 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-666000 --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-666000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2 : exit status 40 (16.905416708s)
-- stdout --
{"specversion":"1.0","id":"4deaf8b9-8f63-488e-b386-2ae1056feb10","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-666000] minikube v1.34.0 on Darwin 14.5 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"02fe49a3-28b5-41fc-85e7-7891dd15a0f5","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=19576"}}
{"specversion":"1.0","id":"c1dfd2ba-0b1c-4432-b3a3-c9155401488a","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/19576-2143/kubeconfig"}}
{"specversion":"1.0","id":"6f187f6b-16ff-46d1-bba5-a81d7f590b20","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":"b916a054-4680-413a-b956-9fe7890123f2","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":"598e1e2c-3ef6-49bb-8896-ceebe2eabac2","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/19576-2143/.minikube"}}
{"specversion":"1.0","id":"3283ac17-b425-4412-ba6f-0a84c63709c5","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":"fc3332f6-5be5-4e30-a17b-a4781e87ff8b","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":"a0d2ac85-1cc8-44cb-95c1-39ad9ad2fef2","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":"afde2bdc-9bd5-439f-83f1-9401c78d24ee","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":"7aab37f3-3552-45dd-82a8-aad508425a16","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Starting \"download-only-666000\" primary control-plane node in \"download-only-666000\" cluster","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"68e3ba2d-66d1-48a9-a8ab-96d401968300","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":"f4972e1d-b8b2-4985-bf1e-14b5dea13269","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/19576-2143/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10582f960 0x10582f960 0x10582f960 0x10582f960 0x10582f960 0x10582f960 0x10582f960] Decompressors:map[bz2:0x140005e1dd0 gz:0x140005e1dd8 tar:0x140005e1d80 tar.bz2:0x140005e1d90 tar.gz:0x140005e1da0 tar.xz:0x140005e1db0 tar.zst:0x140005e1dc0 tbz2:0x140005e1d90 tgz:0x14
0005e1da0 txz:0x140005e1db0 tzst:0x140005e1dc0 xz:0x140005e1de0 zip:0x140005e1df0 zst:0x140005e1de8] Getters:map[file:0x140005e2600 http:0x1400056c190 https:0x1400056c1e0] 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":"cf46f8b2-dff1-4933-9d0f-926a5ddbdc06","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 **
I0906 11:28:35.476896 2674 out.go:345] Setting OutFile to fd 1 ...
I0906 11:28:35.477015 2674 out.go:392] TERM=,COLORTERM=, which probably does not support color
I0906 11:28:35.477019 2674 out.go:358] Setting ErrFile to fd 2...
I0906 11:28:35.477021 2674 out.go:392] TERM=,COLORTERM=, which probably does not support color
I0906 11:28:35.477143 2674 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/19576-2143/.minikube/bin
W0906 11:28:35.477205 2674 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/19576-2143/.minikube/config/config.json: open /Users/jenkins/minikube-integration/19576-2143/.minikube/config/config.json: no such file or directory
I0906 11:28:35.478548 2674 out.go:352] Setting JSON to true
I0906 11:28:35.495999 2674 start.go:129] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":1685,"bootTime":1725645630,"procs":470,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.5","kernelVersion":"23.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0906 11:28:35.496067 2674 start.go:137] gopshost.Virtualization returned error: not implemented yet
I0906 11:28:35.501510 2674 out.go:97] [download-only-666000] minikube v1.34.0 on Darwin 14.5 (arm64)
W0906 11:28:35.501697 2674 preload.go:293] Failed to list preload files: open /Users/jenkins/minikube-integration/19576-2143/.minikube/cache/preloaded-tarball: no such file or directory
I0906 11:28:35.501706 2674 notify.go:220] Checking for updates...
I0906 11:28:35.504481 2674 out.go:169] MINIKUBE_LOCATION=19576
I0906 11:28:35.507407 2674 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/19576-2143/kubeconfig
I0906 11:28:35.511495 2674 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0906 11:28:35.514523 2674 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0906 11:28:35.517428 2674 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/19576-2143/.minikube
W0906 11:28:35.523472 2674 out.go:321] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0906 11:28:35.523681 2674 driver.go:394] Setting default libvirt URI to qemu:///system
I0906 11:28:35.527456 2674 out.go:97] Using the qemu2 driver based on user configuration
I0906 11:28:35.527473 2674 start.go:297] selected driver: qemu2
I0906 11:28:35.527487 2674 start.go:901] validating driver "qemu2" against <nil>
I0906 11:28:35.527556 2674 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I0906 11:28:35.531482 2674 out.go:169] Automatically selected the socket_vmnet network
I0906 11:28:35.537192 2674 start_flags.go:393] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0906 11:28:35.537270 2674 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I0906 11:28:35.537301 2674 cni.go:84] Creating CNI manager for ""
I0906 11:28:35.537317 2674 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0906 11:28:35.537381 2674 start.go:340] cluster config:
{Name:download-only-666000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85 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-666000 Namespace:default APIServerHAVIP: APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRI
Socket: 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: SSHAuthSock: SSHAgentPID:0 GPUs:
AutoPauseInterval:1m0s}
I0906 11:28:35.542964 2674 iso.go:125] acquiring lock: {Name:mka4eda78e1e7ac837be77111a81a2690077622c Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0906 11:28:35.547446 2674 out.go:97] Downloading VM boot image ...
I0906 11:28:35.547463 2674 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-arm64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.34.0-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/19576-2143/.minikube/cache/iso/arm64/minikube-v1.34.0-arm64.iso
I0906 11:28:40.745719 2674 out.go:97] Starting "download-only-666000" primary control-plane node in "download-only-666000" cluster
I0906 11:28:40.745754 2674 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I0906 11:28:40.810034 2674 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
I0906 11:28:40.810061 2674 cache.go:56] Caching tarball of preloaded images
I0906 11:28:40.810264 2674 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I0906 11:28:40.815333 2674 out.go:97] Downloading Kubernetes v1.20.0 preload ...
I0906 11:28:40.815340 2674 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I0906 11:28:40.916000 2674 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/19576-2143/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I0906 11:28:51.066846 2674 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I0906 11:28:51.067032 2674 preload.go:254] verifying checksum of /Users/jenkins/minikube-integration/19576-2143/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I0906 11:28:51.763516 2674 cache.go:59] Finished verifying existence of preloaded tar for v1.20.0 on docker
I0906 11:28:51.763717 2674 profile.go:143] Saving config to /Users/jenkins/minikube-integration/19576-2143/.minikube/profiles/download-only-666000/config.json ...
I0906 11:28:51.763748 2674 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/19576-2143/.minikube/profiles/download-only-666000/config.json: {Name:mkac9a06d5758b5208f0be2aba6ce4f44041b623 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0906 11:28:51.763997 2674 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I0906 11:28:51.764170 2674 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/19576-2143/.minikube/cache/darwin/arm64/v1.20.0/kubectl
I0906 11:28:52.311420 2674 out.go:193]
W0906 11:28:52.317558 2674 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/19576-2143/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10582f960 0x10582f960 0x10582f960 0x10582f960 0x10582f960 0x10582f960 0x10582f960] Decompressors:map[bz2:0x140005e1dd0 gz:0x140005e1dd8 tar:0x140005e1d80 tar.bz2:0x140005e1d90 tar.gz:0x140005e1da0 tar.xz:0x140005e1db0 tar.zst:0x140005e1dc0 tbz2:0x140005e1d90 tgz:0x140005e1da0 txz:0x140005e1db0 tzst:0x140005e1dc0 xz:0x140005e1de0 zip:0x140005e1df0 zst:0x140005e1de8] Getters:map[file:0x140005e2600 http:0x1400056c190 https:0x1400056c1e0] Dir:false ProgressList
ener:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0906 11:28:52.317586 2674 out_reason.go:110]
W0906 11:28:52.325426 2674 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0906 11:28:52.328451 2674 out.go:193]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-666000" "--force" "--alsologtostderr" "--kubernetes-version=v1.20.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.20.0/json-events (16.91s)