=== 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-414000 --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-414000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (28.637592542s)
-- stdout --
{"specversion":"1.0","id":"331857a1-08eb-4127-a69b-3a48da579b6c","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-414000] minikube v1.30.1 on Darwin 13.4 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"a6013e16-dff3-49f8-b1f2-578a3150d7db","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=15074"}}
{"specversion":"1.0","id":"495487c5-bc11-400d-a921-91771e9573f1","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/15074-894/kubeconfig"}}
{"specversion":"1.0","id":"34f24569-de90-47bb-a016-0b1a3751604e","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":"a550978d-5110-458d-8b1a-f0cc084010c8","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":"a37f9d6f-ae55-46aa-9b20-33da3912578d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/15074-894/.minikube"}}
{"specversion":"1.0","id":"ffbb41ac-fffe-442f-a789-38cda915295b","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":"a00807f1-f11d-4a6f-bf9d-d75bdab79629","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":"3fa74cb0-a1e9-4736-b02f-b61f5938e744","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":"c09273d8-2551-4cd7-acd9-9664ae12a042","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":"cfef4b61-0fce-44b9-8b5c-817803b3d8ad","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-414000 in cluster download-only-414000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"768bcce3-b38d-4ceb-9d82-516fff892638","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":"cab95437-8bbc-463d-a485-bf06b07f4f51","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/15074-894/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106703f28 0x106703f28 0x106703f28 0x106703f28 0x106703f28 0x106703f28 0x106703f28] Decompressors:map[bz2:0x140001e78d8 gz:0x140001e7a30 tar:0x140001e78e0 tar.bz2:0x140001e78f0 tar.gz:0x140001e7900 tar.xz:0x140001e7a10 tar.zst:0x140001e7a20 tbz2:0x140001e78f0 tgz:0x140001e
7900 txz:0x140001e7a10 tzst:0x140001e7a20 xz:0x140001e7a38 zip:0x140001e7a40 zst:0x140001e7ac0] Getters:map[file:0x14000e8ca70 http:0x14000a2aa50 https:0x14000a2aaa0] 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":"859bc6a0-ef6e-41dd-80b0-7848a27fabe5","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 **
I0610 07:03:11.789006 1338 out.go:296] Setting OutFile to fd 1 ...
I0610 07:03:11.789123 1338 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0610 07:03:11.789126 1338 out.go:309] Setting ErrFile to fd 2...
I0610 07:03:11.789128 1338 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0610 07:03:11.789193 1338 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/15074-894/.minikube/bin
W0610 07:03:11.789253 1338 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/15074-894/.minikube/config/config.json: open /Users/jenkins/minikube-integration/15074-894/.minikube/config/config.json: no such file or directory
I0610 07:03:11.790357 1338 out.go:303] Setting JSON to true
I0610 07:03:11.806625 1338 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":161,"bootTime":1686405630,"procs":395,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0610 07:03:11.806685 1338 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0610 07:03:11.813344 1338 out.go:97] [download-only-414000] minikube v1.30.1 on Darwin 13.4 (arm64)
I0610 07:03:11.816336 1338 out.go:169] MINIKUBE_LOCATION=15074
W0610 07:03:11.813483 1338 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/15074-894/.minikube/cache/preloaded-tarball: no such file or directory
I0610 07:03:11.813484 1338 notify.go:220] Checking for updates...
I0610 07:03:11.826292 1338 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/15074-894/kubeconfig
I0610 07:03:11.829335 1338 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0610 07:03:11.830751 1338 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0610 07:03:11.834279 1338 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/15074-894/.minikube
W0610 07:03:11.840286 1338 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0610 07:03:11.840474 1338 driver.go:375] Setting default libvirt URI to qemu:///system
I0610 07:03:11.845394 1338 out.go:97] Using the qemu2 driver based on user configuration
I0610 07:03:11.845414 1338 start.go:297] selected driver: qemu2
I0610 07:03:11.845429 1338 start.go:875] validating driver "qemu2" against <nil>
I0610 07:03:11.845494 1338 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0610 07:03:11.849305 1338 out.go:169] Automatically selected the socket_vmnet network
I0610 07:03:11.854784 1338 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0610 07:03:11.854879 1338 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0610 07:03:11.854916 1338 cni.go:84] Creating CNI manager for ""
I0610 07:03:11.854932 1338 cni.go:161] CNI unnecessary in this configuration, recommending no CNI
I0610 07:03:11.854937 1338 start_flags.go:319] config:
{Name:download-only-414000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1686006988-16632@sha256:412dc5cf58908f3565f59ed5f2b8341f53e998f8d8b54f59253c8f8f335f5a7b 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-414000 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:}
I0610 07:03:11.855112 1338 iso.go:125] acquiring lock: {Name:mk23533b74200e808ed574dcb4cbcef9b3582f43 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0610 07:03:11.859276 1338 out.go:97] Downloading VM boot image ...
I0610 07:03:11.859295 1338 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16019/minikube-v1.30.1-1686096373-16019-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16019/minikube-v1.30.1-1686096373-16019-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/15074-894/.minikube/cache/iso/arm64/minikube-v1.30.1-1686096373-16019-arm64.iso
I0610 07:03:27.569360 1338 out.go:97] Starting control plane node download-only-414000 in cluster download-only-414000
I0610 07:03:27.569385 1338 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0610 07:03:27.675276 1338 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
I0610 07:03:27.675340 1338 cache.go:57] Caching tarball of preloaded images
I0610 07:03:27.675546 1338 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0610 07:03:27.679639 1338 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0610 07:03:27.679648 1338 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0610 07:03:27.904149 1338 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/15074-894/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0610 07:03:39.125180 1338 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0610 07:03:39.125326 1338 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/15074-894/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0610 07:03:39.773759 1338 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0610 07:03:39.773947 1338 profile.go:148] Saving config to /Users/jenkins/minikube-integration/15074-894/.minikube/profiles/download-only-414000/config.json ...
I0610 07:03:39.773965 1338 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/15074-894/.minikube/profiles/download-only-414000/config.json: {Name:mk7f5c6cd72cdeb7e4eb06700a00aabcc940f64e Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0610 07:03:39.774207 1338 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0610 07:03:39.774372 1338 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/15074-894/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0610 07:03:40.357149 1338 out.go:169]
W0610 07:03:40.361191 1338 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/15074-894/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106703f28 0x106703f28 0x106703f28 0x106703f28 0x106703f28 0x106703f28 0x106703f28] Decompressors:map[bz2:0x140001e78d8 gz:0x140001e7a30 tar:0x140001e78e0 tar.bz2:0x140001e78f0 tar.gz:0x140001e7900 tar.xz:0x140001e7a10 tar.zst:0x140001e7a20 tbz2:0x140001e78f0 tgz:0x140001e7900 txz:0x140001e7a10 tzst:0x140001e7a20 xz:0x140001e7a38 zip:0x140001e7a40 zst:0x140001e7ac0] Getters:map[file:0x14000e8ca70 http:0x14000a2aa50 https:0x14000a2aaa0] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0610 07:03:40.361222 1338 out_reason.go:110]
W0610 07:03:40.368104 1338 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0610 07:03:40.372166 1338 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-414000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (28.64s)