=== 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-239000 --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-239000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (13.153429917s)
-- stdout --
{"specversion":"1.0","id":"a10205f5-ab41-4d7f-a23b-fa6360bc9acd","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-239000] minikube v1.32.0 on Darwin 14.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"a6ef0143-198a-4860-a91a-1a249ee7cc64","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17824"}}
{"specversion":"1.0","id":"2e9f185a-22ce-4bc4-996e-2234d99dabc5","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17824-13578/kubeconfig"}}
{"specversion":"1.0","id":"f12ddae2-4fd2-4c10-af2c-532edc64b14f","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":"1f01a721-a516-46d1-8384-1b42ba43b8f9","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":"d19f4319-eeff-48c3-b6c2-8d897dabd2c3","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17824-13578/.minikube"}}
{"specversion":"1.0","id":"c62e99db-8ec1-4c6a-a6f8-136daab8ccf6","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":"61447e9e-75cb-4e95-9352-c79761fbfe5b","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":"d5cf08bb-3765-4f39-b561-324730020820","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":"1efd58a6-a689-43dd-8a83-e288df4ee862","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":"2ecb2ea9-c1cc-4ff2-aefe-2859b58548f7","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-239000 in cluster download-only-239000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"08ae4963-d8af-44ed-851c-45a018498bd7","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":"4c6fb81f-708c-4917-b6cf-5785116ba904","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/17824-13578/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80] Decompressors:map[bz2:0x14000755480 gz:0x14000755488 tar:0x14000755430 tar.bz2:0x14000755440 tar.gz:0x14000755450 tar.xz:0x14000755460 tar.zst:0x14000755470 tbz2:0x14000755440 tgz:0x14000
755450 txz:0x14000755460 tzst:0x14000755470 xz:0x14000755490 zip:0x140007554a0 zst:0x14000755498] Getters:map[file:0x14000b5a5f0 http:0x14000760640 https:0x14000760690] 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":"ba3e1698-9ef4-43bd-bb6c-2b2e6a6da5aa","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 **
I1218 03:16:06.974847 13992 out.go:296] Setting OutFile to fd 1 ...
I1218 03:16:06.975018 13992 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1218 03:16:06.975021 13992 out.go:309] Setting ErrFile to fd 2...
I1218 03:16:06.975023 13992 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1218 03:16:06.975143 13992 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17824-13578/.minikube/bin
W1218 03:16:06.975240 13992 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17824-13578/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17824-13578/.minikube/config/config.json: no such file or directory
I1218 03:16:06.976507 13992 out.go:303] Setting JSON to true
I1218 03:16:06.994329 13992 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":4538,"bootTime":1702893628,"procs":470,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.2","kernelVersion":"23.2.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W1218 03:16:06.994399 13992 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1218 03:16:07.000181 13992 out.go:97] [download-only-239000] minikube v1.32.0 on Darwin 14.2 (arm64)
I1218 03:16:07.004144 13992 out.go:169] MINIKUBE_LOCATION=17824
I1218 03:16:07.000374 13992 notify.go:220] Checking for updates...
W1218 03:16:07.000393 13992 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17824-13578/.minikube/cache/preloaded-tarball: no such file or directory
I1218 03:16:07.010069 13992 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17824-13578/kubeconfig
I1218 03:16:07.013127 13992 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1218 03:16:07.014613 13992 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1218 03:16:07.018122 13992 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17824-13578/.minikube
W1218 03:16:07.024173 13992 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1218 03:16:07.024386 13992 driver.go:392] Setting default libvirt URI to qemu:///system
I1218 03:16:07.028132 13992 out.go:97] Using the qemu2 driver based on user configuration
I1218 03:16:07.028139 13992 start.go:298] selected driver: qemu2
I1218 03:16:07.028152 13992 start.go:902] validating driver "qemu2" against <nil>
I1218 03:16:07.028221 13992 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1218 03:16:07.031103 13992 out.go:169] Automatically selected the socket_vmnet network
I1218 03:16:07.036442 13992 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1218 03:16:07.036533 13992 start_flags.go:913] Wait components to verify : map[apiserver:true system_pods:true]
I1218 03:16:07.036636 13992 cni.go:84] Creating CNI manager for ""
I1218 03:16:07.036654 13992 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1218 03:16:07.036659 13992 start_flags.go:323] config:
{Name:download-only-239000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.42-1702585004-17765@sha256:ba2fbb9efd5b81a443834ba0800f3bc13feea942ce199df74b0054a9bdb32bbd 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-239000 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 GPUs:}
I1218 03:16:07.041180 13992 iso.go:125] acquiring lock: {Name:mkfcc2e3166eecf28de0c3d0403c3d54abe4e3e3 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1218 03:16:07.045162 13992 out.go:97] Downloading VM boot image ...
I1218 03:16:07.045193 13992 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17765/minikube-v1.32.1-1702490427-17765-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17765/minikube-v1.32.1-1702490427-17765-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17824-13578/.minikube/cache/iso/arm64/minikube-v1.32.1-1702490427-17765-arm64.iso
I1218 03:16:13.416483 13992 out.go:97] Starting control plane node download-only-239000 in cluster download-only-239000
I1218 03:16:13.416513 13992 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1218 03:16:13.468071 13992 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
I1218 03:16:13.468106 13992 cache.go:56] Caching tarball of preloaded images
I1218 03:16:13.468275 13992 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1218 03:16:13.475171 13992 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1218 03:16:13.475178 13992 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1218 03:16:13.552027 13992 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/17824-13578/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1218 03:16:18.663876 13992 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1218 03:16:18.664028 13992 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17824-13578/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1218 03:16:19.307720 13992 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1218 03:16:19.307948 13992 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17824-13578/.minikube/profiles/download-only-239000/config.json ...
I1218 03:16:19.307966 13992 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17824-13578/.minikube/profiles/download-only-239000/config.json: {Name:mkc8c20675ae0ee32221d78149b6c85c28d709ea Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1218 03:16:19.309079 13992 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1218 03:16:19.309274 13992 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/17824-13578/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1218 03:16:20.048370 13992 out.go:169]
W1218 03:16:20.053448 13992 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/17824-13578/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80 0x1069f5a80] Decompressors:map[bz2:0x14000755480 gz:0x14000755488 tar:0x14000755430 tar.bz2:0x14000755440 tar.gz:0x14000755450 tar.xz:0x14000755460 tar.zst:0x14000755470 tbz2:0x14000755440 tgz:0x14000755450 txz:0x14000755460 tzst:0x14000755470 xz:0x14000755490 zip:0x140007554a0 zst:0x14000755498] Getters:map[file:0x14000b5a5f0 http:0x14000760640 https:0x14000760690] Dir:false ProgressListene
r:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1218 03:16:20.053472 13992 out_reason.go:110]
W1218 03:16:20.061334 13992 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1218 03:16:20.065346 13992 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-239000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (13.15s)