=== 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-774000 --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-774000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (14.447107s)
-- stdout --
{"specversion":"1.0","id":"97bd9daa-3c47-4136-91d2-7d2b66541e38","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-774000] minikube v1.31.2 on Darwin 14.0 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"d5479907-95cf-4123-bff9-d5e07948f1be","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17488"}}
{"specversion":"1.0","id":"395f3137-9c7b-45a8-b05c-4ac4e346b0cc","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17488-1304/kubeconfig"}}
{"specversion":"1.0","id":"a589d43e-c196-41ba-99a4-75ab78ddc82e","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":"3f7f387a-8b8b-4dcf-833b-e64038cc9c19","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":"3457bed8-eb1f-4b5d-b9fd-392367e702a4","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17488-1304/.minikube"}}
{"specversion":"1.0","id":"cc0840ab-4e3a-449e-bf81-dc5516a95493","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":"c1af2961-0ccc-4d28-be61-5bb3507302a2","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":"2e74ea9c-e3f7-4f06-856a-e623b1b06e64","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":"b5d259d1-dc94-4e5a-a89c-b31682123fdb","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":"cc26a958-a3fc-4ea2-8aba-b9eee55ed5ae","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-774000 in cluster download-only-774000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"26230cb5-72b3-4d5e-b3c5-c68fb829e3b5","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":"65264173-8b86-4553-b285-f5a682d583ef","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/17488-1304/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0] Decompressors:map[bz2:0x14000680000 gz:0x14000680008 tar:0x1400000ffb0 tar.bz2:0x1400000ffc0 tar.gz:0x1400000ffd0 tar.xz:0x1400000ffe0 tar.zst:0x1400000fff0 tbz2:0x1400000ffc0 tgz:0x140000
0ffd0 txz:0x1400000ffe0 tzst:0x1400000fff0 xz:0x14000680010 zip:0x14000680020 zst:0x14000680018] Getters:map[file:0x140004a5650 http:0x1400051e140 https:0x1400051e190] 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":"f104c015-7bd3-4085-a3a6-bab61f283f5c","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 **
I1025 14:10:09.184746 1725 out.go:296] Setting OutFile to fd 1 ...
I1025 14:10:09.184944 1725 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1025 14:10:09.184947 1725 out.go:309] Setting ErrFile to fd 2...
I1025 14:10:09.184949 1725 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1025 14:10:09.185073 1725 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17488-1304/.minikube/bin
W1025 14:10:09.185167 1725 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17488-1304/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17488-1304/.minikube/config/config.json: no such file or directory
I1025 14:10:09.186290 1725 out.go:303] Setting JSON to true
I1025 14:10:09.204424 1725 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":583,"bootTime":1698267626,"procs":474,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W1025 14:10:09.204503 1725 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1025 14:10:09.213372 1725 out.go:97] [download-only-774000] minikube v1.31.2 on Darwin 14.0 (arm64)
I1025 14:10:09.217367 1725 out.go:169] MINIKUBE_LOCATION=17488
W1025 14:10:09.213498 1725 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17488-1304/.minikube/cache/preloaded-tarball: no such file or directory
I1025 14:10:09.213524 1725 notify.go:220] Checking for updates...
I1025 14:10:09.227373 1725 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17488-1304/kubeconfig
I1025 14:10:09.235313 1725 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1025 14:10:09.242382 1725 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1025 14:10:09.249386 1725 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17488-1304/.minikube
W1025 14:10:09.257275 1725 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1025 14:10:09.257481 1725 driver.go:378] Setting default libvirt URI to qemu:///system
I1025 14:10:09.262374 1725 out.go:97] Using the qemu2 driver based on user configuration
I1025 14:10:09.262381 1725 start.go:298] selected driver: qemu2
I1025 14:10:09.262395 1725 start.go:902] validating driver "qemu2" against <nil>
I1025 14:10:09.262453 1725 start_flags.go:309] no existing cluster config was found, will generate one from the flags
I1025 14:10:09.266287 1725 out.go:169] Automatically selected the socket_vmnet network
I1025 14:10:09.273752 1725 start_flags.go:386] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1025 14:10:09.273838 1725 start_flags.go:908] Wait components to verify : map[apiserver:true system_pods:true]
I1025 14:10:09.273937 1725 cni.go:84] Creating CNI manager for ""
I1025 14:10:09.273957 1725 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1025 14:10:09.273966 1725 start_flags.go:323] config:
{Name:download-only-774000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1698055645-17423@sha256:fb2566ae68d58d9dce5cb4087954a42bedc9f0c47c18aef3d28a238a8beeb883 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-774000 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 GPUs:}
I1025 14:10:09.280796 1725 iso.go:125] acquiring lock: {Name:mk657ebb287a480226712599043bae2b04e046a1 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1025 14:10:09.285381 1725 out.go:97] Downloading VM boot image ...
I1025 14:10:09.285396 1725 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17434/minikube-v1.31.0-1697471113-17434-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17434/minikube-v1.31.0-1697471113-17434-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17488-1304/.minikube/cache/iso/arm64/minikube-v1.31.0-1697471113-17434-arm64.iso
I1025 14:10:14.171529 1725 out.go:97] Starting control plane node download-only-774000 in cluster download-only-774000
I1025 14:10:14.171567 1725 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1025 14:10:14.228275 1725 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
I1025 14:10:14.228290 1725 cache.go:56] Caching tarball of preloaded images
I1025 14:10:14.228471 1725 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1025 14:10:14.233081 1725 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1025 14:10:14.233088 1725 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1025 14:10:14.309723 1725 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/17488-1304/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1025 14:10:22.168337 1725 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1025 14:10:22.168463 1725 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17488-1304/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1025 14:10:22.810927 1725 cache.go:59] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1025 14:10:22.811130 1725 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17488-1304/.minikube/profiles/download-only-774000/config.json ...
I1025 14:10:22.811147 1725 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17488-1304/.minikube/profiles/download-only-774000/config.json: {Name:mkb88c3470620066988bab56fb499300b62e0198 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1025 14:10:22.811357 1725 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1025 14:10:22.811518 1725 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/17488-1304/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1025 14:10:23.555598 1725 out.go:169]
W1025 14:10:23.560697 1725 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/17488-1304/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0 0x1046145a0] Decompressors:map[bz2:0x14000680000 gz:0x14000680008 tar:0x1400000ffb0 tar.bz2:0x1400000ffc0 tar.gz:0x1400000ffd0 tar.xz:0x1400000ffe0 tar.zst:0x1400000fff0 tbz2:0x1400000ffc0 tgz:0x1400000ffd0 txz:0x1400000ffe0 tzst:0x1400000fff0 xz:0x14000680010 zip:0x14000680020 zst:0x14000680018] Getters:map[file:0x140004a5650 http:0x1400051e140 https:0x1400051e190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1025 14:10:23.560726 1725 out_reason.go:110]
W1025 14:10:23.567550 1725 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1025 14:10:23.571584 1725 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-774000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (14.45s)