=== 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-416000 --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-416000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (10.660614959s)
-- stdout --
{"specversion":"1.0","id":"e359fbaa-bd53-4e31-82ce-1426d1eb4102","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-416000] minikube v1.31.2 on Darwin 13.6 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"4474109a-4007-4bcd-bc26-05cf7e635787","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=15062"}}
{"specversion":"1.0","id":"5c257e2e-ab37-4f2c-932f-020eadc3774d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/15062-34420/kubeconfig"}}
{"specversion":"1.0","id":"07f95125-210d-444f-8a47-9029f1daaf3e","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":"2cabd758-d91d-4b0c-9b97-cf846489d500","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":"efcfc7d6-f14d-4883-9071-0ee9bcd31a4d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/15062-34420/.minikube"}}
{"specversion":"1.0","id":"d2fbe536-08c0-4906-857c-d4658d04f17e","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":"a3bef1f1-7e4d-4d52-983f-102879583f9a","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":"233685f2-29a3-43a6-9849-bc5bcd2d8321","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":"db965887-4a2c-4d3b-8973-8b6d658823ec","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":"919a390b-2504-4a43-98f9-aa95ca458cc6","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-416000 in cluster download-only-416000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"d71c14ef-a019-44c6-96ac-e4993224069c","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":"a79d3926-b62d-4c9f-8aa2-836693d07cbe","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/15062-34420/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860] Decompressors:map[bz2:0x1400000e3a0 gz:0x1400000e3a8 tar:0x1400000e330 tar.bz2:0x1400000e350 tar.gz:0x1400000e360 tar.xz:0x1400000e370 tar.zst:0x1400000e390 tbz2:0x1400000e350 tgz:0x14000
00e360 txz:0x1400000e370 tzst:0x1400000e390 xz:0x1400000e3b0 zip:0x1400000e3c0 zst:0x1400000e3b8] Getters:map[file:0x14000a5cac0 http:0x14000aac7d0 https:0x14000aac820] 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":"6d13347e-b237-4a65-a3d9-ed761f8f1c96","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 **
I0923 09:34:18.655797 34848 out.go:296] Setting OutFile to fd 1 ...
I0923 09:34:18.655955 34848 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0923 09:34:18.655959 34848 out.go:309] Setting ErrFile to fd 2...
I0923 09:34:18.655962 34848 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0923 09:34:18.656096 34848 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/15062-34420/.minikube/bin
W0923 09:34:18.656176 34848 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/15062-34420/.minikube/config/config.json: open /Users/jenkins/minikube-integration/15062-34420/.minikube/config/config.json: no such file or directory
I0923 09:34:18.657399 34848 out.go:303] Setting JSON to true
I0923 09:34:18.674490 34848 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":83574,"bootTime":1695403284,"procs":482,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.6","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0923 09:34:18.674557 34848 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0923 09:34:18.680290 34848 out.go:97] [download-only-416000] minikube v1.31.2 on Darwin 13.6 (arm64)
I0923 09:34:18.684188 34848 out.go:169] MINIKUBE_LOCATION=15062
W0923 09:34:18.680460 34848 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/15062-34420/.minikube/cache/preloaded-tarball: no such file or directory
I0923 09:34:18.680489 34848 notify.go:220] Checking for updates...
I0923 09:34:18.691486 34848 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/15062-34420/kubeconfig
I0923 09:34:18.694356 34848 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0923 09:34:18.697237 34848 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0923 09:34:18.700209 34848 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/15062-34420/.minikube
W0923 09:34:18.707036 34848 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0923 09:34:18.707270 34848 driver.go:373] Setting default libvirt URI to qemu:///system
I0923 09:34:18.710253 34848 out.go:97] Using the qemu2 driver based on user configuration
I0923 09:34:18.710261 34848 start.go:298] selected driver: qemu2
I0923 09:34:18.710275 34848 start.go:902] validating driver "qemu2" against <nil>
I0923 09:34:18.710350 34848 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0923 09:34:18.711819 34848 out.go:169] Automatically selected the socket_vmnet network
I0923 09:34:18.717404 34848 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0923 09:34:18.717486 34848 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0923 09:34:18.717545 34848 cni.go:84] Creating CNI manager for ""
I0923 09:34:18.717567 34848 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0923 09:34:18.717575 34848 start_flags.go:321] config:
{Name:download-only-416000 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-416000 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}
I0923 09:34:18.721992 34848 iso.go:125] acquiring lock: {Name:mkd32cb933a167497370ee57d8d4065cc4ecd1de Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0923 09:34:18.726165 34848 out.go:97] Downloading VM boot image ...
I0923 09:34:18.726196 34848 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/15062-34420/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I0923 09:34:22.995588 34848 out.go:97] Starting control plane node download-only-416000 in cluster download-only-416000
I0923 09:34:22.995613 34848 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0923 09:34:23.051029 34848 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
I0923 09:34:23.051047 34848 cache.go:57] Caching tarball of preloaded images
I0923 09:34:23.051216 34848 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0923 09:34:23.055207 34848 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0923 09:34:23.055214 34848 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0923 09:34:23.129307 34848 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/15062-34420/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0923 09:34:28.165009 34848 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0923 09:34:28.165156 34848 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/15062-34420/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0923 09:34:28.807363 34848 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0923 09:34:28.807581 34848 profile.go:148] Saving config to /Users/jenkins/minikube-integration/15062-34420/.minikube/profiles/download-only-416000/config.json ...
I0923 09:34:28.807603 34848 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/15062-34420/.minikube/profiles/download-only-416000/config.json: {Name:mkd315514f72ba5d50ac0f96d5e4114f30c522ae Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0923 09:34:28.808715 34848 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0923 09:34:28.809009 34848 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/15062-34420/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0923 09:34:29.244151 34848 out.go:169]
W0923 09:34:29.248361 34848 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/15062-34420/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860 0x1048c1860] Decompressors:map[bz2:0x1400000e3a0 gz:0x1400000e3a8 tar:0x1400000e330 tar.bz2:0x1400000e350 tar.gz:0x1400000e360 tar.xz:0x1400000e370 tar.zst:0x1400000e390 tbz2:0x1400000e350 tgz:0x1400000e360 txz:0x1400000e370 tzst:0x1400000e390 xz:0x1400000e3b0 zip:0x1400000e3c0 zst:0x1400000e3b8] Getters:map[file:0x14000a5cac0 http:0x14000aac7d0 https:0x14000aac820] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0923 09:34:29.248391 34848 out_reason.go:110]
W0923 09:34:29.254175 34848 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0923 09:34:29.258033 34848 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-416000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (10.66s)