=== RUN TestDownloadOnly/v1.28.3/json-events
aaa_download_only_test.go:69: (dbg) Run: out/minikube-darwin-amd64 start -o=json --download-only -p download-only-975000 --force --alsologtostderr --kubernetes-version=v1.28.3 --container-runtime=docker --driver=hyperkit
aaa_download_only_test.go:69: (dbg) Non-zero exit: out/minikube-darwin-amd64 start -o=json --download-only -p download-only-975000 --force --alsologtostderr --kubernetes-version=v1.28.3 --container-runtime=docker --driver=hyperkit : exit status 40 (6.851922956s)
-- stdout --
{"specversion":"1.0","id":"b97c9cf3-42b1-475c-942d-5d5e0ea67a74","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"0","message":"[download-only-975000] minikube v1.31.2 on Darwin 14.0","name":"Initial Minikube Setup","totalsteps":"19"}}
{"specversion":"1.0","id":"ff0ad478-d6dc-4de7-97cf-8085e87c3238","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_LOCATION=17466"}}
{"specversion":"1.0","id":"86aa025f-96bb-4b77-aec6-e61c9e5675e7","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"KUBECONFIG=/Users/jenkins/minikube-integration/17466-55672/kubeconfig"}}
{"specversion":"1.0","id":"651df690-c4cd-488e-b3f7-d42856108641","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_BIN=out/minikube-darwin-amd64"}}
{"specversion":"1.0","id":"d4845617-6ed2-41bc-8365-e30293cb190b","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":"5d1507f8-ee66-41dc-b8dc-0497f8df8aca","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.info","datacontenttype":"application/json","data":{"message":"MINIKUBE_HOME=/Users/jenkins/minikube-integration/17466-55672/.minikube"}}
{"specversion":"1.0","id":"2f83aed4-4f90-411f-8b57-7777da871688","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":"f4c02ad4-4f12-456e-a8b1-0581c9359025","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"1","message":"Using the hyperkit driver based on existing profile","name":"Selecting Driver","totalsteps":"19"}}
{"specversion":"1.0","id":"9d1ce8a8-7409-4558-8de7-20a9b9a0a3a0","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-975000 in cluster download-only-975000","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"613a8e89-1c0d-40f4-9907-fb867ffcc4f8","source":"https://minikube.sigs.k8s.io/","type":"io.k8s.sigs.minikube.step","datacontenttype":"application/json","data":{"currentstep":"3","message":"Downloading Kubernetes v1.28.3 preload ...","name":"Starting Node","totalsteps":"19"}}
{"specversion":"1.0","id":"620cd81f-39ff-4257-81b6-f652f229aae9","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.28.3/bin/darwin/amd64/kubectl?checksum=file:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl.sha256: getter: \u0026{Ctx:context.Background Src:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl?checksum=file:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl.sha256 Dst:/Users/jenkins/minikube-integration/17466-55672/.minikube/cache/darwin/amd64/v1.28.3/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x51d5520 0x51d5520 0x51d5520 0x51d5520 0x51d5520 0x51d5520 0x51d5520] Decompressors:map[bz2:0xc000012a20 gz:0xc000012a28 tar:0xc000012940 tar.bz2:0xc000012950 tar.gz:0xc0000129f0 tar.xz:0xc000012a00 tar.zst:0xc000012a10 tbz2:0xc000012950 tgz:0xc0000129f0 txz:0xc00001
2a00 tzst:0xc000012a10 xz:0xc000012a30 zip:0xc000012a40 zst:0xc000012a38] Getters:map[file:0xc0021562c0 http:0xc000a78280 https:0xc000a782d0] Dir:false ProgressListener:\u003cnil\u003e Insecure:false DisableSymlinks:false Options:[]}: bad response code: 404","name":"INET_CACHE_KUBECTL","url":""}}
{"specversion":"1.0","id":"411d56e6-c821-464e-b49c-29a7e814dd5f","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 16:29:39.587029 56134 out.go:296] Setting OutFile to fd 1 ...
I1025 16:29:39.587271 56134 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1025 16:29:39.587276 56134 out.go:309] Setting ErrFile to fd 2...
I1025 16:29:39.587280 56134 out.go:343] TERM=,COLORTERM=, which probably does not support color
I1025 16:29:39.587488 56134 root.go:338] Updating PATH: /Users/jenkins/minikube-integration/17466-55672/.minikube/bin
W1025 16:29:39.587615 56134 root.go:314] Error reading config file at /Users/jenkins/minikube-integration/17466-55672/.minikube/config/config.json: open /Users/jenkins/minikube-integration/17466-55672/.minikube/config/config.json: no such file or directory
I1025 16:29:39.589002 56134 out.go:303] Setting JSON to true
I1025 16:29:39.610949 56134 start.go:128] hostinfo: {"hostname":"MacOS-Agent-3.local","uptime":26947,"bootTime":1698249632,"procs":506,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"14.0","kernelVersion":"23.0.0","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"bd1c05a8-24a6-5973-aa69-f3c7c66a87ce"}
W1025 16:29:39.611050 56134 start.go:136] gopshost.Virtualization returned error: not implemented yet
I1025 16:29:39.632693 56134 out.go:97] [download-only-975000] minikube v1.31.2 on Darwin 14.0
I1025 16:29:39.654244 56134 out.go:169] MINIKUBE_LOCATION=17466
I1025 16:29:39.632940 56134 notify.go:220] Checking for updates...
I1025 16:29:39.697350 56134 out.go:169] KUBECONFIG=/Users/jenkins/minikube-integration/17466-55672/kubeconfig
I1025 16:29:39.719480 56134 out.go:169] MINIKUBE_BIN=out/minikube-darwin-amd64
I1025 16:29:39.741379 56134 out.go:169] MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I1025 16:29:39.763575 56134 out.go:169] MINIKUBE_HOME=/Users/jenkins/minikube-integration/17466-55672/.minikube
W1025 16:29:39.807337 56134 out.go:272] minikube skips various validations when --force is supplied; this may lead to unexpected behavior
I1025 16:29:39.808103 56134 config.go:182] Loaded profile config "download-only-975000": Driver=hyperkit, ContainerRuntime=docker, KubernetesVersion=v1.16.0
W1025 16:29:39.808185 56134 start.go:810] api.Load failed for download-only-975000: filestore "download-only-975000": Docker machine "download-only-975000" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I1025 16:29:39.808332 56134 driver.go:378] Setting default libvirt URI to qemu:///system
W1025 16:29:39.808378 56134 start.go:810] api.Load failed for download-only-975000: filestore "download-only-975000": Docker machine "download-only-975000" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I1025 16:29:39.838530 56134 out.go:97] Using the hyperkit driver based on existing profile
I1025 16:29:39.838577 56134 start.go:298] selected driver: hyperkit
I1025 16:29:39.838584 56134 start.go:902] validating driver "hyperkit" against &{Name:download-only-975000 KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube-builds/iso/17466/minikube-v1.31.0-1698078840-17466-amd64.iso KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1698167243-17466@sha256:f04bb1e95b5a702433566a898347a4080ba07cc20b8acb2c6db1991bf95a432b Memory:6000 CPUs:2 DiskSize:20000 VMDriver: Driver:hyperkit 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 Kuber
netesConfig:{KubernetesVersion:v1.16.0 ClusterName:download-only-975000 Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime: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:[{Name: IP: Port:8443 KubernetesVersion:v1.16.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: 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 BinaryMirro
r: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:}
I1025 16:29:39.838941 56134 install.go:52] acquiring lock: {Name:mk4023283b30b374c3f04c8805d539e68824c0b8 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1025 16:29:39.839127 56134 install.go:117] Validating docker-machine-driver-hyperkit, PATH=/Users/jenkins/minikube-integration/17466-55672/.minikube/bin:/Users/jenkins/workspace/out/:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jenkins/google-cloud-sdk/bin:/usr/local/bin/:/usr/local/go/bin/:/Users/jenkins/go/bin
I1025 16:29:39.848330 56134 install.go:137] /Users/jenkins/workspace/out/docker-machine-driver-hyperkit version is 1.31.2
I1025 16:29:39.852620 56134 install.go:79] stdout: /Users/jenkins/workspace/out/docker-machine-driver-hyperkit
I1025 16:29:39.852639 56134 install.go:81] /Users/jenkins/workspace/out/docker-machine-driver-hyperkit looks good
I1025 16:29:39.855389 56134 cni.go:84] Creating CNI manager for ""
I1025 16:29:39.855409 56134 cni.go:158] "hyperkit" driver + "docker" container runtime found on kubernetes v1.24+, recommending bridge
I1025 16:29:39.855422 56134 start_flags.go:323] config:
{Name:download-only-975000 KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube-builds/iso/17466/minikube-v1.31.0-1698078840-17466-amd64.iso KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.40-1698167243-17466@sha256:f04bb1e95b5a702433566a898347a4080ba07cc20b8acb2c6db1991bf95a432b Memory:6000 CPUs:2 DiskSize:20000 VMDriver: Driver:hyperkit 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.28.3 ClusterName:download-only-975000 Namespace:
default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime: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:[{Name: IP: Port:8443 KubernetesVersion:v1.16.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: 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: SocketV
MnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:}
I1025 16:29:39.855651 56134 iso.go:125] acquiring lock: {Name:mkca6572263942b4b3a4d0a14fbf923fdd27802d Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1025 16:29:39.877543 56134 out.go:97] Starting control plane node download-only-975000 in cluster download-only-975000
I1025 16:29:39.877575 56134 preload.go:132] Checking if preload exists for k8s version v1.28.3 and runtime docker
I1025 16:29:39.951926 56134 preload.go:119] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.28.3/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4
I1025 16:29:39.951959 56134 cache.go:56] Caching tarball of preloaded images
I1025 16:29:39.953038 56134 preload.go:132] Checking if preload exists for k8s version v1.28.3 and runtime docker
I1025 16:29:39.974831 56134 out.go:97] Downloading Kubernetes v1.28.3 preload ...
I1025 16:29:39.974876 56134 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4 ...
I1025 16:29:40.050923 56134 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.28.3/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4?checksum=md5:82104bbf889ff8b69d5c141ce86c05ac -> /Users/jenkins/minikube-integration/17466-55672/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4
I1025 16:29:45.174621 56134 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4 ...
I1025 16:29:45.174816 56134 preload.go:256] verifying checksum of /Users/jenkins/minikube-integration/17466-55672/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4 ...
I1025 16:29:45.806070 56134 cache.go:59] Finished verifying existence of preloaded tar for v1.28.3 on docker
I1025 16:29:45.806155 56134 profile.go:148] Saving config to /Users/jenkins/minikube-integration/17466-55672/.minikube/profiles/download-only-975000/config.json ...
I1025 16:29:45.806503 56134 preload.go:132] Checking if preload exists for k8s version v1.28.3 and runtime docker
I1025 16:29:45.806734 56134 download.go:107] Downloading: https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl?checksum=file:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl.sha256 -> /Users/jenkins/minikube-integration/17466-55672/.minikube/cache/darwin/amd64/v1.28.3/kubectl
I1025 16:29:46.276470 56134 out.go:169]
W1025 16:29:46.298620 56134 out_reason.go:110] Failed to cache kubectl: download failed: https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl?checksum=file:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl.sha256: getter: &{Ctx:context.Background Src:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl?checksum=file:https://dl.k8s.io/release/v1.28.3/bin/darwin/amd64/kubectl.sha256 Dst:/Users/jenkins/minikube-integration/17466-55672/.minikube/cache/darwin/amd64/v1.28.3/kubectl.download Pwd: Mode:2 Umask:---------- Detectors:[0x51d5520 0x51d5520 0x51d5520 0x51d5520 0x51d5520 0x51d5520 0x51d5520] Decompressors:map[bz2:0xc000012a20 gz:0xc000012a28 tar:0xc000012940 tar.bz2:0xc000012950 tar.gz:0xc0000129f0 tar.xz:0xc000012a00 tar.zst:0xc000012a10 tbz2:0xc000012950 tgz:0xc0000129f0 txz:0xc000012a00 tzst:0xc000012a10 xz:0xc000012a30 zip:0xc000012a40 zst:0xc000012a38] Getters:map[file:0xc0021562c0 http:0xc000a78280 https:0xc000a782d0] Dir:false ProgressListener:<nil> Insecure:false Disa
bleSymlinks:false Options:[]}: bad response code: 404
W1025 16:29:46.298644 56134 out_reason.go:110]
W1025 16:29:46.324516 56134 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 16:29:46.346416 56134 out.go:169]
** /stderr **
aaa_download_only_test.go:71: failed to download only. args: ["start" "-o=json" "--download-only" "-p" "download-only-975000" "--force" "--alsologtostderr" "--kubernetes-version=v1.28.3" "--container-runtime=docker" "--driver=hyperkit" ""] exit status 40
--- FAIL: TestDownloadOnly/v1.28.3/json-events (6.85s)