=== 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-816000 --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-816000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (12.400978666s)
-- stdout --
{"specversion":"1.0","id":"4c11dc54-13ba-43f0-874e-256f9f3cfc5f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-816000] minikube v1.32.0 on Darwin 14.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"a2bcff8f-97d6-4e5a-b453-8e75b7c417bb","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17806"}}
{"specversion":"1.0","id":"9a946b00-55ed-4663-a93e-6f7e89b9ed14","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17806-5341/kubeconfig"}}
{"specversion":"1.0","id":"370fd799-0d21-47bd-a0a2-9042bb4bf06b","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":"dc93658c-2b0b-453a-acba-d3f0be6b2bb1","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":"4af59220-cd64-463b-9413-1474ea03add9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17806-5341/.minikube"}}
{"specversion":"1.0","id":"952d3ffc-7438-47a8-85e0-a70500ad6ed7","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":"8d9f20c0-39ee-4b77-bc86-2f289b327503","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":"a07168fe-ba85-49e0-808b-ccbf4b55ffb0","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":"3a813148-cbd0-4bc4-9a3b-14f8f1dea327","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":"66da3ffe-4bd2-4101-a805-659825f2cab8","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-816000 in cluster download-only-816000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"501c55e3-2057-435c-b1b9-faef2aa42bf0","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":"3e36dd89-9964-4c36-b47d-c401dcfed94b","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/17806-5341/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80] Decompressors:map[bz2:0x14000700d40 gz:0x14000700d48 tar:0x14000700cf0 tar.bz2:0x14000700d00 tar.gz:0x14000700d10 tar.xz:0x14000700d20 tar.zst:0x14000700d30 tbz2:0x14000700d00 tgz:0x140007
00d10 txz:0x14000700d20 tzst:0x14000700d30 xz:0x14000700d50 zip:0x14000700d60 zst:0x14000700d58] Getters:map[file:0x14000496d20 http:0x1400023c140 https:0x1400023c190] 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":"3574f7b4-4cb8-4a98-bbd9-4048022d1f87","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 **
I1216 12:41:29.771682 5772 out.go:296] Setting OutFile to fd 1 ...
I1216 12:41:29.771856 5772 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1216 12:41:29.771859 5772 out.go:309] Setting ErrFile to fd 2...
I1216 12:41:29.771862 5772 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1216 12:41:29.771972 5772 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17806-5341/.minikube/bin
W1216 12:41:29.772040 5772 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17806-5341/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17806-5341/.minikube/config/config.json: no such file or directory
I1216 12:41:29.773350 5772 out.go:303] Setting JSON to true
I1216 12:41:29.789964 5772 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":2460,"bootTime":1702756829,"procs":465,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.2","kernelVersion":"23.2.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W1216 12:41:29.790061 5772 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1216 12:41:29.803334 5772 out.go:97] [download-only-816000] minikube v1.32.0 on Darwin 14.2 (arm64)
I1216 12:41:29.808260 5772 out.go:169] MINIKUBE_LOCATION=17806
W1216 12:41:29.803465 5772 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17806-5341/.minikube/cache/preloaded-tarball: no such file or directory
I1216 12:41:29.803483 5772 notify.go:220] Checking for updates...
I1216 12:41:29.819261 5772 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17806-5341/kubeconfig
I1216 12:41:29.822238 5772 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1216 12:41:29.825250 5772 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1216 12:41:29.828265 5772 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17806-5341/.minikube
W1216 12:41:29.833220 5772 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1216 12:41:29.833415 5772 driver.go:392] Setting default libvirt URI to qemu:///system
I1216 12:41:29.837275 5772 out.go:97] Using the qemu2 driver based on user configuration
I1216 12:41:29.837282 5772 start.go:298] selected driver: qemu2
I1216 12:41:29.837307 5772 start.go:902] validating driver "qemu2" against <nil>
I1216 12:41:29.837374 5772 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1216 12:41:29.840249 5772 out.go:169] Automatically selected the socket_vmnet network
I1216 12:41:29.845681 5772 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1216 12:41:29.845781 5772 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1216 12:41:29.845885 5772 cni.go:84] Creating CNI manager for ""
I1216 12:41:29.845908 5772 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1216 12:41:29.845913 5772 start_flags.go:323] config:
{Name:download-only-816000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1702660877-17806@sha256:31c16f9c70521f16e226ed75c6ea29133eabeb392ac53c7ecccf20cb445890b5 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-816000 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 GPUs:}
I1216 12:41:29.851197 5772 iso.go:125] acquiring lock: {Name:mk08e98062aeeea798aaf9a075cc31931d208f53 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1216 12:41:29.854299 5772 out.go:97] Downloading VM boot image ...
I1216 12:41:29.854328 5772 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17806/minikube-v1.32.1-1702708929-17806-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17806/minikube-v1.32.1-1702708929-17806-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17806-5341/.minikube/cache/iso/arm64/minikube-v1.32.1-1702708929-17806-arm64.iso
I1216 12:41:36.001642 5772 out.go:97] Starting control plane node download-only-816000 in cluster download-only-816000
I1216 12:41:36.001661 5772 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1216 12:41:36.047716 5772 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
I1216 12:41:36.047736 5772 cache.go:56] Caching tarball of preloaded images
I1216 12:41:36.047871 5772 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1216 12:41:36.052635 5772 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1216 12:41:36.052641 5772 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1216 12:41:36.132260 5772 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/17806-5341/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1216 12:41:41.109090 5772 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1216 12:41:41.109239 5772 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17806-5341/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1216 12:41:41.752381 5772 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1216 12:41:41.752583 5772 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17806-5341/.minikube/profiles/download-only-816000/config.json ...
I1216 12:41:41.752600 5772 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17806-5341/.minikube/profiles/download-only-816000/config.json: {Name:mkd4b49e42fdfb22cf8ff4f7e00f8bb4e118ae7f Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1216 12:41:41.752810 5772 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1216 12:41:41.753035 5772 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/17806-5341/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1216 12:41:42.094999 5772 out.go:169]
W1216 12:41:42.099863 5772 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/17806-5341/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80 0x108ab1a80] Decompressors:map[bz2:0x14000700d40 gz:0x14000700d48 tar:0x14000700cf0 tar.bz2:0x14000700d00 tar.gz:0x14000700d10 tar.xz:0x14000700d20 tar.zst:0x14000700d30 tbz2:0x14000700d00 tgz:0x14000700d10 txz:0x14000700d20 tzst:0x14000700d30 xz:0x14000700d50 zip:0x14000700d60 zst:0x14000700d58] Getters:map[file:0x14000496d20 http:0x1400023c140 https:0x1400023c190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1216 12:41:42.099892 5772 out_reason.go:110]
W1216 12:41:42.107923 5772 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1216 12:41:42.112983 5772 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-816000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (12.40s)