=== 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-374000 --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-374000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (21.214569334s)
-- stdout --
{"specversion":"1.0","id":"b19ddf23-297a-4f87-aee2-4fd04f2a8514","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-374000] minikube v1.31.2 on Darwin 13.5.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"f5d7a1f2-6fe0-4af4-b0b8-d414bc144f73","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17120"}}
{"specversion":"1.0","id":"1618480d-ec77-4cad-978f-918fd3b06da1","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17120-5333/kubeconfig"}}
{"specversion":"1.0","id":"832fdcba-3f74-4f92-a420-074915b434bb","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":"dfdf2605-7d5b-4ece-86ed-e740209be6d3","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":"57c00026-3d21-4df2-8915-ca266a2e6cc8","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17120-5333/.minikube"}}
{"specversion":"1.0","id":"99e0fe0c-74cf-4047-aaa9-066080e04283","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":"5b5aa61d-52be-4bb4-b4c2-8642ca2ccdf9","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":"ebd2c7bf-c8d6-48bc-9547-1677cedde96d","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":"e906e130-c8a3-4a5f-9473-bc6fd21920fa","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":"1efe6b9a-1557-4e64-8af7-982ede0679e7","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-374000 in cluster download-only-374000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"631fe6bd-ba5a-4fea-9d05-36c86716d483","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":"f30719cb-e98c-4493-b424-0d5a89669140","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/17120-5333/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8] Decompressors:map[bz2:0x1400012eb28 gz:0x1400012eb80 tar:0x1400012eb30 tar.bz2:0x1400012eb40 tar.gz:0x1400012eb50 tar.xz:0x1400012eb60 tar.zst:0x1400012eb70 tbz2:0x1400012eb40 tgz:0x140001
2eb50 txz:0x1400012eb60 tzst:0x1400012eb70 xz:0x1400012eb88 zip:0x1400012eb90 zst:0x1400012eba0] Getters:map[file:0x14000722860 http:0x140005a8140 https:0x140005a8190] 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":"d9409089-323f-48f0-bc51-66390cffe7e3","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 **
I0824 10:07:32.844550 5749 out.go:296] Setting OutFile to fd 1 ...
I0824 10:07:32.844659 5749 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0824 10:07:32.844661 5749 out.go:309] Setting ErrFile to fd 2...
I0824 10:07:32.844664 5749 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0824 10:07:32.844790 5749 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17120-5333/.minikube/bin
W0824 10:07:32.844858 5749 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17120-5333/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17120-5333/.minikube/config/config.json: no such file or directory
I0824 10:07:32.846039 5749 out.go:303] Setting JSON to true
I0824 10:07:32.861369 5749 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":2226,"bootTime":1692894626,"procs":414,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.1","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0824 10:07:32.861428 5749 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0824 10:07:32.866994 5749 out.go:97] [download-only-374000] minikube v1.31.2 on Darwin 13.5.1 (arm64)
I0824 10:07:32.870048 5749 out.go:169] MINIKUBE_LOCATION=17120
I0824 10:07:32.867133 5749 notify.go:220] Checking for updates...
W0824 10:07:32.867142 5749 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17120-5333/.minikube/cache/preloaded-tarball: no such file or directory
I0824 10:07:32.877969 5749 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17120-5333/kubeconfig
I0824 10:07:32.881042 5749 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0824 10:07:32.884006 5749 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0824 10:07:32.887009 5749 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17120-5333/.minikube
W0824 10:07:32.891426 5749 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0824 10:07:32.891634 5749 driver.go:373] Setting default libvirt URI to qemu:///system
I0824 10:07:32.894921 5749 out.go:97] Using the qemu2 driver based on user configuration
I0824 10:07:32.894931 5749 start.go:298] selected driver: qemu2
I0824 10:07:32.894934 5749 start.go:902] validating driver "qemu2" against <nil>
I0824 10:07:32.895002 5749 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0824 10:07:32.897984 5749 out.go:169] Automatically selected the socket_vmnet network
I0824 10:07:32.902832 5749 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0824 10:07:32.902915 5749 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0824 10:07:32.902963 5749 cni.go:84] Creating CNI manager for ""
I0824 10:07:32.902980 5749 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0824 10:07:32.902990 5749 start_flags.go:319] config:
{Name:download-only-374000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1692872184-17120@sha256:42602f0d347faca66d9347bdc33243fe5f4d6b3fff3ba53f3b2fc2d5fe63e9ec 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-374000 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}
I0824 10:07:32.907209 5749 iso.go:125] acquiring lock: {Name:mk3bcee2faf1ed303979d7ee7825146a26f07ecf Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0824 10:07:32.910967 5749 out.go:97] Downloading VM boot image ...
I0824 10:07:32.910987 5749 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17120/minikube-v1.31.0-1692872107-17120-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17120/minikube-v1.31.0-1692872107-17120-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17120-5333/.minikube/cache/iso/arm64/minikube-v1.31.0-1692872107-17120-arm64.iso
I0824 10:07:43.423171 5749 out.go:97] Starting control plane node download-only-374000 in cluster download-only-374000
I0824 10:07:43.423209 5749 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0824 10:07:43.512106 5749 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
I0824 10:07:43.512169 5749 cache.go:57] Caching tarball of preloaded images
I0824 10:07:43.512348 5749 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0824 10:07:43.517471 5749 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0824 10:07:43.517479 5749 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0824 10:07:43.728878 5749 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/17120-5333/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0824 10:07:52.978089 5749 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0824 10:07:52.978252 5749 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17120-5333/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0824 10:07:53.620096 5749 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0824 10:07:53.620291 5749 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17120-5333/.minikube/profiles/download-only-374000/config.json ...
I0824 10:07:53.620312 5749 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17120-5333/.minikube/profiles/download-only-374000/config.json: {Name:mkda6f3267a03cb6837ed4825b258579a61f80b3 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0824 10:07:53.620544 5749 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0824 10:07:53.620691 5749 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/17120-5333/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0824 10:07:53.983954 5749 out.go:169]
W0824 10:07:53.988118 5749 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/17120-5333/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8 0x1060d85d8] Decompressors:map[bz2:0x1400012eb28 gz:0x1400012eb80 tar:0x1400012eb30 tar.bz2:0x1400012eb40 tar.gz:0x1400012eb50 tar.xz:0x1400012eb60 tar.zst:0x1400012eb70 tbz2:0x1400012eb40 tgz:0x1400012eb50 txz:0x1400012eb60 tzst:0x1400012eb70 xz:0x1400012eb88 zip:0x1400012eb90 zst:0x1400012eba0] Getters:map[file:0x14000722860 http:0x140005a8140 https:0x140005a8190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0824 10:07:53.988143 5749 out_reason.go:110]
W0824 10:07:53.995122 5749 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0824 10:07:53.999104 5749 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-374000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (21.22s)