=== 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-482000 --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-482000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (24.896037167s)
-- stdout --
{"specversion":"1.0","id":"f0c6694c-a521-4a96-af90-2c9f46f07a75","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-482000] minikube v1.30.1 on Darwin 13.4.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"68143050-73b6-4d84-9702-d34998ea6c34","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=15452"}}
{"specversion":"1.0","id":"9c861ee4-6f59-485a-96f3-77d9748ad24a","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/15452-6571/kubeconfig"}}
{"specversion":"1.0","id":"dc2cb7b0-f2a2-440a-9015-77435c721bac","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":"04c84355-2772-4659-8f9d-0021d82c2b4a","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":"bec1d95e-991b-4c94-a3cb-122b110445e7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/15452-6571/.minikube"}}
{"specversion":"1.0","id":"e29cdb1c-7845-4545-80b7-dc50af5e9152","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":"6e1e460a-bc91-44ed-8c74-5ed8b9d87138","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":"b8eb158a-363f-4427-93fa-f7bf3e3262bc","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":"634d990d-f267-4bb6-b63b-ad1caf30e6af","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":"876abf3f-51bf-4215-9af4-339acf11df0d","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-482000 in cluster download-only-482000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"a037eaec-b619-4ba9-a723-88c653c74065","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":"c53ef1c7-28b8-4874-acec-617104c4fb0b","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/15452-6571/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104628570 0x104628570 0x104628570 0x104628570 0x104628570 0x104628570 0x104628570] Decompressors:map[bz2:0x140001e7358 gz:0x140001e73e0 tar:0x140001e7380 tar.bz2:0x140001e7390 tar.gz:0x140001e73a0 tar.xz:0x140001e73b0 tar.zst:0x140001e73c0 tbz2:0x140001e7390 tgz:0x140001
e73a0 txz:0x140001e73b0 tzst:0x140001e73c0 xz:0x140001e73e8 zip:0x140001e7430 zst:0x140001e7460] Getters:map[file:0x14000fa05e0 http:0x140007bc190 https:0x140007bc1e0] 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":"bd30dfd1-7b49-43a2-b61e-c8501437d118","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 **
I0710 16:50:51.846302 6993 out.go:296] Setting OutFile to fd 1 ...
I0710 16:50:51.846420 6993 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0710 16:50:51.846422 6993 out.go:309] Setting ErrFile to fd 2...
I0710 16:50:51.846431 6993 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0710 16:50:51.846510 6993 root.go:337] Updating PATH: /Users/jenkins/minikube-integration/15452-6571/.minikube/bin
W0710 16:50:51.846587 6993 root.go:313] Error reading config file at /Users/jenkins/minikube-integration/15452-6571/.minikube/config/config.json: open /Users/jenkins/minikube-integration/15452-6571/.minikube/config/config.json: no such file or directory
I0710 16:50:51.847722 6993 out.go:303] Setting JSON to true
I0710 16:50:51.864539 6993 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":3021,"bootTime":1689030030,"procs":412,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4.1","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0710 16:50:51.864603 6993 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0710 16:50:51.869620 6993 out.go:97] [download-only-482000] minikube v1.30.1 on Darwin 13.4.1 (arm64)
I0710 16:50:51.873618 6993 out.go:169] MINIKUBE_LOCATION=15452
I0710 16:50:51.869753 6993 notify.go:220] Checking for updates...
W0710 16:50:51.869754 6993 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/15452-6571/.minikube/cache/preloaded-tarball: no such file or directory
I0710 16:50:51.880610 6993 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/15452-6571/kubeconfig
I0710 16:50:51.883767 6993 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0710 16:50:51.886678 6993 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0710 16:50:51.889633 6993 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/15452-6571/.minikube
W0710 16:50:51.895692 6993 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0710 16:50:51.895946 6993 driver.go:373] Setting default libvirt URI to qemu:///system
I0710 16:50:51.898648 6993 out.go:97] Using the qemu2 driver based on user configuration
I0710 16:50:51.898656 6993 start.go:297] selected driver: qemu2
I0710 16:50:51.898657 6993 start.go:944] validating driver "qemu2" against <nil>
I0710 16:50:51.898720 6993 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0710 16:50:51.901655 6993 out.go:169] Automatically selected the socket_vmnet network
I0710 16:50:51.906550 6993 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0710 16:50:51.906628 6993 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0710 16:50:51.906677 6993 cni.go:84] Creating CNI manager for ""
I0710 16:50:51.906684 6993 cni.go:168] CNI unnecessary in this configuration, recommending no CNI
I0710 16:50:51.906689 6993 start_flags.go:319] config:
{Name:download-only-482000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1688681246-16834@sha256:849205234efc46da016f3a964268d7c76363fc521532c280d0e8a6bf1cc393b5 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-482000 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}
I0710 16:50:51.910882 6993 iso.go:125] acquiring lock: {Name:mk6ed7aeb684fdd8651cc4ae18872d61c97da6fc Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0710 16:50:51.914641 6993 out.go:97] Downloading VM boot image ...
I0710 16:50:51.914673 6993 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16765/minikube-v1.30.1-1688144767-16765-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16765/minikube-v1.30.1-1688144767-16765-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/15452-6571/.minikube/cache/iso/arm64/minikube-v1.30.1-1688144767-16765-arm64.iso
I0710 16:51:04.276925 6993 out.go:97] Starting control plane node download-only-482000 in cluster download-only-482000
I0710 16:51:04.276951 6993 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0710 16:51:04.370706 6993 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
I0710 16:51:04.370746 6993 cache.go:57] Caching tarball of preloaded images
I0710 16:51:04.370926 6993 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0710 16:51:04.376020 6993 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0710 16:51:04.376028 6993 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0710 16:51:04.618115 6993 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/15452-6571/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0710 16:51:15.274507 6993 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0710 16:51:15.274646 6993 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/15452-6571/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0710 16:51:15.915944 6993 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0710 16:51:15.916125 6993 profile.go:148] Saving config to /Users/jenkins/minikube-integration/15452-6571/.minikube/profiles/download-only-482000/config.json ...
I0710 16:51:15.916144 6993 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/15452-6571/.minikube/profiles/download-only-482000/config.json: {Name:mk3f3716570437531047e167a1e01063947cdb78 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0710 16:51:15.917254 6993 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0710 16:51:15.917431 6993 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/15452-6571/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0710 16:51:16.670160 6993 out.go:169]
W0710 16:51:16.673221 6993 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/15452-6571/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104628570 0x104628570 0x104628570 0x104628570 0x104628570 0x104628570 0x104628570] Decompressors:map[bz2:0x140001e7358 gz:0x140001e73e0 tar:0x140001e7380 tar.bz2:0x140001e7390 tar.gz:0x140001e73a0 tar.xz:0x140001e73b0 tar.zst:0x140001e73c0 tbz2:0x140001e7390 tgz:0x140001e73a0 txz:0x140001e73b0 tzst:0x140001e73c0 xz:0x140001e73e8 zip:0x140001e7430 zst:0x140001e7460] Getters:map[file:0x14000fa05e0 http:0x140007bc190 https:0x140007bc1e0] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0710 16:51:16.673243 6993 out_reason.go:110]
W0710 16:51:16.680210 6993 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0710 16:51:16.684189 6993 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-482000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (24.90s)