=== 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-278000 --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-278000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (10.48511975s)
-- stdout --
{"specversion":"1.0","id":"9d5543b0-2edb-446c-8a7a-a584336a3dcc","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-278000] minikube v1.31.2 on Darwin 14.0 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"3b154e03-d8c3-42e0-8e3d-5aab9e9d8328","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17345"}}
{"specversion":"1.0","id":"b828b7a8-d747-4ee6-8b86-a1c67981fe41","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17345-986/kubeconfig"}}
{"specversion":"1.0","id":"19329941-c925-4fe1-9a46-81e4c157a5b8","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":"66d012a9-624d-4954-8950-a2747556a2eb","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":"546b9372-c1ee-4f81-b902-dcd31700c492","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17345-986/.minikube"}}
{"specversion":"1.0","id":"ff242dfe-a0f4-4de8-a71f-f0a0bdd9d61c","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":"65c19a22-1cd9-4bfd-bcf2-f9e2be1424e3","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":"b256091b-d956-4ea8-ae9f-1c1002595a89","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":"93117cd1-841c-4a3a-a34d-38cd0936cabf","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":"5906827e-3295-48f9-bfa7-ffceb5346494","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-278000 in cluster download-only-278000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"8969913a-5379-4a98-8925-04f74f58ef2a","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":"ffef25a4-7ea0-4ad7-98e6-8f729dfdfc83","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/17345-986/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x103c65880 0x103c65880 0x103c65880 0x103c65880 0x103c65880 0x103c65880 0x103c65880] Decompressors:map[bz2:0x14000677640 gz:0x14000677648 tar:0x14000677560 tar.bz2:0x140006775a0 tar.gz:0x140006775b0 tar.xz:0x140006775f0 tar.zst:0x14000677630 tbz2:0x140006775a0 tgz:0x1400067
75b0 txz:0x140006775f0 tzst:0x14000677630 xz:0x14000677650 zip:0x14000677670 zst:0x14000677658] Getters:map[file:0x140006f8900 http:0x1400017e7d0 https:0x1400017e870] 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":"5ce26765-db16-4e6e-bc14-587847cdf960","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 **
I1003 17:03:20.858615 1449 out.go:296] Setting OutFile to fd 1 ...
I1003 17:03:20.858796 1449 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1003 17:03:20.858799 1449 out.go:309] Setting ErrFile to fd 2...
I1003 17:03:20.858801 1449 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1003 17:03:20.858958 1449 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17345-986/.minikube/bin
W1003 17:03:20.859020 1449 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17345-986/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17345-986/.minikube/config/config.json: no such file or directory
I1003 17:03:20.860141 1449 out.go:303] Setting JSON to true
I1003 17:03:20.877628 1449 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":174,"bootTime":1696377626,"procs":443,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W1003 17:03:20.877705 1449 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1003 17:03:20.885159 1449 out.go:97] [download-only-278000] minikube v1.31.2 on Darwin 14.0 (arm64)
I1003 17:03:20.889091 1449 out.go:169] MINIKUBE_LOCATION=17345
I1003 17:03:20.885275 1449 notify.go:220] Checking for updates...
W1003 17:03:20.885303 1449 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17345-986/.minikube/cache/preloaded-tarball: no such file or directory
I1003 17:03:20.900972 1449 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17345-986/kubeconfig
I1003 17:03:20.905061 1449 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1003 17:03:20.908145 1449 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1003 17:03:20.911073 1449 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17345-986/.minikube
W1003 17:03:20.917063 1449 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1003 17:03:20.917261 1449 driver.go:373] Setting default libvirt URI to qemu:///system
I1003 17:03:20.923036 1449 out.go:97] Using the qemu2 driver based on user configuration
I1003 17:03:20.923042 1449 start.go:298] selected driver: qemu2
I1003 17:03:20.923056 1449 start.go:902] validating driver "qemu2" against <nil>
I1003 17:03:20.923123 1449 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I1003 17:03:20.927054 1449 out.go:169] Automatically selected the socket_vmnet network
I1003 17:03:20.934034 1449 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1003 17:03:20.934137 1449 start_flags.go:905] Wait components to verify : map[apiserver:true system_pods:true]
I1003 17:03:20.934198 1449 cni.go:84] Creating CNI manager for ""
I1003 17:03:20.934215 1449 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1003 17:03:20.934219 1449 start_flags.go:321] config:
{Name:download-only-278000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1696360059-17345@sha256:76d99edd1576614d5c20a839dd16ae1d7c810f3b909a01797063d483159ea3ae 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-278000 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}
I1003 17:03:20.940506 1449 iso.go:125] acquiring lock: {Name:mkcc00c41dbf3c669d3c57dcea55708ed569b7af Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1003 17:03:20.945030 1449 out.go:97] Downloading VM boot image ...
I1003 17:03:20.945060 1449 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17345-986/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I1003 17:03:25.224536 1449 out.go:97] Starting control plane node download-only-278000 in cluster download-only-278000
I1003 17:03:25.224554 1449 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1003 17:03:25.280363 1449 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
I1003 17:03:25.280384 1449 cache.go:57] Caching tarball of preloaded images
I1003 17:03:25.280517 1449 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1003 17:03:25.284733 1449 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1003 17:03:25.284739 1449 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1003 17:03:25.358847 1449 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/17345-986/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1003 17:03:30.398297 1449 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1003 17:03:30.398467 1449 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17345-986/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1003 17:03:31.040587 1449 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1003 17:03:31.040782 1449 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17345-986/.minikube/profiles/download-only-278000/config.json ...
I1003 17:03:31.040798 1449 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17345-986/.minikube/profiles/download-only-278000/config.json: {Name:mk5649223888d7fca3bc6155a452f90fb2c86f5b Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1003 17:03:31.041029 1449 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1003 17:03:31.041176 1449 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/17345-986/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1003 17:03:31.274286 1449 out.go:169]
W1003 17:03:31.278536 1449 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/17345-986/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x103c65880 0x103c65880 0x103c65880 0x103c65880 0x103c65880 0x103c65880 0x103c65880] Decompressors:map[bz2:0x14000677640 gz:0x14000677648 tar:0x14000677560 tar.bz2:0x140006775a0 tar.gz:0x140006775b0 tar.xz:0x140006775f0 tar.zst:0x14000677630 tbz2:0x140006775a0 tgz:0x140006775b0 txz:0x140006775f0 tzst:0x14000677630 xz:0x14000677650 zip:0x14000677670 zst:0x14000677658] Getters:map[file:0x140006f8900 http:0x1400017e7d0 https:0x1400017e870] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1003 17:03:31.278565 1449 out_reason.go:110]
W1003 17:03:31.285624 1449 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1003 17:03:31.289414 1449 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-278000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (10.49s)