=== 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-412000 --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-412000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (14.351642s)
-- stdout --
{"specversion":"1.0","id":"b110ffef-607d-4394-8591-fb3c86d183b1","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-412000] minikube v1.31.2 on Darwin 13.5.2 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"be4bd383-4e91-4552-8160-ef3538b3daf4","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17223"}}
{"specversion":"1.0","id":"43c91e7b-0bf7-4efb-bdd2-8fb0bb5393d9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17223-1124/kubeconfig"}}
{"specversion":"1.0","id":"a4c2d7e9-bcb9-4b7e-a863-3a96fc44350d","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":"ae70d1db-f3a9-4830-bd42-928c02250d33","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":"cbfaf608-5e4a-4650-ae6a-cfde4b42d065","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17223-1124/.minikube"}}
{"specversion":"1.0","id":"f17ef8c5-7aa8-49fd-9aea-20806faf147f","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":"07b13bed-683a-45bd-9890-f9f02c832ce1","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":"1a314e04-7806-40ce-8701-9f3bdc04f5b3","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":"5f1dd2f9-5005-49e5-bbe0-22dbfb1a1355","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":"b8572328-332b-419b-b37d-7b39e0735492","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-412000 in cluster download-only-412000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"4b4d28e3-06f1-4b51-b20d-3636ff611d04","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":"c8c60e0d-a9fa-4d2f-91a6-1a9325978e1f","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/17223-1124/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10630df68 0x10630df68 0x10630df68 0x10630df68 0x10630df68 0x10630df68 0x10630df68] Decompressors:map[bz2:0x14000057da8 gz:0x14000057e00 tar:0x14000057db0 tar.bz2:0x14000057dc0 tar.gz:0x14000057dd0 tar.xz:0x14000057de0 tar.zst:0x14000057df0 tbz2:0x14000057dc0 tgz:0x140000
57dd0 txz:0x14000057de0 tzst:0x14000057df0 xz:0x14000057e08 zip:0x14000057e10 zst:0x14000057e20] Getters:map[file:0x1400019eca0 http:0x14000f02140 https:0x14000f02190] 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":"21cb3488-cd8c-4d2c-9cb7-57c10b9ef295","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 **
I0911 03:53:37.558047 1567 out.go:296] Setting OutFile to fd 1 ...
I0911 03:53:37.558188 1567 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0911 03:53:37.558191 1567 out.go:309] Setting ErrFile to fd 2...
I0911 03:53:37.558193 1567 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0911 03:53:37.558298 1567 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17223-1124/.minikube/bin
W0911 03:53:37.558368 1567 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17223-1124/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17223-1124/.minikube/config/config.json: no such file or directory
I0911 03:53:37.559541 1567 out.go:303] Setting JSON to true
I0911 03:53:37.575956 1567 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":1391,"bootTime":1694428226,"procs":422,"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"}
W0911 03:53:37.576032 1567 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0911 03:53:37.584502 1567 out.go:97] [download-only-412000] minikube v1.31.2 on Darwin 13.5.2 (arm64)
I0911 03:53:37.588453 1567 out.go:169] MINIKUBE_LOCATION=17223
W0911 03:53:37.584644 1567 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17223-1124/.minikube/cache/preloaded-tarball: no such file or directory
I0911 03:53:37.584679 1567 notify.go:220] Checking for updates...
I0911 03:53:37.598457 1567 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17223-1124/kubeconfig
I0911 03:53:37.601486 1567 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0911 03:53:37.604474 1567 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0911 03:53:37.607477 1567 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17223-1124/.minikube
W0911 03:53:37.611988 1567 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0911 03:53:37.612224 1567 driver.go:373] Setting default libvirt URI to qemu:///system
I0911 03:53:37.617433 1567 out.go:97] Using the qemu2 driver based on user configuration
I0911 03:53:37.617438 1567 start.go:298] selected driver: qemu2
I0911 03:53:37.617450 1567 start.go:902] validating driver "qemu2" against <nil>
I0911 03:53:37.617492 1567 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I0911 03:53:37.620383 1567 out.go:169] Automatically selected the socket_vmnet network
I0911 03:53:37.626920 1567 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0911 03:53:37.626999 1567 start_flags.go:904] Wait components to verify : map[apiserver:true system_pods:true]
I0911 03:53:37.627083 1567 cni.go:84] Creating CNI manager for ""
I0911 03:53:37.627098 1567 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0911 03:53:37.627103 1567 start_flags.go:321] config:
{Name:download-only-412000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1693938323-17174@sha256:4edc55cb1933a7155ece55408f8b4aebfd99e28fa2209bc82b369d8ca3bf525b 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-412000 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}
I0911 03:53:37.632211 1567 iso.go:125] acquiring lock: {Name:mk93ecfb1efa8aa22d56a7ab316dc777d0c1a16d Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0911 03:53:37.636610 1567 out.go:97] Downloading VM boot image ...
I0911 03:53:37.636746 1567 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17120/minikube-v1.31.0-1692872107-17120-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17120/minikube-v1.31.0-1692872107-17120-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17223-1124/.minikube/cache/iso/arm64/minikube-v1.31.0-1692872107-17120-arm64.iso
I0911 03:53:43.130618 1567 out.go:97] Starting control plane node download-only-412000 in cluster download-only-412000
I0911 03:53:43.130642 1567 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0911 03:53:43.185800 1567 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
I0911 03:53:43.185889 1567 cache.go:57] Caching tarball of preloaded images
I0911 03:53:43.186066 1567 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0911 03:53:43.189662 1567 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0911 03:53:43.189671 1567 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0911 03:53:43.270213 1567 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/17223-1124/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0911 03:53:50.843206 1567 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0911 03:53:50.843359 1567 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17223-1124/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0911 03:53:51.485758 1567 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0911 03:53:51.485950 1567 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17223-1124/.minikube/profiles/download-only-412000/config.json ...
I0911 03:53:51.485972 1567 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17223-1124/.minikube/profiles/download-only-412000/config.json: {Name:mk93908f6e70cc7147706f6edb9295b5967f3765 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0911 03:53:51.486204 1567 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0911 03:53:51.486379 1567 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/17223-1124/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0911 03:53:51.834950 1567 out.go:169]
W0911 03:53:51.841140 1567 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/17223-1124/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x10630df68 0x10630df68 0x10630df68 0x10630df68 0x10630df68 0x10630df68 0x10630df68] Decompressors:map[bz2:0x14000057da8 gz:0x14000057e00 tar:0x14000057db0 tar.bz2:0x14000057dc0 tar.gz:0x14000057dd0 tar.xz:0x14000057de0 tar.zst:0x14000057df0 tbz2:0x14000057dc0 tgz:0x14000057dd0 txz:0x14000057de0 tzst:0x14000057df0 xz:0x14000057e08 zip:0x14000057e10 zst:0x14000057e20] Getters:map[file:0x1400019eca0 http:0x14000f02140 https:0x14000f02190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0911 03:53:51.841165 1567 out_reason.go:110]
W0911 03:53:51.848024 1567 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0911 03:53:51.852024 1567 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-412000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (14.35s)