=== 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-794000 --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-794000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (10.407661333s)
-- stdout --
{"specversion":"1.0","id":"377fdf74-576d-4233-aba3-4fb1782dd075","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-794000] minikube v1.31.2 on Darwin 13.5.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"5fa340e8-3c5a-41ea-81ca-7fecab7a79c6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17114"}}
{"specversion":"1.0","id":"3fb69568-a29c-4de7-abd1-b073fb4c5c26","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17114-13814/kubeconfig"}}
{"specversion":"1.0","id":"4e9a7795-867c-4943-989b-923b822482b2","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":"1c9b62d4-c063-404f-8798-e42a1ea06db4","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":"9d8f5ff2-1395-429f-a7cb-a92f471a5bd9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17114-13814/.minikube"}}
{"specversion":"1.0","id":"5909bcd7-34dd-4634-a7d0-273751b6ecc7","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":"1605a626-9287-4b45-9dc5-4948c290fe29","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":"93decdd4-7b05-44e7-ad7d-36c63de006ca","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":"739490e2-5264-448a-b797-f6013604dd19","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":"3f6997c4-f68b-4fca-95b4-721c2af644b9","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-794000 in cluster download-only-794000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"a676af04-abbd-417f-a893-87468bbd28df","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":"8e04d405-6c3e-4c62-87ab-c0d9d6d7b374","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/17114-13814/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104268698 0x104268698 0x104268698 0x104268698 0x104268698 0x104268698 0x104268698] Decompressors:map[bz2:0x1400062b420 gz:0x1400062b428 tar:0x1400062b3d0 tar.bz2:0x1400062b3e0 tar.gz:0x1400062b3f0 tar.xz:0x1400062b400 tar.zst:0x1400062b410 tbz2:0x1400062b3e0 tgz:0x14000
62b3f0 txz:0x1400062b400 tzst:0x1400062b410 xz:0x1400062b430 zip:0x1400062b440 zst:0x1400062b438] Getters:map[file:0x140025265b0 http:0x1400291a140 https:0x1400291a190] 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":"1b338b4e-1f8a-4aa8-9a19-15e0e2656dd2","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 **
I0830 13:48:59.873508 14231 out.go:296] Setting OutFile to fd 1 ...
I0830 13:48:59.873668 14231 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0830 13:48:59.873671 14231 out.go:309] Setting ErrFile to fd 2...
I0830 13:48:59.873673 14231 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0830 13:48:59.873790 14231 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17114-13814/.minikube/bin
W0830 13:48:59.873850 14231 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17114-13814/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17114-13814/.minikube/config/config.json: no such file or directory
I0830 13:48:59.875067 14231 out.go:303] Setting JSON to true
I0830 13:48:59.891400 14231 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":6513,"bootTime":1693422026,"procs":451,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.1","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0830 13:48:59.891449 14231 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0830 13:48:59.896363 14231 out.go:97] [download-only-794000] minikube v1.31.2 on Darwin 13.5.1 (arm64)
I0830 13:48:59.899770 14231 out.go:169] MINIKUBE_LOCATION=17114
I0830 13:48:59.896520 14231 notify.go:220] Checking for updates...
W0830 13:48:59.896535 14231 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17114-13814/.minikube/cache/preloaded-tarball: no such file or directory
I0830 13:48:59.909462 14231 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17114-13814/kubeconfig
I0830 13:48:59.914090 14231 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0830 13:48:59.918192 14231 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0830 13:48:59.921929 14231 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17114-13814/.minikube
W0830 13:48:59.927301 14231 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0830 13:48:59.927511 14231 driver.go:373] Setting default libvirt URI to qemu:///system
I0830 13:48:59.930665 14231 out.go:97] Using the qemu2 driver based on user configuration
I0830 13:48:59.930671 14231 start.go:298] selected driver: qemu2
I0830 13:48:59.930689 14231 start.go:902] validating driver "qemu2" against <nil>
I0830 13:48:59.930767 14231 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0830 13:48:59.934450 14231 out.go:169] Automatically selected the socket_vmnet network
I0830 13:48:59.939320 14231 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0830 13:48:59.939415 14231 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0830 13:48:59.939475 14231 cni.go:84] Creating CNI manager for ""
I0830 13:48:59.939491 14231 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0830 13:48:59.939496 14231 start_flags.go:319] config:
{Name:download-only-794000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1692872184-17120@sha256:42602f0d347faca66d9347bdc33243fe5f4d6b3fff3ba53f3b2fc2d5fe63e9ec 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-794000 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}
I0830 13:48:59.944063 14231 iso.go:125] acquiring lock: {Name:mk30c9ac8abe2f222ede5bc1900b9f4bb99aba8c Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0830 13:48:59.948768 14231 out.go:97] Downloading VM boot image ...
I0830 13:48:59.948796 14231 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17120/minikube-v1.31.0-1692872107-17120-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17120/minikube-v1.31.0-1692872107-17120-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17114-13814/.minikube/cache/iso/arm64/minikube-v1.31.0-1692872107-17120-arm64.iso
I0830 13:49:03.955334 14231 out.go:97] Starting control plane node download-only-794000 in cluster download-only-794000
I0830 13:49:03.955373 14231 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0830 13:49:04.014782 14231 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
I0830 13:49:04.014849 14231 cache.go:57] Caching tarball of preloaded images
I0830 13:49:04.015783 14231 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0830 13:49:04.019844 14231 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0830 13:49:04.019850 14231 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0830 13:49:04.098850 14231 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/17114-13814/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0830 13:49:09.202403 14231 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0830 13:49:09.202538 14231 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17114-13814/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0830 13:49:09.845016 14231 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0830 13:49:09.845220 14231 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17114-13814/.minikube/profiles/download-only-794000/config.json ...
I0830 13:49:09.845238 14231 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17114-13814/.minikube/profiles/download-only-794000/config.json: {Name:mk4f12f22f162ae9391a684e1cfce9a259095c0e Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0830 13:49:09.846307 14231 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0830 13:49:09.846793 14231 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/17114-13814/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0830 13:49:10.202072 14231 out.go:169]
W0830 13:49:10.206052 14231 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/17114-13814/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104268698 0x104268698 0x104268698 0x104268698 0x104268698 0x104268698 0x104268698] Decompressors:map[bz2:0x1400062b420 gz:0x1400062b428 tar:0x1400062b3d0 tar.bz2:0x1400062b3e0 tar.gz:0x1400062b3f0 tar.xz:0x1400062b400 tar.zst:0x1400062b410 tbz2:0x1400062b3e0 tgz:0x1400062b3f0 txz:0x1400062b400 tzst:0x1400062b410 xz:0x1400062b430 zip:0x1400062b440 zst:0x1400062b438] Getters:map[file:0x140025265b0 http:0x1400291a140 https:0x1400291a190] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0830 13:49:10.206078 14231 out_reason.go:110]
W0830 13:49:10.213033 14231 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0830 13:49:10.216995 14231 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-794000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (10.41s)