=== 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-264000 --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-264000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (14.246999666s)
-- stdout --
{"specversion":"1.0","id":"8003db8b-d2d8-40c9-8ae2-74e39f26f8d2","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-264000] minikube v1.31.2 on Darwin 13.5.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"3b774e42-4bb7-4f91-8ac2-d02d3cc7ef66","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17116"}}
{"specversion":"1.0","id":"caeb81c8-84bd-48b2-8593-83c7f304a548","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17116-1006/kubeconfig"}}
{"specversion":"1.0","id":"cfc900c0-1ae4-49dc-be6d-1a2e22de48c1","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":"d7884964-3526-4768-adf4-d62b4ad61df4","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":"95ee8fc5-9df4-4fa7-bb11-e6a10053d31f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17116-1006/.minikube"}}
{"specversion":"1.0","id":"a7949ab6-db5f-4ae8-9d2c-d6de1ce74c64","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":"339e36bd-d5a5-44af-84e5-db7acc6586dc","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":"bb8f7a53-0a75-4389-8a4c-14d6527dc19e","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":"27781efb-a879-4f23-8f2e-5c5617f2f91f","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":"b5cd3eac-c0a8-4cb6-806c-002485d47da1","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-264000 in cluster download-only-264000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"ec389fe9-beb2-419b-affc-84f1fecf6e24","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":"a8759801-a11d-4b0b-80dc-d15205d98581","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/17116-1006/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10803df68 0x10803df68 0x10803df68 0x10803df68 0x10803df68 0x10803df68 0x10803df68] Decompressors:map[bz2:0x14000653ce0 gz:0x14000653ce8 tar:0x14000653c90 tar.bz2:0x14000653ca0 tar.gz:0x14000653cb0 tar.xz:0x14000653cc0 tar.zst:0x14000653cd0 tbz2:0x14000653ca0 tgz:0x140006
53cb0 txz:0x14000653cc0 tzst:0x14000653cd0 xz:0x14000653cf0 zip:0x14000653d00 zst:0x14000653cf8] Getters:map[file:0x140011b6690 http:0x140011d2140 https:0x140011d2190] 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":"8f47b007-4da5-4f5f-b372-7ea5f3f83ece","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 12:09:20.894122 1423 out.go:296] Setting OutFile to fd 1 ...
I0906 12:09:20.894234 1423 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0906 12:09:20.894237 1423 out.go:309] Setting ErrFile to fd 2...
I0906 12:09:20.894239 1423 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0906 12:09:20.894343 1423 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17116-1006/.minikube/bin
W0906 12:09:20.894398 1423 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17116-1006/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17116-1006/.minikube/config/config.json: no such file or directory
I0906 12:09:20.895557 1423 out.go:303] Setting JSON to true
I0906 12:09:20.912826 1423 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":534,"bootTime":1694026826,"procs":409,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.1","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0906 12:09:20.912887 1423 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0906 12:09:20.918164 1423 out.go:97] [download-only-264000] minikube v1.31.2 on Darwin 13.5.1 (arm64)
I0906 12:09:20.918305 1423 notify.go:220] Checking for updates...
I0906 12:09:20.922281 1423 out.go:169] MINIKUBE_LOCATION=17116
W0906 12:09:20.918493 1423 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17116-1006/.minikube/cache/preloaded-tarball: no such file or directory
I0906 12:09:20.930265 1423 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17116-1006/kubeconfig
I0906 12:09:20.934236 1423 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0906 12:09:20.937302 1423 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0906 12:09:20.940325 1423 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17116-1006/.minikube
W0906 12:09:20.946193 1423 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0906 12:09:20.946376 1423 driver.go:373] Setting default libvirt URI to qemu:///system
I0906 12:09:20.952171 1423 out.go:97] Using the qemu2 driver based on user configuration
I0906 12:09:20.952179 1423 start.go:298] selected driver: qemu2
I0906 12:09:20.952184 1423 start.go:902] validating driver "qemu2" against <nil>
I0906 12:09:20.952270 1423 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0906 12:09:20.956388 1423 out.go:169] Automatically selected the socket_vmnet network
I0906 12:09:20.961991 1423 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0906 12:09:20.962080 1423 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0906 12:09:20.962146 1423 cni.go:84] Creating CNI manager for ""
I0906 12:09:20.962161 1423 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0906 12:09:20.962164 1423 start_flags.go:321] config:
{Name:download-only-264000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1693218425-17145@sha256:b79ac53e13f1f04e9fd9bdd5eb7d937a6931d86b3cdddf46e6e66227aea180ad 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-264000 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 AutoPauseInterval:1m0s}
I0906 12:09:20.967687 1423 iso.go:125] acquiring lock: {Name:mk3f7665f27187d07892ba5c4ce3c49cda04e887 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0906 12:09:20.972585 1423 out.go:97] Downloading VM boot image ...
I0906 12:09:20.972611 1423 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/17116-1006/.minikube/cache/iso/arm64/minikube-v1.31.0-1692872107-17120-arm64.iso
I0906 12:09:26.736143 1423 out.go:97] Starting control plane node download-only-264000 in cluster download-only-264000
I0906 12:09:26.736171 1423 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0906 12:09:26.793553 1423 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
I0906 12:09:26.793640 1423 cache.go:57] Caching tarball of preloaded images
I0906 12:09:26.793805 1423 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0906 12:09:26.797892 1423 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0906 12:09:26.797899 1423 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0906 12:09:26.874709 1423 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/17116-1006/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0906 12:09:34.090349 1423 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0906 12:09:34.090482 1423 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17116-1006/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0906 12:09:34.730353 1423 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0906 12:09:34.730535 1423 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17116-1006/.minikube/profiles/download-only-264000/config.json ...
I0906 12:09:34.730554 1423 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17116-1006/.minikube/profiles/download-only-264000/config.json: {Name:mk223a71e1db329594e19bcb005209a7e85e101d Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0906 12:09:34.730770 1423 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0906 12:09:34.730936 1423 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/17116-1006/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0906 12:09:35.081317 1423 out.go:169]
W0906 12:09:35.085222 1423 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/17116-1006/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10803df68 0x10803df68 0x10803df68 0x10803df68 0x10803df68 0x10803df68 0x10803df68] Decompressors:map[bz2:0x14000653ce0 gz:0x14000653ce8 tar:0x14000653c90 tar.bz2:0x14000653ca0 tar.gz:0x14000653cb0 tar.xz:0x14000653cc0 tar.zst:0x14000653cd0 tbz2:0x14000653ca0 tgz:0x14000653cb0 txz:0x14000653cc0 tzst:0x14000653cd0 xz:0x14000653cf0 zip:0x14000653d00 zst:0x14000653cf8] Getters:map[file:0x140011b6690 http:0x140011d2140 https:0x140011d2190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0906 12:09:35.085253 1423 out_reason.go:110]
W0906 12:09:35.091288 1423 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0906 12:09:35.094188 1423 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-264000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (14.25s)