=== 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-961000 --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-961000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (27.315941833s)
-- stdout --
{"specversion":"1.0","id":"42bd102d-e222-42f7-b1c9-5e58133a22c7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-961000] minikube v1.30.1 on Darwin 13.3.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"6837af68-79e9-4f20-aafb-42e3612259b7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16506"}}
{"specversion":"1.0","id":"809df1e0-3b5f-400b-be4e-6c086b8d6ae2","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16506-5636/kubeconfig"}}
{"specversion":"1.0","id":"d392db75-bc37-47fc-be23-5521717d6246","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":"83c31834-b627-4f77-9ff3-e107bf12e3ab","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":"56ba7e63-512c-4f78-94ff-a823a267eefc","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16506-5636/.minikube"}}
{"specversion":"1.0","id":"2c672964-e0f2-4b07-b5e0-ce362369efbb","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":"d6fa6af8-fa9a-4e85-aecb-55ba9644cd9b","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":"63ae37f9-41e9-4890-a6b4-4e96304caba7","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":"e63bafdd-55a6-42c9-877a-9fae16084a82","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":"a02986d3-61f1-41ae-b87a-7c73edaddb13","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-961000 in cluster download-only-961000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"afb4994c-e2b3-4c89-9ad7-1ccbe1718045","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":"9243a6fe-0328-4c50-b489-8598eda201e2","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/16506-5636/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8] Decompressors:map[bz2:0x1400050cad8 gz:0x1400050cb30 tar:0x1400050cae0 tar.bz2:0x1400050caf0 tar.gz:0x1400050cb00 tar.xz:0x1400050cb10 tar.zst:0x1400050cb20 tbz2:0x1400050caf0 tgz:0x140005
0cb00 txz:0x1400050cb10 tzst:0x1400050cb20 xz:0x1400050cb38 zip:0x1400050cb40 zst:0x1400050cb50] Getters:map[file:0x140003ec8e0 http:0x14000a1c140 https:0x14000a1c190] 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":"66089b90-2694-4fa3-908b-641707c68507","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 **
I0518 10:07:54.712636 6056 out.go:296] Setting OutFile to fd 1 ...
I0518 10:07:54.712767 6056 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0518 10:07:54.712770 6056 out.go:309] Setting ErrFile to fd 2...
I0518 10:07:54.712773 6056 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0518 10:07:54.712846 6056 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/16506-5636/.minikube/bin
W0518 10:07:54.712904 6056 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/16506-5636/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16506-5636/.minikube/config/config.json: no such file or directory
I0518 10:07:54.714177 6056 out.go:303] Setting JSON to true
I0518 10:07:54.731586 6056 start.go:125] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":2245,"bootTime":1684427429,"procs":415,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.3.1","kernelVersion":"22.4.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0518 10:07:54.731702 6056 start.go:133] gopshost.Virtualization returned error: not implemented yet
I0518 10:07:54.736593 6056 out.go:97] [download-only-961000] minikube v1.30.1 on Darwin 13.3.1 (arm64)
I0518 10:07:54.740540 6056 out.go:169] MINIKUBE_LOCATION=16506
I0518 10:07:54.736727 6056 notify.go:220] Checking for updates...
W0518 10:07:54.736805 6056 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16506-5636/.minikube/cache/preloaded-tarball: no such file or directory
I0518 10:07:54.747566 6056 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16506-5636/kubeconfig
I0518 10:07:54.749094 6056 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0518 10:07:54.753624 6056 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0518 10:07:54.756591 6056 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16506-5636/.minikube
W0518 10:07:54.760535 6056 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0518 10:07:54.760694 6056 driver.go:375] Setting default libvirt URI to qemu:///system
I0518 10:07:54.764691 6056 out.go:97] Using the qemu2 driver based on user configuration
I0518 10:07:54.764714 6056 start.go:295] selected driver: qemu2
I0518 10:07:54.764726 6056 start.go:870] validating driver "qemu2" against <nil>
I0518 10:07:54.764771 6056 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0518 10:07:54.767581 6056 out.go:169] Automatically selected the socket_vmnet network
I0518 10:07:54.773461 6056 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0518 10:07:54.773556 6056 start_flags.go:897] Wait components to verify : map[apiserver:true system_pods:true]
I0518 10:07:54.773593 6056 cni.go:84] Creating CNI manager for ""
I0518 10:07:54.773608 6056 cni.go:161] CNI unnecessary in this configuration, recommending no CNI
I0518 10:07:54.773616 6056 start_flags.go:319] config:
{Name:download-only-961000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1684427128-16506@sha256:9f269029970b53744b5095d0b95138283b088600b53a9b458447751301639cfb 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-961000 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:}
I0518 10:07:54.773808 6056 iso.go:125] acquiring lock: {Name:mk2cbad71269d727ea177796235e8be9d6bef1c7 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0518 10:07:54.777494 6056 out.go:97] Downloading VM boot image ...
I0518 10:07:54.777520 6056 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16506/minikube-v1.30.1-1684174510-16506-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16506/minikube-v1.30.1-1684174510-16506-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16506-5636/.minikube/cache/iso/arm64/minikube-v1.30.1-1684174510-16506-arm64.iso
I0518 10:08:10.111080 6056 out.go:97] Starting control plane node download-only-961000 in cluster download-only-961000
I0518 10:08:10.111104 6056 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0518 10:08:10.196002 6056 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
I0518 10:08:10.196100 6056 cache.go:57] Caching tarball of preloaded images
I0518 10:08:10.196314 6056 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0518 10:08:10.198050 6056 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0518 10:08:10.198057 6056 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0518 10:08:10.413834 6056 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/16506-5636/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0518 10:08:20.731212 6056 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0518 10:08:20.731371 6056 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16506-5636/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0518 10:08:21.372762 6056 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0518 10:08:21.372965 6056 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16506-5636/.minikube/profiles/download-only-961000/config.json ...
I0518 10:08:21.372994 6056 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16506-5636/.minikube/profiles/download-only-961000/config.json: {Name:mkdb715998b3a100c0202377a58a71a935fd989f Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0518 10:08:21.373255 6056 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0518 10:08:21.373420 6056 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/16506-5636/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0518 10:08:21.957375 6056 out.go:169]
W0518 10:08:21.962544 6056 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/16506-5636/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8 0x105b460f8] Decompressors:map[bz2:0x1400050cad8 gz:0x1400050cb30 tar:0x1400050cae0 tar.bz2:0x1400050caf0 tar.gz:0x1400050cb00 tar.xz:0x1400050cb10 tar.zst:0x1400050cb20 tbz2:0x1400050caf0 tgz:0x1400050cb00 txz:0x1400050cb10 tzst:0x1400050cb20 xz:0x1400050cb38 zip:0x1400050cb40 zst:0x1400050cb50] Getters:map[file:0x140003ec8e0 http:0x14000a1c140 https:0x14000a1c190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0518 10:08:21.962575 6056 out_reason.go:110]
W0518 10:08:21.969351 6056 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0518 10:08:21.972384 6056 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-961000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (27.32s)