=== RUN TestDownloadOnly/v1.16.0/json-events
aaa_download_only_test.go:81: (dbg) Run: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-048000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2
aaa_download_only_test.go:81: (dbg) Non-zero exit: out/minikube-darwin-arm64 start -o=json --download-only -p download-only-048000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (39.191982834s)
-- stdout --
{"specversion":"1.0","id":"0a0b3e21-3075-4692-95ae-0c37be2e6443","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-048000] minikube v1.32.0 on Darwin 14.3.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"5cdabd09-cd53-48b5-afe2-0f3a1f304371","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=18170"}}
{"specversion":"1.0","id":"3a9951e4-e869-4a39-879f-74f5442ab445","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/18170-979/kubeconfig"}}
{"specversion":"1.0","id":"fc0ebf82-3298-48fc-aa8f-9d9b43dbcb04","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":"412609fd-73ce-4158-8323-d91004dc9b62","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":"87910dd7-1638-4741-86ca-e4cfa5bad17d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/18170-979/.minikube"}}
{"specversion":"1.0","id":"4b81d21c-6c4d-4b20-9af3-4ea9481b44b4","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":"713b0c20-a9fe-43e8-bf1a-53118885c789","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":"2dc14802-e998-4d9c-8a23-7dd553e66d9f","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":"64224d3e-0955-4e97-8ca0-b797bcf62fcb","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":"ab7b0b97-921c-4b5f-9671-b211dbef250e","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-048000 in cluster download-only-048000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"62784aad-bdbb-46c0-bfa8-66215875350d","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":"0b6797c9-ca6c-45fa-a641-17c67a140e0c","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/18170-979/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106667080 0x106667080 0x106667080 0x106667080 0x106667080 0x106667080 0x106667080] Decompressors:map[bz2:0x140004961c0 gz:0x140004961c8 tar:0x14000496170 tar.bz2:0x14000496180 tar.gz:0x14000496190 tar.xz:0x140004961a0 tar.zst:0x140004961b0 tbz2:0x14000496180 tgz:0x1400049
6190 txz:0x140004961a0 tzst:0x140004961b0 xz:0x140004961d0 zip:0x140004961e0 zst:0x140004961d8] Getters:map[file:0x14000cf8600 http:0x140008d42d0 https:0x140008d4320] 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":"f0218734-d443-46d0-a349-cd98c0aa04df","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 **
I0213 14:38:44.220155 1409 out.go:291] Setting OutFile to fd 1 ...
I0213 14:38:44.220308 1409 out.go:338] TERM=,COLORTERM=, which probably does not support color
I0213 14:38:44.220311 1409 out.go:304] Setting ErrFile to fd 2...
I0213 14:38:44.220314 1409 out.go:338] TERM=,COLORTERM=, which probably does not support color
I0213 14:38:44.220427 1409 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/18170-979/.minikube/bin
W0213 14:38:44.220511 1409 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/18170-979/.minikube/config/config.json: open /Users/jenkins/minikube-integration/18170-979/.minikube/config/config.json: no such file or directory
I0213 14:38:44.221732 1409 out.go:298] Setting JSON to true
I0213 14:38:44.238782 1409 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":346,"bootTime":1707863578,"procs":455,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.3.1","kernelVersion":"23.3.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0213 14:38:44.238854 1409 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0213 14:38:44.244641 1409 out.go:97] [download-only-048000] minikube v1.32.0 on Darwin 14.3.1 (arm64)
I0213 14:38:44.247703 1409 out.go:169] MINIKUBE_LOCATION=18170
I0213 14:38:44.244780 1409 notify.go:220] Checking for updates...
W0213 14:38:44.244798 1409 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/18170-979/.minikube/cache/preloaded-tarball: no such file or directory
I0213 14:38:44.255621 1409 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/18170-979/kubeconfig
I0213 14:38:44.258698 1409 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0213 14:38:44.261685 1409 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0213 14:38:44.264669 1409 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/18170-979/.minikube
W0213 14:38:44.270687 1409 out.go:267] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0213 14:38:44.270893 1409 driver.go:392] Setting default libvirt URI to qemu:///system
I0213 14:38:44.275576 1409 out.go:97] Using the qemu2 driver based on user configuration
I0213 14:38:44.275593 1409 start.go:298] selected driver: qemu2
I0213 14:38:44.275605 1409 start.go:902] validating driver "qemu2" against <nil>
I0213 14:38:44.275669 1409 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0213 14:38:44.278673 1409 out.go:169] Automatically selected the socket_vmnet network
I0213 14:38:44.284260 1409 start_flags.go:392] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0213 14:38:44.284337 1409 start_flags.go:909] Wait components to verify : map[apiserver:true system_pods:true]
I0213 14:38:44.284445 1409 cni.go:84] Creating CNI manager for ""
I0213 14:38:44.284460 1409 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0213 14:38:44.284463 1409 start_flags.go:321] config:
{Name:download-only-048000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1704759386-17866@sha256:8c3c33047f9bc285e1f5f2a5aa14744a2fe04c58478f02f77b06169dea8dd3f0 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-048000 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 GPUs:}
I0213 14:38:44.289924 1409 iso.go:125] acquiring lock: {Name:mk34fb77f66ac5e2b24bb14f9b4fa1a96d01e1aa Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0213 14:38:44.293697 1409 out.go:97] Downloading VM boot image ...
I0213 14:38:44.293728 1409 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17866/minikube-v1.32.1-1703784139-17866-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17866/minikube-v1.32.1-1703784139-17866-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/18170-979/.minikube/cache/iso/arm64/minikube-v1.32.1-1703784139-17866-arm64.iso
I0213 14:39:02.399186 1409 out.go:97] Starting control plane node download-only-048000 in cluster download-only-048000
I0213 14:39:02.399231 1409 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0213 14:39:02.699758 1409 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
I0213 14:39:02.699847 1409 cache.go:56] Caching tarball of preloaded images
I0213 14:39:02.700583 1409 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0213 14:39:02.706193 1409 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0213 14:39:02.706221 1409 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0213 14:39:03.321123 1409 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/18170-979/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0213 14:39:21.981450 1409 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0213 14:39:21.981602 1409 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/18170-979/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0213 14:39:22.633887 1409 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0213 14:39:22.634076 1409 profile.go:148] Saving config to /Users/jenkins/minikube-integration/18170-979/.minikube/profiles/download-only-048000/config.json ...
I0213 14:39:22.634094 1409 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/18170-979/.minikube/profiles/download-only-048000/config.json: {Name:mkcf4d3fc36f141969847e9612eb45eb33c0fc17 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0213 14:39:22.634334 1409 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0213 14:39:22.634521 1409 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/18170-979/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0213 14:39:23.335632 1409 out.go:169]
W0213 14:39:23.340670 1409 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/18170-979/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106667080 0x106667080 0x106667080 0x106667080 0x106667080 0x106667080 0x106667080] Decompressors:map[bz2:0x140004961c0 gz:0x140004961c8 tar:0x14000496170 tar.bz2:0x14000496180 tar.gz:0x14000496190 tar.xz:0x140004961a0 tar.zst:0x140004961b0 tbz2:0x14000496180 tgz:0x14000496190 txz:0x140004961a0 tzst:0x140004961b0 xz:0x140004961d0 zip:0x140004961e0 zst:0x140004961d8] Getters:map[file:0x14000cf8600 http:0x140008d42d0 https:0x140008d4320] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0213 14:39:23.340693 1409 out_reason.go:110]
W0213 14:39:23.348518 1409 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0213 14:39:23.352553 1409 out.go:169]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-048000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (39.19s)