=== 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-359000 --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-359000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (12.391949792s)
-- stdout --
{"specversion":"1.0","id":"62f8a020-509e-496b-9d59-66326c84dcd0","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-359000] minikube v1.32.0 on Darwin 14.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"1c81a549-9447-49d9-b764-44c35cf0f106","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17822"}}
{"specversion":"1.0","id":"b6427507-3f0f-44e6-8e48-953f45c11815","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17822-5715/kubeconfig"}}
{"specversion":"1.0","id":"d7c26629-b5fe-4f13-b784-9abdbae85229","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":"2abc56f7-152c-427f-8d1d-26ee7886fd7d","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":"886f02a8-7a53-4d7b-8b27-807fa15cc041","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17822-5715/.minikube"}}
{"specversion":"1.0","id":"55c06aab-274f-4112-b25d-7617bda2e062","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":"9b8bfa75-abda-4cd6-a3fc-d876f6cb6a14","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":"6fa303f5-7820-4898-aa20-b7f56dcaee48","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":"4627d4a4-e334-47ec-af38-350e0c210450","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":"fdd1aede-02c8-403f-8a45-f3e54afcddc9","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-359000 in cluster download-only-359000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"b31114d1-e006-4594-a30d-e01557a252cb","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":"6e4c7814-4ff4-43ee-8a34-ee2e7369b9c9","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/17822-5715/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80] Decompressors:map[bz2:0x14000773430 gz:0x14000773438 tar:0x140007733a0 tar.bz2:0x140007733c0 tar.gz:0x140007733e0 tar.xz:0x140007733f0 tar.zst:0x14000773420 tbz2:0x140007733c0 tgz:0x140007
733e0 txz:0x140007733f0 tzst:0x14000773420 xz:0x14000773450 zip:0x14000773470 zst:0x14000773458] Getters:map[file:0x140021cc570 http:0x14000718550 https:0x140007185a0] 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":"92ea25aa-5339-43b6-9039-4fe5b4221b73","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 **
I1218 14:42:37.166670 6128 out.go:296] Setting OutFile to fd 1 ...
I1218 14:42:37.166830 6128 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1218 14:42:37.166833 6128 out.go:309] Setting ErrFile to fd 2...
I1218 14:42:37.166836 6128 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1218 14:42:37.166953 6128 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17822-5715/.minikube/bin
W1218 14:42:37.167026 6128 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17822-5715/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17822-5715/.minikube/config/config.json: no such file or directory
I1218 14:42:37.168254 6128 out.go:303] Setting JSON to true
I1218 14:42:37.185722 6128 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":2529,"bootTime":1702936828,"procs":465,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.2","kernelVersion":"23.2.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W1218 14:42:37.185789 6128 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1218 14:42:37.191286 6128 out.go:97] [download-only-359000] minikube v1.32.0 on Darwin 14.2 (arm64)
I1218 14:42:37.195229 6128 out.go:169] MINIKUBE_LOCATION=17822
I1218 14:42:37.191439 6128 notify.go:220] Checking for updates...
W1218 14:42:37.191471 6128 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17822-5715/.minikube/cache/preloaded-tarball: no such file or directory
I1218 14:42:37.205119 6128 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17822-5715/kubeconfig
I1218 14:42:37.208204 6128 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1218 14:42:37.209734 6128 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1218 14:42:37.213182 6128 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17822-5715/.minikube
W1218 14:42:37.219180 6128 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1218 14:42:37.219369 6128 driver.go:392] Setting default libvirt URI to qemu:///system
I1218 14:42:37.222110 6128 out.go:97] Using the qemu2 driver based on user configuration
I1218 14:42:37.222117 6128 start.go:298] selected driver: qemu2
I1218 14:42:37.222131 6128 start.go:902] validating driver "qemu2" against <nil>
I1218 14:42:37.222228 6128 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1218 14:42:37.225150 6128 out.go:169] Automatically selected the socket_vmnet network
I1218 14:42:37.230400 6128 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1218 14:42:37.230487 6128 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1218 14:42:37.230603 6128 cni.go:84] Creating CNI manager for ""
I1218 14:42:37.230623 6128 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1218 14:42:37.230628 6128 start_flags.go:323] config:
{Name:download-only-359000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1702920864-17822@sha256:4842b362f06b33d847d73f7ed166c93ce608f4c4cea49b711c7055fd50ebd1e0 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-359000 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 GPUs:}
I1218 14:42:37.235459 6128 iso.go:125] acquiring lock: {Name:mk279e099051b18271b69142365680371df19a71 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1218 14:42:37.238102 6128 out.go:97] Downloading VM boot image ...
I1218 14:42:37.238127 6128 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17806/minikube-v1.32.1-1702708929-17806-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17806/minikube-v1.32.1-1702708929-17806-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17822-5715/.minikube/cache/iso/arm64/minikube-v1.32.1-1702708929-17806-arm64.iso
I1218 14:42:42.755615 6128 out.go:97] Starting control plane node download-only-359000 in cluster download-only-359000
I1218 14:42:42.755639 6128 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1218 14:42:42.854652 6128 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
I1218 14:42:42.854695 6128 cache.go:56] Caching tarball of preloaded images
I1218 14:42:42.854952 6128 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1218 14:42:42.859041 6128 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1218 14:42:42.859051 6128 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1218 14:42:42.937260 6128 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/17822-5715/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1218 14:42:48.470637 6128 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1218 14:42:48.470809 6128 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17822-5715/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1218 14:42:49.117425 6128 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1218 14:42:49.117625 6128 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17822-5715/.minikube/profiles/download-only-359000/config.json ...
I1218 14:42:49.117645 6128 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17822-5715/.minikube/profiles/download-only-359000/config.json: {Name:mk76ec67a18e90b5d69d2c301913471b52d0e7ce Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1218 14:42:49.117892 6128 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1218 14:42:49.118083 6128 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/17822-5715/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1218 14:42:49.479861 6128 out.go:169]
W1218 14:42:49.484936 6128 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/17822-5715/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80 0x106a41a80] Decompressors:map[bz2:0x14000773430 gz:0x14000773438 tar:0x140007733a0 tar.bz2:0x140007733c0 tar.gz:0x140007733e0 tar.xz:0x140007733f0 tar.zst:0x14000773420 tbz2:0x140007733c0 tgz:0x140007733e0 txz:0x140007733f0 tzst:0x14000773420 xz:0x14000773450 zip:0x14000773470 zst:0x14000773458] Getters:map[file:0x140021cc570 http:0x14000718550 https:0x140007185a0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1218 14:42:49.484960 6128 out_reason.go:110]
W1218 14:42:49.491853 6128 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1218 14:42:49.495804 6128 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-359000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (12.39s)