=== RUN TestCertOptions
=== PAUSE TestCertOptions
=== CONT TestCertOptions
cert_options_test.go:49: (dbg) Run: out/minikube-darwin-amd64 start -p cert-options-212746 --memory=2048 --apiserver-ips=127.0.0.1 --apiserver-ips=192.168.15.15 --apiserver-names=localhost --apiserver-names=www.google.com --apiserver-port=8555 --driver=docker --apiserver-name=localhost
cert_options_test.go:49: (dbg) Non-zero exit: out/minikube-darwin-amd64 start -p cert-options-212746 --memory=2048 --apiserver-ips=127.0.0.1 --apiserver-ips=192.168.15.15 --apiserver-names=localhost --apiserver-names=www.google.com --apiserver-port=8555 --driver=docker --apiserver-name=localhost: exit status 80 (39.19992241s)
-- stdout --
* [cert-options-212746] minikube v1.27.1 on Darwin 12.6
- MINIKUBE_LOCATION=14956
- KUBECONFIG=/Users/jenkins/minikube-integration/14956-2080/kubeconfig
- MINIKUBE_BIN=out/minikube-darwin-amd64
- MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
- MINIKUBE_HOME=/Users/jenkins/minikube-integration/14956-2080/.minikube
* Using the docker driver based on user configuration
* Using Docker Desktop driver with root privileges
* Starting control plane node cert-options-212746 in cluster cert-options-212746
* Pulling base image ...
* Creating docker container (CPUs=2, Memory=2048MB) ...
* docker "cert-options-212746" container is missing, will recreate.
* Creating docker container (CPUs=2, Memory=2048MB) ...
-- /stdout --
** stderr **
! StartHost failed, but will try again: creating host: create: creating: setting up container node: preparing volume for cert-options-212746 container: docker run --rm --name cert-options-212746-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=cert-options-212746 --entrypoint /usr/bin/test -v cert-options-212746:/var gcr.io/k8s-minikube/kicbase-builds:v0.0.35-1665430468-15094@sha256:2c137487f3327e6653ff519ec7fd599d25c0275ae67f44e4a71485aabe1e7191 -d /var/lib: exit status 125
stdout:
stderr:
docker: Error response from daemon: connection error: desc = "transport: Error while dialing dial unix /var/run/desktop-containerd/containerd.sock: connect: connection refused": unavailable.
* Failed to start docker container. Running "minikube delete -p cert-options-212746" may fix it: recreate: creating host: create: creating: setting up container node: preparing volume for cert-options-212746 container: docker run --rm --name cert-options-212746-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=cert-options-212746 --entrypoint /usr/bin/test -v cert-options-212746:/var gcr.io/k8s-minikube/kicbase-builds:v0.0.35-1665430468-15094@sha256:2c137487f3327e6653ff519ec7fd599d25c0275ae67f44e4a71485aabe1e7191 -d /var/lib: exit status 125
stdout:
stderr:
docker: Error response from daemon: connection error: desc = "transport: Error while dialing dial unix /var/run/desktop-containerd/containerd.sock: connect: connection refused": unavailable.
X Exiting due to GUEST_PROVISION: Failed to start host: recreate: creating host: create: creating: setting up container node: preparing volume for cert-options-212746 container: docker run --rm --name cert-options-212746-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=cert-options-212746 --entrypoint /usr/bin/test -v cert-options-212746:/var gcr.io/k8s-minikube/kicbase-builds:v0.0.35-1665430468-15094@sha256:2c137487f3327e6653ff519ec7fd599d25c0275ae67f44e4a71485aabe1e7191 -d /var/lib: exit status 125
stdout:
stderr:
docker: Error response from daemon: connection error: desc = "transport: Error while dialing dial unix /var/run/desktop-containerd/containerd.sock: connect: connection refused": unavailable.
*
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * 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. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
** /stderr **
cert_options_test.go:51: failed to start minikube with args: "out/minikube-darwin-amd64 start -p cert-options-212746 --memory=2048 --apiserver-ips=127.0.0.1 --apiserver-ips=192.168.15.15 --apiserver-names=localhost --apiserver-names=www.google.com --apiserver-port=8555 --driver=docker --apiserver-name=localhost" : exit status 80
cert_options_test.go:60: (dbg) Run: out/minikube-darwin-amd64 -p cert-options-212746 ssh "openssl x509 -text -noout -in /var/lib/minikube/certs/apiserver.crt"
cert_options_test.go:60: (dbg) Non-zero exit: out/minikube-darwin-amd64 -p cert-options-212746 ssh "openssl x509 -text -noout -in /var/lib/minikube/certs/apiserver.crt": exit status 80 (204.323507ms)
-- stdout --
-- /stdout --
** stderr **
X Exiting due to GUEST_STATUS: state: unknown state "cert-options-212746": docker container inspect cert-options-212746 --format=: exit status 1
stdout:
stderr:
Error: No such container: cert-options-212746
*
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * 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. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /var/folders/xd/3vdzn10d2gb_wxr7lj_p8h5c0000gp/T/minikube_ssh_c1f8366d59c5f8f6460a712ebd6036fcc73bcb99_0.log │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
** /stderr **
cert_options_test.go:62: failed to read apiserver cert inside minikube. args "out/minikube-darwin-amd64 -p cert-options-212746 ssh \"openssl x509 -text -noout -in /var/lib/minikube/certs/apiserver.crt\"": exit status 80
cert_options_test.go:69: apiserver cert does not include 127.0.0.1 in SAN.
cert_options_test.go:69: apiserver cert does not include 192.168.15.15 in SAN.
cert_options_test.go:69: apiserver cert does not include localhost in SAN.
cert_options_test.go:69: apiserver cert does not include www.google.com in SAN.
cert_options_test.go:82: failed to inspect container for the port get port 8555 for "cert-options-212746": docker container inspect -f "'{{(index (index .NetworkSettings.Ports "8555/tcp") 0).HostPort}}'" cert-options-212746: exit status 1
stdout:
stderr:
Error: No such container: cert-options-212746
cert_options_test.go:85: expected to get a non-zero forwarded port but got 0
cert_options_test.go:100: (dbg) Run: out/minikube-darwin-amd64 ssh -p cert-options-212746 -- "sudo cat /etc/kubernetes/admin.conf"
cert_options_test.go:100: (dbg) Non-zero exit: out/minikube-darwin-amd64 ssh -p cert-options-212746 -- "sudo cat /etc/kubernetes/admin.conf": exit status 80 (205.531348ms)
-- stdout --
-- /stdout --
** stderr **
X Exiting due to GUEST_STATUS: state: unknown state "cert-options-212746": docker container inspect cert-options-212746 --format=: exit status 1
stdout:
stderr:
Error: No such container: cert-options-212746
*
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * 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. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /var/folders/xd/3vdzn10d2gb_wxr7lj_p8h5c0000gp/T/minikube_ssh_e59a677a82728474bde049b1a4510f5e357f9593_0.log │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
** /stderr **
cert_options_test.go:102: failed to SSH to minikube with args: "out/minikube-darwin-amd64 ssh -p cert-options-212746 -- \"sudo cat /etc/kubernetes/admin.conf\"" : exit status 80
cert_options_test.go:106: Internal minikube kubeconfig (admin.conf) does not contains the right api port.
-- stdout --
-- /stdout --
** stderr **
X Exiting due to GUEST_STATUS: state: unknown state "cert-options-212746": docker container inspect cert-options-212746 --format=: exit status 1
stdout:
stderr:
Error: No such container: cert-options-212746
*
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * 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. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /var/folders/xd/3vdzn10d2gb_wxr7lj_p8h5c0000gp/T/minikube_ssh_e59a677a82728474bde049b1a4510f5e357f9593_0.log │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
** /stderr **
cert_options_test.go:109: *** TestCertOptions FAILED at 2022-10-25 21:28:26.299356 -0700 PDT m=+4263.916601943
helpers_test.go:222: -----------------------post-mortem--------------------------------
helpers_test.go:230: ======> post-mortem[TestCertOptions]: docker inspect <======
helpers_test.go:231: (dbg) Run: docker inspect cert-options-212746
helpers_test.go:235: (dbg) docker inspect cert-options-212746:
-- stdout --
[
{
"Name": "cert-options-212746",
"Id": "215f00c91947ad128962415af3c656bea4ecb944c8fb1f17baf5dabc41fc3c42",
"Created": "2022-10-26T04:28:17.203994476Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "192.168.76.0/24",
"Gateway": "192.168.76.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {
"--icc": "",
"--ip-masq": "",
"com.docker.network.driver.mtu": "1500"
},
"Labels": {
"created_by.minikube.sigs.k8s.io": "true",
"name.minikube.sigs.k8s.io": "cert-options-212746"
}
}
]
-- /stdout --
helpers_test.go:239: (dbg) Run: out/minikube-darwin-amd64 status --format={{.Host}} -p cert-options-212746 -n cert-options-212746
helpers_test.go:239: (dbg) Non-zero exit: out/minikube-darwin-amd64 status --format={{.Host}} -p cert-options-212746 -n cert-options-212746: exit status 7 (113.060027ms)
-- stdout --
Nonexistent
-- /stdout --
** stderr **
E1025 21:28:26.476250 17334 status.go:249] status error: host: state: unknown state "cert-options-212746": docker container inspect cert-options-212746 --format={{.State.Status}}: exit status 1
stdout:
stderr:
Error: No such container: cert-options-212746
** /stderr **
helpers_test.go:239: status error: exit status 7 (may be ok)
helpers_test.go:241: "cert-options-212746" host is not running, skipping log retrieval (state="Nonexistent")
helpers_test.go:175: Cleaning up "cert-options-212746" profile ...
helpers_test.go:178: (dbg) Run: out/minikube-darwin-amd64 delete -p cert-options-212746
--- FAIL: TestCertOptions (40.68s)