Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker driver: recover if IP is in USe #9605

Closed
medyagh opened this issue Nov 5, 2020 · 5 comments
Closed

docker driver: recover if IP is in USe #9605

medyagh opened this issue Nov 5, 2020 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@medyagh
Copy link
Member

medyagh commented Nov 5, 2020

example https://github.com/kubernetes/minikube/runs/1322617572?check_suite_focus=true

=== RUN   TestFunctional/serial/StartWithProxy
functional_test.go:229: (dbg) Run:  ./minikube-windows-amd64.exe start -p functional-20201028185021-11008 --memory=4000 --apiserver-port=8441 --wait=true --driver=docker
functional_test.go:229: (dbg) Non-zero exit: ./minikube-windows-amd64.exe start -p functional-20201028185021-11008 --memory=4000 --apiserver-port=8441 --wait=true --driver=docker: exit status 80 (15.9548008s)
-- stdout --
	* [functional-20201028185021-11008] minikube v1.14.2 on Microsoft Windows 10 Enterprise N 10.0.18363 Build 18363
	  - KUBECONFIG=C:\Users\jenkins\actions-runner\_work\minikube\minikube\minikube_binaries\testhome\kubeconfig
	  - MINIKUBE_HOME=C:\Users\jenkins\actions-runner\_work\minikube\minikube\minikube_binaries\testhome
	* Using the docker driver based on user configuration
	* Starting control plane node functional-20201028185021-11008 in cluster functional-20201028185021-11008
	* Downloading Kubernetes v1.19.2 preload ...
	* Creating docker container (CPUs=2, Memory=4000MB) ...
	
	
-- /stdout --
** stderr ** 
	! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
	! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
	    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 2.75 MiB /    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 36.33 MiB     > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 64.00 MiB     > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 96.38 MiB     > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 136.00 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 164.55 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 199.83 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 239.06 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 288.00 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 314.42 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 382.00 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 426.56 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4
: 480.84 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 486.33 MiB! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
	! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
	X Exiting due to GUEST_PROVISION: Failed to start host: can't create with that IP, address already in use
	* 
	* If the above advice does not help, please let us know: 
	  - https://github.com/kubernetes/minikube/issues/new/choose
