=== 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-684000 --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-684000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (28.361026708s)
-- stdout --
{"specversion":"1.0","id":"d7cce4c1-f149-451f-84c2-87c2d8f08cec","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-684000] minikube v1.31.2 on Darwin 13.5.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"370f6e2d-ac44-497e-9ecd-e4ce65425d18","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17194"}}
{"specversion":"1.0","id":"531c01a8-79e7-45ea-b9f0-e401cf35847c","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17194-1051/kubeconfig"}}
{"specversion":"1.0","id":"50360d5d-0b1d-4142-9186-669f80abbf41","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":"61ae91e6-84e8-497f-96b7-5f6c92b2e800","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":"f773a285-d40e-4e4e-83dc-3182f64e2a79","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17194-1051/.minikube"}}
{"specversion":"1.0","id":"e3a1c7a1-5a13-4c8c-ae80-db5ed8c87103","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":"3b8bc592-569f-4dee-9807-c530e994a055","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":"a0aa1ef1-1f61-444a-b11f-107bc058bc1d","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":"7558511b-ca11-4556-adfb-43f25c4df8df","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":"47c14a04-c81c-4de0-be89-199c3eadd692","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-684000 in cluster download-only-684000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"08f7fb1c-bdde-4677-b70e-e3f45343498d","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":"3e6d57f1-b2e1-442e-894f-b433d11b72c9","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/17194-1051/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20] Decompressors:map[bz2:0x140001c33f0 gz:0x140001c33f8 tar:0x140001c33a0 tar.bz2:0x140001c33b0 tar.gz:0x140001c33c0 tar.xz:0x140001c33d0 tar.zst:0x140001c33e0 tbz2:0x140001c33b0 tgz:0x140001
c33c0 txz:0x140001c33d0 tzst:0x140001c33e0 xz:0x140001c3400 zip:0x140001c3410 zst:0x140001c3408] Getters:map[file:0x14000708030 http:0x14000c84aa0 https:0x14000c84af0] 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":"964fc426-8c92-4499-9d50-1b5e19780f1e","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 **
I0912 14:42:56.737560 1472 out.go:296] Setting OutFile to fd 1 ...
I0912 14:42:56.737699 1472 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0912 14:42:56.737702 1472 out.go:309] Setting ErrFile to fd 2...
I0912 14:42:56.737705 1472 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0912 14:42:56.737812 1472 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17194-1051/.minikube/bin
W0912 14:42:56.737886 1472 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17194-1051/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17194-1051/.minikube/config/config.json: no such file or directory
I0912 14:42:56.739019 1472 out.go:303] Setting JSON to true
I0912 14:42:56.755468 1472 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":750,"bootTime":1694554226,"procs":412,"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"}
W0912 14:42:56.755560 1472 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0912 14:42:56.760997 1472 out.go:97] [download-only-684000] minikube v1.31.2 on Darwin 13.5.2 (arm64)
I0912 14:42:56.763919 1472 out.go:169] MINIKUBE_LOCATION=17194
W0912 14:42:56.761152 1472 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17194-1051/.minikube/cache/preloaded-tarball: no such file or directory
I0912 14:42:56.761213 1472 notify.go:220] Checking for updates...
I0912 14:42:56.770986 1472 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17194-1051/kubeconfig
I0912 14:42:56.774011 1472 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0912 14:42:56.776978 1472 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0912 14:42:56.779959 1472 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17194-1051/.minikube
W0912 14:42:56.785959 1472 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0912 14:42:56.786173 1472 driver.go:373] Setting default libvirt URI to qemu:///system
I0912 14:42:56.791066 1472 out.go:97] Using the qemu2 driver based on user configuration
I0912 14:42:56.791085 1472 start.go:298] selected driver: qemu2
I0912 14:42:56.791088 1472 start.go:902] validating driver "qemu2" against <nil>
I0912 14:42:56.791138 1472 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0912 14:42:56.794917 1472 out.go:169] Automatically selected the socket_vmnet network
I0912 14:42:56.800497 1472 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0912 14:42:56.800591 1472 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0912 14:42:56.800648 1472 cni.go:84] Creating CNI manager for ""
I0912 14:42:56.800665 1472 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0912 14:42:56.800669 1472 start_flags.go:321] config:
{Name:download-only-684000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1694457807-17194@sha256:a43492789075efb9a6b2ea51ab0c60354400324130ed0bb27d969c2fba2f2402 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-684000 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}
I0912 14:42:56.806077 1472 iso.go:125] acquiring lock: {Name:mkad84685fe1f07588f3192605ed453618e0f4a1 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0912 14:42:56.809997 1472 out.go:97] Downloading VM boot image ...
I0912 14:42:56.810016 1472 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17194/minikube-v1.31.0-1694468241-17194-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17194/minikube-v1.31.0-1694468241-17194-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17194-1051/.minikube/cache/iso/arm64/minikube-v1.31.0-1694468241-17194-arm64.iso
I0912 14:43:11.357895 1472 out.go:97] Starting control plane node download-only-684000 in cluster download-only-684000
I0912 14:43:11.357914 1472 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0912 14:43:11.470067 1472 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
I0912 14:43:11.470079 1472 cache.go:57] Caching tarball of preloaded images
I0912 14:43:11.470313 1472 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0912 14:43:11.473020 1472 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0912 14:43:11.473030 1472 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0912 14:43:11.693035 1472 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/17194-1051/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0912 14:43:24.036976 1472 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0912 14:43:24.037096 1472 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17194-1051/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0912 14:43:24.679356 1472 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0912 14:43:24.679555 1472 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17194-1051/.minikube/profiles/download-only-684000/config.json ...
I0912 14:43:24.679572 1472 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17194-1051/.minikube/profiles/download-only-684000/config.json: {Name:mk08a8eacb95eb27dd883eabd39b74e7ba802715 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0912 14:43:24.679786 1472 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0912 14:43:24.680001 1472 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/17194-1051/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0912 14:43:25.030007 1472 out.go:169]
W0912 14:43:25.031919 1472 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/17194-1051/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20 0x107aa7b20] Decompressors:map[bz2:0x140001c33f0 gz:0x140001c33f8 tar:0x140001c33a0 tar.bz2:0x140001c33b0 tar.gz:0x140001c33c0 tar.xz:0x140001c33d0 tar.zst:0x140001c33e0 tbz2:0x140001c33b0 tgz:0x140001c33c0 txz:0x140001c33d0 tzst:0x140001c33e0 xz:0x140001c3400 zip:0x140001c3410 zst:0x140001c3408] Getters:map[file:0x14000708030 http:0x14000c84aa0 https:0x14000c84af0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0912 14:43:25.031946 1472 out_reason.go:110]
W0912 14:43:25.038983 1472 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0912 14:43:25.042951 1472 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-684000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (28.36s)