=== 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-861000 --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-861000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (24.832161916s)
-- stdout --
{"specversion":"1.0","id":"c552a0eb-21d4-49a4-995a-e00477ecc8bb","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-861000] minikube v1.31.2 on Darwin 13.5.1 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"a9a55e8e-2755-486f-90b7-0fade65ea0a7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17086"}}
{"specversion":"1.0","id":"00b36e69-1dd9-41c7-b0f6-849c27b373e9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17086-1133/kubeconfig"}}
{"specversion":"1.0","id":"269e4712-809d-4330-8436-cd70037d1e44","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":"84f875eb-d012-4c0d-ae79-9d69a72286d6","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":"10fbeec0-452c-411a-884c-bc9eb005a970","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17086-1133/.minikube"}}
{"specversion":"1.0","id":"e6f24d50-440b-42af-90d0-7f2ffea94bcf","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":"d9a38961-4d8a-4076-8d57-f1d265366ba8","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":"0844a81c-65d6-4517-9f28-64b45aa53101","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":"87aeee39-aca4-4ae6-b858-a9175aa988d4","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":"ed8a5c6a-63fb-40bd-ad44-8a69748f2c66","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":"8cfb97c8-1cdb-4f0e-bc31-2af71f6b95fb","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-861000 in cluster download-only-861000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"79bb2c7c-3798-4fce-a0bb-fcb1ca86927a","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":"2cf81d7c-237b-4c31-b407-ddadddb534c3","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/17086-1133/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8] Decompressors:map[bz2:0x1400053dd40 gz:0x1400053dd48 tar:0x1400053dcf0 tar.bz2:0x1400053dd00 tar.gz:0x1400053dd10 tar.xz:0x1400053dd20 tar.zst:0x1400053dd30 tbz2:0x1400053dd00 tgz:0x140005
3dd10 txz:0x1400053dd20 tzst:0x1400053dd30 xz:0x1400053dd50 zip:0x1400053dd60 zst:0x1400053dd58] Getters:map[file:0x140010466a0 http:0x14001084140 https:0x14001084190] 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":"9f0806d5-1d81-42e3-a52d-079a45e3df0e","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 **
I0823 11:11:21.954622 1556 out.go:296] Setting OutFile to fd 1 ...
I0823 11:11:21.954763 1556 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0823 11:11:21.954767 1556 out.go:309] Setting ErrFile to fd 2...
I0823 11:11:21.954769 1556 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0823 11:11:21.954879 1556 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17086-1133/.minikube/bin
W0823 11:11:21.954939 1556 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17086-1133/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17086-1133/.minikube/config/config.json: no such file or directory
I0823 11:11:21.956120 1556 out.go:303] Setting JSON to true
I0823 11:11:21.972641 1556 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-2.local","uptime":654,"bootTime":1692813627,"procs":416,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5.1","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"6baf25a2-d406-53a7-bb3a-d7da7f56bb59"}
W0823 11:11:21.972697 1556 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0823 11:11:21.978077 1556 out.go:97] [download-only-861000] minikube v1.31.2 on Darwin 13.5.1 (arm64)
I0823 11:11:21.981087 1556 out.go:169] MINIKUBE_LOCATION=17086
I0823 11:11:21.978236 1556 notify.go:220] Checking for updates...
W0823 11:11:21.978268 1556 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17086-1133/.minikube/cache/preloaded-tarball: no such file or directory
I0823 11:11:21.988000 1556 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17086-1133/kubeconfig
I0823 11:11:21.991097 1556 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0823 11:11:21.994075 1556 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0823 11:11:21.997043 1556 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17086-1133/.minikube
W0823 11:11:22.003026 1556 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0823 11:11:22.003219 1556 driver.go:373] Setting default libvirt URI to qemu:///system
I0823 11:11:22.008076 1556 out.go:97] Using the qemu2 driver based on user configuration
I0823 11:11:22.008097 1556 start.go:298] selected driver: qemu2
I0823 11:11:22.008101 1556 start.go:902] validating driver "qemu2" against <nil>
I0823 11:11:22.008160 1556 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0823 11:11:22.011037 1556 out.go:169] Automatically selected the socket_vmnet network
I0823 11:11:22.014809 1556 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0823 11:11:22.014880 1556 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0823 11:11:22.014936 1556 cni.go:84] Creating CNI manager for ""
I0823 11:11:22.014953 1556 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0823 11:11:22.014958 1556 start_flags.go:319] config:
{Name:download-only-861000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1692613578-17086@sha256:95d17727509667642a071be45fb75a65d8a399e35185dd68dcf504256dec81ac 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-861000 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}
I0823 11:11:22.020621 1556 iso.go:125] acquiring lock: {Name:mka776653e1638e5290a780703ca95dff1deb1ce Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0823 11:11:22.024167 1556 out.go:97] Downloading VM boot image ...
I0823 11:11:22.024198 1556 download.go:107] Downloading: https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17086-1133/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso
E0823 11:11:22.440748 1556 iso.go:90] Unable to download https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-arm64.iso: getter: &{Ctx:context.Background Src:https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-arm64.iso?checksum=file:https://storage.googleapis.com/minikube-builds/iso/16971/minikube-v1.31.0-arm64.iso.sha256 Dst:/Users/jenkins/minikube-integration/17086-1133/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso.download Pwd: Mode:2 Umask:---------- Detectors:[0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8] Decompressors:map[bz2:0x1400053dd40 gz:0x1400053dd48 tar:0x1400053dcf0 tar.bz2:0x1400053dd00 tar.gz:0x1400053dd10 tar.xz:0x1400053dd20 tar.zst:0x1400053dd30 tbz2:0x1400053dd00 tgz:0x1400053dd10 txz:0x1400053dd20 tzst:0x1400053dd30 xz:0x1400053dd50 zip:0x1400053dd60 zst:0x1400053dd58] Getters:map[file:0x14000fe1480 http:0x14000da9b80 https:0x14000da9bd0] Dir:false ProgressListener:<nil> Insecure:false Di
sableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
I0823 11:11:22.440917 1556 iso.go:125] acquiring lock: {Name:mka776653e1638e5290a780703ca95dff1deb1ce Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0823 11:11:22.446466 1556 out.go:97] Downloading VM boot image ...
I0823 11:11:22.446715 1556 download.go:107] Downloading: https://github.com/kubernetes/minikube/releases/download/v1.31.0/minikube-v1.31.0-arm64.iso?checksum=file:https://github.com/kubernetes/minikube/releases/download/v1.31.0/minikube-v1.31.0-arm64.iso.sha256 -> /Users/jenkins/minikube-integration/17086-1133/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso
I0823 11:11:30.978336 1556 out.go:97] Starting control plane node download-only-861000 in cluster download-only-861000
I0823 11:11:30.978364 1556 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0823 11:11:31.073961 1556 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
I0823 11:11:31.074044 1556 cache.go:57] Caching tarball of preloaded images
I0823 11:11:31.074248 1556 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0823 11:11:31.079365 1556 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0823 11:11:31.079374 1556 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0823 11:11:31.294710 1556 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/17086-1133/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0823 11:11:45.710738 1556 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0823 11:11:45.710887 1556 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17086-1133/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0823 11:11:46.353227 1556 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0823 11:11:46.353431 1556 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17086-1133/.minikube/profiles/download-only-861000/config.json ...
I0823 11:11:46.353453 1556 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17086-1133/.minikube/profiles/download-only-861000/config.json: {Name:mka0c26ae17d68b5ee8df37dd23c2ce5da5a439c Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0823 11:11:46.353679 1556 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0823 11:11:46.353906 1556 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/17086-1133/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0823 11:11:46.715567 1556 out.go:169]
W0823 11:11:46.719511 1556 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/17086-1133/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8 0x106a6c5b8] Decompressors:map[bz2:0x1400053dd40 gz:0x1400053dd48 tar:0x1400053dcf0 tar.bz2:0x1400053dd00 tar.gz:0x1400053dd10 tar.xz:0x1400053dd20 tar.zst:0x1400053dd30 tbz2:0x1400053dd00 tgz:0x1400053dd10 txz:0x1400053dd20 tzst:0x1400053dd30 xz:0x1400053dd50 zip:0x1400053dd60 zst:0x1400053dd58] Getters:map[file:0x140010466a0 http:0x14001084140 https:0x14001084190] Dir:false ProgressListener
:<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0823 11:11:46.719546 1556 out_reason.go:110]
W0823 11:11:46.726507 1556 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0823 11:11:46.731514 1556 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-861000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (24.83s)