=== 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-035000 --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-035000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (13.116632375s)
-- stdout --
{"specversion":"1.0","id":"b0ab03bd-3486-4fbd-9be5-441c0f92501f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-035000] minikube v1.30.1 on Darwin 13.4.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"19783191-3c7a-4710-98f8-e4120710f5a9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=15452"}}
{"specversion":"1.0","id":"a71d9120-3612-4b0c-99ae-2996634b238f","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/15452-1041/kubeconfig"}}
{"specversion":"1.0","id":"a6cc4cfd-95b7-49b1-b3f1-1e45c271a006","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":"c5f616ac-731c-468b-aecd-3ebd81b8cbee","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":"90e28bb5-8e43-44f5-abcf-63e5f4eb4435","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/15452-1041/.minikube"}}
{"specversion":"1.0","id":"32e35724-72e5-4656-88c4-d4854212947c","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":"ffe8a784-1499-4740-9415-9928ef739a46","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":"94dc7249-3631-479e-b3be-18389b61d116","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":"977d39df-1712-4515-a0d6-1e9ee9b0daa2","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":"99289d61-b460-4a7b-9429-76db3cf20d9c","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-035000 in cluster download-only-035000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"b6359dda-c2b2-4a73-b2d5-50863c6b0a6f","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":"db363f37-74ef-45d1-9af3-dc75a93d6461","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/15452-1041/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x105b18430 0x105b18430 0x105b18430 0x105b18430 0x105b18430 0x105b18430 0x105b18430] Decompressors:map[bz2:0x14000057df8 gz:0x14000057ee0 tar:0x14000057e00 tar.bz2:0x14000057e10 tar.gz:0x14000057e20 tar.xz:0x14000057ea0 tar.zst:0x14000057ed0 tbz2:0x14000057e10 tgz:0x140000
57e20 txz:0x14000057ea0 tzst:0x14000057ed0 xz:0x14000057ee8 zip:0x14000057ef0 zst:0x14000057f00] Getters:map[file:0x14000ad8bf0 http:0x14000a94140 https:0x14000a941e0] 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":"de200fce-2d49-4c76-a40a-c1a5c590533b","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 **
I0701 12:34:45.027873 1463 out.go:296] Setting OutFile to fd 1 ...
I0701 12:34:45.027998 1463 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0701 12:34:45.028002 1463 out.go:309] Setting ErrFile to fd 2...
I0701 12:34:45.028004 1463 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0701 12:34:45.028067 1463 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/15452-1041/.minikube/bin
W0701 12:34:45.028128 1463 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/15452-1041/.minikube/config/config.json: open /Users/jenkins/minikube-integration/15452-1041/.minikube/config/config.json: no such file or directory
I0701 12:34:45.029199 1463 out.go:303] Setting JSON to true
I0701 12:34:45.046110 1463 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":255,"bootTime":1688239830,"procs":387,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4.1","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0701 12:34:45.046181 1463 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0701 12:34:45.054197 1463 out.go:97] [download-only-035000] minikube v1.30.1 on Darwin 13.4.1 (arm64)
I0701 12:34:45.058155 1463 out.go:169] MINIKUBE_LOCATION=15452
I0701 12:34:45.054323 1463 notify.go:220] Checking for updates...
W0701 12:34:45.054353 1463 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/15452-1041/.minikube/cache/preloaded-tarball: no such file or directory
I0701 12:34:45.067108 1463 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/15452-1041/kubeconfig
I0701 12:34:45.070192 1463 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0701 12:34:45.073147 1463 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0701 12:34:45.076150 1463 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/15452-1041/.minikube
W0701 12:34:45.082211 1463 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0701 12:34:45.082483 1463 driver.go:373] Setting default libvirt URI to qemu:///system
I0701 12:34:45.087124 1463 out.go:97] Using the qemu2 driver based on user configuration
I0701 12:34:45.087132 1463 start.go:297] selected driver: qemu2
I0701 12:34:45.087134 1463 start.go:944] validating driver "qemu2" against <nil>
I0701 12:34:45.087209 1463 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0701 12:34:45.090122 1463 out.go:169] Automatically selected the socket_vmnet network
I0701 12:34:45.096604 1463 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0701 12:34:45.096702 1463 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0701 12:34:45.096751 1463 cni.go:84] Creating CNI manager for ""
I0701 12:34:45.096771 1463 cni.go:168] CNI unnecessary in this configuration, recommending no CNI
I0701 12:34:45.096779 1463 start_flags.go:319] config:
{Name:download-only-035000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1686675164-15452@sha256:1b5dd777e073cc98bda2dc463cdc550cd7c5b3dcdbff2b89d285943191470e34 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-035000 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}
I0701 12:34:45.102651 1463 iso.go:125] acquiring lock: {Name:mkdb0bd8f1995109032ab9cd150d0fc0a2c514a6 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0701 12:34:45.107165 1463 out.go:97] Downloading VM boot image ...
I0701 12:34:45.107195 1463 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/15452-1041/.minikube/cache/iso/arm64/minikube-v1.30.1-1687455737-16703-arm64.iso
I0701 12:34:50.963219 1463 out.go:97] Starting control plane node download-only-035000 in cluster download-only-035000
I0701 12:34:50.963239 1463 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0701 12:34:51.017855 1463 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
I0701 12:34:51.017905 1463 cache.go:57] Caching tarball of preloaded images
I0701 12:34:51.018079 1463 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0701 12:34:51.022153 1463 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0701 12:34:51.022160 1463 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0701 12:34:51.094968 1463 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/15452-1041/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0701 12:34:57.097110 1463 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0701 12:34:57.097243 1463 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/15452-1041/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0701 12:34:57.738151 1463 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0701 12:34:57.738320 1463 profile.go:148] Saving config to /Users/jenkins/minikube-integration/15452-1041/.minikube/profiles/download-only-035000/config.json ...
I0701 12:34:57.738341 1463 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/15452-1041/.minikube/profiles/download-only-035000/config.json: {Name:mk9f4d28b217eec16b8700d8bd45a47dc566dc7d Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0701 12:34:57.738570 1463 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0701 12:34:57.738742 1463 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/15452-1041/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0701 12:34:58.074786 1463 out.go:169]
W0701 12:34:58.079787 1463 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/15452-1041/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x105b18430 0x105b18430 0x105b18430 0x105b18430 0x105b18430 0x105b18430 0x105b18430] Decompressors:map[bz2:0x14000057df8 gz:0x14000057ee0 tar:0x14000057e00 tar.bz2:0x14000057e10 tar.gz:0x14000057e20 tar.xz:0x14000057ea0 tar.zst:0x14000057ed0 tbz2:0x14000057e10 tgz:0x14000057e20 txz:0x14000057ea0 tzst:0x14000057ed0 xz:0x14000057ee8 zip:0x14000057ef0 zst:0x14000057f00] Getters:map[file:0x14000ad8bf0 http:0x14000a94140 https:0x14000a941e0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0701 12:34:58.079812 1463 out_reason.go:110]
W0701 12:34:58.085888 1463 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0701 12:34:58.089705 1463 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-035000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (13.12s)