=== 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-242000 --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-242000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (17.18728125s)
-- stdout --
{"specversion":"1.0","id":"0a4292e4-b52f-443b-842f-5ccf28323b5f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-242000] minikube v1.31.2 on Darwin 13.5.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"7bcb4809-7d41-4ac9-a264-6a3b9f75fe90","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17263"}}
{"specversion":"1.0","id":"187c1539-12ce-4bfc-95b4-f86037e2aa31","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17263-1251/kubeconfig"}}
{"specversion":"1.0","id":"af0fe2df-0392-4bd2-97be-82164d28ea3d","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":"b5539383-3de7-4f01-80b7-32b20f3a9dc2","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":"1b4e229c-e30d-4e8c-a58f-7c00d22c8a44","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17263-1251/.minikube"}}
{"specversion":"1.0","id":"6ba644e3-9410-448b-9bc2-e3672dd857ed","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":"a8a053f1-cbaa-463a-8d34-75da73bfee5a","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":"50ece0ce-e7cd-4644-8ff1-68f87375e67b","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":"92b70260-8e39-4249-9978-b059c5d05e7b","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":"ddb71033-f4fa-415f-8ee6-7fa282313a79","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-242000 in cluster download-only-242000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"36526bff-16af-41e5-9ade-29c255eb4d66","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":"81e3b15c-77c9-45ff-8968-31555d1ed0c9","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/17263-1251/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0] Decompressors:map[bz2:0x1400013cdd0 gz:0x1400013cdd8 tar:0x1400013cd10 tar.bz2:0x1400013cd20 tar.gz:0x1400013cd30 tar.xz:0x1400013cd50 tar.zst:0x1400013cd60 tbz2:0x1400013cd20 tgz:0x140001
3cd30 txz:0x1400013cd50 tzst:0x1400013cd60 xz:0x1400013cde0 zip:0x1400013ce20 zst:0x1400013cde8] Getters:map[file:0x14000cbcdb0 http:0x1400017e910 https:0x1400017e960] 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":"a9e28e35-ed81-47e0-b44c-ec563048bf85","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 **
I0918 11:51:43.673352 1670 out.go:296] Setting OutFile to fd 1 ...
I0918 11:51:43.673496 1670 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0918 11:51:43.673499 1670 out.go:309] Setting ErrFile to fd 2...
I0918 11:51:43.673502 1670 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0918 11:51:43.673628 1670 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17263-1251/.minikube/bin
W0918 11:51:43.673712 1670 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17263-1251/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17263-1251/.minikube/config/config.json: no such file or directory
I0918 11:51:43.674814 1670 out.go:303] Setting JSON to true
I0918 11:51:43.691096 1670 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":1277,"bootTime":1695061826,"procs":415,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.2","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0918 11:51:43.691153 1670 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0918 11:51:43.696788 1670 out.go:97] [download-only-242000] minikube v1.31.2 on Darwin 13.5.2 (arm64)
I0918 11:51:43.700713 1670 out.go:169] MINIKUBE_LOCATION=17263
I0918 11:51:43.696908 1670 notify.go:220] Checking for updates...
W0918 11:51:43.696937 1670 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17263-1251/.minikube/cache/preloaded-tarball: no such file or directory
I0918 11:51:43.707561 1670 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17263-1251/kubeconfig
I0918 11:51:43.711781 1670 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0918 11:51:43.714758 1670 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0918 11:51:43.716116 1670 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17263-1251/.minikube
W0918 11:51:43.721757 1670 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0918 11:51:43.721987 1670 driver.go:373] Setting default libvirt URI to qemu:///system
I0918 11:51:43.727772 1670 out.go:97] Using the qemu2 driver based on user configuration
I0918 11:51:43.727778 1670 start.go:298] selected driver: qemu2
I0918 11:51:43.727792 1670 start.go:902] validating driver "qemu2" against <nil>
I0918 11:51:43.727853 1670 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0918 11:51:43.731695 1670 out.go:169] Automatically selected the socket_vmnet network
I0918 11:51:43.737213 1670 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0918 11:51:43.737298 1670 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0918 11:51:43.737361 1670 cni.go:84] Creating CNI manager for ""
I0918 11:51:43.737378 1670 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0918 11:51:43.737384 1670 start_flags.go:321] config:
{Name:download-only-242000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1694798187-17250@sha256:8d9a070cda8e1b1082ed355bde1aaf66fbf63d64fa6e9f553f449efc74157fe3 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-242000 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}
I0918 11:51:43.742567 1670 iso.go:125] acquiring lock: {Name:mk34e23c181861c65264ec384f06e6cfa001aa08 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0918 11:51:43.745703 1670 out.go:97] Downloading VM boot image ...
I0918 11:51:43.745736 1670 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17250/minikube-v1.31.0-1694798110-17250-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17250/minikube-v1.31.0-1694798110-17250-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17263-1251/.minikube/cache/iso/arm64/minikube-v1.31.0-1694798110-17250-arm64.iso
I0918 11:51:50.801506 1670 out.go:97] Starting control plane node download-only-242000 in cluster download-only-242000
I0918 11:51:50.801529 1670 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0918 11:51:50.861845 1670 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
I0918 11:51:50.861853 1670 cache.go:57] Caching tarball of preloaded images
I0918 11:51:50.862024 1670 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0918 11:51:50.865690 1670 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0918 11:51:50.865697 1670 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0918 11:51:50.946758 1670 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/17263-1251/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0918 11:51:59.686637 1670 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0918 11:51:59.686787 1670 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17263-1251/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0918 11:52:00.326560 1670 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0918 11:52:00.326753 1670 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17263-1251/.minikube/profiles/download-only-242000/config.json ...
I0918 11:52:00.326771 1670 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17263-1251/.minikube/profiles/download-only-242000/config.json: {Name:mk2d38f7178624dd8e5685d2e554cb81270be80a Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0918 11:52:00.327027 1670 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0918 11:52:00.327185 1670 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/17263-1251/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0918 11:52:00.800545 1670 out.go:169]
W0918 11:52:00.804618 1670 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/17263-1251/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0 0x1083497e0] Decompressors:map[bz2:0x1400013cdd0 gz:0x1400013cdd8 tar:0x1400013cd10 tar.bz2:0x1400013cd20 tar.gz:0x1400013cd30 tar.xz:0x1400013cd50 tar.zst:0x1400013cd60 tbz2:0x1400013cd20 tgz:0x1400013cd30 txz:0x1400013cd50 tzst:0x1400013cd60 xz:0x1400013cde0 zip:0x1400013ce20 zst:0x1400013cde8] Getters:map[file:0x14000cbcdb0 http:0x1400017e910 https:0x1400017e960] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0918 11:52:00.804643 1670 out_reason.go:110]
W0918 11:52:00.809566 1670 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0918 11:52:00.813560 1670 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-242000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (17.19s)