** /stderr **
functional_test.go:231: failed minikube start. args "./minikube-windows-amd64.exe start -p functional-20201028185021-11008 --memory=4000 --apiserver-port=8441 --wait=true --driver=docker": exit status 80
functional_test.go:236: start stdout=* [functional-20201028185021-11008] minikube v1.14.2 on Microsoft Windows 10 Enterprise N 10.0.18363 Build 18363
- KUBECONFIG=C:\Users\jenkins\actions-runner\_work\minikube\minikube\minikube_binaries\testhome\kubeconfig
- MINIKUBE_HOME=C:\Users\jenkins\actions-runner\_work\minikube\minikube\minikube_binaries\testhome
* Using the docker driver based on user configuration
* Starting control plane node functional-20201028185021-11008 in cluster functional-20201028185021-11008
* Downloading Kubernetes v1.19.2 preload ...
* Creating docker container (CPUs=2, Memory=4000MB) ...
, want: *Found network options:*
functional_test.go:241: start stderr=! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
> preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 2.75 MiB /    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 36.33 MiB     > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 64.00 MiB     > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 96.38 MiB     > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 136.00 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 164.55 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 199.83 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 239.06 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 288.00 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 314.42 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 382.00 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 426.56 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4:
480.84 MiB    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 486.33 MiB! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
! Local proxy ignored: not passing HTTP_PROXY=localhost:51881 to docker env.
X Exiting due to GUEST_PROVISION: Failed to start host: can't create with that IP, address already in use
* 
* If the above advice does not help, please let us know: 
- https://github.com/kubernetes/minikube/issues/new/choose
, want: *You appear to be using a proxy*
helpers_test.go:216: -----------------------post-mortem--------------------------------
helpers_test.go:224: ======>  post-mortem[TestFunctional/serial/StartWithProxy]: docker inspect <======
helpers_test.go:225: (dbg) Run:  docker inspect functional-20201028185021-11008
helpers_test.go:229: (dbg) docker inspect functional-20201028185021-11008:
-- stdout --
	[
	    {
	        "Id": "7fd10bcb705eeb0816f93147f7380e255ddb1f25958357f5cb482988c34f4457",
	        "Created": "2020-10-28T18:50:32.547757632Z",
	        "Path": "/usr/local/bin/entrypoint",
	        "Args": [
	            "/sbin/init"
	        ],
	        "State": {
	            "Status": "created",
	            "Running": false,
	            "Paused": false,
	            "Restarting": false,
	            "OOMKilled": false,
	            "Dead": false,
	            "Pid": 0,
	            "ExitCode": 128,
	            "Error": "Address already in use",
	            "StartedAt": "0001-01-01T00:00:00Z",
	            "FinishedAt": "0001-01-01T00:00:00Z"
	        },
	        "Image": "sha256:90f1294ff9acdd24b50195f33fc48f1f4cc50786328bf6cfc095270df92f1c36",
	        "ResolvConfPath": "",
	        "HostnamePath": "",
	        "HostsPath": "",
	        "LogPath": "",
	        "Name": "/functional-20201028185021-11008",
	        "RestartCount": 0,
	        "Driver": "overlay2",
	        "Platform": "linux",
	        "MountLabel": "",
	        "ProcessLabel": "",
	        "AppArmorProfile": "unconfined",
	        "ExecIDs": null,
	        "HostConfig": {
	            "Binds": [
	                "functional-20201028185021-11008:/var",
	                "/lib/modules:/lib/modules:ro"
	            ],
	            "ContainerIDFile": "",
	            "LogConfig": {
	                "Type": "json-file",
	                "Config": {}
	            },
	            "NetworkMode": "functional-20201028185021-11008",
	            "PortBindings": {
	                "22/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ],
	                "2376/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ],
	                "5000/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ],
	                "8441/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ]
	            },
	            "RestartPolicy": {
	                "Name": "no",
	                "MaximumRetryCount": 0
	            },
	            "AutoRemove": false,
	            "VolumeDriver": "",
	            "VolumesFrom": null,
	            "CapAdd": null,
	            "CapDrop": null,
	            "Capabilities": null,
	            "Dns": [],
	            "DnsOptions": [],
	            "DnsSearch": [],
	            "ExtraHosts": null,
	            "GroupAdd": null,
	            "IpcMode": "private",
	            "Cgroup": "",
	            "Links": null,
	            "OomScoreAdj": 0,
	            "PidMode": "",
	            "Privileged": true,
	            "PublishAllPorts": false,
	            "ReadonlyRootfs": false,
	            "SecurityOpt": [
	                "seccomp=unconfined",
	                "apparmor=unconfined",
	                "label=disable"
	            ],
	            "Tmpfs": {
	                "/run": "",
	                "/tmp": ""
	            },
	            "UTSMode": "",
	            "UsernsMode": "",
	            "ShmSize": 67108864,
	            "Runtime": "runc",
	            "ConsoleSize": [
	                0,
	                0
	            ],
	            "Isolation": "",
	            "CpuShares": 0,
	            "Memory": 4194304000,
	            "NanoCpus": 2000000000,
	            "CgroupParent": "",
	            "BlkioWeight": 0,
	            "BlkioWeightDevice": [],
	            "BlkioDeviceReadBps": null,
	            "BlkioDeviceWriteBps": null,
	            "BlkioDeviceReadIOps": null,
	            "BlkioDeviceWriteIOps": null,
	            "CpuPeriod": 0,
	            "CpuQuota": 0,
	            "CpuRealtimePeriod": 0,
	            "CpuRealtimeRuntime": 0,
	            "CpusetCpus": "",
	            "CpusetMems": "",
	            "Devices": [],
	            "DeviceCgroupRules": null,
	            "DeviceRequests": null,
	            "KernelMemory": 0,
	            "KernelMemoryTCP": 0,
	            "MemoryReservation": 0,
	            "MemorySwap": 4194304000,
	            "MemorySwappiness": null,
	            "OomKillDisable": false,
	            "PidsLimit": null,
	            "Ulimits": null,
	            "CpuCount": 0,
	            "CpuPercent": 0,
	            "IOMaximumIOps": 0,
	            "IOMaximumBandwidth": 0,
	            "MaskedPaths": null,
	            "ReadonlyPaths": null
	        },
	        "GraphDriver": {
	            "Data": {
	                "LowerDir": "/var/lib/docker/overlay2/8449ee60dc0b60f34cc93bcfc4bd3a28da5d05619e56b38ce40c54e9eb4f44b3-init/diff:/var/lib/docker/overlay2/28ef72bfd15bfe56e054f404eb2c924cb7e13fd92e6d9a3bdbe591900d4a1db9/diff:/var/lib/docker/overlay2/aeda5c1484068dce02127d380f5392976c78bd298eeaf4635bbe53c6b4b67d78/diff:/var/lib/docker/overlay2/819f71f1243bdae3db3d3161de25f419d548e1636a9c4d7778d942cdeada4552/diff:/var/lib/docker/overlay2/e278d779a94b0a34253d3f6f1fc6e0cc1f64f80db74cbbbef3494a2f7dcf428e/diff:/var/lib/docker/overlay2/19c24e2baf29dab9e2654e87fc1cd90f63972e58da84cfe7ddb695b9a33eb63d/diff:/var/lib/docker/overlay2/6514f8b16c30c0fd31d5494cae4413bd9a30c86d75a46dbea83102ebdf70884d/diff:/var/lib/docker/overlay2/4d36978bc1d23e6750d89c61196574448cbf7ff47c32c4bcb751e5435a5e31d1/diff:/var/lib/docker/overlay2/85bd496477bb4780c50761d780e7eb89ff92bad3aaa4be945474f5e03bc98b0f/diff:/var/lib/docker/overlay2/5a33c93682671dacbbde0e8b03b0c2821e7c0c111c6ecdbd04be89fe8e43a872/diff:/var/lib/docker/overlay2/ee0879
25dec1821fb281b51d61a2c1394ef643143b312ce4a01a54a427c99d34/diff:/var/lib/docker/overlay2/3255b1c382de6a9caacb5f6c4a6cf17519d8151b4afc6b632e0beffc60c42d77/diff:/var/lib/docker/overlay2/408896029c1f07204b2e436a932e8c77e295f91c647fbb60eab4e46f62138335/diff:/var/lib/docker/overlay2/7e2c2841d8081c176d0d8566e5adce30a6f2023ab23e7d1165ae38f17819d4f9/diff:/var/lib/docker/overlay2/6f038947d279706aa6f4681d160af7a534c040a67d96f217c703c643f7a66758/diff:/var/lib/docker/overlay2/5dd11154fcc02c8b4c5588d3eedecce913c722744982a724e202895a6da54fb3/diff:/var/lib/docker/overlay2/7a6fc99d25e549505693969f84e48f4806663fb15aea36927632c0b9752b6322/diff:/var/lib/docker/overlay2/d710dac7493f2e0f3052bb0a4dc3c6e3f3608a60aeab95c8ee8add7147e66d24/diff:/var/lib/docker/overlay2/fa3d0f4520ee8c3e9bff0053380b8fa1d50ba401f19312f25c2b7aa81b95778f/diff:/var/lib/docker/overlay2/a07a67b09d5f5fa26521cb6ed912f817803e26cbff5cc1cd8f511428f6917f71/diff:/var/lib/docker/overlay2/80b50dc6213545e38a9031e438bf97b2f87b80e75c9241e37465a545a07ce1d0/diff:/var/lib/d
ocker/overlay2/bfd4881516f9ab013f5a6471a4d09183a5e41ddc4420d7c5a83d0fa5885cbddb/diff:/var/lib/docker/overlay2/8595627203f17faa705380e4903430c66367bfb7ebf45411b523a4ba5670d3f0/diff:/var/lib/docker/overlay2/a1340f8635bcb234a22af9bbd6633dbacee8addd5ddd83b693dee6cfbaf69450/diff:/var/lib/docker/overlay2/a917fe0fbfae59ba1f5b1b9fcf6744aabc2473eca7e4698fc65c9b323fda6e6a/diff:/var/lib/docker/overlay2/8f2e517ddf076b18f89a886b2a4d5576af13be1f881e4c9070b5d113e3b714c4/diff:/var/lib/docker/overlay2/b7916b3cc415bdc573d327550af1076badacd8656c7643e0fa8f4f05fac2dfc6/diff:/var/lib/docker/overlay2/7c7567f2e376d726aefc053ef37dfe3db5b4db4fdc267959bbd7c30c842dba6b/diff:/var/lib/docker/overlay2/84ea24e4f589641338d32a12d99083461defb2c33805ebbd5bc381c6b3b9b6b1/diff:/var/lib/docker/overlay2/3d22806960125951331fc58d6a153f5a778f3f559a739f81c97c534fc9cd6d45/diff",
	                "MergedDir": "/var/lib/docker/overlay2/8449ee60dc0b60f34cc93bcfc4bd3a28da5d05619e56b38ce40c54e9eb4f44b3/merged",
	                "UpperDir": "/var/lib/docker/overlay2/8449ee60dc0b60f34cc93bcfc4bd3a28da5d05619e56b38ce40c54e9eb4f44b3/diff",
	                "WorkDir": "/var/lib/docker/overlay2/8449ee60dc0b60f34cc93bcfc4bd3a28da5d05619e56b38ce40c54e9eb4f44b3/work"
	            },
	            "Name": "overlay2"
	        },
	        "Mounts": [
	            {
	                "Type": "volume",
	                "Name": "functional-20201028185021-11008",
	                "Source": "/var/lib/docker/volumes/functional-20201028185021-11008/_data",
	                "Destination": "/var",
	                "Driver": "local",
	                "Mode": "z",
	                "RW": true,
	                "Propagation": ""
	            },
	            {
	                "Type": "bind",
	                "Source": "/lib/modules",
	                "Destination": "/lib/modules",
	                "Mode": "ro",
	                "RW": false,
	                "Propagation": "rprivate"
	            }
	        ],
	        "Config": {
	            "Hostname": "functional-20201028185021-11008",
	            "Domainname": "",
	            "User": "root",
	            "AttachStdin": false,
	            "AttachStdout": false,
	            "AttachStderr": false,
	            "ExposedPorts": {
	                "22/tcp": {},
	                "2376/tcp": {},
	                "5000/tcp": {},
	                "8441/tcp": {}
	            },
	            "Tty": true,
	            "OpenStdin": false,
	            "StdinOnce": false,
	            "Env": [
	                "container=docker",
	                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
	            ],
	            "Cmd": null,
	            "Image": "gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f",
	            "Volumes": null,
	            "WorkingDir": "",
	            "Entrypoint": [
	                "/usr/local/bin/entrypoint",
	                "/sbin/init"
	            ],
	            "OnBuild": null,
	            "Labels": {
	                "created_by.minikube.sigs.k8s.io": "true",
	                "mode.minikube.sigs.k8s.io": "functional-20201028185021-11008",
	                "name.minikube.sigs.k8s.io": "functional-20201028185021-11008",
	                "role.minikube.sigs.k8s.io": ""
	            },
	            "StopSignal": "SIGRTMIN+3"
	        },
	        "NetworkSettings": {
	            "Bridge": "",
	            "SandboxID": "",
	            "HairpinMode": false,
	            "LinkLocalIPv6Address": "",
	            "LinkLocalIPv6PrefixLen": 0,
	            "Ports": {},
	            "SandboxKey": "",
	            "SecondaryIPAddresses": null,
	            "SecondaryIPv6Addresses": null,
	            "EndpointID": "",
	            "Gateway": "",
	            "GlobalIPv6Address": "",
	            "GlobalIPv6PrefixLen": 0,
	            "IPAddress": "",
	            "IPPrefixLen": 0,
	            "IPv6Gateway": "",
	            "MacAddress": "",
	            "Networks": {
	                "functional-20201028185021-11008": {
	                    "IPAMConfig": {
	                        "IPv4Address": "192.168.49.1"
	                    },
	                    "Links": null,
	                    "Aliases": [
	                        "7fd10bcb705e"
	                    ],
	                    "NetworkID": "",
	                    "EndpointID": "",
	                    "Gateway": "",
	                    "IPAddress": "",
	                    "IPPrefixLen": 0,
	                    "IPv6Gateway": "",
	                    "GlobalIPv6Address": "",
	                    "GlobalIPv6PrefixLen": 0,
	                    "MacAddress": "",
	                    "DriverOpts": null
	                }
	            }
	        }
	    }
	]
