=== 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-323000 --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-323000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (13.238846792s)
-- stdout --
{"specversion":"1.0","id":"f4c1580c-05da-49ad-a096-876fa0d4bc3f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-323000] minikube v1.31.2 on Darwin 14.0 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"917d1e7b-e78b-4102-a8eb-6da814cfce82","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17375"}}
{"specversion":"1.0","id":"8c0e0ade-a5c4-4b21-b95a-c15a2f8bf6a7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17375-10891/kubeconfig"}}
{"specversion":"1.0","id":"f7418031-162c-42c6-8bac-7acd77fb6943","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":"3344ed3e-0f8a-4bac-9823-1c41d94f2f84","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":"4939ef3f-44a1-492f-a6ff-194e88301e32","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17375-10891/.minikube"}}
{"specversion":"1.0","id":"943b0290-e9d6-4ec5-894c-f1d42a83f7f2","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":"e4133d59-223e-4b55-b529-2c48a1ffb9a1","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":"bfadaeda-eeb7-40db-8ecb-03e1e1e81bbe","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":"06afe800-4eca-4da0-a625-f82f68258f31","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":"740461dd-bb04-4c5d-8d9a-f0d8fd5b5db5","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-323000 in cluster download-only-323000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"e623d58d-504b-49a5-b3b0-fcdda61111cb","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":"b1bb2a6f-1b0e-4fa2-bb8a-fc5f53f9b072","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/17375-10891/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40] Decompressors:map[bz2:0x14000696ff0 gz:0x14000696ff8 tar:0x14000696fa0 tar.bz2:0x14000696fb0 tar.gz:0x14000696fc0 tar.xz:0x14000696fd0 tar.zst:0x14000696fe0 tbz2:0x14000696fb0 tgz:0x14000
696fc0 txz:0x14000696fd0 tzst:0x14000696fe0 xz:0x14000697000 zip:0x14000697010 zst:0x14000697008] Getters:map[file:0x140022045b0 http:0x140000e8af0 https:0x140000e8b40] 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":"ab7b0c43-a3c7-443b-9e7e-62bc7d03441f","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 **
I1009 16:40:03.426265 11311 out.go:296] Setting OutFile to fd 1 ...
I1009 16:40:03.426445 11311 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1009 16:40:03.426449 11311 out.go:309] Setting ErrFile to fd 2...
I1009 16:40:03.426452 11311 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1009 16:40:03.426566 11311 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17375-10891/.minikube/bin
W1009 16:40:03.426631 11311 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17375-10891/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17375-10891/.minikube/config/config.json: no such file or directory
I1009 16:40:03.427776 11311 out.go:303] Setting JSON to true
I1009 16:40:03.445106 11311 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":18576,"bootTime":1696876227,"procs":469,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1009 16:40:03.445171 11311 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1009 16:40:03.452080 11311 out.go:97] [download-only-323000] minikube v1.31.2 on Darwin 14.0 (arm64)
I1009 16:40:03.455613 11311 out.go:169] MINIKUBE_LOCATION=17375
I1009 16:40:03.452257 11311 notify.go:220] Checking for updates...
W1009 16:40:03.452272 11311 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17375-10891/.minikube/cache/preloaded-tarball: no such file or directory
I1009 16:40:03.467803 11311 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17375-10891/kubeconfig
I1009 16:40:03.470852 11311 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1009 16:40:03.474433 11311 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1009 16:40:03.477815 11311 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17375-10891/.minikube
W1009 16:40:03.484237 11311 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1009 16:40:03.484400 11311 driver.go:378] Setting default libvirt URI to qemu:///system
I1009 16:40:03.487869 11311 out.go:97] Using the qemu2 driver based on user configuration
I1009 16:40:03.487875 11311 start.go:298] selected driver: qemu2
I1009 16:40:03.487889 11311 start.go:902] validating driver "qemu2" against <nil>
I1009 16:40:03.487940 11311 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1009 16:40:03.490835 11311 out.go:169] Automatically selected the socket_vmnet network
I1009 16:40:03.496610 11311 start_flags.go:386] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1009 16:40:03.496702 11311 start_flags.go:908] Wait components to verify : map[apiserver:true system_pods:true]
I1009 16:40:03.496783 11311 cni.go:84] Creating CNI manager for ""
I1009 16:40:03.496800 11311 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1009 16:40:03.496806 11311 start_flags.go:323] config:
{Name:download-only-323000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1696360059-17345@sha256:76d99edd1576614d5c20a839dd16ae1d7c810f3b909a01797063d483159ea3ae 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-323000 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:}
I1009 16:40:03.501647 11311 iso.go:125] acquiring lock: {Name:mka2fab67af2dbd2f00d239905c638535a7d3219 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1009 16:40:03.507233 11311 out.go:97] Downloading VM boot image ...
I1009 16:40:03.507254 11311 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17375-10891/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I1009 16:40:09.342595 11311 out.go:97] Starting control plane node download-only-323000 in cluster download-only-323000
I1009 16:40:09.342613 11311 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1009 16:40:09.400923 11311 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
I1009 16:40:09.400931 11311 cache.go:57] Caching tarball of preloaded images
I1009 16:40:09.401331 11311 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1009 16:40:09.405722 11311 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1009 16:40:09.405728 11311 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1009 16:40:09.484868 11311 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/17375-10891/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1009 16:40:15.659079 11311 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1009 16:40:15.659224 11311 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17375-10891/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1009 16:40:16.302009 11311 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1009 16:40:16.302205 11311 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17375-10891/.minikube/profiles/download-only-323000/config.json ...
I1009 16:40:16.302224 11311 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17375-10891/.minikube/profiles/download-only-323000/config.json: {Name:mk2e170efd0ae2043fb2ec7ed5bb5e6a9a7b93cd Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1009 16:40:16.303301 11311 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1009 16:40:16.303589 11311 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/17375-10891/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1009 16:40:16.590001 11311 out.go:169]
W1009 16:40:16.594186 11311 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/17375-10891/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40 0x104db9e40] Decompressors:map[bz2:0x14000696ff0 gz:0x14000696ff8 tar:0x14000696fa0 tar.bz2:0x14000696fb0 tar.gz:0x14000696fc0 tar.xz:0x14000696fd0 tar.zst:0x14000696fe0 tbz2:0x14000696fb0 tgz:0x14000696fc0 txz:0x14000696fd0 tzst:0x14000696fe0 xz:0x14000697000 zip:0x14000697010 zst:0x14000697008] Getters:map[file:0x140022045b0 http:0x140000e8af0 https:0x140000e8b40] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1009 16:40:16.594213 11311 out_reason.go:110]
W1009 16:40:16.600123 11311 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1009 16:40:16.604049 11311 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-323000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (13.24s)