=== 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-752000 --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-752000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (21.677896083s)
-- stdout --
{"specversion":"1.0","id":"4b2073b1-4b99-4e99-8378-d3f4e1464846","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-752000] minikube v1.31.2 on Darwin 14.0 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"4b513f65-086d-4f4d-8525-246a29f0fef6","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17365"}}
{"specversion":"1.0","id":"0fe0d22b-a197-46eb-8280-7a66be354c3c","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17365-6523/kubeconfig"}}
{"specversion":"1.0","id":"839044bb-e2f5-4872-9ed6-fb10f1a59c03","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":"d8b4576f-086f-4dba-b5ad-fbdb83873442","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":"4c06e21b-ff4f-446f-9a66-d26e32877d8d","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17365-6523/.minikube"}}
{"specversion":"1.0","id":"9cafde1f-5ed6-46da-be6e-4dcc6f1f532a","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":"803fce98-6d1d-4214-a87a-492d60cb2349","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":"09b2ebc0-13ed-48a8-b142-8ebbece3ad5b","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":"55f0a14f-99ba-475c-99ff-c3603e4cc4f2","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":"f32559c1-76f8-44c2-8185-cb8426103a92","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-752000 in cluster download-only-752000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"54413c11-6216-4990-af71-883c291990ab","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":"98be31e6-8c9c-439c-8fc5-0a9aa9b34d4f","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/17365-6523/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104ced980 0x104ced980 0x104ced980 0x104ced980 0x104ced980 0x104ced980 0x104ced980] Decompressors:map[bz2:0x1400013df10 gz:0x1400013df18 tar:0x1400013dec0 tar.bz2:0x1400013ded0 tar.gz:0x1400013dee0 tar.xz:0x1400013def0 tar.zst:0x1400013df00 tbz2:0x1400013ded0 tgz:0x140001
3dee0 txz:0x1400013def0 tzst:0x1400013df00 xz:0x1400013df20 zip:0x1400013df30 zst:0x1400013df28] Getters:map[file:0x14000a76610 http:0x1400017e5f0 https:0x1400017e640] 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":"160a2a20-7453-4211-b9a1-1628db4227bb","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 **
I1005 17:00:40.998626 6944 out.go:296] Setting OutFile to fd 1 ...
I1005 17:00:40.998792 6944 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1005 17:00:40.998795 6944 out.go:309] Setting ErrFile to fd 2...
I1005 17:00:40.998798 6944 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1005 17:00:40.998925 6944 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17365-6523/.minikube/bin
W1005 17:00:40.999017 6944 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17365-6523/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17365-6523/.minikube/config/config.json: no such file or directory
I1005 17:00:41.000224 6944 out.go:303] Setting JSON to true
I1005 17:00:41.016501 6944 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":1815,"bootTime":1696548626,"procs":459,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W1005 17:00:41.016591 6944 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1005 17:00:41.026274 6944 out.go:97] [download-only-752000] minikube v1.31.2 on Darwin 14.0 (arm64)
I1005 17:00:41.030153 6944 out.go:169] MINIKUBE_LOCATION=17365
W1005 17:00:41.026420 6944 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17365-6523/.minikube/cache/preloaded-tarball: no such file or directory
I1005 17:00:41.026488 6944 notify.go:220] Checking for updates...
I1005 17:00:41.040206 6944 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17365-6523/kubeconfig
I1005 17:00:41.047143 6944 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I1005 17:00:41.055148 6944 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1005 17:00:41.063213 6944 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17365-6523/.minikube
W1005 17:00:41.071131 6944 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1005 17:00:41.071346 6944 driver.go:378] Setting default libvirt URI to qemu:///system
I1005 17:00:41.075159 6944 out.go:97] Using the qemu2 driver based on user configuration
I1005 17:00:41.075166 6944 start.go:298] selected driver: qemu2
I1005 17:00:41.075181 6944 start.go:902] validating driver "qemu2" against <nil>
I1005 17:00:41.075256 6944 start_flags.go:307] no existing cluster config was found, will generate one from the flags
I1005 17:00:41.079178 6944 out.go:169] Automatically selected the socket_vmnet network
I1005 17:00:41.085613 6944 start_flags.go:384] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I1005 17:00:41.085711 6944 start_flags.go:905] Wait components to verify : map[apiserver:true system_pods:true]
I1005 17:00:41.085792 6944 cni.go:84] Creating CNI manager for ""
I1005 17:00:41.085817 6944 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I1005 17:00:41.085826 6944 start_flags.go:321] config:
{Name:download-only-752000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1696360059-17345@sha256:76d99edd1576614d5c20a839dd16ae1d7c810f3b909a01797063d483159ea3ae 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-752000 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}
I1005 17:00:41.091526 6944 iso.go:125] acquiring lock: {Name:mk22ccc9732cf054b77ddd9da9b5ad0bb0534d9c Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1005 17:00:41.096188 6944 out.go:97] Downloading VM boot image ...
I1005 17:00:41.096225 6944 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/17240/minikube-v1.31.0-1695060926-17240-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17365-6523/.minikube/cache/iso/arm64/minikube-v1.31.0-1695060926-17240-arm64.iso
I1005 17:00:51.101751 6944 out.go:97] Starting control plane node download-only-752000 in cluster download-only-752000
I1005 17:00:51.101773 6944 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1005 17:00:51.204901 6944 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
I1005 17:00:51.204935 6944 cache.go:57] Caching tarball of preloaded images
I1005 17:00:51.205175 6944 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1005 17:00:51.209585 6944 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I1005 17:00:51.209594 6944 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1005 17:00:51.440832 6944 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/17365-6523/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I1005 17:01:01.727242 6944 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1005 17:01:01.727382 6944 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17365-6523/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I1005 17:01:02.367674 6944 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I1005 17:01:02.367857 6944 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17365-6523/.minikube/profiles/download-only-752000/config.json ...
I1005 17:01:02.367873 6944 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17365-6523/.minikube/profiles/download-only-752000/config.json: {Name:mk00b7eebe61e6e3842120c21a5f52f97f02d20c Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1005 17:01:02.368075 6944 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I1005 17:01:02.368230 6944 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/17365-6523/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I1005 17:01:02.602927 6944 out.go:169]
W1005 17:01:02.606861 6944 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/17365-6523/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x104ced980 0x104ced980 0x104ced980 0x104ced980 0x104ced980 0x104ced980 0x104ced980] Decompressors:map[bz2:0x1400013df10 gz:0x1400013df18 tar:0x1400013dec0 tar.bz2:0x1400013ded0 tar.gz:0x1400013dee0 tar.xz:0x1400013def0 tar.zst:0x1400013df00 tbz2:0x1400013ded0 tgz:0x1400013dee0 txz:0x1400013def0 tzst:0x1400013df00 xz:0x1400013df20 zip:0x1400013df30 zst:0x1400013df28] Getters:map[file:0x14000a76610 http:0x1400017e5f0 https:0x1400017e640] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W1005 17:01:02.606897 6944 out_reason.go:110]
W1005 17:01:02.614820 6944 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I1005 17:01:02.618613 6944 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-752000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (21.68s)