=== 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-744000 --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-744000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (20.99642825s)
-- stdout --
{"specversion":"1.0","id":"55438efb-6d46-403c-96e5-d409a0e8bce3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-744000] minikube v1.31.0 on Darwin 13.4.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"8e6764e2-5727-42ff-8d1b-ae122d3921ac","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=15585"}}
{"specversion":"1.0","id":"43f76d49-80e5-4b5f-bac5-273060049da7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/15585-1056/kubeconfig"}}
{"specversion":"1.0","id":"dc348b26-8bce-4152-9dd6-ce9172e37747","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":"eafc708f-cc18-46e9-ac12-fc0185a90717","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":"c0acb1c3-09e6-48ad-ad91-a095a41da0ce","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/15585-1056/.minikube"}}
{"specversion":"1.0","id":"7492f5b4-651b-4908-8ba9-59c61e345cef","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":"1c5cc83f-456b-423c-8b65-7262b631061d","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":"dd786f41-016a-4d03-b733-e7d96a02cf00","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":"5c73c9d7-9e2f-4df8-9e3b-1c024ffb619e","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":"d8d61701-4995-4f67-951b-ba0b52169435","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-744000 in cluster download-only-744000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"362e3b31-fdf0-4642-869c-2d5715258c31","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":"7d9b6296-bf98-4023-98c1-f6bf61575ad4","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/15585-1056/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0] Decompressors:map[bz2:0x14000122848 gz:0x140001228a0 tar:0x14000122850 tar.bz2:0x14000122860 tar.gz:0x14000122870 tar.xz:0x14000122880 tar.zst:0x14000122890 tbz2:0x14000122860 tgz:0x140001
22870 txz:0x14000122880 tzst:0x14000122890 xz:0x140001228a8 zip:0x140001228b0 zst:0x140001228c0] Getters:map[file:0x1400065cc30 http:0x14000a4a190 https:0x14000a4a1e0] 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":"992ea9bb-b4bd-44c7-a626-de5cb14b70d1","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 **
I0719 15:51:12.099826 1472 out.go:296] Setting OutFile to fd 1 ...
I0719 15:51:12.099941 1472 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0719 15:51:12.099946 1472 out.go:309] Setting ErrFile to fd 2...
I0719 15:51:12.099949 1472 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0719 15:51:12.100064 1472 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/15585-1056/.minikube/bin
W0719 15:51:12.100124 1472 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/15585-1056/.minikube/config/config.json: open /Users/jenkins/minikube-integration/15585-1056/.minikube/config/config.json: no such file or directory
I0719 15:51:12.101214 1472 out.go:303] Setting JSON to true
I0719 15:51:12.117276 1472 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":1243,"bootTime":1689805829,"procs":411,"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"}
W0719 15:51:12.117355 1472 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0719 15:51:12.122226 1472 out.go:97] [download-only-744000] minikube v1.31.0 on Darwin 13.4.1 (arm64)
I0719 15:51:12.125171 1472 out.go:169] MINIKUBE_LOCATION=15585
I0719 15:51:12.122360 1472 notify.go:220] Checking for updates...
W0719 15:51:12.122367 1472 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/15585-1056/.minikube/cache/preloaded-tarball: no such file or directory
I0719 15:51:12.131133 1472 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/15585-1056/kubeconfig
I0719 15:51:12.134170 1472 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0719 15:51:12.137136 1472 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0719 15:51:12.140165 1472 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/15585-1056/.minikube
W0719 15:51:12.146117 1472 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0719 15:51:12.146319 1472 driver.go:373] Setting default libvirt URI to qemu:///system
I0719 15:51:12.152220 1472 out.go:97] Using the qemu2 driver based on user configuration
I0719 15:51:12.152243 1472 start.go:298] selected driver: qemu2
I0719 15:51:12.152246 1472 start.go:880] validating driver "qemu2" against <nil>
I0719 15:51:12.152334 1472 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0719 15:51:12.154333 1472 out.go:169] Automatically selected the socket_vmnet network
I0719 15:51:12.159385 1472 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0719 15:51:12.159455 1472 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0719 15:51:12.159508 1472 cni.go:84] Creating CNI manager for ""
I0719 15:51:12.159522 1472 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0719 15:51:12.159531 1472 start_flags.go:319] config:
{Name:download-only-744000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.40@sha256:8cadf23777709e43eca447c47a45f5a4635615129267ce025193040ec92a1631 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-744000 Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: N
etworkPlugin: 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}
I0719 15:51:12.165087 1472 iso.go:125] acquiring lock: {Name:mk79bbe185492232dddd2e3d2f1b7eb34761528f Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0719 15:51:12.169194 1472 out.go:97] Downloading VM boot image ...
I0719 15:51:12.169226 1472 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.31.0-arm64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.31.0-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/15585-1056/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso
I0719 15:51:22.049392 1472 out.go:97] Starting control plane node download-only-744000 in cluster download-only-744000
I0719 15:51:22.049404 1472 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0719 15:51:22.146428 1472 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
I0719 15:51:22.146469 1472 cache.go:57] Caching tarball of preloaded images
I0719 15:51:22.146678 1472 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0719 15:51:22.151790 1472 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0719 15:51:22.151799 1472 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0719 15:51:22.378262 1472 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/15585-1056/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0719 15:51:31.802635 1472 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0719 15:51:31.802771 1472 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/15585-1056/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0719 15:51:32.442477 1472 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0719 15:51:32.442679 1472 profile.go:148] Saving config to /Users/jenkins/minikube-integration/15585-1056/.minikube/profiles/download-only-744000/config.json ...
I0719 15:51:32.442699 1472 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/15585-1056/.minikube/profiles/download-only-744000/config.json: {Name:mk9bad5674d07bb0011804ae23f3f05ea64dfd4d Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0719 15:51:32.442930 1472 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0719 15:51:32.443154 1472 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/15585-1056/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0719 15:51:33.027281 1472 out.go:169]
W0719 15:51:33.032206 1472 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/15585-1056/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0 0x107f606b0] Decompressors:map[bz2:0x14000122848 gz:0x140001228a0 tar:0x14000122850 tar.bz2:0x14000122860 tar.gz:0x14000122870 tar.xz:0x14000122880 tar.zst:0x14000122890 tbz2:0x14000122860 tgz:0x14000122870 txz:0x14000122880 tzst:0x14000122890 xz:0x140001228a8 zip:0x140001228b0 zst:0x140001228c0] Getters:map[file:0x1400065cc30 http:0x14000a4a190 https:0x14000a4a1e0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0719 15:51:33.032230 1472 out_reason.go:110]
W0719 15:51:33.039302 1472 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0719 15:51:33.043265 1472 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-744000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (21.00s)