=== 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-896000 --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-896000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (19.078104667s)
-- stdout --
{"specversion":"1.0","id":"68ddeb61-d142-4661-99ea-32ee610ca64b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-896000] minikube v1.32.0 on Darwin 14.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"33b2f813-dad6-4f7a-80a7-8a846767ae79","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17585"}}
{"specversion":"1.0","id":"30b2ce26-c9b8-4596-8ad2-594be96f4fef","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17585-6517/kubeconfig"}}
{"specversion":"1.0","id":"0027bfef-355b-445c-a6ef-5423533232d7","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":"bf0d838b-5f5c-46c5-a205-1394b1ff279f","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":"6b5cea68-b757-42a5-a7dc-87d163746403","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17585-6517/.minikube"}}
{"specversion":"1.0","id":"f6204dfa-c188-499b-854b-47d7f93e88bc","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":"ef04a873-dc8b-44f7-8607-d870b1db7516","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":"5b671c08-9cc1-4384-9e02-dfb382a38999","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":"1532c53a-cbec-4885-a27f-7cc36e9a54c7","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":"ce0e3b44-6496-4478-9162-fc333f37e523","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-896000 in cluster download-only-896000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"554f80a3-c037-434e-9faf-f439b2677d70","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":"10516efa-e84b-4dc3-94d4-3a71602f4fef","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/17585-6517/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60] Decompressors:map[bz2:0x1400080a800 gz:0x1400080a808 tar:0x1400080a7b0 tar.bz2:0x1400080a7c0 tar.gz:0x1400080a7d0 tar.xz:0x1400080a7e0 tar.zst:0x1400080a7f0 tbz2:0x1400080a7c0 tgz:0x140008
0a7d0 txz:0x1400080a7e0 tzst:0x1400080a7f0 xz:0x1400080a810 zip:0x1400080a820 zst:0x1400080a818] Getters:map[file:0x140001216b0 http:0x14000566460 https:0x140005664b0] 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":"ceec1d0e-8b9f-4262-92e5-4164244677c4","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 **
I1107 15:00:05.062524 6955 out.go:296] Setting OutFile to fd 1 ...
I1107 15:00:05.062711 6955 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1107 15:00:05.062714 6955 out.go:309] Setting ErrFile to fd 2...
I1107 15:00:05.062717 6955 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1107 15:00:05.062845 6955 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17585-6517/.minikube/bin
W1107 15:00:05.062937 6955 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17585-6517/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17585-6517/.minikube/config/config.json: no such file or directory
I1107 15:00:05.064246 6955 out.go:303] Setting JSON to true
I1107 15:00:05.081944 6955 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":3579,"bootTime":1699394426,"procs":483,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.1","kernelVersion":"23.1.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1107 15:00:05.082026 6955 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1107 15:00:05.086246 6955 out.go:97] [download-only-896000] minikube v1.32.0 on Darwin 14.1 (arm64)
I1107 15:00:05.090277 6955 out.go:169] MINIKUBE_LOCATION=17585
I1107 15:00:05.086380 6955 notify.go:220] Checking for updates...
W1107 15:00:05.086398 6955 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17585-6517/.minikube/cache/preloaded-tarball: no such file or directory
I1107 15:00:05.098232 6955 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17585-6517/kubeconfig
I1107 15:00:05.101262 6955 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1107 15:00:05.104304 6955 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1107 15:00:05.107260 6955 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17585-6517/.minikube
W1107 15:00:05.113367 6955 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1107 15:00:05.113608 6955 driver.go:378] Setting default libvirt URI to qemu:///system
I1107 15:00:05.117273 6955 out.go:97] Using the qemu2 driver based on user configuration
I1107 15:00:05.117299 6955 start.go:298] selected driver: qemu2
I1107 15:00:05.117314 6955 start.go:902] validating driver "qemu2" against <nil>
I1107 15:00:05.117391 6955 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1107 15:00:05.121072 6955 out.go:169] Automatically selected the socket_vmnet network
I1107 15:00:05.127954 6955 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1107 15:00:05.128035 6955 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1107 15:00:05.128107 6955 cni.go:84] Creating CNI manager for ""
I1107 15:00:05.128127 6955 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1107 15:00:05.128133 6955 start_flags.go:323] config:
{Name:download-only-896000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 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-896000 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 AutoPauseInterval:1m0s GPUs:}
I1107 15:00:05.132934 6955 iso.go:125] acquiring lock: {Name:mkcf48a85b791f202d73532bd87babd0d8db20cb Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1107 15:00:05.136550 6955 out.go:97] Downloading VM boot image ...
I1107 15:00:05.136576 6955 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.32.1-arm64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.32.1-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17585-6517/.minikube/cache/iso/arm64/minikube-v1.32.1-arm64.iso
I1107 15:00:16.328628 6955 out.go:97] Starting control plane node download-only-896000 in cluster download-only-896000
I1107 15:00:16.328670 6955 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1107 15:00:16.386184 6955 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
I1107 15:00:16.386206 6955 cache.go:56] Caching tarball of preloaded images
I1107 15:00:16.386351 6955 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1107 15:00:16.391453 6955 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1107 15:00:16.391460 6955 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1107 15:00:16.474535 6955 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/17585-6517/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1107 15:00:22.725668 6955 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1107 15:00:22.725827 6955 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17585-6517/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1107 15:00:23.366996 6955 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1107 15:00:23.367191 6955 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17585-6517/.minikube/profiles/download-only-896000/config.json ...
I1107 15:00:23.367207 6955 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17585-6517/.minikube/profiles/download-only-896000/config.json: {Name:mkc9f5b34274ff2768443ae53a540ba17854edb3 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1107 15:00:23.367437 6955 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1107 15:00:23.368341 6955 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/17585-6517/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1107 15:00:24.059587 6955 out.go:169]
W1107 15:00:24.064766 6955 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/17585-6517/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60 0x1087acf60] Decompressors:map[bz2:0x1400080a800 gz:0x1400080a808 tar:0x1400080a7b0 tar.bz2:0x1400080a7c0 tar.gz:0x1400080a7d0 tar.xz:0x1400080a7e0 tar.zst:0x1400080a7f0 tbz2:0x1400080a7c0 tgz:0x1400080a7d0 txz:0x1400080a7e0 tzst:0x1400080a7f0 xz:0x1400080a810 zip:0x1400080a820 zst:0x1400080a818] Getters:map[file:0x140001216b0 http:0x14000566460 https:0x140005664b0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1107 15:00:24.064794 6955 out_reason.go:110]
W1107 15:00:24.073618 6955 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1107 15:00:24.077592 6955 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-896000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (19.08s)