=== 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-262000 --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-262000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (18.475385541s)
-- stdout --
{"specversion":"1.0","id":"378e1a85-9508-4c83-ba1f-7afb9bc739dd","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-262000] minikube v1.32.0 on Darwin 14.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"39d9718f-f801-42c2-91fa-2d1366cb242f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17565"}}
{"specversion":"1.0","id":"8b8b90aa-5e67-4488-a09b-d143a611712f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17565-5951/kubeconfig"}}
{"specversion":"1.0","id":"1c2b59fb-fcbe-4b5a-8e8a-0f1c18a36f92","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":"decc3f01-cc97-4997-8083-3bc22e31e94b","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":"e8496745-d906-49c8-9354-f61834bd2f77","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17565-5951/.minikube"}}
{"specversion":"1.0","id":"0b6dd5eb-90cf-461d-8308-97c0a458c763","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":"875f3dfb-7233-4471-ba35-f8ee262993ec","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":"6e7570e9-fb48-4bab-9fa2-c9bdd6e9934b","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":"a938d445-1287-42ee-b108-b7d8089842ae","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":"dd35c778-9847-484b-88c1-48e1f735ae63","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-262000 in cluster download-only-262000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"956d92f4-0d17-4b01-9f72-cfad3014dd85","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":"b383c69b-a6f3-4c46-ba05-486bc78f1115","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/17565-5951/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80] Decompressors:map[bz2:0x14000892800 gz:0x14000892808 tar:0x140008927b0 tar.bz2:0x140008927c0 tar.gz:0x140008927d0 tar.xz:0x140008927e0 tar.zst:0x140008927f0 tbz2:0x140008927c0 tgz:0x140008
927d0 txz:0x140008927e0 tzst:0x140008927f0 xz:0x14000892810 zip:0x14000892820 zst:0x14000892818] Getters:map[file:0x14002218570 http:0x140005144b0 https:0x14000514870] 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":"2fa99fcb-f9c6-4670-97a6-e7d0bdd06e20","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 **
I1109 12:52:46.962889 6389 out.go:296] Setting OutFile to fd 1 ...
I1109 12:52:46.963042 6389 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1109 12:52:46.963046 6389 out.go:309] Setting ErrFile to fd 2...
I1109 12:52:46.963048 6389 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1109 12:52:46.963172 6389 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17565-5951/.minikube/bin
W1109 12:52:46.963266 6389 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17565-5951/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17565-5951/.minikube/config/config.json: no such file or directory
I1109 12:52:46.964557 6389 out.go:303] Setting JSON to true
I1109 12:52:46.981495 6389 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":3139,"bootTime":1699560027,"procs":472,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.1","kernelVersion":"23.1.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1109 12:52:46.981590 6389 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1109 12:52:47.003391 6389 out.go:97] [download-only-262000] minikube v1.32.0 on Darwin 14.1 (arm64)
I1109 12:52:47.007313 6389 out.go:169] MINIKUBE_LOCATION=17565
I1109 12:52:47.003512 6389 notify.go:220] Checking for updates...
W1109 12:52:47.003532 6389 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17565-5951/.minikube/cache/preloaded-tarball: no such file or directory
I1109 12:52:47.016378 6389 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17565-5951/kubeconfig
I1109 12:52:47.022260 6389 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1109 12:52:47.028326 6389 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1109 12:52:47.032248 6389 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17565-5951/.minikube
W1109 12:52:47.040159 6389 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1109 12:52:47.040407 6389 driver.go:378] Setting default libvirt URI to qemu:///system
I1109 12:52:47.044261 6389 out.go:97] Using the qemu2 driver based on user configuration
I1109 12:52:47.044282 6389 start.go:298] selected driver: qemu2
I1109 12:52:47.044287 6389 start.go:902] validating driver "qemu2" against <nil>
I1109 12:52:47.044378 6389 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1109 12:52:47.047321 6389 out.go:169] Automatically selected the socket_vmnet network
I1109 12:52:47.054051 6389 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1109 12:52:47.054134 6389 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1109 12:52:47.054198 6389 cni.go:84] Creating CNI manager for ""
I1109 12:52:47.054218 6389 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1109 12:52:47.054223 6389 start_flags.go:323] config:
{Name:download-only-262000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1699485386-17565@sha256:bc7ff092e883443bfc1c9fb6a45d08012db3c0fc68e914887b7f16ccdefcab24 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-262000 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:}
I1109 12:52:47.059400 6389 iso.go:125] acquiring lock: {Name:mk46357d3f97f98fce94143f7855b2d866a5a25c Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1109 12:52:47.063335 6389 out.go:97] Downloading VM boot image ...
I1109 12:52:47.063373 6389 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17565/minikube-v1.32.1-1699485311-17565-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17565/minikube-v1.32.1-1699485311-17565-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17565-5951/.minikube/cache/iso/arm64/minikube-v1.32.1-1699485311-17565-arm64.iso
I1109 12:52:58.688472 6389 out.go:97] Starting control plane node download-only-262000 in cluster download-only-262000
I1109 12:52:58.688505 6389 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1109 12:52:58.740424 6389 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
I1109 12:52:58.740444 6389 cache.go:56] Caching tarball of preloaded images
I1109 12:52:58.740581 6389 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1109 12:52:58.745315 6389 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1109 12:52:58.745321 6389 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1109 12:52:58.840866 6389 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/17565-5951/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1109 12:53:04.360739 6389 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1109 12:53:04.360914 6389 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17565-5951/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1109 12:53:05.004663 6389 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1109 12:53:05.004839 6389 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17565-5951/.minikube/profiles/download-only-262000/config.json ...
I1109 12:53:05.004876 6389 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17565-5951/.minikube/profiles/download-only-262000/config.json: {Name:mk7409ee04ed15c70274724ddebc4a00f4b29ac8 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1109 12:53:05.005928 6389 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1109 12:53:05.006291 6389 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/17565-5951/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1109 12:53:05.359702 6389 out.go:169]
W1109 12:53:05.367683 6389 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/17565-5951/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80 0x10651ce80] Decompressors:map[bz2:0x14000892800 gz:0x14000892808 tar:0x140008927b0 tar.bz2:0x140008927c0 tar.gz:0x140008927d0 tar.xz:0x140008927e0 tar.zst:0x140008927f0 tbz2:0x140008927c0 tgz:0x140008927d0 txz:0x140008927e0 tzst:0x140008927f0 xz:0x14000892810 zip:0x14000892820 zst:0x14000892818] Getters:map[file:0x14002218570 http:0x140005144b0 https:0x14000514870] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1109 12:53:05.367718 6389 out_reason.go:110]
W1109 12:53:05.375589 6389 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1109 12:53:05.380595 6389 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-262000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (18.48s)