-- /stdout --
helpers_test.go:233: (dbg) Run:  ./minikube-windows-amd64.exe status --format={{.Host}} -p functional-20201028185021-11008 -n functional-20201028185021-11008
helpers_test.go:233: (dbg) Non-zero exit: ./minikube-windows-amd64.exe status --format={{.Host}} -p functional-20201028185021-11008 -n functional-20201028185021-11008: exit status 7 (394.2561ms)
-- stdout --
	Nonexistent
-- /stdout --
helpers_test.go:233: status error: exit status 7 (may be ok)
helpers_test.go:235: "functional-20201028185021-11008" host is not running, skipping log retrieval (state="Nonexistent")
--- FAIL: TestFunctional/serial/StartWithProxy (16.46s)
@medyagh medyagh added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Nov 5, 2020
@medyagh
Copy link
Member Author

medyagh commented Nov 12, 2020

also seen in jenkins
https://storage.googleapis.com/minikube-builds/logs/9679/2f3cb00/Docker_Linux.html#fail_TestFunctional%2fserial%2fStartWithProxy

=== RUN   TestFunctional/serial/StartWithProxy
functional_test.go:229: (dbg) Run:  out/minikube-linux-amd64 start -p functional-20201112073656-300542 --memory=4000 --apiserver-port=8441 --wait=true --driver=docker 
functional_test.go:229: (dbg) Non-zero exit: out/minikube-linux-amd64 start -p functional-20201112073656-300542 --memory=4000 --apiserver-port=8441 --wait=true --driver=docker : exit status 80 (6.431915849s)
-- stdout --
	* [functional-20201112073656-300542] minikube v1.14.2 on Debian 9.13
	  - KUBECONFIG=/home/jenkins/minikube-integration/linux-amd64-docker-9679-296739-2f3cb00cb21f5ac86a371c2f23e2b80c8220f41f/kubeconfig
	  - MINIKUBE_BIN=out/minikube-linux-amd64
	  - MINIKUBE_HOME=/home/jenkins/minikube-integration/linux-amd64-docker-9679-296739-2f3cb00cb21f5ac86a371c2f23e2b80c8220f41f/.minikube
	  - MINIKUBE_LOCATION=9679
	* Using the docker driver based on user configuration
	* Starting control plane node functional-20201112073656-300542 in cluster functional-20201112073656-300542
	* Creating docker container (CPUs=2, Memory=4000MB) ...
	
	
