=== 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-270000 --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-270000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (23.446901958s)
-- stdout --
{"specversion":"1.0","id":"3c1b6b19-513e-48fe-8e07-a8598df559ed","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-270000] minikube v1.30.1 on Darwin 13.4.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"6f61f7f8-04c0-4c7e-8938-43360cb7dd0c","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=15452"}}
{"specversion":"1.0","id":"0a1f028d-8433-4334-bc26-de6af5d21a3e","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/15452-10675/kubeconfig"}}
{"specversion":"1.0","id":"e945fb5a-098f-4402-9331-9ef5020c7549","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":"7434b059-331c-4623-9648-2fa9fe91cb29","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":"49edf23f-03d2-471c-9eee-04213117e483","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/15452-10675/.minikube"}}
{"specversion":"1.0","id":"dcfe7f5a-2c3a-4db8-9878-8c507c32ceca","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":"a09dfdb2-b4d3-41c8-bd9b-d824887ca813","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":"d8592ecf-239e-4e2d-9a23-8bd92fecef13","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":"91ef889f-6a4d-449b-8c6d-47e4ae3c226a","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":"a6f66f05-9925-462d-af01-56f31cce238d","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-270000 in cluster download-only-270000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"f627c5ed-238d-41e5-8e25-5ef190aae182","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":"a4ead9fc-78e0-472f-a28d-71be2e780c06","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-10675/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10881c570 0x10881c570 0x10881c570 0x10881c570 0x10881c570 0x10881c570 0x10881c570] Decompressors:map[bz2:0x14000604968 gz:0x140006049d0 tar:0x14000604980 tar.bz2:0x14000604990 tar.gz:0x140006049a0 tar.xz:0x140006049b0 tar.zst:0x140006049c0 tbz2:0x14000604990 tgz:0x14000
6049a0 txz:0x140006049b0 tzst:0x140006049c0 xz:0x140006049d8 zip:0x140006049e0 zst:0x140006049f0] Getters:map[file:0x1400108c890 http:0x14000a7e190 https:0x14000a7e1e0] 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":"63d9e876-301d-4c69-be6e-915dc18746f9","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 **
I0710 17:17:58.782830 11087 out.go:296] Setting OutFile to fd 1 ...
I0710 17:17:58.782952 11087 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0710 17:17:58.782955 11087 out.go:309] Setting ErrFile to fd 2...
I0710 17:17:58.782957 11087 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0710 17:17:58.783030 11087 root.go:337] Updating PATH: /Users/jenkins/minikube-integration/15452-10675/.minikube/bin
W0710 17:17:58.783100 11087 root.go:313] Error reading config file at /Users/jenkins/minikube-integration/15452-10675/.minikube/config/config.json: open /Users/jenkins/minikube-integration/15452-10675/.minikube/config/config.json: no such file or directory
I0710 17:17:58.784247 11087 out.go:303] Setting JSON to true
I0710 17:17:58.801172 11087 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":4648,"bootTime":1689030030,"procs":414,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4.1","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0710 17:17:58.801233 11087 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0710 17:17:58.807187 11087 out.go:97] [download-only-270000] minikube v1.30.1 on Darwin 13.4.1 (arm64)
I0710 17:17:58.811210 11087 out.go:169] MINIKUBE_LOCATION=15452
W0710 17:17:58.807374 11087 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/15452-10675/.minikube/cache/preloaded-tarball: no such file or directory
I0710 17:17:58.807359 11087 notify.go:220] Checking for updates...
I0710 17:17:58.817126 11087 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/15452-10675/kubeconfig
I0710 17:17:58.820231 11087 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0710 17:17:58.824171 11087 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0710 17:17:58.827167 11087 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/15452-10675/.minikube
W0710 17:17:58.833237 11087 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0710 17:17:58.833427 11087 driver.go:373] Setting default libvirt URI to qemu:///system
I0710 17:17:58.836206 11087 out.go:97] Using the qemu2 driver based on user configuration
I0710 17:17:58.836214 11087 start.go:297] selected driver: qemu2
I0710 17:17:58.836217 11087 start.go:944] validating driver "qemu2" against <nil>
I0710 17:17:58.836283 11087 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0710 17:17:58.839186 11087 out.go:169] Automatically selected the socket_vmnet network
I0710 17:17:58.844263 11087 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0710 17:17:58.844346 11087 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0710 17:17:58.844395 11087 cni.go:84] Creating CNI manager for ""
I0710 17:17:58.844402 11087 cni.go:168] CNI unnecessary in this configuration, recommending no CNI
I0710 17:17:58.844406 11087 start_flags.go:319] config:
{Name:download-only-270000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1689032083-15452@sha256:41e03f55414b4bc4a9169ee03de8460ddd2a95f539efd83fce689159a4e20667 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-270000 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}
I0710 17:17:58.848686 11087 iso.go:125] acquiring lock: {Name:mk507ab5b2e2330ece91df768151fed9fad68351 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0710 17:17:58.852194 11087 out.go:97] Downloading VM boot image ...
I0710 17:17:58.852222 11087 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16765/minikube-v1.30.1-1688144767-16765-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16765/minikube-v1.30.1-1688144767-16765-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/15452-10675/.minikube/cache/iso/arm64/minikube-v1.30.1-1688144767-16765-arm64.iso
I0710 17:18:10.452780 11087 out.go:97] Starting control plane node download-only-270000 in cluster download-only-270000
I0710 17:18:10.452857 11087 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0710 17:18:10.575720 11087 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
I0710 17:18:10.575732 11087 cache.go:57] Caching tarball of preloaded images
I0710 17:18:10.576711 11087 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0710 17:18:10.580987 11087 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0710 17:18:10.580998 11087 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0710 17:18:10.817863 11087 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-10675/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0710 17:18:20.888922 11087 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0710 17:18:20.889055 11087 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/15452-10675/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0710 17:18:21.531528 11087 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0710 17:18:21.531727 11087 profile.go:148] Saving config to /Users/jenkins/minikube-integration/15452-10675/.minikube/profiles/download-only-270000/config.json ...
I0710 17:18:21.531749 11087 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/15452-10675/.minikube/profiles/download-only-270000/config.json: {Name:mk78c349ad59515c4f0deee85e50975a96f42bcd Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0710 17:18:21.532862 11087 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0710 17:18:21.533027 11087 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-10675/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0710 17:18:22.155914 11087 out.go:169]
W0710 17:18:22.159968 11087 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-10675/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10881c570 0x10881c570 0x10881c570 0x10881c570 0x10881c570 0x10881c570 0x10881c570] Decompressors:map[bz2:0x14000604968 gz:0x140006049d0 tar:0x14000604980 tar.bz2:0x14000604990 tar.gz:0x140006049a0 tar.xz:0x140006049b0 tar.zst:0x140006049c0 tbz2:0x14000604990 tgz:0x140006049a0 txz:0x140006049b0 tzst:0x140006049c0 xz:0x140006049d8 zip:0x140006049e0 zst:0x140006049f0] Getters:map[file:0x1400108c890 http:0x14000a7e190 https:0x14000a7e1e0] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0710 17:18:22.159993 11087 out_reason.go:110]
W0710 17:18:22.166981 11087 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0710 17:18:22.170942 11087 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-270000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (23.45s)