=== 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-917000 --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-917000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (25.375217084s)
-- stdout --
{"specversion":"1.0","id":"c3e69bc4-b0be-4ba6-878a-5ed3124acad3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-917000] minikube v1.31.2 on Darwin 13.5.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"c1cc06c4-f7b5-4ec1-a405-a33c820084a5","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17243"}}
{"specversion":"1.0","id":"c77ecc1f-ae7f-4dab-9b71-1740afb0e22b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17243-1006/kubeconfig"}}
{"specversion":"1.0","id":"09f95985-2500-4153-aef1-93585b81bad5","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":"953d2325-8a18-4fb1-ab0b-a512838e317c","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":"d2436472-434a-44e7-8e68-f0afb0cfb494","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17243-1006/.minikube"}}
{"specversion":"1.0","id":"2cc90b47-a076-4b5b-9c9a-3f3b88422f43","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":"2253a578-c572-4f74-a238-b4f2389c1c29","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":"775b825a-23f5-49aa-831d-665bd4a5e77c","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":"33e9b735-32e4-4f3a-86c2-687790fa587a","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":"925f8300-34ca-4b42-9733-542e5574bf45","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-917000 in cluster download-only-917000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"ac72c25e-8aee-40a2-b451-dae3e1d0c0e2","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":"17c5b65a-3f29-4aea-b473-8be542269f89","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/17243-1006/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20] Decompressors:map[bz2:0x140005336f0 gz:0x140005336f8 tar:0x140005336a0 tar.bz2:0x140005336b0 tar.gz:0x140005336c0 tar.xz:0x140005336d0 tar.zst:0x140005336e0 tbz2:0x140005336b0 tgz:0x140005
336c0 txz:0x140005336d0 tzst:0x140005336e0 xz:0x14000533700 zip:0x14000533710 zst:0x14000533708] Getters:map[file:0x14000062700 http:0x1400017e5a0 https:0x1400017e5f0] 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":"533e7c29-2519-43de-b805-1fcb9ee1f22e","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 **
I0914 14:35:32.928760 1435 out.go:296] Setting OutFile to fd 1 ...
I0914 14:35:32.928895 1435 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0914 14:35:32.928898 1435 out.go:309] Setting ErrFile to fd 2...
I0914 14:35:32.928901 1435 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0914 14:35:32.929035 1435 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17243-1006/.minikube/bin
W0914 14:35:32.929122 1435 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17243-1006/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17243-1006/.minikube/config/config.json: no such file or directory
I0914 14:35:32.930265 1435 out.go:303] Setting JSON to true
I0914 14:35:32.946630 1435 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":306,"bootTime":1694727026,"procs":399,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.2","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0914 14:35:32.946712 1435 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0914 14:35:32.952236 1435 out.go:97] [download-only-917000] minikube v1.31.2 on Darwin 13.5.2 (arm64)
I0914 14:35:32.956218 1435 out.go:169] MINIKUBE_LOCATION=17243
W0914 14:35:32.952390 1435 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17243-1006/.minikube/cache/preloaded-tarball: no such file or directory
I0914 14:35:32.952432 1435 notify.go:220] Checking for updates...
I0914 14:35:32.963164 1435 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17243-1006/kubeconfig
I0914 14:35:32.966266 1435 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0914 14:35:32.969131 1435 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0914 14:35:32.972181 1435 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17243-1006/.minikube
W0914 14:35:32.978094 1435 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0914 14:35:32.978282 1435 driver.go:373] Setting default libvirt URI to qemu:///system
I0914 14:35:32.983278 1435 out.go:97] Using the qemu2 driver based on user configuration
I0914 14:35:32.983298 1435 start.go:298] selected driver: qemu2
I0914 14:35:32.983301 1435 start.go:902] validating driver "qemu2" against <nil>
I0914 14:35:32.983367 1435 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0914 14:35:32.986172 1435 out.go:169] Automatically selected the socket_vmnet network
I0914 14:35:32.991532 1435 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0914 14:35:32.991608 1435 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0914 14:35:32.991663 1435 cni.go:84] Creating CNI manager for ""
I0914 14:35:32.991681 1435 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0914 14:35:32.991692 1435 start_flags.go:321] config:
{Name:download-only-917000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1694625416-17243@sha256:87a683cf6721050a43e629eceb07cbff2775f9ca392344a264b61b7da435e503 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-917000 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}
I0914 14:35:32.996903 1435 iso.go:125] acquiring lock: {Name:mkd5b68b252c18146a825ff5365883948b3c6983 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0914 14:35:33.001169 1435 out.go:97] Downloading VM boot image ...
I0914 14:35:33.001186 1435 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17243/minikube-v1.31.0-1694625400-17243-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17243/minikube-v1.31.0-1694625400-17243-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17243-1006/.minikube/cache/iso/arm64/minikube-v1.31.0-1694625400-17243-arm64.iso
I0914 14:35:43.903863 1435 out.go:97] Starting control plane node download-only-917000 in cluster download-only-917000
I0914 14:35:43.903888 1435 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0914 14:35:44.020559 1435 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
I0914 14:35:44.020573 1435 cache.go:57] Caching tarball of preloaded images
I0914 14:35:44.020814 1435 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0914 14:35:44.025893 1435 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0914 14:35:44.025905 1435 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0914 14:35:44.234154 1435 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/17243-1006/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0914 14:35:57.209980 1435 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0914 14:35:57.210100 1435 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17243-1006/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0914 14:35:57.852789 1435 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0914 14:35:57.852982 1435 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17243-1006/.minikube/profiles/download-only-917000/config.json ...
I0914 14:35:57.853001 1435 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17243-1006/.minikube/profiles/download-only-917000/config.json: {Name:mk282f6e537d7ce3cce445646d350fe24efa799f Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0914 14:35:57.853243 1435 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0914 14:35:57.853407 1435 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/17243-1006/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0914 14:35:58.230896 1435 out.go:169]
W0914 14:35:58.234643 1435 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/17243-1006/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20 0x10861fb20] Decompressors:map[bz2:0x140005336f0 gz:0x140005336f8 tar:0x140005336a0 tar.bz2:0x140005336b0 tar.gz:0x140005336c0 tar.xz:0x140005336d0 tar.zst:0x140005336e0 tbz2:0x140005336b0 tgz:0x140005336c0 txz:0x140005336d0 tzst:0x140005336e0 xz:0x14000533700 zip:0x14000533710 zst:0x14000533708] Getters:map[file:0x14000062700 http:0x1400017e5a0 https:0x1400017e5f0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0914 14:35:58.234667 1435 out_reason.go:110]
W0914 14:35:58.241744 1435 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0914 14:35:58.245578 1435 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-917000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (25.38s)