=== 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-654000 --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-654000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (20.877283458s)
-- stdout --
{"specversion":"1.0","id":"c2ddbe2b-6cf6-4b62-b9e4-2e58a24194e5","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-654000] minikube v1.30.1 on Darwin 13.4 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"97783a1f-d681-4a50-a5b2-32d08e0a3fb9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16761"}}
{"specversion":"1.0","id":"32d748c4-4a68-4759-ad70-fcefb0f3cb4e","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16761-11080/kubeconfig"}}
{"specversion":"1.0","id":"fe9f9f5b-d437-41c9-87f3-e686666ab9a8","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":"80b55a00-e43d-4908-b3d8-cb73f4ea0c12","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":"c6ab1bf5-00ac-4fdf-a6b0-8c3794f8e61d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16761-11080/.minikube"}}
{"specversion":"1.0","id":"1dbb9adf-a53a-4099-a57f-c10ddba092f9","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":"5f3b504e-0513-4811-8e6e-17ffbfb69058","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":"9bfc2735-3410-4c55-b55f-48ab244478c2","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":"f70231c8-4a39-4c01-be98-34d1363258d3","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":"5386d8e7-43d0-4782-9df4-13dd4fb79f2a","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-654000 in cluster download-only-654000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"21e6840f-9a8f-43d0-965c-c4ca6e27a7b5","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":"4a8e3554-8e34-49a4-8999-e688336a0063","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/16761-11080/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8] Decompressors:map[bz2:0x14000057168 gz:0x140000571e0 tar:0x14000057170 tar.bz2:0x14000057180 tar.gz:0x140000571a0 tar.xz:0x140000571b0 tar.zst:0x140000571d0 tbz2:0x14000057180 tgz:0x14000
0571a0 txz:0x140000571b0 tzst:0x140000571d0 xz:0x140000571e8 zip:0x140000571f0 zst:0x14000057200] Getters:map[file:0x14001036760 http:0x14000a92190 https:0x14000a921e0] 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":"2503d65c-debf-4e1c-bd0d-2650c00d8fbb","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 **
I0626 11:17:56.396719 11495 out.go:296] Setting OutFile to fd 1 ...
I0626 11:17:56.396832 11495 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0626 11:17:56.396835 11495 out.go:309] Setting ErrFile to fd 2...
I0626 11:17:56.396837 11495 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0626 11:17:56.396904 11495 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/16761-11080/.minikube/bin
W0626 11:17:56.396964 11495 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/16761-11080/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16761-11080/.minikube/config/config.json: no such file or directory
I0626 11:17:56.398046 11495 out.go:303] Setting JSON to true
I0626 11:17:56.415075 11495 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":33445,"bootTime":1687770031,"procs":465,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0626 11:17:56.415131 11495 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0626 11:17:56.419079 11495 out.go:97] [download-only-654000] minikube v1.30.1 on Darwin 13.4 (arm64)
W0626 11:17:56.419263 11495 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16761-11080/.minikube/cache/preloaded-tarball: no such file or directory
I0626 11:17:56.419294 11495 notify.go:220] Checking for updates...
I0626 11:17:56.424015 11495 out.go:169] MINIKUBE_LOCATION=16761
I0626 11:17:56.426955 11495 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16761-11080/kubeconfig
I0626 11:17:56.430943 11495 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0626 11:17:56.433985 11495 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0626 11:17:56.436904 11495 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16761-11080/.minikube
W0626 11:17:56.442998 11495 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0626 11:17:56.443187 11495 driver.go:373] Setting default libvirt URI to qemu:///system
I0626 11:17:56.446973 11495 out.go:97] Using the qemu2 driver based on user configuration
I0626 11:17:56.446999 11495 start.go:297] selected driver: qemu2
I0626 11:17:56.447002 11495 start.go:954] validating driver "qemu2" against <nil>
I0626 11:17:56.447066 11495 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0626 11:17:56.449909 11495 out.go:169] Automatically selected the socket_vmnet network
I0626 11:17:56.454832 11495 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0626 11:17:56.454906 11495 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0626 11:17:56.454942 11495 cni.go:84] Creating CNI manager for ""
I0626 11:17:56.454949 11495 cni.go:168] CNI unnecessary in this configuration, recommending no CNI
I0626 11:17:56.454953 11495 start_flags.go:319] config:
{Name:download-only-654000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1687538068-16731@sha256:d08658afefe15fb29b5fcdace4d88182b61941d4fc6089c962f9de20073de953 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-654000 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}
I0626 11:17:56.459057 11495 iso.go:125] acquiring lock: {Name:mk047eab6565c6d0d7d0d3d31480c5cd309f0636 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0626 11:17:56.461955 11495 out.go:97] Downloading VM boot image ...
I0626 11:17:56.461987 11495 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16703/minikube-v1.30.1-1687455737-16703-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16703/minikube-v1.30.1-1687455737-16703-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16761-11080/.minikube/cache/iso/arm64/minikube-v1.30.1-1687455737-16703-arm64.iso
I0626 11:18:05.417381 11495 out.go:97] Starting control plane node download-only-654000 in cluster download-only-654000
I0626 11:18:05.417402 11495 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0626 11:18:05.527364 11495 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
I0626 11:18:05.527447 11495 cache.go:57] Caching tarball of preloaded images
I0626 11:18:05.527670 11495 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0626 11:18:05.531547 11495 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0626 11:18:05.531556 11495 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0626 11:18:05.746699 11495 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/16761-11080/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0626 11:18:15.968217 11495 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0626 11:18:15.968370 11495 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16761-11080/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0626 11:18:16.611175 11495 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0626 11:18:16.611359 11495 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16761-11080/.minikube/profiles/download-only-654000/config.json ...
I0626 11:18:16.611382 11495 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16761-11080/.minikube/profiles/download-only-654000/config.json: {Name:mkf1fdee1e7253fb7d362bb880661eaa09124c26 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0626 11:18:16.611613 11495 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0626 11:18:16.611787 11495 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/16761-11080/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0626 11:18:17.202043 11495 out.go:169]
W0626 11:18:17.206114 11495 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/16761-11080/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8 0x1039a01c8] Decompressors:map[bz2:0x14000057168 gz:0x140000571e0 tar:0x14000057170 tar.bz2:0x14000057180 tar.gz:0x140000571a0 tar.xz:0x140000571b0 tar.zst:0x140000571d0 tbz2:0x14000057180 tgz:0x140000571a0 txz:0x140000571b0 tzst:0x140000571d0 xz:0x140000571e8 zip:0x140000571f0 zst:0x14000057200] Getters:map[file:0x14001036760 http:0x14000a92190 https:0x14000a921e0] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0626 11:18:17.206138 11495 out_reason.go:110]
W0626 11:18:17.213002 11495 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0626 11:18:17.217024 11495 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-654000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (20.88s)