=== 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-679000 --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-679000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (10.514368208s)
-- stdout --
{"specversion":"1.0","id":"fd9a235d-bdae-4141-8a53-3d3e71fd0bfd","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-679000] minikube v1.31.2 on Darwin 14.0 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"a28ea770-8744-4bde-9864-53715b6da347","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17340"}}
{"specversion":"1.0","id":"18741e92-ceeb-4a03-9d54-b3b892f2c520","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17340-994/kubeconfig"}}
{"specversion":"1.0","id":"3f96698c-df6b-490e-ac4b-933d1195c37f","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":"c2cab795-69c5-409f-afde-b923f9676f25","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":"26b39222-beb0-49d0-93c6-7b30706d2595","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17340-994/.minikube"}}
{"specversion":"1.0","id":"18b998ad-d987-4015-b28b-5c883b236087","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":"27b424a9-3a90-44f1-bfee-0eac0619e917","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":"4d3f6413-fa75-4c2f-b8a5-e526034352a3","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":"c4537eec-7b93-4d8f-a917-b769fec738bd","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":"129562bb-1e6b-482a-99d3-8fe77f30112b","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-679000 in cluster download-only-679000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"a4d5db8b-5b3e-460b-9df6-9351c9c1d1b2","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":"02d96b9c-4469-4661-8486-6cc1ccd8b6bc","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/17340-994/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880] Decompressors:map[bz2:0x14000196a20 gz:0x14000196a28 tar:0x14000196990 tar.bz2:0x140001969a0 tar.gz:0x140001969b0 tar.xz:0x140001969d0 tar.zst:0x140001969e0 tbz2:0x140001969a0 tgz:0x1400019
69b0 txz:0x140001969d0 tzst:0x140001969e0 xz:0x14000196a30 zip:0x14000196a40 zst:0x14000196a38] Getters:map[file:0x14000708910 http:0x140004a2640 https:0x140004a2690] 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":"ba00f106-4d2b-4bb3-97ff-0ce8c135cab9","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 **
I1002 03:34:59.823596 1411 out.go:296] Setting OutFile to fd 1 ...
I1002 03:34:59.823742 1411 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1002 03:34:59.823745 1411 out.go:309] Setting ErrFile to fd 2...
I1002 03:34:59.823748 1411 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1002 03:34:59.823857 1411 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17340-994/.minikube/bin
W1002 03:34:59.823946 1411 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17340-994/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17340-994/.minikube/config/config.json: no such file or directory
I1002 03:34:59.825093 1411 out.go:303] Setting JSON to true
I1002 03:34:59.842620 1411 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":272,"bootTime":1696242627,"procs":443,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1002 03:34:59.842721 1411 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1002 03:34:59.851040 1411 out.go:97] [download-only-679000] minikube v1.31.2 on Darwin 14.0 (arm64)
I1002 03:34:59.854079 1411 out.go:169] MINIKUBE_LOCATION=17340
I1002 03:34:59.851196 1411 notify.go:220] Checking for updates...
W1002 03:34:59.851189 1411 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17340-994/.minikube/cache/preloaded-tarball: no such file or directory
I1002 03:34:59.863076 1411 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17340-994/kubeconfig
I1002 03:34:59.870983 1411 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1002 03:34:59.878871 1411 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1002 03:34:59.882005 1411 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17340-994/.minikube
W1002 03:34:59.888091 1411 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1002 03:34:59.888306 1411 driver.go:373] Setting default libvirt URI to qemu:///system
I1002 03:34:59.893023 1411 out.go:97] Using the qemu2 driver based on user configuration
I1002 03:34:59.893029 1411 start.go:298] selected driver: qemu2
I1002 03:34:59.893032 1411 start.go:902] validating driver "qemu2" against <nil>
I1002 03:34:59.893094 1411 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I1002 03:34:59.896989 1411 out.go:169] Automatically selected the socket_vmnet network
I1002 03:34:59.903037 1411 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1002 03:34:59.903118 1411 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I1002 03:34:59.903190 1411 cni.go:84] Creating CNI manager for ""
I1002 03:34:59.903210 1411 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1002 03:34:59.903215 1411 start_flags.go:321] config:
{Name:download-only-679000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1694798187-17250@sha256:8d9a070cda8e1b1082ed355bde1aaf66fbf63d64fa6e9f553f449efc74157fe3 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-679000 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}
I1002 03:34:59.909298 1411 iso.go:125] acquiring lock: {Name:mke5bbece44fc1c18af5ed8d18cea755c5b0301b Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1002 03:34:59.913079 1411 out.go:97] Downloading VM boot image ...
I1002 03:34:59.913122 1411 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/17340-994/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I1002 03:35:04.218339 1411 out.go:97] Starting control plane node download-only-679000 in cluster download-only-679000
I1002 03:35:04.218364 1411 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1002 03:35:04.268459 1411 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
I1002 03:35:04.268479 1411 cache.go:57] Caching tarball of preloaded images
I1002 03:35:04.268615 1411 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1002 03:35:04.273281 1411 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1002 03:35:04.273287 1411 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1002 03:35:04.351307 1411 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/17340-994/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1002 03:35:09.228255 1411 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1002 03:35:09.228400 1411 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17340-994/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1002 03:35:09.869196 1411 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1002 03:35:09.869391 1411 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17340-994/.minikube/profiles/download-only-679000/config.json ...
I1002 03:35:09.869410 1411 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17340-994/.minikube/profiles/download-only-679000/config.json: {Name:mk9ffb537985013462866bd2ba05410dfae7c50b Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1002 03:35:09.869638 1411 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1002 03:35:09.869891 1411 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/17340-994/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1002 03:35:10.271642 1411 out.go:169]
W1002 03:35:10.275607 1411 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/17340-994/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880 0x103bd1880] Decompressors:map[bz2:0x14000196a20 gz:0x14000196a28 tar:0x14000196990 tar.bz2:0x140001969a0 tar.gz:0x140001969b0 tar.xz:0x140001969d0 tar.zst:0x140001969e0 tbz2:0x140001969a0 tgz:0x140001969b0 txz:0x140001969d0 tzst:0x140001969e0 xz:0x14000196a30 zip:0x14000196a40 zst:0x14000196a38] Getters:map[file:0x14000708910 http:0x140004a2640 https:0x140004a2690] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1002 03:35:10.275635 1411 out_reason.go:110]
W1002 03:35:10.281645 1411 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1002 03:35:10.285627 1411 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-679000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (10.52s)