-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Comments
also seen in jenkins === 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) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
This test doesn't seem to be failing anymore, closing. |
example https://github.com/kubernetes/minikube/runs/1322617572?check_suite_focus=true
The text was updated successfully, but these errors were encountered: