=== 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-183000 --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-183000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (18.503719583s)
-- stdout --
{"specversion":"1.0","id":"cbb15662-ba6d-4af7-8bfe-5e13f274e553","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-183000] minikube v1.32.0 on Darwin 14.1.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"8b2c798a-0c61-46c0-b7ae-2dd5c1e3c201","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17658"}}
{"specversion":"1.0","id":"d7947fd9-7ccd-4fde-a23a-5b75462824da","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17658-941/kubeconfig"}}
{"specversion":"1.0","id":"e2fcdb78-570d-4856-8808-ac275fc37dcb","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":"c40363bc-97df-41e0-90ba-9f575a188acd","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":"de1f0ef3-055b-4bd9-889e-00d1591d25a6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17658-941/.minikube"}}
{"specversion":"1.0","id":"26f9876c-141b-490b-99ed-2b83197d79f2","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":"6237349a-83bd-44d0-8214-5f115332c125","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":"d821c223-61ed-44a1-8d35-7eb033d9e7fc","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":"0dcb4273-21ed-452c-9bc5-43b83c8245b4","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":"a48e4be0-7772-4241-9641-281958174b22","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-183000 in cluster download-only-183000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"862a5418-0193-40f7-9241-cd328f6e2de0","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":"32c103d7-2459-4381-bba1-782b9b4cd383","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/17658-941/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80] Decompressors:map[bz2:0x14000918ea0 gz:0x14000918ea8 tar:0x14000918e50 tar.bz2:0x14000918e60 tar.gz:0x14000918e70 tar.xz:0x14000918e80 tar.zst:0x14000918e90 tbz2:0x14000918e60 tgz:0x1400091
8e70 txz:0x14000918e80 tzst:0x14000918e90 xz:0x14000918ed0 zip:0x14000918ee0 zst:0x14000918ed8] Getters:map[file:0x1400080c8a0 http:0x1400017e550 https:0x1400017e5a0] 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":"7eadf921-107a-415d-8df2-073fa0b46409","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 **
I1122 10:35:51.424526 1440 out.go:296] Setting OutFile to fd 1 ...
I1122 10:35:51.424722 1440 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1122 10:35:51.424726 1440 out.go:309] Setting ErrFile to fd 2...
I1122 10:35:51.424728 1440 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1122 10:35:51.424864 1440 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17658-941/.minikube/bin
W1122 10:35:51.424949 1440 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17658-941/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17658-941/.minikube/config/config.json: no such file or directory
I1122 10:35:51.426147 1440 out.go:303] Setting JSON to true
I1122 10:35:51.443060 1440 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":321,"bootTime":1700677830,"procs":454,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.1.1","kernelVersion":"23.1.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1122 10:35:51.443136 1440 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1122 10:35:51.452134 1440 out.go:97] [download-only-183000] minikube v1.32.0 on Darwin 14.1.1 (arm64)
I1122 10:35:51.456049 1440 out.go:169] MINIKUBE_LOCATION=17658
I1122 10:35:51.452276 1440 notify.go:220] Checking for updates...
W1122 10:35:51.452320 1440 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17658-941/.minikube/cache/preloaded-tarball: no such file or directory
I1122 10:35:51.466054 1440 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17658-941/kubeconfig
I1122 10:35:51.470120 1440 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1122 10:35:51.474074 1440 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1122 10:35:51.478066 1440 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17658-941/.minikube
W1122 10:35:51.484064 1440 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1122 10:35:51.484292 1440 driver.go:378] Setting default libvirt URI to qemu:///system
I1122 10:35:51.489968 1440 out.go:97] Using the qemu2 driver based on user configuration
I1122 10:35:51.489977 1440 start.go:298] selected driver: qemu2
I1122 10:35:51.489980 1440 start.go:902] validating driver "qemu2" against <nil>
I1122 10:35:51.490064 1440 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1122 10:35:51.494022 1440 out.go:169] Automatically selected the socket_vmnet network
I1122 10:35:51.500936 1440 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1122 10:35:51.501020 1440 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1122 10:35:51.501128 1440 cni.go:84] Creating CNI manager for ""
I1122 10:35:51.501145 1440 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1122 10:35:51.501152 1440 start_flags.go:323] config:
{Name:download-only-183000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1700142204-17634@sha256:b5ff7180d8eca5924b7e763cf222f5d9cfa39b21ab2c921f1394f3275e214b50 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-183000 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:}
I1122 10:35:51.506782 1440 iso.go:125] acquiring lock: {Name:mk1223c4c7245b4c90cf73a815a1c76497db66ce Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1122 10:35:51.511014 1440 out.go:97] Downloading VM boot image ...
I1122 10:35:51.511032 1440 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17634/minikube-v1.32.1-1700142131-17634-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17634/minikube-v1.32.1-1700142131-17634-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17658-941/.minikube/cache/iso/arm64/minikube-v1.32.1-1700142131-17634-arm64.iso
I1122 10:35:59.315555 1440 out.go:97] Starting control plane node download-only-183000 in cluster download-only-183000
I1122 10:35:59.315573 1440 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1122 10:35:59.373387 1440 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
I1122 10:35:59.373396 1440 cache.go:56] Caching tarball of preloaded images
I1122 10:35:59.373532 1440 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1122 10:35:59.378680 1440 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1122 10:35:59.378687 1440 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1122 10:35:59.454201 1440 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/17658-941/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1122 10:36:08.360678 1440 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1122 10:36:08.360822 1440 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17658-941/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1122 10:36:09.001849 1440 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1122 10:36:09.002049 1440 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17658-941/.minikube/profiles/download-only-183000/config.json ...
I1122 10:36:09.002065 1440 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17658-941/.minikube/profiles/download-only-183000/config.json: {Name:mk51ce9bef7aa2af158da6d000f5447dbbce4d81 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1122 10:36:09.002275 1440 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1122 10:36:09.002439 1440 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/17658-941/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1122 10:36:09.860132 1440 out.go:169]
W1122 10:36:09.864257 1440 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/17658-941/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80 0x108d80a80] Decompressors:map[bz2:0x14000918ea0 gz:0x14000918ea8 tar:0x14000918e50 tar.bz2:0x14000918e60 tar.gz:0x14000918e70 tar.xz:0x14000918e80 tar.zst:0x14000918e90 tbz2:0x14000918e60 tgz:0x14000918e70 txz:0x14000918e80 tzst:0x14000918e90 xz:0x14000918ed0 zip:0x14000918ee0 zst:0x14000918ed8] Getters:map[file:0x1400080c8a0 http:0x1400017e550 https:0x1400017e5a0] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1122 10:36:09.864284 1440 out_reason.go:110]
W1122 10:36:09.872211 1440 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1122 10:36:09.876209 1440 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-183000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (18.51s)