=== 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-618000 --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-618000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (20.900150167s)
-- stdout --
{"specversion":"1.0","id":"bcdc830c-b44a-4a08-b0a7-9411172bf48b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-618000] minikube v1.31.2 on Darwin 13.5.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"76ea073e-9170-4e0f-bf63-25c819fc4354","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17240"}}
{"specversion":"1.0","id":"b127471b-ddb5-43ae-bd9c-f8257c7d0c25","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17240-943/kubeconfig"}}
{"specversion":"1.0","id":"f0d0adaf-7711-4cf7-9180-2337485627d2","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":"4ad9068d-4712-4aad-ac44-3ca020e0c2f1","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":"48b3ea10-9797-499c-8df7-91549b2414c0","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17240-943/.minikube"}}
{"specversion":"1.0","id":"3f435fa4-74f0-4f13-8545-f6ae9ec4588d","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":"b6307126-9979-4680-b313-fd72c1b26504","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":"c3b448c0-8abf-456c-9560-f8f0ef74712c","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":"74cc736d-3d9b-4dac-852e-a2d228b6fc3b","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":"fb951cca-e30f-48f7-9cfd-3a4578ee4c66","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-618000 in cluster download-only-618000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"c5bb95b6-f173-4e73-9b20-2db37f13ce5c","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":"b8eec78f-0f98-4685-acc4-124cfefea424","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/17240-943/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0] Decompressors:map[bz2:0x140005ae380 gz:0x140005ae388 tar:0x140005ae300 tar.bz2:0x140005ae340 tar.gz:0x140005ae350 tar.xz:0x140005ae360 tar.zst:0x140005ae370 tbz2:0x140005ae340 tgz:0x140005a
e350 txz:0x140005ae360 tzst:0x140005ae370 xz:0x140005ae390 zip:0x140005ae3a0 zst:0x140005ae398] Getters:map[file:0x140009d0b70 http:0x140000aa8c0 https:0x140000aa910] 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":"e85cff77-719a-4a6a-8635-77b7353a5577","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 **
I0919 09:33:37.634767 2053 out.go:296] Setting OutFile to fd 1 ...
I0919 09:33:37.634906 2053 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0919 09:33:37.634909 2053 out.go:309] Setting ErrFile to fd 2...
I0919 09:33:37.634912 2053 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0919 09:33:37.635036 2053 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17240-943/.minikube/bin
W0919 09:33:37.635132 2053 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17240-943/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17240-943/.minikube/config/config.json: no such file or directory
I0919 09:33:37.636303 2053 out.go:303] Setting JSON to true
I0919 09:33:37.653131 2053 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":191,"bootTime":1695141026,"procs":390,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.2","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0919 09:33:37.653201 2053 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0919 09:33:37.660329 2053 out.go:97] [download-only-618000] minikube v1.31.2 on Darwin 13.5.2 (arm64)
I0919 09:33:37.663223 2053 out.go:169] MINIKUBE_LOCATION=17240
I0919 09:33:37.660501 2053 notify.go:220] Checking for updates...
W0919 09:33:37.660523 2053 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17240-943/.minikube/cache/preloaded-tarball: no such file or directory
I0919 09:33:37.670239 2053 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17240-943/kubeconfig
I0919 09:33:37.673276 2053 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0919 09:33:37.676267 2053 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0919 09:33:37.679295 2053 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17240-943/.minikube
W0919 09:33:37.685229 2053 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0919 09:33:37.685413 2053 driver.go:373] Setting default libvirt URI to qemu:///system
I0919 09:33:37.690292 2053 out.go:97] Using the qemu2 driver based on user configuration
I0919 09:33:37.690299 2053 start.go:298] selected driver: qemu2
I0919 09:33:37.690313 2053 start.go:902] validating driver "qemu2" against <nil>
I0919 09:33:37.690375 2053 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0919 09:33:37.692371 2053 out.go:169] Automatically selected the socket_vmnet network
I0919 09:33:37.698462 2053 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0919 09:33:37.698556 2053 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0919 09:33:37.698619 2053 cni.go:84] Creating CNI manager for ""
I0919 09:33:37.698635 2053 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0919 09:33:37.698640 2053 start_flags.go:321] config:
{Name:download-only-618000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1694798187-17250@sha256:8d9a070cda8e1b1082ed355bde1aaf66fbf63d64fa6e9f553f449efc74157fe3 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-618000 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}
I0919 09:33:37.704146 2053 iso.go:125] acquiring lock: {Name:mka8e023e06bcb4803b8b8b48f1b2d6ef6b15681 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0919 09:33:37.708285 2053 out.go:97] Downloading VM boot image ...
I0919 09:33:37.708314 2053 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17240-943/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I0919 09:33:46.142021 2053 out.go:97] Starting control plane node download-only-618000 in cluster download-only-618000
I0919 09:33:46.142046 2053 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0919 09:33:46.194539 2053 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
I0919 09:33:46.194548 2053 cache.go:57] Caching tarball of preloaded images
I0919 09:33:46.194740 2053 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0919 09:33:46.200366 2053 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0919 09:33:46.200372 2053 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0919 09:33:46.282691 2053 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/17240-943/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0919 09:33:56.521599 2053 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0919 09:33:56.521727 2053 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17240-943/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0919 09:33:57.160573 2053 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0919 09:33:57.160762 2053 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17240-943/.minikube/profiles/download-only-618000/config.json ...
I0919 09:33:57.160781 2053 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17240-943/.minikube/profiles/download-only-618000/config.json: {Name:mk6e0f8ffa2114774311c1ac6767974f1c2debb9 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0919 09:33:57.160989 2053 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0919 09:33:57.161153 2053 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/17240-943/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0919 09:33:58.469834 2053 out.go:169]
W0919 09:33:58.474991 2053 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/17240-943/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0 0x107d257e0] Decompressors:map[bz2:0x140005ae380 gz:0x140005ae388 tar:0x140005ae300 tar.bz2:0x140005ae340 tar.gz:0x140005ae350 tar.xz:0x140005ae360 tar.zst:0x140005ae370 tbz2:0x140005ae340 tgz:0x140005ae350 txz:0x140005ae360 tzst:0x140005ae370 xz:0x140005ae390 zip:0x140005ae3a0 zst:0x140005ae398] Getters:map[file:0x140009d0b70 http:0x140000aa8c0 https:0x140000aa910] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0919 09:33:58.475021 2053 out_reason.go:110]
W0919 09:33:58.482970 2053 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0919 09:33:58.486931 2053 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-618000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (20.90s)