=== 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-309000 --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-309000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (14.174422584s)
-- stdout --
{"specversion":"1.0","id":"cac50b4e-21d3-4893-8b3c-4a5a9a80daa8","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-309000] minikube v1.31.1 on Darwin 13.5 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"ef9f5b57-bcb9-4846-b23d-d9c6c536caf8","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=16992"}}
{"specversion":"1.0","id":"c0142849-cbe2-4c5a-b64b-d91b0a5303ce","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/16992-5902/kubeconfig"}}
{"specversion":"1.0","id":"9f2e6feb-1bc6-47ce-b1aa-5e0b83c10acc","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":"a8b6b4f1-c757-4835-9c61-8f765b116ffd","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":"37cc04b4-e6f0-4e79-bd1d-f3ad1b677dc7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/16992-5902/.minikube"}}
{"specversion":"1.0","id":"4e488ad6-6b98-409d-84dc-c28e420a2d6c","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":"7a24f0ec-f0f2-41a1-a5b0-98caf09b86fb","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":"bc6082e4-612c-4271-a6e1-7db459bca0be","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":"e50032f3-90b6-4866-b08a-ff5c51de4427","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":"3c4a137a-70d8-4f55-8edf-d902a6c3e240","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-309000 in cluster download-only-309000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"e9b6985b-d2f5-42f0-a0a5-a528ff7853d5","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":"6bd6d14a-f633-4dcc-810f-d06c03e9b18e","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/16992-5902/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x108810710 0x108810710 0x108810710 0x108810710 0x108810710 0x108810710 0x108810710] Decompressors:map[bz2:0x140004a3718 gz:0x140004a3770 tar:0x140004a3720 tar.bz2:0x140004a3730 tar.gz:0x140004a3740 tar.xz:0x140004a3750 tar.zst:0x140004a3760 tbz2:0x140004a3730 tgz:0x140004
a3740 txz:0x140004a3750 tzst:0x140004a3760 xz:0x140004a3778 zip:0x140004a3780 zst:0x140004a3790] Getters:map[file:0x14000f225b0 http:0x14000f46190 https:0x14000f46230] 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":"bd62474f-a738-4e90-86c9-d87a77ee7f56","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 **
I0809 10:42:48.233369 6319 out.go:296] Setting OutFile to fd 1 ...
I0809 10:42:48.233472 6319 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0809 10:42:48.233475 6319 out.go:309] Setting ErrFile to fd 2...
I0809 10:42:48.233478 6319 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0809 10:42:48.233598 6319 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/16992-5902/.minikube/bin
W0809 10:42:48.233658 6319 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/16992-5902/.minikube/config/config.json: open /Users/jenkins/minikube-integration/16992-5902/.minikube/config/config.json: no such file or directory
I0809 10:42:48.234810 6319 out.go:303] Setting JSON to true
I0809 10:42:48.250549 6319 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":4342,"bootTime":1691598626,"procs":413,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0809 10:42:48.250629 6319 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0809 10:42:48.254562 6319 out.go:97] [download-only-309000] minikube v1.31.1 on Darwin 13.5 (arm64)
I0809 10:42:48.258451 6319 out.go:169] MINIKUBE_LOCATION=16992
W0809 10:42:48.254689 6319 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/16992-5902/.minikube/cache/preloaded-tarball: no such file or directory
I0809 10:42:48.254702 6319 notify.go:220] Checking for updates...
I0809 10:42:48.267251 6319 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/16992-5902/kubeconfig
I0809 10:42:48.271357 6319 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0809 10:42:48.274453 6319 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0809 10:42:48.278397 6319 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/16992-5902/.minikube
W0809 10:42:48.285475 6319 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0809 10:42:48.285644 6319 driver.go:373] Setting default libvirt URI to qemu:///system
I0809 10:42:48.288493 6319 out.go:97] Using the qemu2 driver based on user configuration
I0809 10:42:48.288501 6319 start.go:298] selected driver: qemu2
I0809 10:42:48.288503 6319 start.go:901] validating driver "qemu2" against <nil>
I0809 10:42:48.288562 6319 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0809 10:42:48.291951 6319 out.go:169] Automatically selected the socket_vmnet network
I0809 10:42:48.297374 6319 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0809 10:42:48.297450 6319 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0809 10:42:48.297514 6319 cni.go:84] Creating CNI manager for ""
I0809 10:42:48.297530 6319 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0809 10:42:48.297539 6319 start_flags.go:319] config:
{Name:download-only-309000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1690799191-16971@sha256:e2b8a0768c6a1fd3ed0453a7caf63756620121eab0a25a3ecf9665353865fd37 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-309000 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}
I0809 10:42:48.302205 6319 iso.go:125] acquiring lock: {Name:mke20209dc837d47d90c98ef1113bfb6ff66c84e Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0809 10:42:48.306561 6319 out.go:97] Downloading VM boot image ...
I0809 10:42:48.306586 6319 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-1690838458-16971-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-1690838458-16971-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/16992-5902/.minikube/cache/iso/arm64/minikube-v1.31.0-1690838458-16971-arm64.iso
I0809 10:42:55.848946 6319 out.go:97] Starting control plane node download-only-309000 in cluster download-only-309000
I0809 10:42:55.848971 6319 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0809 10:42:55.900354 6319 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
I0809 10:42:55.900372 6319 cache.go:57] Caching tarball of preloaded images
I0809 10:42:55.901165 6319 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0809 10:42:55.905053 6319 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0809 10:42:55.905059 6319 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0809 10:42:55.981361 6319 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/16992-5902/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0809 10:43:01.315524 6319 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0809 10:43:01.315673 6319 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/16992-5902/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0809 10:43:01.958029 6319 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0809 10:43:01.958217 6319 profile.go:148] Saving config to /Users/jenkins/minikube-integration/16992-5902/.minikube/profiles/download-only-309000/config.json ...
I0809 10:43:01.958236 6319 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/16992-5902/.minikube/profiles/download-only-309000/config.json: {Name:mkdd9b977606b662c3d046cafb721e57ba0ad61a Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0809 10:43:01.959359 6319 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0809 10:43:01.959540 6319 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/16992-5902/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0809 10:43:02.332910 6319 out.go:169]
W0809 10:43:02.336899 6319 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/16992-5902/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x108810710 0x108810710 0x108810710 0x108810710 0x108810710 0x108810710 0x108810710] Decompressors:map[bz2:0x140004a3718 gz:0x140004a3770 tar:0x140004a3720 tar.bz2:0x140004a3730 tar.gz:0x140004a3740 tar.xz:0x140004a3750 tar.zst:0x140004a3760 tbz2:0x140004a3730 tgz:0x140004a3740 txz:0x140004a3750 tzst:0x140004a3760 xz:0x140004a3778 zip:0x140004a3780 zst:0x140004a3790] Getters:map[file:0x14000f225b0 http:0x14000f46190 https:0x14000f46230] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0809 10:43:02.336923 6319 out_reason.go:110]
W0809 10:43:02.344716 6319 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0809 10:43:02.348902 6319 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-309000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (14.18s)