=== 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-108000 --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-108000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (14.976524458s)
-- stdout --
{"specversion":"1.0","id":"7950dd0e-3a0b-406e-ab0d-203058d294d9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-108000] minikube v1.30.1 on Darwin 13.3.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"4e90f293-c143-4b9e-9667-a6742dd22967","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16573"}}
{"specversion":"1.0","id":"0b23c870-22ba-4683-b7c7-e98ba485e196","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16573-1024/kubeconfig"}}
{"specversion":"1.0","id":"16c8e8cd-8601-4ca3-8572-1cb6e93a6b44","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":"fb2c719a-71df-4c31-af5b-1c592d544642","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":"872f2653-75e3-4878-886b-e51e326172ab","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16573-1024/.minikube"}}
{"specversion":"1.0","id":"661d21d7-559a-4199-8de4-3ce4cc161a6a","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":"90b87169-af33-48ad-9b86-ff90022cb6f1","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":"3721baaa-8afd-450b-bd78-0d0767828b85","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":"c3ada96d-b136-4b5c-a934-46a53ead2c9b","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":"cd5a74bf-0e81-4f88-ae90-9d098eca629b","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-108000 in cluster download-only-108000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"c933bdd6-2dba-45f0-a735-d7375a1e9164","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":"736c26ef-b4ed-4a3f-a814-4ad5d80aec23","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/16573-1024/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x103be6378 0x103be6378 0x103be6378 0x103be6378 0x103be6378 0x103be6378 0x103be6378] Decompressors:map[bz2:0x1400049a838 gz:0x1400049a890 tar:0x1400049a840 tar.bz2:0x1400049a850 tar.gz:0x1400049a860 tar.xz:0x1400049a870 tar.zst:0x1400049a880 tbz2:0x1400049a850 tgz:0x140004
9a860 txz:0x1400049a870 tzst:0x1400049a880 xz:0x1400049a898 zip:0x1400049a8a0 zst:0x1400049a8b0] Getters:map[file:0x14000ab97c0 http:0x14000a22aa0 https:0x14000a22af0] 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":"3f56dc0b-7395-4645-9420-f60b13bd1e40","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 **
I0524 11:35:43.247013 1456 out.go:296] Setting OutFile to fd 1 ...
I0524 11:35:43.247159 1456 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0524 11:35:43.247162 1456 out.go:309] Setting ErrFile to fd 2...
I0524 11:35:43.247165 1456 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0524 11:35:43.247229 1456 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/16573-1024/.minikube/bin
W0524 11:35:43.247359 1456 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/16573-1024/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16573-1024/.minikube/config/config.json: no such file or directory
I0524 11:35:43.248572 1456 out.go:303] Setting JSON to true
I0524 11:35:43.265684 1456 start.go:125] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":314,"bootTime":1684953029,"procs":415,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.3.1","kernelVersion":"22.4.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0524 11:35:43.265738 1456 start.go:133] gopshost.Virtualization returned error: not implemented yet
I0524 11:35:43.269580 1456 out.go:97] [download-only-108000] minikube v1.30.1 on Darwin 13.3.1 (arm64)
I0524 11:35:43.273607 1456 out.go:169] MINIKUBE_LOCATION=16573
I0524 11:35:43.269733 1456 notify.go:220] Checking for updates...
W0524 11:35:43.269768 1456 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16573-1024/.minikube/cache/preloaded-tarball: no such file or directory
I0524 11:35:43.278486 1456 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16573-1024/kubeconfig
I0524 11:35:43.281606 1456 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0524 11:35:43.283036 1456 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0524 11:35:43.286482 1456 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16573-1024/.minikube
W0524 11:35:43.292553 1456 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0524 11:35:43.292745 1456 driver.go:375] Setting default libvirt URI to qemu:///system
I0524 11:35:43.297497 1456 out.go:97] Using the qemu2 driver based on user configuration
I0524 11:35:43.297517 1456 start.go:295] selected driver: qemu2
I0524 11:35:43.297532 1456 start.go:870] validating driver "qemu2" against <nil>
I0524 11:35:43.297588 1456 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0524 11:35:43.301532 1456 out.go:169] Automatically selected the socket_vmnet network
I0524 11:35:43.307076 1456 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0524 11:35:43.307213 1456 start_flags.go:897] Wait components to verify : map[apiserver:true system_pods:true]
I0524 11:35:43.307234 1456 cni.go:84] Creating CNI manager for ""
I0524 11:35:43.307257 1456 cni.go:161] CNI unnecessary in this configuration, recommending no CNI
I0524 11:35:43.307261 1456 start_flags.go:319] config:
{Name:download-only-108000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1684536746-16501@sha256:f5d93abf1d1cfb142a7cf0b58b24029595d621e5f943105b16c61199094d77de 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-108000 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:}
I0524 11:35:43.307399 1456 iso.go:125] acquiring lock: {Name:mk78431aa792d64459e9d8bd2fb1ce84dc420421 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0524 11:35:43.311547 1456 out.go:97] Downloading VM boot image ...
I0524 11:35:43.311585 1456 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16501/minikube-v1.30.1-1684536668-16501-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16501/minikube-v1.30.1-1684536668-16501-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16573-1024/.minikube/cache/iso/arm64/minikube-v1.30.1-1684536668-16501-arm64.iso
I0524 11:35:50.541475 1456 out.go:97] Starting control plane node download-only-108000 in cluster download-only-108000
I0524 11:35:50.541501 1456 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0524 11:35:50.594774 1456 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
I0524 11:35:50.594832 1456 cache.go:57] Caching tarball of preloaded images
I0524 11:35:50.594990 1456 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0524 11:35:50.599399 1456 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0524 11:35:50.599405 1456 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0524 11:35:50.675234 1456 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/16573-1024/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0524 11:35:57.182614 1456 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0524 11:35:57.182748 1456 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16573-1024/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0524 11:35:57.826801 1456 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0524 11:35:57.826976 1456 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16573-1024/.minikube/profiles/download-only-108000/config.json ...
I0524 11:35:57.827004 1456 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16573-1024/.minikube/profiles/download-only-108000/config.json: {Name:mkb01c988bf51437b0ec4fd4bf88d2090d77f626 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0524 11:35:57.827258 1456 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0524 11:35:57.827437 1456 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/16573-1024/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0524 11:35:58.153748 1456 out.go:169]
W0524 11:35:58.158931 1456 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/16573-1024/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x103be6378 0x103be6378 0x103be6378 0x103be6378 0x103be6378 0x103be6378 0x103be6378] Decompressors:map[bz2:0x1400049a838 gz:0x1400049a890 tar:0x1400049a840 tar.bz2:0x1400049a850 tar.gz:0x1400049a860 tar.xz:0x1400049a870 tar.zst:0x1400049a880 tbz2:0x1400049a850 tgz:0x1400049a860 txz:0x1400049a870 tzst:0x1400049a880 xz:0x1400049a898 zip:0x1400049a8a0 zst:0x1400049a8b0] Getters:map[file:0x14000ab97c0 http:0x14000a22aa0 https:0x14000a22af0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0524 11:35:58.158961 1456 out_reason.go:110]
W0524 11:35:58.166752 1456 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0524 11:35:58.169797 1456 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-108000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (14.98s)