=== 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-879000 --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-879000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (24.568143375s)
-- stdout --
{"specversion":"1.0","id":"8a031b57-1164-4b82-823a-dfa5163dc748","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-879000] minikube v1.30.1 on Darwin 13.4 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"68e0e07b-a167-4fc4-8996-d45ea779461b","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16578"}}
{"specversion":"1.0","id":"cc9b0ca2-6310-49fd-97fa-5fc1ebdb0b43","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16578-1150/kubeconfig"}}
{"specversion":"1.0","id":"ad47b271-4228-4dcb-a540-e1dd360edf9f","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":"b07abcbf-e4ab-4b63-9178-3a25b201334b","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":"b7e43df3-44b4-4e0c-97a7-06c7baac66dd","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16578-1150/.minikube"}}
{"specversion":"1.0","id":"227b9e16-9c21-440e-8c2a-6389d567c6ea","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":"83bb0a44-a144-4787-b219-98ab8c0dad2e","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":"22518c04-2ee3-43f0-9878-e9d9786bcfa0","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":"acb89406-3959-46f3-a5de-9d11b51efc21","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":"88d5857a-a024-4992-b275-10f660146ead","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-879000 in cluster download-only-879000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"bd79a2e3-2b31-4e27-a514-b4b2050092e7","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":"cb6700cd-006c-40f3-902c-cfb2a1a1f2f6","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/16578-1150/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28] Decompressors:map[bz2:0x14000526928 gz:0x14000526980 tar:0x14000526930 tar.bz2:0x14000526940 tar.gz:0x14000526950 tar.xz:0x14000526960 tar.zst:0x14000526970 tbz2:0x14000526940 tgz:0x140005
26950 txz:0x14000526960 tzst:0x14000526970 xz:0x14000526988 zip:0x14000526990 zst:0x140005269a0] Getters:map[file:0x140010a65a0 http:0x14000acc140 https:0x14000acc190] 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":"f3676e7c-35ff-480e-96ee-1392a4cae746","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 **
I0610 09:21:09.082342 1566 out.go:296] Setting OutFile to fd 1 ...
I0610 09:21:09.082479 1566 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0610 09:21:09.082482 1566 out.go:309] Setting ErrFile to fd 2...
I0610 09:21:09.082484 1566 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0610 09:21:09.082556 1566 root.go:336] Updating PATH: /Users/jenkins/minikube-integration/16578-1150/.minikube/bin
W0610 09:21:09.082614 1566 root.go:312] Error reading config file at /Users/jenkins/minikube-integration/16578-1150/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16578-1150/.minikube/config/config.json: no such file or directory
I0610 09:21:09.083773 1566 out.go:303] Setting JSON to true
I0610 09:21:09.100627 1566 start.go:127] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":1240,"bootTime":1686412829,"procs":407,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.4","kernelVersion":"22.5.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0610 09:21:09.100688 1566 start.go:135] gopshost.Virtualization returned error: not implemented yet
I0610 09:21:09.105725 1566 out.go:97] [download-only-879000] minikube v1.30.1 on Darwin 13.4 (arm64)
I0610 09:21:09.108740 1566 out.go:169] MINIKUBE_LOCATION=16578
I0610 09:21:09.105888 1566 notify.go:220] Checking for updates...
W0610 09:21:09.105902 1566 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16578-1150/.minikube/cache/preloaded-tarball: no such file or directory
I0610 09:21:09.113627 1566 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16578-1150/kubeconfig
I0610 09:21:09.116758 1566 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0610 09:21:09.119697 1566 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0610 09:21:09.122717 1566 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16578-1150/.minikube
W0610 09:21:09.127014 1566 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0610 09:21:09.127237 1566 driver.go:375] Setting default libvirt URI to qemu:///system
I0610 09:21:09.132703 1566 out.go:97] Using the qemu2 driver based on user configuration
I0610 09:21:09.132723 1566 start.go:297] selected driver: qemu2
I0610 09:21:09.132727 1566 start.go:875] validating driver "qemu2" against <nil>
I0610 09:21:09.132797 1566 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0610 09:21:09.136697 1566 out.go:169] Automatically selected the socket_vmnet network
I0610 09:21:09.142009 1566 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0610 09:21:09.142085 1566 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0610 09:21:09.142120 1566 cni.go:84] Creating CNI manager for ""
I0610 09:21:09.142136 1566 cni.go:161] CNI unnecessary in this configuration, recommending no CNI
I0610 09:21:09.142140 1566 start_flags.go:319] config:
{Name:download-only-879000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.39-1686006988-16632@sha256:412dc5cf58908f3565f59ed5f2b8341f53e998f8d8b54f59253c8f8f335f5a7b 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-879000 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:}
I0610 09:21:09.142297 1566 iso.go:125] acquiring lock: {Name:mk0a3e18b0ab39fea8fa845439dffee1684e89da Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0610 09:21:09.146699 1566 out.go:97] Downloading VM boot image ...
I0610 09:21:09.146716 1566 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16019/minikube-v1.30.1-1686096373-16019-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16019/minikube-v1.30.1-1686096373-16019-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16578-1150/.minikube/cache/iso/arm64/minikube-v1.30.1-1686096373-16019-arm64.iso
I0610 09:21:19.325617 1566 out.go:97] Starting control plane node download-only-879000 in cluster download-only-879000
I0610 09:21:19.325645 1566 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0610 09:21:19.426955 1566 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
I0610 09:21:19.427026 1566 cache.go:57] Caching tarball of preloaded images
I0610 09:21:19.427218 1566 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0610 09:21:19.432366 1566 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0610 09:21:19.432375 1566 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0610 09:21:19.661311 1566 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/16578-1150/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0610 09:21:32.022545 1566 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0610 09:21:32.022682 1566 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16578-1150/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0610 09:21:32.673657 1566 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0610 09:21:32.673847 1566 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16578-1150/.minikube/profiles/download-only-879000/config.json ...
I0610 09:21:32.673866 1566 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16578-1150/.minikube/profiles/download-only-879000/config.json: {Name:mk8ea572823972a0ca150d4787089a831e408f24 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0610 09:21:32.674099 1566 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0610 09:21:32.674285 1566 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/16578-1150/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0610 09:21:33.582780 1566 out.go:169]
W0610 09:21:33.586665 1566 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/16578-1150/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28 0x107d73f28] Decompressors:map[bz2:0x14000526928 gz:0x14000526980 tar:0x14000526930 tar.bz2:0x14000526940 tar.gz:0x14000526950 tar.xz:0x14000526960 tar.zst:0x14000526970 tbz2:0x14000526940 tgz:0x14000526950 txz:0x14000526960 tzst:0x14000526970 xz:0x14000526988 zip:0x14000526990 zst:0x140005269a0] Getters:map[file:0x140010a65a0 http:0x14000acc140 https:0x14000acc190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0610 09:21:33.586692 1566 out_reason.go:110]
W0610 09:21:33.593774 1566 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0610 09:21:33.597773 1566 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-879000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (24.57s)