-- /stdout --
** stderr ** 
	! Local proxy ignored: not passing HTTP_PROXY=localhost:37831 to docker env.
	! Local proxy ignored: not passing HTTP_PROXY=localhost:37831 to docker env.
	X Exiting due to GUEST_PROVISION: Failed to start host: can't create with that IP, address already in use
	* 
	* If the above advice does not help, please let us know: 
	  - https://github.com/kubernetes/minikube/issues/new/choose
** /stderr **
functional_test.go:231: failed minikube start. args "out/minikube-linux-amd64 start -p functional-20201112073656-300542 --memory=4000 --apiserver-port=8441 --wait=true --driver=docker ": exit status 80
functional_test.go:236: start stdout=* [functional-20201112073656-300542] minikube v1.14.2 on Debian 9.13
- KUBECONFIG=/home/jenkins/minikube-integration/linux-amd64-docker-9679-296739-2f3cb00cb21f5ac86a371c2f23e2b80c8220f41f/kubeconfig
- MINIKUBE_BIN=out/minikube-linux-amd64
- MINIKUBE_HOME=/home/jenkins/minikube-integration/linux-amd64-docker-9679-296739-2f3cb00cb21f5ac86a371c2f23e2b80c8220f41f/.minikube
- MINIKUBE_LOCATION=9679
* Using the docker driver based on user configuration
* Starting control plane node functional-20201112073656-300542 in cluster functional-20201112073656-300542
* Creating docker container (CPUs=2, Memory=4000MB) ...
, want: *Found network options:*
functional_test.go:241: start stderr=! Local proxy ignored: not passing HTTP_PROXY=localhost:37831 to docker env.
! Local proxy ignored: not passing HTTP_PROXY=localhost:37831 to docker env.
X Exiting due to GUEST_PROVISION: Failed to start host: can't create with that IP, address already in use
* 
* If the above advice does not help, please let us know: 
- https://github.com/kubernetes/minikube/issues/new/choose
, want: *You appear to be using a proxy*
helpers_test.go:216: -----------------------post-mortem--------------------------------
helpers_test.go:224: ======>  post-mortem[TestFunctional/serial/StartWithProxy]: docker inspect <======
helpers_test.go:225: (dbg) Run:  docker inspect functional-20201112073656-300542
helpers_test.go:229: (dbg) docker inspect functional-20201112073656-300542:
-- stdout --
	[
	    {
	        "Id": "2cb1646a1436cef7ef54131cf55cf60900bfc0c8b4fb427994d2406216e967b1",
	        "Created": "2020-11-12T07:36:58.593261393Z",
	        "Path": "/usr/local/bin/entrypoint",
	        "Args": [
	            "/sbin/init"
	        ],
	        "State": {
	            "Status": "created",
	            "Running": false,
	            "Paused": false,
	            "Restarting": false,
	            "OOMKilled": false,
	            "Dead": false,
	            "Pid": 0,
	            "ExitCode": 128,
	            "Error": "Address already in use",
	            "StartedAt": "0001-01-01T00:00:00Z",
	            "FinishedAt": "0001-01-01T00:00:00Z"
	        },
	        "Image": "sha256:7ed8827b36a5092c654640afc56410f6f25f6dca005a46d458ed9949dce0ab88",
	        "ResolvConfPath": "",
	        "HostnamePath": "",
	        "HostsPath": "",
	        "LogPath": "",
	        "Name": "/functional-20201112073656-300542",
	        "RestartCount": 0,
	        "Driver": "overlay2",
	        "Platform": "linux",
	        "MountLabel": "",
	        "ProcessLabel": "",
	        "AppArmorProfile": "unconfined",
	        "ExecIDs": null,
	        "HostConfig": {
	            "Binds": [
	                "/lib/modules:/lib/modules:ro",
	                "functional-20201112073656-300542:/var"
	            ],
	            "ContainerIDFile": "",
	            "LogConfig": {
	                "Type": "json-file",
	                "Config": {}
	            },
	            "NetworkMode": "functional-20201112073656-300542",
	            "PortBindings": {
	                "22/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ],
	                "2376/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ],
	                "5000/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ],
	                "8441/tcp": [
	                    {
	                        "HostIp": "127.0.0.1",
	                        "HostPort": ""
	                    }
	                ]
	            },
	            "RestartPolicy": {
	                "Name": "no",
	                "MaximumRetryCount": 0
	            },
	            "AutoRemove": false,
	            "VolumeDriver": "",
	            "VolumesFrom": null,
	            "CapAdd": null,
	            "CapDrop": null,
	            "Capabilities": null,
	            "Dns": [],
	            "DnsOptions": [],
	            "DnsSearch": [],
	            "ExtraHosts": null,
	            "GroupAdd": null,
	            "IpcMode": "private",
	            "Cgroup": "",
	            "Links": null,
	            "OomScoreAdj": 0,
	            "PidMode": "",
	            "Privileged": true,
	            "PublishAllPorts": false,
	            "ReadonlyRootfs": false,
	            "SecurityOpt": [
	                "seccomp=unconfined",
	                "apparmor=unconfined",
	                "label=disable"
	            ],
	            "Tmpfs": {
	                "/run": "",
	                "/tmp": ""
	            },
	            "UTSMode": "",
	            "UsernsMode": "",
	            "ShmSize": 67108864,
	            "Runtime": "runc",
	            "ConsoleSize": [
	                0,
	                0
	            ],
	            "Isolation": "",
	            "CpuShares": 0,
	            "Memory": 4194304000,
	            "NanoCpus": 2000000000,
	            "CgroupParent": "",
	            "BlkioWeight": 0,
	            "BlkioWeightDevice": [],
	            "BlkioDeviceReadBps": null,
	            "BlkioDeviceWriteBps": null,
	            "BlkioDeviceReadIOps": null,
	            "BlkioDeviceWriteIOps": null,
	            "CpuPeriod": 0,
	            "CpuQuota": 0,
	            "CpuRealtimePeriod": 0,
	            "CpuRealtimeRuntime": 0,
	            "CpusetCpus": "",
	            "CpusetMems": "",
	            "Devices": [],
	            "DeviceCgroupRules": null,
	            "DeviceRequests": null,
	            "KernelMemory": 0,
	            "KernelMemoryTCP": 0,
	            "MemoryReservation": 0,
	            "MemorySwap": -1,
	            "MemorySwappiness": null,
	            "OomKillDisable": false,
	            "PidsLimit": null,
	            "Ulimits": null,
	            "CpuCount": 0,
	            "CpuPercent": 0,
	            "IOMaximumIOps": 0,
	            "IOMaximumBandwidth": 0,
	            "MaskedPaths": null,
	            "ReadonlyPaths": null
	        },
	        "GraphDriver": {
	            "Data": {
	                "LowerDir": "/var/lib/docker/overlay2/b9ac18fd47e91167e5eb70740adbb0983194bdd4f9672d236238dbb5c75b7ac9-init/diff:/var/lib/docker/overlay2/37785018e21808420b88c311407db90bf61cd6d9ff3509c376820926379c03d2/diff:/var/lib/docker/overlay2/72da5352cf986b3c0336029d0ae370c61414ee3eec54a7508b74364da29f041d/diff:/var/lib/docker/overlay2/18b4f482feb9865f79d18f7c0a885686b60777629e7f1acc9aaa76cc7ac692cc/diff:/var/lib/docker/overlay2/181e2753675e6f9b2668fd9977126e08e31251993e67ea4330dcfef36e785d2a/diff:/var/lib/docker/overlay2/0522861244bb82d4e6300a471f7afb3b44e72e14e6676db21b07036da8b5924b/diff:/var/lib/docker/overlay2/87d98baabdce4ed3fd7e9e84ba60454c0613bcf1967e9a76ade44c9871a466f4/diff:/var/lib/docker/overlay2/df56d8041dcd52251ba6e42bf74fa23917b4c5bb067b39231adc07108888fbb1/diff:/var/lib/docker/overlay2/138bb89559a6b4c3a59cfda23a774f682635c448e0b9dfbbe5fde5fae8140d8f/diff:/var/lib/docker/overlay2/6875ae84bc9ed28797340e399459aa48ade1d801d61f2e61dd244e47ce5dd94e/diff:/var/lib/docker/overlay2/3c93ee
faf35c3970bbca71dee1585cef2f83d8ba2e6bab8014282870785b7930/diff:/var/lib/docker/overlay2/8b722d194415562c3fc77392fbd1c832b34e420551aa90010a1d5212a0ecfe77/diff:/var/lib/docker/overlay2/553c101fd6ba7c3eb457f9a1a148ed7c75a98c48f7d113cca76f00da1d8d6e25/diff:/var/lib/docker/overlay2/3ba91f6602dc33fcc648055ae402d2c652a079e8be4b9c708895c24f1bec85c3/diff:/var/lib/docker/overlay2/0c2ae730d446f90c85fa55045dcd664ac9d4a0d3b0e425249df1e765c88a09cd/diff:/var/lib/docker/overlay2/b407d7a55b995a1eee1bba471e5c612d8a337170f8db53f6037923e57944dd63/diff:/var/lib/docker/overlay2/9321be401bab35637ed8c56f30c176b053a053c1360cc369cb1283d49389bf14/diff:/var/lib/docker/overlay2/0b792420956c3ee13ea4d34d2880566d7ddfcd02a978bbc26e3ad36576ac2d0a/diff:/var/lib/docker/overlay2/b4e2a639f3a447ce9bc99c15c91f8bcea8bf6bf94df74bb81a32281bdc173944/diff:/var/lib/docker/overlay2/a595c7c2a2c246aa1b1fadc2df2bc837eb1bf1d77d60767e4aa41422cb555c6a/diff:/var/lib/docker/overlay2/cd4dc165f0b87e060676355fc1711ca56b35873eadf82d9d6462ced297c1e24f/diff:/var/lib/d
ocker/overlay2/f973a434e181a47b345ccc431df06f7a60014481dbe87259ac4979482b782845/diff:/var/lib/docker/overlay2/5241324519ab64f7cdf69ca40158362a9a00d9b0ee82b7e7c35c97e23c398c05/diff:/var/lib/docker/overlay2/8cff34e5b3d152245258620460e3e32dc28f9efba9a63681c31b024c88922853/diff:/var/lib/docker/overlay2/4690e36707758dffba3c9146d6603b83c2661a5124e4473d2232620c390ec140/diff:/var/lib/docker/overlay2/6ea6c2e49e8b7579b4f4dcebba9a0b36b41380c62c43a2e43222db980981c815/diff:/var/lib/docker/overlay2/6592a70f33c7abc3ec6610a878f9344887958109ab5bb1175698d09588beab6f/diff:/var/lib/docker/overlay2/20f1a7fe6f9ab5d8cf4f9b3e035f281097dd4c43c807862deb9638823b477ccb/diff:/var/lib/docker/overlay2/1b711feabab61769cdc062727895f63240c32d834c88cc048bac51625b8c047b/diff",
	                "MergedDir": "/var/lib/docker/overlay2/b9ac18fd47e91167e5eb70740adbb0983194bdd4f9672d236238dbb5c75b7ac9/merged",
	                "UpperDir": "/var/lib/docker/overlay2/b9ac18fd47e91167e5eb70740adbb0983194bdd4f9672d236238dbb5c75b7ac9/diff",
	                "WorkDir": "/var/lib/docker/overlay2/b9ac18fd47e91167e5eb70740adbb0983194bdd4f9672d236238dbb5c75b7ac9/work"
	            },
	            "Name": "overlay2"
	        },
	        "Mounts": [
	            {
	                "Type": "bind",
	                "Source": "/lib/modules",
	                "Destination": "/lib/modules",
	                "Mode": "ro",
	                "RW": false,
	                "Propagation": "rprivate"
	            },
	            {
	                "Type": "volume",
	                "Name": "functional-20201112073656-300542",
	                "Source": "/var/lib/docker/volumes/functional-20201112073656-300542/_data",
	                "Destination": "/var",
	                "Driver": "local",
	                "Mode": "z",
	                "RW": true,
	                "Propagation": ""
	            }
	        ],
	        "Config": {
	            "Hostname": "functional-20201112073656-300542",
	            "Domainname": "",
	            "User": "root",
	            "AttachStdin": false,
	            "AttachStdout": false,
	            "AttachStderr": false,
	            "ExposedPorts": {
	                "22/tcp": {},
	                "2376/tcp": {},
	                "5000/tcp": {},
	                "8441/tcp": {}
	            },
	            "Tty": true,
	            "OpenStdin": false,
	            "StdinOnce": false,
	            "Env": [
	                "container=docker",
	                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
	            ],
	            "Cmd": null,
	            "Image": "gcr.io/k8s-minikube/kicbase:v0.0.14@sha256:2bd97b482faf5b6a403ac39dd5e7c6fe2006425c6663a12f94f64f5f81a7787e",
	            "Volumes": null,
	            "WorkingDir": "",
	            "Entrypoint": [
	                "/usr/local/bin/entrypoint",
	                "/sbin/init"
	            ],
	            "OnBuild": null,
	            "Labels": {
	                "created_by.minikube.sigs.k8s.io": "true",
	                "mode.minikube.sigs.k8s.io": "functional-20201112073656-300542",
	                "name.minikube.sigs.k8s.io": "functional-20201112073656-300542",
	                "role.minikube.sigs.k8s.io": ""
	            },
	            "StopSignal": "SIGRTMIN+3"
	        },
	        "NetworkSettings": {
	            "Bridge": "",
	            "SandboxID": "",
	            "HairpinMode": false,
	            "LinkLocalIPv6Address": "",
	            "LinkLocalIPv6PrefixLen": 0,
	            "Ports": {},
	            "SandboxKey": "",
	            "SecondaryIPAddresses": null,
	            "SecondaryIPv6Addresses": null,
	            "EndpointID": "",
	            "Gateway": "",
	            "GlobalIPv6Address": "",
	            "GlobalIPv6PrefixLen": 0,
	            "IPAddress": "",
	            "IPPrefixLen": 0,
	            "IPv6Gateway": "",
	            "MacAddress": "",
	            "Networks": {
	                "functional-20201112073656-300542": {
	                    "IPAMConfig": {
	                        "IPv4Address": "192.168.49.255"
	                    },
	                    "Links": null,
	                    "Aliases": [
	                        "2cb1646a1436"
	                    ],
	                    "NetworkID": "",
	                    "EndpointID": "",
	                    "Gateway": "",
	                    "IPAddress": "",
	                    "IPPrefixLen": 0,
	                    "IPv6Gateway": "",
	                    "GlobalIPv6Address": "",
	                    "GlobalIPv6PrefixLen": 0,
	                    "MacAddress": "",
	                    "DriverOpts": null
	                }
	            }
	        }
	    }
	]
-- /stdout --
helpers_test.go:233: (dbg) Run:  out/minikube-linux-amd64 status --format={{.Host}} -p functional-20201112073656-300542 -n functional-20201112073656-300542
helpers_test.go:233: (dbg) Non-zero exit: out/minikube-linux-amd64 status --format={{.Host}} -p functional-20201112073656-300542 -n functional-20201112073656-300542: exit status 7 (101.694645ms)
-- stdout --
	Nonexistent
-- /stdout --
helpers_test.go:233: status error: exit status 7 (may be ok)
helpers_test.go:235: "functional-20201112073656-300542" host is not running, skipping log retrieval (state="Nonexistent")
--- FAIL: TestFunctional/serial/StartWithProxy (6.58s)

@priyawadhwa priyawadhwa added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Jan 25, 2021
@prezha
Copy link
Contributor

prezha commented Apr 4, 2021

@medyagh i think we can close this issue now - ie, the error:

Exiting due to GUEST_PROVISION: Failed to start host: can't create with that IP, address already in use

should have been resolved by #10439 and #10858 ?

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 3, 2021
@k8s-triage-robot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 2, 2021
@spowelljr
Copy link
Member

This test doesn't seem to be failing anymore, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

7 participants