=== RUN TestDownloadOnly/v1.20.0/json-events
aaa_download_only_test.go:81: (dbg) Run: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-511000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2
aaa_download_only_test.go:81: (dbg) Non-zero exit: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-511000 --force --alsologtostderr --kubernetes-version=v1.20.0 --container-runtime=docker --driver=qemu2 : exit status 40 (22.110613791s)
-- stdout --
{"specversion":"1.0","id":"d12540fb-c1bb-439d-820e-b362e1d72b75","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-511000] minikube v1.33.1 on Darwin 14.5 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"6fdca891-ddb9-4bfb-9390-1e1eb7a423b3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=19461"}}
{"specversion":"1.0","id":"65e95726-92e4-4298-aaf1-e44d26dc81a6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/19461-1189/kubeconfig"}}
{"specversion":"1.0","id":"f0dae923-3629-4184-bfba-0b6dc01dca2b","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":"9776f96c-ea77-4321-a839-b8173fdc5493","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":"d8c52243-ace6-4a36-8210-7c95452ea6f6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/19461-1189/.minikube"}}
{"specversion":"1.0","id":"74350cc0-20e3-4020-836a-5f4455fdaa14","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":"a7d38be9-8ba1-45d6-937a-d8dc9a8c29c1","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":"16e03fe8-3616-46b1-b83d-3714993d6817","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":"caf55c2f-d3f0-4abd-86eb-4e924cdf2208","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":"50efc8ae-7a1e-4d1b-a675-9cfc9ffc5d0f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Starting \"download-only-511000\" primary control-plane node in \"download-only-511000\" cluster","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"8b4a154e-91b5-462f-a583-09a49756a8c6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Downloading Kubernetes v1.20.0 preload ...","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"a93a102c-707e-41c7-9359-a1d95b0ab541","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.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256: getter: \u0026{Ctx:context.Background Src:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256 Dst:/Users/jenkins/minikube-integration/19461-1189/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10764f960 0x10764f960 0x10764f960 0x10764f960 0x10764f960 0x10764f960 0x10764f960] Decompressors:map[bz2:0x140008137e0 gz:0x140008137e8 tar:0x14000813790 tar.bz2:0x140008137a0 tar.gz:0x140008137b0 tar.xz:0x140008137c0 tar.zst:0x140008137d0 tbz2:0x140008137a0 tgz:0x14
0008137b0 txz:0x140008137c0 tzst:0x140008137d0 xz:0x140008137f0 zip:0x14000813800 zst:0x140008137f8] Getters:map[file:0x140017d28a0 http:0x14000546190 https:0x140005461e0] 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":"6bfffeb4-cb0b-4ef3-b67c-84f1fd6da893","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 **
I0816 09:47:30.873357 2056 out.go:345] Setting OutFile to fd 1 ...
I0816 09:47:30.873490 2056 out.go:392] TERM=,COLORTERM=, which probably does not support color
I0816 09:47:30.873494 2056 out.go:358] Setting ErrFile to fd 2...
I0816 09:47:30.873497 2056 out.go:392] TERM=,COLORTERM=, which probably does not support color
I0816 09:47:30.873627 2056 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/19461-1189/.minikube/bin
W0816 09:47:30.873712 2056 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/19461-1189/.minikube/config/config.json: open /Users/jenkins/minikube-integration/19461-1189/.minikube/config/config.json: no such file or directory
I0816 09:47:30.874950 2056 out.go:352] Setting JSON to true
I0816 09:47:30.892555 2056 start.go:129] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":1013,"bootTime":1723825837,"procs":470,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.5","kernelVersion":"23.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0816 09:47:30.892628 2056 start.go:137] gopshost.Virtualization returned error: not implemented yet
I0816 09:47:30.897982 2056 out.go:97] [download-only-511000] minikube v1.33.1 on Darwin 14.5 (arm64)
I0816 09:47:30.898151 2056 notify.go:220] Checking for updates...
W0816 09:47:30.898177 2056 preload.go:293] Failed to list preload files: open /Users/jenkins/minikube-integration/19461-1189/.minikube/cache/preloaded-tarball: no such file or directory
I0816 09:47:30.900868 2056 out.go:169] MINIKUBE_LOCATION=19461
I0816 09:47:30.903957 2056 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/19461-1189/kubeconfig
I0816 09:47:30.907823 2056 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0816 09:47:30.910911 2056 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0816 09:47:30.913919 2056 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/19461-1189/.minikube
W0816 09:47:30.919884 2056 out.go:321] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0816 09:47:30.920131 2056 driver.go:392] Setting default libvirt URI to qemu:///system
I0816 09:47:30.924981 2056 out.go:97] Using the qemu2 driver based on user configuration
I0816 09:47:30.925005 2056 start.go:297] selected driver: qemu2
I0816 09:47:30.925022 2056 start.go:901] validating driver "qemu2" against <nil>
I0816 09:47:30.925111 2056 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I0816 09:47:30.928842 2056 out.go:169] Automatically selected the socket_vmnet network
I0816 09:47:30.934316 2056 start_flags.go:393] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0816 09:47:30.934406 2056 start_flags.go:929] Wait components to verify : map[apiserver:true system_pods:true]
I0816 09:47:30.934510 2056 cni.go:84] Creating CNI manager for ""
I0816 09:47:30.934532 2056 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0816 09:47:30.934592 2056 start.go:340] cluster config:
{Name:download-only-511000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.44-1723740748-19452@sha256:2211a6931895d2d502e957e9667096db10734a96767d670cb4dbffdd37397b0d Memory:4000 CPUs:2 DiskSize:20000 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:8443 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.20.0 ClusterName:download-only-511000 Namespace:default APIServerHAVIP: APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local Con
tainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.20.0 ContainerRuntime:docker ControlPlane:true Worker:true}] 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: SSHAuthSo
ck: SSHAgentPID:0 GPUs: AutoPauseInterval:1m0s}
I0816 09:47:30.939972 2056 iso.go:125] acquiring lock: {Name:mkc573242530815db51d2b2313508a45619bdc04 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0816 09:47:30.944934 2056 out.go:97] Downloading VM boot image ...
I0816 09:47:30.944958 2056 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/19452/minikube-v1.33.1-1723740674-19452-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/19452/minikube-v1.33.1-1723740674-19452-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/19461-1189/.minikube/cache/iso/arm64/minikube-v1.33.1-1723740674-19452-arm64.iso
I0816 09:47:43.296113 2056 out.go:97] Starting "download-only-511000" primary control-plane node in "download-only-511000" cluster
I0816 09:47:43.296144 2056 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I0816 09:47:43.361607 2056 preload.go:118] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.20.0/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I0816 09:47:43.361631 2056 cache.go:56] Caching tarball of preloaded images
I0816 09:47:43.361830 2056 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I0816 09:47:43.365892 2056 out.go:97] Downloading Kubernetes v1.20.0 preload ...
I0816 09:47:43.365899 2056 preload.go:236] getting checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I0816 09:47:43.455485 2056 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.20.0/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4?checksum=md5:1a3e8f9b29e6affec63d76d0d3000942 -> /Users/jenkins/minikube-integration/19461-1189/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4
I0816 09:47:51.797162 2056 preload.go:247] saving checksum for preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I0816 09:47:51.797322 2056 preload.go:254] verifying checksum of /Users/jenkins/minikube-integration/19461-1189/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.20.0-docker-overlay2-arm64.tar.lz4 ...
I0816 09:47:52.492236 2056 cache.go:59] Finished verifying existence of preloaded tar for v1.20.0 on docker
I0816 09:47:52.492428 2056 profile.go:143] Saving config to /Users/jenkins/minikube-integration/19461-1189/.minikube/profiles/download-only-511000/config.json ...
I0816 09:47:52.492445 2056 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/19461-1189/.minikube/profiles/download-only-511000/config.json: {Name:mkc418fcfc00b5e6e5137590cd2b24f7a7265e2f Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0816 09:47:52.492658 2056 preload.go:131] Checking if preload exists for k8s version v1.20.0 and runtime docker
I0816 09:47:52.492856 2056 download.go:107] Downloading: https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256 -> /Users/jenkins/minikube-integration/19461-1189/.minikube/cache/darwin/arm64/v1.20.0/kubectl
I0816 09:47:52.906201 2056 out.go:193]
W0816 09:47:52.914376 2056 out_reason.go:110] Failed to cache kubectl: download failed: https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256: getter: &{Ctx:context.Background Src:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl?checksum=file:https://dl.k8s.io/release/v1.20.0/bin/darwin/arm64/kubectl.sha256 Dst:/Users/jenkins/minikube-integration/19461-1189/.minikube/cache/darwin/arm64/v1.20.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10764f960 0x10764f960 0x10764f960 0x10764f960 0x10764f960 0x10764f960 0x10764f960] Decompressors:map[bz2:0x140008137e0 gz:0x140008137e8 tar:0x14000813790 tar.bz2:0x140008137a0 tar.gz:0x140008137b0 tar.xz:0x140008137c0 tar.zst:0x140008137d0 tbz2:0x140008137a0 tgz:0x140008137b0 txz:0x140008137c0 tzst:0x140008137d0 xz:0x140008137f0 zip:0x14000813800 zst:0x140008137f8] Getters:map[file:0x140017d28a0 http:0x14000546190 https:0x140005461e0] Dir:false ProgressList
ener:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0816 09:47:52.914398 2056 out_reason.go:110]
W0816 09:47:52.921274 2056 out.go:283] ╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0816 09:47:52.925221 2056 out.go:193]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-511000" "--force" "--alsologtostderr" "--kubernetes-version=v1.20.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.20.0/json-events (22.11s)