=== 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-670000 --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-670000 --force --alsologtostderr --kubernetes-version=v1.16.0 --container-runtime=docker --driver=qemu2 : exit status 40 (13.887252167s)
-- stdout --
{"specversion":"1.0","id":"a7ba67a4-b7db-400a-9889-345c683335db","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-670000] minikube v1.31.2 on Darwin 13.5 (arm64)","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"3e37504b-3e14-4b13-89b3-fe39eee18107","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17102"}}
{"specversion":"1.0","id":"40b05212-5640-4b80-80b8-0c69efd14d88","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17102-920/kubeconfig"}}
{"specversion":"1.0","id":"a8ab8bee-493d-4b18-a208-c537a325c958","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":"d658de32-0d2b-4295-8784-93234a90e69c","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":"a5a48abf-0956-42dc-8acd-93fb950583e9","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17102-920/.minikube"}}
{"specversion":"1.0","id":"ca187989-3d91-4aa1-b091-7731e76b14de","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":"a6fdc6f3-30b6-4bf5-97f0-308a783bb845","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":"bcbd53ce-5cb8-4365-bca8-5d52c239ab53","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":"a83e3910-dacd-402b-81d7-290ec8459973","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":"6d5e06e6-44b4-4333-be04-b25cd9a7ef5b","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":"1f80c210-bb6f-41af-a60d-6ac411c868f1","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-670000 in cluster download-only-670000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"d8c3d2d8-1920-4626-aebc-acf57e976207","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":"f20ea5f5-0bc3-4bed-a0e1-9a7c47126209","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/17102-920/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8] Decompressors:map[bz2:0x1400058de18 gz:0x1400058de70 tar:0x1400058de20 tar.bz2:0x1400058de30 tar.gz:0x1400058de40 tar.xz:0x1400058de50 tar.zst:0x1400058de60 tbz2:0x1400058de30 tgz:0x1400058
de40 txz:0x1400058de50 tzst:0x1400058de60 xz:0x1400058de78 zip:0x1400058de80 zst:0x1400058de90] Getters:map[file:0x14000f4c600 http:0x14000144460 https:0x14000144500] 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":"b98e228a-c3da-4e68-8c58-43fb3916da57","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 **
I0821 03:33:15.084599 1364 out.go:296] Setting OutFile to fd 1 ...
I0821 03:33:15.084734 1364 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0821 03:33:15.084737 1364 out.go:309] Setting ErrFile to fd 2...
I0821 03:33:15.084739 1364 out.go:343] TERM=,COLORTERM=, which probably does not support color
I0821 03:33:15.084854 1364 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17102-920/.minikube/bin
W0821 03:33:15.084911 1364 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17102-920/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17102-920/.minikube/config/config.json: no such file or directory
I0821 03:33:15.085985 1364 out.go:303] Setting JSON to true
I0821 03:33:15.102645 1364 start.go:128] hostinfo: {"hostname":"MacOS-M1-Agent-1.local","uptime":169,"bootTime":1692613826,"procs":399,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.5","kernelVersion":"22.6.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"5b726c3a-f72c-561b-b03e-814251f12bfa"}
W0821 03:33:15.102723 1364 start.go:136] gopshost.Virtualization returned error: not implemented yet
I0821 03:33:15.109779 1364 out.go:97] [download-only-670000] minikube v1.31.2 on Darwin 13.5 (arm64)
I0821 03:33:15.113932 1364 out.go:169] MINIKUBE_LOCATION=17102
W0821 03:33:15.109940 1364 preload.go:295] Failed to list preload files: open /Users/jenkins/minikube-integration/17102-920/.minikube/cache/preloaded-tarball: no such file or directory
I0821 03:33:15.109949 1364 notify.go:220] Checking for updates...
I0821 03:33:15.122864 1364 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17102-920/kubeconfig
I0821 03:33:15.126942 1364 out.go:169] MINIKUBE_BIN=out/minikube-darwin-arm64
I0821 03:33:15.128266 1364 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0821 03:33:15.130953 1364 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17102-920/.minikube
W0821 03:33:15.136890 1364 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I0821 03:33:15.137064 1364 driver.go:373] Setting default libvirt URI to qemu:///system
I0821 03:33:15.141874 1364 out.go:97] Using the qemu2 driver based on user configuration
I0821 03:33:15.141883 1364 start.go:298] selected driver: qemu2
I0821 03:33:15.141885 1364 start.go:902] validating driver "qemu2" against <nil>
I0821 03:33:15.141949 1364 start_flags.go:305] no existing cluster config was found, will generate one from the flags
I0821 03:33:15.145922 1364 out.go:169] Automatically selected the socket_vmnet network
I0821 03:33:15.152485 1364 start_flags.go:382] Using suggested 4000MB memory alloc based on sys=16384MB, container=0MB
I0821 03:33:15.152630 1364 start_flags.go:901] Wait components to verify : map[apiserver:true system_pods:true]
I0821 03:33:15.152687 1364 cni.go:84] Creating CNI manager for ""
I0821 03:33:15.152703 1364 cni.go:162] CNI unnecessary in this configuration, recommending no CNI
I0821 03:33:15.152709 1364 start_flags.go:319] config:
{Name:download-only-670000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.40@sha256:8cadf23777709e43eca447c47a45f5a4635615129267ce025193040ec92a1631 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-670000 Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: N
etworkPlugin: 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}
I0821 03:33:15.158251 1364 iso.go:125] acquiring lock: {Name:mk813ea611542195bb0511881888be3fabc72ff6 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0821 03:33:15.161924 1364 out.go:97] Downloading VM boot image ...
I0821 03:33:15.161950 1364 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/17102-920/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso
E0821 03:33:15.323126 1364 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/17102-920/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso.download Pwd: Mode:2 Umask:---------- Detectors:[0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8] Decompressors:map[bz2:0x1400058de18 gz:0x1400058de70 tar:0x1400058de20 tar.bz2:0x1400058de30 tar.gz:0x1400058de40 tar.xz:0x1400058de50 tar.zst:0x1400058de60 tbz2:0x1400058de30 tgz:0x1400058de40 txz:0x1400058de50 tzst:0x1400058de60 xz:0x1400058de78 zip:0x1400058de80 zst:0x1400058de90] Getters:map[file:0x14000ff1c30 http:0x14000dcd8b0 https:0x14000dcd900] Dir:false ProgressListener:<nil> Insecure:false Dis
ableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
I0821 03:33:15.323189 1364 iso.go:125] acquiring lock: {Name:mk813ea611542195bb0511881888be3fabc72ff6 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0821 03:33:15.328691 1364 out.go:97] Downloading VM boot image ...
I0821 03:33:15.328780 1364 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/17102-920/.minikube/cache/iso/arm64/minikube-v1.31.0-arm64.iso
I0821 03:33:22.835102 1364 out.go:97] Starting control plane node download-only-670000 in cluster download-only-670000
I0821 03:33:22.835130 1364 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0821 03:33:22.892327 1364 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
I0821 03:33:22.892399 1364 cache.go:57] Caching tarball of preloaded images
I0821 03:33:22.892582 1364 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0821 03:33:22.897647 1364 out.go:97] Downloading Kubernetes v1.16.0 preload ...
I0821 03:33:22.897654 1364 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0821 03:33:22.975485 1364 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/17102-920/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4
I0821 03:33:27.948828 1364 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0821 03:33:27.948974 1364 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17102-920/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.16.0-docker-overlay2-arm64.tar.lz4 ...
I0821 03:33:28.589788 1364 cache.go:60] Finished verifying existence of preloaded tar for v1.16.0 on docker
I0821 03:33:28.589982 1364 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17102-920/.minikube/profiles/download-only-670000/config.json ...
I0821 03:33:28.590000 1364 lock.go:35] WriteFile acquiring /Users/jenkins/minikube-integration/17102-920/.minikube/profiles/download-only-670000/config.json: {Name:mk3f18ac86e426c28be79e36d4316c065cb7c923 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0821 03:33:28.590247 1364 preload.go:132] Checking if preload exists for k8s version v1.16.0 and runtime docker
I0821 03:33:28.590424 1364 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/17102-920/.minikube/cache/darwin/arm64/v1.16.0/kubectl
I0821 03:33:28.905100 1364 out.go:169]
W0821 03:33:28.909303 1364 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/17102-920/.minikube/cache/darwin/arm64/v1.16.0/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8 0x1046845b8] Decompressors:map[bz2:0x1400058de18 gz:0x1400058de70 tar:0x1400058de20 tar.bz2:0x1400058de30 tar.gz:0x1400058de40 tar.xz:0x1400058de50 tar.zst:0x1400058de60 tbz2:0x1400058de30 tgz:0x1400058de40 txz:0x1400058de50 tzst:0x1400058de60 xz:0x1400058de78 zip:0x1400058de80 zst:0x1400058de90] Getters:map[file:0x14000f4c600 http:0x14000144460 https:0x14000144500] Dir:false ProgressListener:
<nil> Insecure:false DisableSymlinks:false Options:[]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0821 03:33:28.909332 1364 out_reason.go:110]
W0821 03:33:28.916086 1364 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0821 03:33:28.919157 1364 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-670000" "--force" "--alsologtostderr" "--kubernetes-version=v1.16.0" "--container-runtime=docker" "--driver=qemu2" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.16.0/json-events (13.89s)