=== 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-150000 --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-150000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (39.403440875s)
-- stdout --
{"specversion":"1.0","id":"0e9a5122-975e-436a-8dc1-bc27c3f66c7e","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-150000] minikube v1.32.0 on Darwin 14.3.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"b1f844d0-2129-4d01-89c8-f06e548967bb","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=18284"}}
{"specversion":"1.0","id":"29ce2459-95a0-4a8e-b813-63789f04181c","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/18284-15061/kubeconfig"}}
{"specversion":"1.0","id":"aea4c2f2-8c83-4473-bb8e-ead6feda5e85","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":"0ca055df-4f68-422c-b6b7-95f4d7754144","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":"1145cab4-70b0-4c71-a290-42591c30b6c9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/18284-15061/.minikube"}}
{"specversion":"1.0","id":"e808d96c-d527-42b4-aec6-2fc2ba22505a","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":"e2182e45-8888-4eb1-b5fb-a061f87c0b15","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":"cb3f55b2-b08f-4b49-9d1e-1e8d875d9fc9","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":"c6f8911c-afe4-440e-b97f-c44045968f99","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":"5ccb7c75-4d25-450e-b44e-c49101a1497c","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-150000 in cluster download-only-150000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"f0c9dc95-cc5d-4a5f-a732-81ef79ce1553","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":"b9e47d36-8fc3-4cc1-8eaf-0b35eb83e80d","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/18284-15061/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10836f340 0x10836f340 0x10836f340 0x10836f340 0x10836f340 0x10836f340 0x10836f340] Decompressors:map[bz2:0x140004640d0 gz:0x140004640d8 tar:0x1400000ffe0 tar.bz2:0x1400000fff0 tar.gz:0x14000464090 tar.xz:0x140004640a0 tar.zst:0x140004640c0 tbz2:0x1400000fff0 tgz:0x14000
464090 txz:0x140004640a0 tzst:0x140004640c0 xz:0x140004640e0 zip:0x14000464120 zst:0x140004640e8] Getters:map[file:0x140020ac7c0 http:0x1400072cb40 https:0x1400072cb90] 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":"99265730-2bae-4862-b8b8-d4699a2f75ec","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 **
I0304 04:04:13.502115 15488 out.go:291] Setting OutFile to fd 1 ...
I0304 04:04:13.502260 15488 out.go:338] TERM=,COLORTERM=, which probably does not support color
I0304 04:04:13.502264 15488 out.go:304] Setting ErrFile to fd 2...
I0304 04:04:13.502266 15488 out.go:338] TERM=,COLORTERM=, which probably does not support color
I0304 04:04:13.502400 15488 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/18284-15061/.minikube/bin
W0304 04:04:13.502485 15488 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/18284-15061/.minikube/config/config.json: open /Users/jenkins/minikube-integration/18284-15061/.minikube/config/config.json: no such file or directory
I0304 04:04:13.503756 15488 out.go:298] Setting JSON to true
I0304 04:04:13.521043 15488 start.go:129] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":9225,"bootTime":1709544628,"procs":479,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.3.1","kernelVersion":"23.3.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0304 04:04:13.521120 15488 start.go:137] gopshost.Virtualization returned error: not implemented yet
I0304 04:04:13.526733 15488 out.go:97] [download-only-150000] minikube v1.32.0 on Darwin 14.3.1 (arm64)
I0304 04:04:13.530535 15488 out.go:169] MINIKUBE_LOCATION=18284
W0304 04:04:13.526880 15488 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/18284-15061/.minikube/cache/preloaded-tarball: no such file or directory
I0304 04:04:13.526905 15488 notify.go:220] Checking for updates...
I0304 04:04:13.536628 15488 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/18284-15061/kubeconfig
I0304 04:04:13.538116 15488 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0304 04:04:13.541688 15488 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0304 04:04:13.544691 15488 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/18284-15061/.minikube
W0304 04:04:13.550630 15488 out.go:267] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0304 04:04:13.550828 15488 driver.go:392] Setting default libvirt URI to qemu:///system
I0304 04:04:13.553617 15488 out.go:97] Using the qemu2 driver based on user configuration
I0304 04:04:13.553623 15488 start.go:299] selected driver: qemu2
I0304 04:04:13.553625 15488 start.go:903] validating driver "qemu2" against <nil>
I0304 04:04:13.553673 15488 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I0304 04:04:13.556659 15488 out.go:169] Automatically selected the socket_vmnet network
I0304 04:04:13.561965 15488 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0304 04:04:13.562070 15488 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I0304 04:04:13.562161 15488 cni.go:84] Creating CNI manager for ""
I0304 04:04:13.562180 15488 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0304 04:04:13.562185 15488 start_flags.go:323] config:
{Name:download-only-150000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1708944392-18244@sha256:8610dac8144c3f59a6cf50871eb10395cea122e148262744231a04c396033b08 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-150000 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: AutoPauseInterval:1m0s}
I0304 04:04:13.567124 15488 iso.go:125] acquiring lock: {Name:mk00f0d05fcd5690532357e58da54275ac5932b2 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0304 04:04:13.571744 15488 out.go:97] Downloading VM boot image ...
I0304 04:04:13.571783 15488 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/18020/minikube-v1.32.1-1708638130-18020-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/18020/minikube-v1.32.1-1708638130-18020-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/18284-15061/.minikube/cache/iso/arm64/minikube-v1.32.1-1708638130-18020-arm64.iso
I0304 04:04:31.838820 15488 out.go:97] Starting control plane node download-only-150000 in cluster download-only-150000
I0304 04:04:31.838848 15488 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0304 04:04:32.106764 15488 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
I0304 04:04:32.106821 15488 cache.go:56] Caching tarball of preloaded images
I0304 04:04:32.107949 15488 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0304 04:04:32.113280 15488 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0304 04:04:32.113313 15488 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0304 04:04:32.713495 15488 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/18284-15061/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0304 04:04:51.553248 15488 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0304 04:04:51.553426 15488 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/18284-15061/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0304 04:04:52.193112 15488 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0304 04:04:52.193347 15488 profile.go:148] Saving config to /Users/jenkins/minikube-integration/18284-15061/.minikube/profiles/download-only-150000/config.json ...
I0304 04:04:52.193372 15488 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/18284-15061/.minikube/profiles/download-only-150000/config.json: {Name:mkd0fc447bd9345c4f75479b3dc3e9e060131ba0 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0304 04:04:52.194539 15488 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0304 04:04:52.194745 15488 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/18284-15061/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0304 04:04:52.828470 15488 out.go:169]
W0304 04:04:52.832586 15488 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/18284-15061/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10836f340 0x10836f340 0x10836f340 0x10836f340 0x10836f340 0x10836f340 0x10836f340] Decompressors:map[bz2:0x140004640d0 gz:0x140004640d8 tar:0x1400000ffe0 tar.bz2:0x1400000fff0 tar.gz:0x14000464090 tar.xz:0x140004640a0 tar.zst:0x140004640c0 tbz2:0x1400000fff0 tgz:0x14000464090 txz:0x140004640a0 tzst:0x140004640c0 xz:0x140004640e0 zip:0x14000464120 zst:0x140004640e8] Getters:map[file:0x140020ac7c0 http:0x1400072cb40 https:0x1400072cb90] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0304 04:04:52.832621 15488 out_reason.go:110]
W0304 04:04:52.840398 15488 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0304 04:04:52.844506 15488 out.go:169]
** /stderr **
aaa_download_only_test.go:83: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-150000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (39.40s)