=== 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-556000 --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-556000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (18.472060791s)
-- stdout --
{"specversion":"1.0","id":"a27add3c-2a4c-49c5-802c-83e23f88acdc","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-556000] minikube v1.31.2 on Darwin 13.5.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"4565483c-adf9-4427-9082-3f4ed8b89646","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17207"}}
{"specversion":"1.0","id":"0064c9b6-4952-4249-85af-72d54942ef31","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17207-1093/kubeconfig"}}
{"specversion":"1.0","id":"f2618511-95c3-4a74-8cda-27f8e4c208df","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":"03273f79-6a26-4dc1-ad9e-17a4a8738149","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":"5c93f175-ba97-4d2a-9169-06b96c725592","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17207-1093/.minikube"}}
{"specversion":"1.0","id":"76409075-9d84-408b-bb0e-6b09e599b74b","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":"89848bf7-78a2-4184-b750-1934ef291306","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":"88985be2-7fd1-4f1b-a603-c1c71697fdfb","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":"65f7f228-67cb-4043-af78-f7262416485d","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":"3df29953-c71f-4ab5-a890-5d0c8ec41a31","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-556000 in cluster download-only-556000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"58467747-4025-4577-a600-cf1aa1d0c9e0","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":"d3f8fe1d-9e42-4b7b-a672-07defa4866b8","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/17207-1093/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106165f68 0x106165f68 0x106165f68 0x106165f68 0x106165f68 0x106165f68 0x106165f68] Decompressors:map[bz2:0x140004c1a78 gz:0x140004c1ad0 tar:0x140004c1a80 tar.bz2:0x140004c1a90 tar.gz:0x140004c1aa0 tar.xz:0x140004c1ab0 tar.zst:0x140004c1ac0 tbz2:0x140004c1a90 tgz:0x140004
c1aa0 txz:0x140004c1ab0 tzst:0x140004c1ac0 xz:0x140004c1ad8 zip:0x140004c1ae0 zst:0x140004c1af0] Getters:map[file:0x14000be6ff0 http:0x14000778140 https:0x14000778190] 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":"0ea0a846-eadc-4f3b-bb59-369ee7e1dc8e","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 **
I0910 13:52:07.346540 2202 out.go:296] Setting OutFile to fd 1 ...
I0910 13:52:07.346669 2202 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0910 13:52:07.346672 2202 out.go:309] Setting ErrFile to fd 2...
I0910 13:52:07.346675 2202 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0910 13:52:07.346787 2202 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17207-1093/.minikube/bin
W0910 13:52:07.346856 2202 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17207-1093/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17207-1093/.minikube/config/config.json: no such file or directory
I0910 13:52:07.347963 2202 out.go:303] Setting JSON to true
I0910 13:52:07.364181 2202 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":1302,"bootTime":1694377825,"procs":408,"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"}
W0910 13:52:07.364247 2202 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0910 13:52:07.370979 2202 out.go:97] [download-only-556000] minikube v1.31.2 on Darwin 13.5.2 (arm64)
I0910 13:52:07.373814 2202 out.go:169] MINIKUBE_LOCATION=17207
W0910 13:52:07.371131 2202 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17207-1093/.minikube/cache/preloaded-tarball: no such file or directory
I0910 13:52:07.371151 2202 notify.go:220] Checking for updates...
I0910 13:52:07.380713 2202 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17207-1093/kubeconfig
I0910 13:52:07.383862 2202 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0910 13:52:07.386917 2202 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0910 13:52:07.389906 2202 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17207-1093/.minikube
W0910 13:52:07.395844 2202 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0910 13:52:07.396017 2202 driver.go:373] Setting default libvirt URI to qemu:///system
I0910 13:52:07.401946 2202 out.go:97] Using the qemu2 driver based on user configuration
I0910 13:52:07.401952 2202 start.go:298] selected driver: qemu2
I0910 13:52:07.401954 2202 start.go:902] validating driver "qemu2" against <nil>
I0910 13:52:07.402006 2202 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0910 13:52:07.405829 2202 out.go:169] Automatically selected the socket_vmnet network
I0910 13:52:07.412223 2202 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0910 13:52:07.412303 2202 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0910 13:52:07.412368 2202 cni.go:84] Creating CNI manager for ""
I0910 13:52:07.412384 2202 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0910 13:52:07.412392 2202 start_flags.go:321] config:
{Name:download-only-556000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1693938323-17174@sha256:4edc55cb1933a7155ece55408f8b4aebfd99e28fa2209bc82b369d8ca3bf525b 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-556000 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}
I0910 13:52:07.417886 2202 iso.go:125] acquiring lock: {Name:mk7b64d48bce9081530bc49bdfed6972c82152dd Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0910 13:52:07.420959 2202 out.go:97] Downloading VM boot image ...
I0910 13:52:07.420976 2202 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17207/minikube-v1.31.0-1694081706-17207-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17207/minikube-v1.31.0-1694081706-17207-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17207-1093/.minikube/cache/iso/arm64/minikube-v1.31.0-1694081706-17207-arm64.iso
I0910 13:52:16.283106 2202 out.go:97] Starting control plane node download-only-556000 in cluster download-only-556000
I0910 13:52:16.283131 2202 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0910 13:52:16.346946 2202 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
I0910 13:52:16.347033 2202 cache.go:57] Caching tarball of preloaded images
I0910 13:52:16.347188 2202 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0910 13:52:16.352220 2202 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0910 13:52:16.352227 2202 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0910 13:52:16.431413 2202 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/17207-1093/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0910 13:52:24.779793 2202 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0910 13:52:24.779912 2202 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17207-1093/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0910 13:52:25.419300 2202 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0910 13:52:25.419487 2202 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17207-1093/.minikube/profiles/download-only-556000/config.json ...
I0910 13:52:25.419505 2202 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17207-1093/.minikube/profiles/download-only-556000/config.json: {Name:mk4987b801c215dfc32a717379894ca3551848b2 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0910 13:52:25.419724 2202 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0910 13:52:25.419891 2202 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/17207-1093/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0910 13:52:25.752870 2202 out.go:169]
W0910 13:52:25.756815 2202 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/17207-1093/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106165f68 0x106165f68 0x106165f68 0x106165f68 0x106165f68 0x106165f68 0x106165f68] Decompressors:map[bz2:0x140004c1a78 gz:0x140004c1ad0 tar:0x140004c1a80 tar.bz2:0x140004c1a90 tar.gz:0x140004c1aa0 tar.xz:0x140004c1ab0 tar.zst:0x140004c1ac0 tbz2:0x140004c1a90 tgz:0x140004c1aa0 txz:0x140004c1ab0 tzst:0x140004c1ac0 xz:0x140004c1ad8 zip:0x140004c1ae0 zst:0x140004c1af0] Getters:map[file:0x14000be6ff0 http:0x14000778140 https:0x14000778190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0910 13:52:25.756843 2202 out_reason.go:110]
W0910 13:52:25.763891 2202 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0910 13:52:25.767786 2202 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-556000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (18.47s)