=== 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-707000 --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-707000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (12.292439667s)
-- stdout --
{"specversion":"1.0","id":"d229185d-d160-4db8-a599-915b591d5eb3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-707000] minikube v1.31.2 on Darwin 14.0 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"d102464c-d918-4d01-8da0-8b7eb0425910","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17348"}}
{"specversion":"1.0","id":"07905227-c773-44ea-9e4f-8ce095f6063b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17348-6749/kubeconfig"}}
{"specversion":"1.0","id":"5bd3ce3e-9e75-4af8-8c65-d99842eb3bd5","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":"f690d793-ecab-4373-9598-b37a2e759595","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":"56673707-39c6-42e8-ba3d-8b95e842a0cb","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17348-6749/.minikube"}}
{"specversion":"1.0","id":"91657d39-4932-4c7b-9941-efa321a4a3f4","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":"4d84d293-ffb0-49ec-bc91-bfb2d5844270","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":"854a3be5-3601-4c40-80c0-44e35cf334f0","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":"1252cb61-49d5-4b5c-8197-d944d171e119","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":"60f7cd5c-2174-4318-acfc-328d3f7aad57","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-707000 in cluster download-only-707000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"13909391-49a8-477f-917a-dff80b6d7faf","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":"576a63be-34cf-477f-8bd0-e4ce927723a1","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/17348-6749/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880] Decompressors:map[bz2:0x14000700020 gz:0x14000700028 tar:0x1400013dfd0 tar.bz2:0x1400013dfe0 tar.gz:0x1400013dff0 tar.xz:0x14000700000 tar.zst:0x14000700010 tbz2:0x1400013dfe0 tgz:0x140001
3dff0 txz:0x14000700000 tzst:0x14000700010 xz:0x14000700030 zip:0x14000700040 zst:0x14000700038] Getters:map[file:0x14000062cb0 http:0x1400071c4b0 https:0x1400071c550] 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":"8c7acbe3-f1ae-43b9-8768-fafe63f5fd95","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 **
I1003 17:42:41.140779 7167 out.go:296] Setting OutFile to fd 1 ...
I1003 17:42:41.140951 7167 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1003 17:42:41.140955 7167 out.go:309] Setting ErrFile to fd 2...
I1003 17:42:41.140957 7167 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1003 17:42:41.141082 7167 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17348-6749/.minikube/bin
W1003 17:42:41.141166 7167 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17348-6749/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17348-6749/.minikube/config/config.json: no such file or directory
I1003 17:42:41.142431 7167 out.go:303] Setting JSON to true
I1003 17:42:41.162295 7167 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":4335,"bootTime":1696375826,"procs":454,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1003 17:42:41.162362 7167 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1003 17:42:41.166686 7167 out.go:97] [download-only-707000] minikube v1.31.2 on Darwin 14.0 (arm64)
I1003 17:42:41.170274 7167 out.go:169] MINIKUBE_LOCATION=17348
I1003 17:42:41.166879 7167 notify.go:220] Checking for updates...
W1003 17:42:41.166915 7167 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17348-6749/.minikube/cache/preloaded-tarball: no such file or directory
I1003 17:42:41.178764 7167 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17348-6749/kubeconfig
I1003 17:42:41.180598 7167 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1003 17:42:41.184035 7167 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1003 17:42:41.187908 7167 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17348-6749/.minikube
W1003 17:42:41.195578 7167 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1003 17:42:41.195782 7167 driver.go:373] Setting default libvirt URI to qemu:///system
I1003 17:42:41.199182 7167 out.go:97] Using the qemu2 driver based on user configuration
I1003 17:42:41.199188 7167 start.go:298] selected driver: qemu2
I1003 17:42:41.199202 7167 start.go:902] validating driver "qemu2" against <nil>
I1003 17:42:41.199269 7167 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I1003 17:42:41.202618 7167 out.go:169] Automatically selected the socket_vmnet network
I1003 17:42:41.208778 7167 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1003 17:42:41.208874 7167 start_flags.go:905] Wait components to verify : map[apiserver:true system_pods:true]
I1003 17:42:41.208947 7167 cni.go:84] Creating CNI manager for ""
I1003 17:42:41.208967 7167 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1003 17:42:41.208973 7167 start_flags.go:321] config:
{Name:download-only-707000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1696241247-17339@sha256:77c3e98870a99538e39ecb73a5e5230b746fa8c633c297c3d287ad4bba01a880 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-707000 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}
I1003 17:42:41.213854 7167 iso.go:125] acquiring lock: {Name:mk298f33115f9c9f1e9035c4f5ccb17b51b60f53 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1003 17:42:41.218190 7167 out.go:97] Downloading VM boot image ...
I1003 17:42:41.218211 7167 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/17348-6749/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I1003 17:42:45.927604 7167 out.go:97] Starting control plane node download-only-707000 in cluster download-only-707000
I1003 17:42:45.927629 7167 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1003 17:42:45.988323 7167 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
I1003 17:42:45.988342 7167 cache.go:57] Caching tarball of preloaded images
I1003 17:42:45.988512 7167 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1003 17:42:45.995869 7167 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1003 17:42:45.995876 7167 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1003 17:42:46.072257 7167 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/17348-6749/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1003 17:42:52.499288 7167 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1003 17:42:52.499423 7167 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17348-6749/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1003 17:42:53.145252 7167 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1003 17:42:53.145448 7167 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17348-6749/.minikube/profiles/download-only-707000/config.json ...
I1003 17:42:53.145464 7167 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17348-6749/.minikube/profiles/download-only-707000/config.json: {Name:mk5ff117fb90b4c74f2b3f899590b530066e07f5 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1003 17:42:53.146087 7167 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1003 17:42:53.146351 7167 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/17348-6749/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1003 17:42:53.369784 7167 out.go:169]
W1003 17:42:53.374844 7167 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/17348-6749/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880 0x107bf5880] Decompressors:map[bz2:0x14000700020 gz:0x14000700028 tar:0x1400013dfd0 tar.bz2:0x1400013dfe0 tar.gz:0x1400013dff0 tar.xz:0x14000700000 tar.zst:0x14000700010 tbz2:0x1400013dfe0 tgz:0x1400013dff0 txz:0x14000700000 tzst:0x14000700010 xz:0x14000700030 zip:0x14000700040 zst:0x14000700038] Getters:map[file:0x14000062cb0 http:0x1400071c4b0 https:0x1400071c550] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1003 17:42:53.374874 7167 out_reason.go:110]
W1003 17:42:53.382173 7167 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1003 17:42:53.386732 7167 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-707000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (12.29s)