=== 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 (31.851764166s)
-- stdout --
{"specversion":"1.0","id":"903c5361-7411-4b2d-849b-fc8615a2c075","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-242000] minikube v1.30.1 on Darwin 13.4.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"6119347f-2ff3-4f2d-b50f-c5627fac0299","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16845"}}
{"specversion":"1.0","id":"65cd11d6-7664-4c0d-8e7f-0a4eb1319a00","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16845-5266/kubeconfig"}}
{"specversion":"1.0","id":"0ce452da-c711-480f-89ac-88d6fd814bcc","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":"fa74dd0a-9705-4309-9321-0113267f1cc5","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":"6c6b2ad6-cf8a-4d99-bd00-045aa0362bc4","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16845-5266/.minikube"}}
{"specversion":"1.0","id":"3b2856c5-f3a5-42c9-92a7-1b25bab62e95","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":"fbe183d3-fb92-4a0a-a713-d6c8724356c1","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":"22e17f61-282d-483f-9234-9878a54d8537","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":"1cdc8528-6914-4126-8f68-2ac9dd9d99dd","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":"b704e350-a379-44e4-abe9-1c8895f8f519","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":"e22fb947-22e4-4d12-a196-2aa1d40a35b7","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":"e449c7cc-f460-430b-ac4f-522940ac852f","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/16845-5266/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0] Decompressors:map[bz2:0x14000122838 gz:0x14000122890 tar:0x14000122840 tar.bz2:0x14000122850 tar.gz:0x14000122860 tar.xz:0x14000122870 tar.zst:0x14000122880 tbz2:0x14000122850 tgz:0x140001
22860 txz:0x14000122870 tzst:0x14000122880 xz:0x14000122898 zip:0x140001228a0 zst:0x140001228b0] Getters:map[file:0x140010ba900 http:0x14000ab6140 https:0x14000ab6190] 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":"737816bc-c994-4cbb-96cb-0bf4de69ed9e","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 **
I0707 15:10:21.273084 5682 out.go:296] Setting OutFile to fd 1 ...
I0707 15:10:21.273217 5682 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0707 15:10:21.273219 5682 out.go:309] Setting ErrFile to fd 2...
I0707 15:10:21.273221 5682 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0707 15:10:21.273294 5682 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/16845-5266/.minikube/bin
W0707 15:10:21.273361 5682 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/16845-5266/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16845-5266/.minikube/config/config.json: no such file or directory
I0707 15:10:21.274448 5682 out.go:303] Setting JSON to true
I0707 15:10:21.291502 5682 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":2392,"bootTime":1688765429,"procs":409,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4.1","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0707 15:10:21.291572 5682 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0707 15:10:21.296568 5682 out.go:97] [download-only-242000] minikube v1.30.1 on Darwin 13.4.1 (arm64)
I0707 15:10:21.300390 5682 out.go:169] MINIKUBE_LOCATION=16845
I0707 15:10:21.296739 5682 notify.go:220] Checking for updates...
W0707 15:10:21.296751 5682 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16845-5266/.minikube/cache/preloaded-tarball: no such file or directory
I0707 15:10:21.305396 5682 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16845-5266/kubeconfig
I0707 15:10:21.308424 5682 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0707 15:10:21.309693 5682 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0707 15:10:21.312390 5682 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16845-5266/.minikube
W0707 15:10:21.318432 5682 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0707 15:10:21.318668 5682 driver.go:373] Setting default libvirt URI to qemu:///system
I0707 15:10:21.322352 5682 out.go:97] Using the qemu2 driver based on user configuration
I0707 15:10:21.322373 5682 start.go:297] selected driver: qemu2
I0707 15:10:21.322376 5682 start.go:944] validating driver "qemu2" against <nil>
I0707 15:10:21.322435 5682 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0707 15:10:21.325365 5682 out.go:169] Automatically selected the socket_vmnet network
I0707 15:10:21.330377 5682 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0707 15:10:21.330454 5682 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0707 15:10:21.330499 5682 cni.go:84] Creating CNI manager for ""
I0707 15:10:21.330506 5682 cni.go:168] CNI unnecessary in this configuration, recommending no CNI
I0707 15:10:21.330513 5682 start_flags.go:319] config:
{Name:download-only-242000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1688681246-16834@sha256:849205234efc46da016f3a964268d7c76363fc521532c280d0e8a6bf1cc393b5 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}
I0707 15:10:21.334674 5682 iso.go:125] acquiring lock: {Name:mk1ff79101025862bacf0533882eac0726abbb1e Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0707 15:10:21.338394 5682 out.go:97] Downloading VM boot image ...
I0707 15:10:21.338426 5682 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16765/minikube-v1.30.1-1688144767-16765-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16765/minikube-v1.30.1-1688144767-16765-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16845-5266/.minikube/cache/iso/arm64/minikube-v1.30.1-1688144767-16765-arm64.iso
I0707 15:10:30.742008 5682 out.go:97] Starting control plane node download-only-242000 in cluster download-only-242000
I0707 15:10:30.742038 5682 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0707 15:10:30.835678 5682 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
I0707 15:10:30.835739 5682 cache.go:57] Caching tarball of preloaded images
I0707 15:10:30.835953 5682 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0707 15:10:30.840978 5682 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0707 15:10:30.840987 5682 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0707 15:10:31.068848 5682 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/16845-5266/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0707 15:10:51.829178 5682 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0707 15:10:51.829321 5682 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16845-5266/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0707 15:10:52.471167 5682 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0707 15:10:52.471352 5682 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16845-5266/.minikube/profiles/download-only-242000/config.json ...
I0707 15:10:52.471378 5682 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16845-5266/.minikube/profiles/download-only-242000/config.json: {Name:mk7a5ee1c39c9bf6f5d33a6d318f1ab697974a6e Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0707 15:10:52.472508 5682 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0707 15:10:52.472688 5682 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/16845-5266/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0707 15:10:53.050959 5682 out.go:169]
W0707 15:10:53.055017 5682 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/16845-5266/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0 0x1088f44d0] Decompressors:map[bz2:0x14000122838 gz:0x14000122890 tar:0x14000122840 tar.bz2:0x14000122850 tar.gz:0x14000122860 tar.xz:0x14000122870 tar.zst:0x14000122880 tbz2:0x14000122850 tgz:0x14000122860 txz:0x14000122870 tzst:0x14000122880 xz:0x14000122898 zip:0x140001228a0 zst:0x140001228b0] Getters:map[file:0x140010ba900 http:0x14000ab6140 https:0x14000ab6190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0707 15:10:53.055041 5682 out_reason.go:110]
W0707 15:10:53.061983 5682 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0707 15:10:53.065965 5682 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 (31.85s)