=== 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-691000 --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-691000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (19.986852167s)
-- stdout --
{"specversion":"1.0","id":"c4712d41-a979-4d8f-96fb-ac6ba6c14c04","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-691000] minikube v1.31.0 on Darwin 13.4.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"abf0bdfc-26c4-4ed5-9f42-9c489323effc","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16899"}}
{"specversion":"1.0","id":"14872e25-4321-44c6-8312-f5ecd2865315","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16899-5737/kubeconfig"}}
{"specversion":"1.0","id":"f039ad13-0417-491d-a07f-0a659f82aba8","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":"4db755ac-13e5-4296-a50d-9058ab78a71a","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":"57b3c073-f02e-41c2-84bd-05f66f8ce24b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16899-5737/.minikube"}}
{"specversion":"1.0","id":"46baf4d8-e96d-4bcb-8401-cc7c53872d98","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":"d90d68de-adfc-425f-875f-77d9f43b0599","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":"9b87eda0-a6a0-4e18-a084-c673c6525870","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":"d7e7b93c-1203-426f-a19c-e753981c0c5d","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":"7ef9d9ca-79f0-49c6-991a-353d9a220431","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-691000 in cluster download-only-691000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"d8579b17-0853-44b9-bbee-d7f46d2c3b85","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":"807486d1-4786-49dc-92dd-198ce801459a","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/16899-5737/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0] Decompressors:map[bz2:0x14000692918 gz:0x14000692970 tar:0x14000692920 tar.bz2:0x14000692930 tar.gz:0x14000692940 tar.xz:0x14000692950 tar.zst:0x14000692960 tbz2:0x14000692930 tgz:0x140006
92940 txz:0x14000692950 tzst:0x14000692960 xz:0x14000692978 zip:0x14000692980 zst:0x14000692990] Getters:map[file:0x14000dccb20 http:0x140009f0140 https:0x140009f0190] 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":"b0f0b7fa-89fa-49c2-b374-7535cbf9c14d","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 **
I0717 14:37:13.551344 6161 out.go:296] Setting OutFile to fd 1 ...
I0717 14:37:13.551464 6161 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0717 14:37:13.551468 6161 out.go:309] Setting ErrFile to fd 2...
I0717 14:37:13.551470 6161 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0717 14:37:13.551611 6161 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/16899-5737/.minikube/bin
W0717 14:37:13.551679 6161 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/16899-5737/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16899-5737/.minikube/config/config.json: no such file or directory
I0717 14:37:13.552791 6161 out.go:303] Setting JSON to true
I0717 14:37:13.569274 6161 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":2199,"bootTime":1689627634,"procs":424,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4.1","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0717 14:37:13.569338 6161 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0717 14:37:13.574090 6161 out.go:97] [download-only-691000] minikube v1.31.0 on Darwin 13.4.1 (arm64)
I0717 14:37:13.577089 6161 out.go:169] MINIKUBE_LOCATION=16899
I0717 14:37:13.574171 6161 notify.go:220] Checking for updates...
W0717 14:37:13.574213 6161 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16899-5737/.minikube/cache/preloaded-tarball: no such file or directory
I0717 14:37:13.584063 6161 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16899-5737/kubeconfig
I0717 14:37:13.587074 6161 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0717 14:37:13.590000 6161 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0717 14:37:13.593029 6161 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16899-5737/.minikube
W0717 14:37:13.599029 6161 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0717 14:37:13.599227 6161 driver.go:373] Setting default libvirt URI to qemu:///system
I0717 14:37:13.602078 6161 out.go:97] Using the qemu2 driver based on user configuration
I0717 14:37:13.602099 6161 start.go:298] selected driver: qemu2
I0717 14:37:13.602113 6161 start.go:880] validating driver "qemu2" against <nil>
I0717 14:37:13.602167 6161 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0717 14:37:13.605038 6161 out.go:169] Automatically selected the socket_vmnet network
I0717 14:37:13.609915 6161 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0717 14:37:13.609993 6161 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0717 14:37:13.610038 6161 cni.go:84] Creating CNI manager for ""
I0717 14:37:13.610045 6161 cni.go:168] CNI unnecessary in this configuration, recommending no CNI
I0717 14:37:13.610050 6161 start_flags.go:319] config:
{Name:download-only-691000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.40@sha256:8cadf23777709e43eca447c47a45f5a4635615129267ce025193040ec92a1631 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-691000 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}
I0717 14:37:13.614229 6161 iso.go:125] acquiring lock: {Name:mkbc93f8dbdbea9b14c6ad114ecc3f029ba51a2f Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0717 14:37:13.618034 6161 out.go:97] Downloading VM boot image ...
I0717 14:37:13.618071 6161 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.31.0-arm64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.31.0-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16899-5737/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso
I0717 14:37:22.341709 6161 out.go:97] Starting control plane node download-only-691000 in cluster download-only-691000
I0717 14:37:22.341721 6161 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0717 14:37:22.516378 6161 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
I0717 14:37:22.516444 6161 cache.go:57] Caching tarball of preloaded images
I0717 14:37:22.517104 6161 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0717 14:37:22.521058 6161 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0717 14:37:22.521074 6161 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0717 14:37:22.731389 6161 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/16899-5737/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0717 14:37:32.236171 6161 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0717 14:37:32.236304 6161 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16899-5737/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0717 14:37:32.877213 6161 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0717 14:37:32.877438 6161 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16899-5737/.minikube/profiles/download-only-691000/config.json ...
I0717 14:37:32.877458 6161 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16899-5737/.minikube/profiles/download-only-691000/config.json: {Name:mk797093a0432974ab20751047e25522ba71cd15 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0717 14:37:32.877667 6161 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0717 14:37:32.877832 6161 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/16899-5737/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0717 14:37:33.465348 6161 out.go:169]
W0717 14:37:33.470486 6161 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/16899-5737/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0 0x1066146b0] Decompressors:map[bz2:0x14000692918 gz:0x14000692970 tar:0x14000692920 tar.bz2:0x14000692930 tar.gz:0x14000692940 tar.xz:0x14000692950 tar.zst:0x14000692960 tbz2:0x14000692930 tgz:0x14000692940 txz:0x14000692950 tzst:0x14000692960 xz:0x14000692978 zip:0x14000692980 zst:0x14000692990] Getters:map[file:0x14000dccb20 http:0x140009f0140 https:0x140009f0190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0717 14:37:33.470511 6161 out_reason.go:110]
W0717 14:37:33.477339 6161 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0717 14:37:33.481440 6161 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-691000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (19.99s)