=== 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-504000 --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-504000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (13.351847709s)
-- stdout --
{"specversion":"1.0","id":"0edb25c7-36de-4e2c-bde9-f4bc40f48fff","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-504000] minikube v1.32.0-beta.0 on Darwin 14.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"ae6711d4-ad92-4bb8-bfc3-838b36b8613b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17523"}}
{"specversion":"1.0","id":"1bd88a6a-10ac-43e4-9b41-5b08e0d560ad","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17523-6390/kubeconfig"}}
{"specversion":"1.0","id":"4d3f5261-cf9f-4930-a489-25cec91f0e61","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":"24fd9278-81a7-4e5d-ad49-9143a5908980","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":"b250eafe-1cb2-42b7-aee1-f97f084986df","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17523-6390/.minikube"}}
{"specversion":"1.0","id":"a36aa0f6-1834-40f8-9710-c0b6b668d809","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":"aca55652-becd-4e9d-8d03-af55e06a7b23","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":"1059dccd-15ee-44d7-8026-0d08c848439e","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":"4a14b45b-925a-476c-b88e-5014a3b38e5a","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":"02d540a1-6edc-444e-aef9-893a04a9360e","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-504000 in cluster download-only-504000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"32ff36b7-aa51-4910-a09d-a6a48be5550a","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":"454add9a-c0e8-4b96-883b-354998637e73","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/17523-6390/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0] Decompressors:map[bz2:0x140005ac890 gz:0x140005ac898 tar:0x140005ac810 tar.bz2:0x140005ac820 tar.gz:0x140005ac830 tar.xz:0x140005ac840 tar.zst:0x140005ac870 tbz2:0x140005ac820 tgz:0x140005
ac830 txz:0x140005ac840 tzst:0x140005ac870 xz:0x140005ac910 zip:0x140005ac920 zst:0x140005ac918] Getters:map[file:0x140021a4560 http:0x140006624b0 https:0x14000662500] 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":"2253dd30-f724-48e6-b617-8e2b785c91f9","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 **
I1030 03:47:38.619540 6844 out.go:296] Setting OutFile to fd 1 ...
I1030 03:47:38.619685 6844 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1030 03:47:38.619688 6844 out.go:309] Setting ErrFile to fd 2...
I1030 03:47:38.619691 6844 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1030 03:47:38.619817 6844 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17523-6390/.minikube/bin
W1030 03:47:38.619897 6844 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17523-6390/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17523-6390/.minikube/config/config.json: no such file or directory
I1030 03:47:38.621141 6844 out.go:303] Setting JSON to true
I1030 03:47:38.637322 6844 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":2831,"bootTime":1698660027,"procs":471,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.1","kernelVersion":"23.1.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W1030 03:47:38.637396 6844 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1030 03:47:38.656192 6844 out.go:97] [download-only-504000] minikube v1.32.0-beta.0 on Darwin 14.1 (arm64)
I1030 03:47:38.661124 6844 out.go:169] MINIKUBE_LOCATION=17523
I1030 03:47:38.656323 6844 notify.go:220] Checking for updates...
W1030 03:47:38.656392 6844 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17523-6390/.minikube/cache/preloaded-tarball: no such file or directory
I1030 03:47:38.675109 6844 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17523-6390/kubeconfig
I1030 03:47:38.683021 6844 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1030 03:47:38.690818 6844 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1030 03:47:38.701037 6844 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17523-6390/.minikube
W1030 03:47:38.709016 6844 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1030 03:47:38.709245 6844 driver.go:378] Setting default libvirt URI to qemu:///system
I1030 03:47:38.713045 6844 out.go:97] Using the qemu2 driver based on user configuration
I1030 03:47:38.713053 6844 start.go:298] selected driver: qemu2
I1030 03:47:38.713070 6844 start.go:902] validating driver "qemu2" against <nil>
I1030 03:47:38.713142 6844 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1030 03:47:38.716023 6844 out.go:169] Automatically selected the socket_vmnet network
I1030 03:47:38.721878 6844 start_flags.go:394] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1030 03:47:38.721993 6844 start_flags.go:916] Wait components to verify : map[apiserver:true system_pods:true]
I1030 03:47:38.722091 6844 cni.go:84] Creating CNI manager for ""
I1030 03:47:38.722115 6844 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1030 03:47:38.722124 6844 start_flags.go:323] config:
{Name:download-only-504000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.41@sha256:dbb2380b629f0776f6e6e49b5825fe42814849b2a6ad4707fbcf87004835f612 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-504000 Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: N
etworkPlugin: 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:}
I1030 03:47:38.728054 6844 iso.go:125] acquiring lock: {Name:mk9d48dcd7dda8f50374411c33b5dfd99b6aa6bb Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1030 03:47:38.733015 6844 out.go:97] Downloading VM boot image ...
I1030 03:47:38.733043 6844 download.go:107] Downloading: https://storage.googleapis.com/minikube/iso/minikube-v1.32.0-arm64.iso?checksum=file:https://storage.googleapis.com/minikube/iso/minikube-v1.32.0-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17523-6390/.minikube/cache/iso/arm64/minikube-v1.32.0-arm64.iso
I1030 03:47:43.451408 6844 out.go:97] Starting control plane node download-only-504000 in cluster download-only-504000
I1030 03:47:43.451436 6844 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1030 03:47:43.504804 6844 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
I1030 03:47:43.504824 6844 cache.go:56] Caching tarball of preloaded images
I1030 03:47:43.504977 6844 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1030 03:47:43.508873 6844 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1030 03:47:43.508880 6844 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1030 03:47:43.598146 6844 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/17523-6390/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1030 03:47:50.908610 6844 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1030 03:47:50.908741 6844 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17523-6390/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1030 03:47:51.548997 6844 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1030 03:47:51.549189 6844 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17523-6390/.minikube/profiles/download-only-504000/config.json ...
I1030 03:47:51.549212 6844 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17523-6390/.minikube/profiles/download-only-504000/config.json: {Name:mka41b91c25eec4ded8961f927bbe0c6edab2ef2 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1030 03:47:51.549441 6844 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1030 03:47:51.549645 6844 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/17523-6390/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1030 03:47:51.890426 6844 out.go:169]
W1030 03:47:51.898265 6844 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/17523-6390/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0 0x1062f85a0] Decompressors:map[bz2:0x140005ac890 gz:0x140005ac898 tar:0x140005ac810 tar.bz2:0x140005ac820 tar.gz:0x140005ac830 tar.xz:0x140005ac840 tar.zst:0x140005ac870 tbz2:0x140005ac820 tgz:0x140005ac830 txz:0x140005ac840 tzst:0x140005ac870 xz:0x140005ac910 zip:0x140005ac920 zst:0x140005ac918] Getters:map[file:0x140021a4560 http:0x140006624b0 https:0x14000662500] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1030 03:47:51.898301 6844 out_reason.go:110]
W1030 03:47:51.907436 6844 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1030 03:47:51.911390 6844 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-504000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (13.35s)