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

integration-cli: fix --net=none tests #24490

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Conversation

runcom
Copy link
Member

@runcom runcom commented Jul 10, 2016

Example:

21:28:01 [d68573521] waiting for daemon to start
21:28:01 [d68573521] daemon started
21:28:01 docker_api_swarm_test.go:163:
21:28:01     c.Assert(d1.Init(map[string]bool{"worker": true}, ""),
checker.IsNil)
21:28:01 ... value *errors.errorString =
&errors.errorString{s:"initializing swarm: invalid statuscode 500,
\"{\\\"message\\\":\\\"could not determine local IP address: dial udp
8.8.8.8:53: connect: network is unreachable\\\"}\\n\"} ("initializing
swarm: invalid statuscode 500, \"{\\\"message\\\":\\\"could not
determine local IP address: dial udp 8.8.8.8:53: connect: network is
unreachable\\\"}\\n\"")
21:28:01
21:28:01 [d68573521] exiting daemon"}

Signed-off-by: Antonio Murdaca runcom@redhat.com

Example:

21:28:01 [d68573521] waiting for daemon to start
21:28:01 [d68573521] daemon started
21:28:01 docker_api_swarm_test.go:163:
21:28:01     c.Assert(d1.Init(map[string]bool{"worker": true}, ""),
checker.IsNil)
21:28:01 ... value *errors.errorString =
&errors.errorString{s:"initializing swarm: invalid statuscode 500,
\"{\\\"message\\\":\\\"could not determine local IP address: dial udp
8.8.8.8:53: connect: network is unreachable\\\"}\\n\"} ("initializing
swarm: invalid statuscode 500, \"{\\\"message\\\":\\\"could not
determine local IP address: dial udp 8.8.8.8:53: connect: network is
unreachable\\\"}\\n\"")
21:28:01
21:28:01 [d68573521] exiting daemon"}

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
@vdemeester
Copy link
Member

LGTM 🐮

@coolljt0725
Copy link
Contributor

LGTM

@coolljt0725 coolljt0725 merged commit 8f3be17 into moby:master Jul 11, 2016
@runcom runcom deleted the net-none-tests branch July 11, 2016 05:31
@thaJeztah thaJeztah added this to the 1.12.0 milestone Jul 11, 2016
@tonistiigi
Copy link
Member

This doesn't look like a right fix. We should support these tests without external networking. The error seems to come from the listen-address detection that is already being changed. This error should not be fatal or we should just specify a specific listening address in tests.

@runcom
Copy link
Member Author

runcom commented Jul 11, 2016

@tonistiigi wasn't aware of that, happy to change it again

@thaJeztah thaJeztah removed this from the 1.12.0 milestone Jul 11, 2016
@thaJeztah
Copy link
Member

removed the cherry-pick label

@tonistiigi
Copy link
Member

@thaJeztah We may want to include it to avoid fixing cherry pick conflicts. I created a new issue #24547 so we don't forget to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants