Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

[18.03] Updates to integration tests, migrate to "gotestyourself"#513

Merged
andrewhsu merged 35 commits into
docker-archive:18.03from
thaJeztah:18.03-backport-test-improvements
Apr 18, 2018
Merged

[18.03] Updates to integration tests, migrate to "gotestyourself"#513
andrewhsu merged 35 commits into
docker-archive:18.03from
thaJeztah:18.03-backport-test-improvements

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Apr 18, 2018

This is based on top of #468 (first four commits) for a (mostly) clean cherry-pick

Two minor conflicts:

This backport the following PR's; all related to improvements to the integration tests, and brings in the switch to gotestyourself, which will greatly help backporting future changes (without having to rewrite tests for each backport):

moby/moby#36507 Replace testify/assert with gotestyourself/assert

# https://github.com/moby/moby/pull/36507

git cherry-pick -s -S -x -Xsubtree=components/engine ef01dea8935932486f03a37069720987e805dce6
git cherry-pick -s -S -x -Xsubtree=components/engine 073963e3b770efbdf8bd4b4f92d46b2c62eaf434
git cherry-pick -s -S -x -Xsubtree=components/engine 6be0f709830113966f295401327b027ec2f0bbca

# -> Minor conflict, because https://github.com/moby/moby/pull/36577 is missing (depends on a big refactor: https://github.com/moby/moby/pull/36240)

git cherry-pick -s -S -x -Xsubtree=components/engine c9e52bd0da0461e605a3678b85702f83081504a7
git cherry-pick -s -S -x -Xsubtree=components/engine 7d8815ea705e85a73248b5d9e468f9dc65277bb8
git cherry-pick -s -S -x -Xsubtree=components/engine 58de6277821698a2f97d1a0c83664ab34ff2e8d8

# https://github.com/moby/moby/pull/36567
git cherry-pick -s -S -x -Xsubtree=components/engine c125e10a0486623ba3badebf974ea6e582373151

# https://github.com/moby/moby/pull/36391
git cherry-pick -s -S -x -Xsubtree=components/engine 4bb0f24716f45ac520e73a52d7d7ca2752cabd31

# https://github.com/moby/moby/pull/36594
git cherry-pick -s -S -x -Xsubtree=components/engine 6016e79d2552b21643f4bfd093ce76d8ef956d79

# https://github.com/moby/moby/pull/36662
git cherry-pick -s -S -x -Xsubtree=components/engine 78e4be91332e2237c0fa14eb3ba0fb5b915c3256

# https://github.com/moby/moby/pull/36631
git cherry-pick -s -S -x -Xsubtree=components/engine e55d6fc8573580f6eea009cd7f1034aa912128ef
# -> minor conflict due to https://github.com/moby/moby/pull/36407 not being in 18.03

# https://github.com/moby/moby/pull/36375
git cherry-pick -s -S -x -Xsubtree=components/engine 3ae45c5f173d88ba621116f9e1b5611fe687e050
git cherry-pick -s -S -x -Xsubtree=components/engine 0d31dee5ec724731607e277a415b1ca4ecb7b2c4

# https://github.com/moby/moby/pull/36697
git cherry-pick -s -S -x -Xsubtree=components/engine ef5bc603266b9fa5df525319d67329ebc14a8ee7

# https://github.com/moby/moby/pull/36824
git cherry-pick -s -S -x -Xsubtree=components/engine f0d277fe84a72b29c0d2d541c20d5a9c4d7e4884

# https://github.com/moby/moby/pull/36551
git cherry-pick -s -S -x -Xsubtree=components/engine dabffd806c98ab13dbc25e57bee21c5291b9a50c

# https://github.com/moby/moby/pull/36706
git cherry-pick -s -S -x -Xsubtree=components/engine ee6959addc5664a5c55765f2c721f84414ea4779
git cherry-pick -s -S -x -Xsubtree=components/engine b8912feeffcdfd489c9fc1212277840adac2719c

# https://github.com/moby/moby/pull/36826
git cherry-pick -s -S -x -Xsubtree=components/engine 83d18cf4e3e84055f7034816eed2a10c04e777ca


# https://github.com/moby/moby/pull/36722
git cherry-pick -s -S -x -Xsubtree=components/engine 24f934751120ea420b7ba4d2e314df805f3eff06
git cherry-pick -s -S -x -Xsubtree=components/engine 0ab6116ce868a0fc671a49a89696e3a1ce35e26d
git cherry-pick -s -S -x -Xsubtree=components/engine a3323d2e4349b7e8d449c6e571ca3d4aa3e53d63

# https://github.com/moby/moby/pull/36839
git cherry-pick -s -S -x -Xsubtree=components/engine 66de2e6e3b6d927a3396743cd7c363aa9f7b776e

# https://github.com/moby/moby/pull/36838
git cherry-pick -s -S -x -Xsubtree=components/engine 5f56503f583f21d655394f755f71849381bd58c7

# https://github.com/moby/moby/pull/36746
git cherry-pick -s -S -x -Xsubtree=components/engine 183076e89df64928bd2e94ad0da9725b482367cd

# https://github.com/moby/moby/pull/36854
git cherry-pick -s -S -x -Xsubtree=components/engine 239a8a518904dfb51fe62087d8702519c20ce808

# https://github.com/moby/moby/pull/36862
git cherry-pick -s -S -x -Xsubtree=components/engine ab9bb47b05b1dde445a5e4ba78ae97303208dc8b

# https://github.com/moby/moby/pull/36868
git cherry-pick -s -S -x -Xsubtree=components/engine 062564084a22f71cf5807ae5dfad7d29afb12e04


# https://github.com/moby/moby/pull/36841
git cherry-pick -s -S -x -Xsubtree=components/engine 9bcb960508a6066811cffcca1e35ca44d7f1cf94

# https://github.com/moby/moby/pull/36827
git cherry-pick -s -S -x -Xsubtree=components/engine 7380935331f0c35315003578258f6c1f47c1a586

# https://github.com/moby/moby/pull/36745
git cherry-pick -s -S -x -Xsubtree=components/engine f041953d04bffa2be05466173f02dd016c68286d

kolyshkin and others added 30 commits April 17, 2018 15:09
In case ContainerExport() is called for an unmounted container, it leads
to a daemon panic as container.BaseFS, which is dereferenced here, is
nil.

To fix, do not rely on container.BaseFS; use the one returned from
rwlayer.Mount().

Fixes: 7a7357d ("LCOW: Implemented support for docker cp + build")
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 81f6307)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Commit 7a7357d ("LCOW: Implemented support for docker cp + build")
changed `container.BaseFS` from being a string (that could be empty but
can't lead to nil pointer dereference) to containerfs.ContainerFS,
which could be be `nil` and so nil dereference is at least theoretically
possible, which leads to panic (i.e. engine crashes).

Such a panic can be avoided by carefully analysing the source code in all
the places that dereference a variable, to make the variable can't be nil.
Practically, this analisys are impossible as code is constantly
evolving.

Still, we need to avoid panics and crashes. A good way to do so is to
explicitly check that a variable is non-nil, returning an error
otherwise. Even in case such a check looks absolutely redundant,
further changes to the code might make it useful, and having an
extra check is not a big price to pay to avoid a panic.

This commit adds such checks for all the places where it is not obvious
that container.BaseFS is not nil (which in this case means we do not
call daemon.Mount() a few lines earlier).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit d6ea46c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This test case checks that a container created before start
of the currently running dockerd can be exported (as reported
in #36561). To satisfy this condition, either a pre-existing
container is required, or a daemon restart after container
creation.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 6e7141c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: John Howard <jhoward@microsoft.com>
(cherry picked from commit 0f5fe3f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit ef01dea)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit 073963e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
gty-migrate-from-testify --ignore-build-tags

Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit 6be0f70)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit c9e52bd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit 7d8815e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit 58de627)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
As mentioned in commit 9e31938, test cases that use t.Parallel()
and start a docker daemon might step on each other toes as they
try to configure iptables during startup, resulting in flaky tests.

To avoid this, --iptables=false should be used while starting daemon.

Fixes: eaa5192 ("Make container resource mounts unbindable")
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit c125e10)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 4bb0f24)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
… mainly by skipping if daemon is remote.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 6016e79d2552b21643f4bfd093ce76d8ef956d79)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
…spect_test, container/ps_test, container/stop_test

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
(cherry picked from commit 78e4be91332e2237c0fa14eb3ba0fb5b915c3256)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit e55d6fc8573580f6eea009cd7f1034aa912128ef)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Adding `busybox:latest` and `busybox:glibc` as the frozen images

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
(cherry picked from commit 3ae45c5)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Using the `busybox:glibc` instead of `busybox:latest` to the
network related test cases (`ping` issue).

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
(cherry picked from commit 0d31dee)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
All `Macvlan` related test on `DockerSuite` and `DockerNetworkSuite`
are migrated to `macvlan_test.go`.

Also, as `macvlan` seems to be out of experimental, this removes
the *skip* when the run is not experimental (and doesn't start a
daemon with experimental either).

The end goal being to remove the `experimental` builds.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit ef5bc603266b9fa5df525319d67329ebc14a8ee7)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
… and do not use the `docker` cli in it. One of the reason of this
move is to not make `integration` package using legacy
`integration-cli` package.

Next move will be to support swarm within this package *and* provide
some helper function using the api (compared to the one using cli in
`integration-cli/daemon` package).

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit f0d277fe84a72b29c0d2d541c20d5a9c4d7e4884)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
	TestServiceWithPredefinedNetwork test case was failing
	at times. To fix the issue, added new API to check
	for services after we clean up all services. Tested
	multiple times and this sould fix flaky issue.

Signed-off-by: selansen <elango.siva@docker.com>
(cherry picked from commit dabffd806c98ab13dbc25e57bee21c5291b9a50c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Add the default function per resource to override the `pollSettings`
which will be re-used where it's needed.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
(cherry picked from commit ee6959addc5664a5c55765f2c721f84414ea4779)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Using the default PollSettings functions to adjust the timeout
value instead of changing the value each time when needed.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
(cherry picked from commit b8912feeffcdfd489c9fc1212277840adac2719c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This remove the daemon.Swarm construction by make the new test Daemon
struct aware of swarm.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 83d18cf4e3e84055f7034816eed2a10c04e777ca)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
All `Ipvlan` related test on `DockerSuite` and `DockerNetworkSuite`
are migrated to `ipvlan_test.go`.

The end goal being to remove the `experimental` builds.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 24f934751120ea420b7ba4d2e314df805f3eff06)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 0ab6116ce868a0fc671a49a89696e3a1ce35e26d)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
… making each folder/suites quicker to run

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit a3323d2e4349b7e8d449c6e571ca3d4aa3e53d63)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Move the code from `integration-cli` to `internal/test`.
- Use `testingT` and `assert` when creating the registry.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 66de2e6e3b6d927a3396743cd7c363aa9f7b776e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Move go package used by both `integration-cli` and `integration` to
  `internal/test/fixtures`.
- Remove fixtures that are not used anymore (moved to `docker/cli` a
  while ago) : deploy, notary, secrets.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 5f56503f583f21d655394f755f71849381bd58c7)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
All `docker build` tests that require an `ExperimentalDaemon` are
migrated to `integration/build` package and start an experimental
daemon to test on it.

The end goal being to remove the `experimental` builds.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 183076e89df64928bd2e94ad0da9725b482367cd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 239a8a518904dfb51fe62087d8702519c20ce808)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
yongtang and others added 2 commits April 17, 2018 18:34
This fix converts some `client.ContainerCreate` to `container.Create`,
and removes some unneeded `name` fields when test containers are created.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit ab9bb47b05b1dde445a5e4ba78ae97303208dc8b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 062564084a22f71cf5807ae5dfad7d29afb12e04)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Member Author

ping @vdemeester @cpuguy83 @andrewhsu PTAL; this is the follow up to #512

conflicts were;

cherry-pick of 6be0f70
diff --cc components/engine/image/store_test.go
index ff40f7ea22,f43839923b..0000000000
--- a/components/engine/image/store_test.go
+++ b/components/engine/image/store_test.go
@@@ -158,19 -160,33 +159,36 @@@ func TestGetAndSetLastUpdated(t *testin
  	defer cleanup()
  
  	id, err := store.Create([]byte(`{"comment": "abc1", "rootfs": {"type": "layers"}}`))
- 	assert.NoError(t, err)
+ 	assert.Check(t, err)
  
  	updated, err := store.GetLastUpdated(id)
- 	assert.NoError(t, err)
- 	assert.Equal(t, updated.IsZero(), true)
+ 	assert.Check(t, err)
+ 	assert.Check(t, is.Equal(updated.IsZero(), true))
  
- 	assert.NoError(t, store.SetLastUpdated(id))
+ 	assert.Check(t, store.SetLastUpdated(id))
  
  	updated, err = store.GetLastUpdated(id)
- 	assert.NoError(t, err)
- 	assert.Equal(t, updated.IsZero(), false)
+ 	assert.Check(t, err)
+ 	assert.Check(t, is.Equal(updated.IsZero(), false))
  }
  
++<<<<<<< HEAD
++=======
+ func TestStoreLen(t *testing.T) {
+ 	store, cleanup := defaultImageStore(t)
+ 	defer cleanup()
+ 
+ 	expected := 10
+ 	for i := 0; i < expected; i++ {
+ 		_, err := store.Create([]byte(fmt.Sprintf(`{"comment": "abc%d", "rootfs": {"type": "layers"}}`, i)))
+ 		assert.NilError(t, err)
+ 	}
+ 	numImages := store.Len()
+ 	assert.Equal(t, expected, numImages)
+ 	assert.Equal(t, len(store.Map()), numImages)
+ }
+ 
++>>>>>>> 6be0f70983... Automated migration using
  type mockLayerGetReleaser struct{}
  
  func (ls *mockLayerGetReleaser) Get(layer.ChainID) (layer.Layer, error) {
cherry-pick of e55d6fc8573580f6eea009cd7f1034aa912128ef
diff --cc components/engine/integration-cli/docker_api_containers_test.go
index 76dcedb676,2da31ac3e1..0000000000
--- a/components/engine/integration-cli/docker_api_containers_test.go
+++ b/components/engine/integration-cli/docker_api_containers_test.go
@@@ -1713,7 -1713,9 +1713,13 @@@ func (s *DockerSuite) TestContainersAPI
  					Type:   "bind",
  					Source: notExistPath,
  					Target: destPath}}},
++<<<<<<< HEAD
 +			msg: "bind source path does not exist",
++=======
+ 			msg: "source path does not exist",
+ 			// FIXME(vdemeester) fails into e2e, migrate to integration/container anyway
+ 			// msg: "bind mount source path does not exist: " + notExistPath,
++>>>>>>> e55d6fc857... Skip some tests in certain condition to run with e2e image
  		},
  		{
  			config: containertypes.Config{

yongtang and others added 3 commits April 17, 2018 19:06
This fix migrates image tag tests from integration-cli to api tests.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit 9bcb960508a6066811cffcca1e35ca44d7f1cf94)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Anda Xu <anda.xu@docker.com>
(cherry picked from commit 7380935331f0c35315003578258f6c1f47c1a586)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
A minor nit. `test01` never been created and used in
`TestDockerNetworkInspectCustomSpecified()` function, so correct it.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
(cherry picked from commit f041953d04bffa2be05466173f02dd016c68286d)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 18.03.1 milestone Apr 18, 2018
@thaJeztah
Copy link
Copy Markdown
Member Author

powerpc failure is a flaky test https://jenkins.dockerproject.org/job/docker-ce-pr-ppc64le/549/execution/node/423/log/;

03:05:07 ----------------------------------------------------------------------
03:05:07 FAIL: docker_cli_swarm_test.go:1372: DockerSwarmSuite.TestSwarmClusterRotateUnlockKey
03:05:07 
03:05:07 [d9e124f2125df] waiting for daemon to start
03:05:07 [d9e124f2125df] daemon started
03:05:07 
03:05:07 [d06b27a90295e] waiting for daemon to start
03:05:07 [d06b27a90295e] daemon started
03:05:07 
03:05:07 [d6c8e97217c8f] waiting for daemon to start
03:05:07 [d6c8e97217c8f] daemon started
03:05:07 
03:05:07 [d06b27a90295e] exiting daemon
03:05:07 [d06b27a90295e] waiting for daemon to start
03:05:07 [d06b27a90295e] daemon started
03:05:07 
03:05:07 [d6c8e97217c8f] exiting daemon
03:05:07 [d6c8e97217c8f] waiting for daemon to start
03:05:07 [d6c8e97217c8f] daemon started
03:05:07 
03:05:07 [d06b27a90295e] exiting daemon
03:05:07 [d06b27a90295e] waiting for daemon to start
03:05:07 [d06b27a90295e] daemon started
03:05:07 
03:05:07 [d6c8e97217c8f] daemon started
03:05:07 Attempt #2: daemon is still running with pid 3859
03:05:07 Attempt #3: daemon is still running with pid 3859
03:05:07 Attempt #4: daemon is still running with pid 3859
03:05:07 [d6c8e97217c8f] exiting daemon
03:05:07 docker_cli_swarm_test.go:1405:
03:05:07     d3.Restart(c)
03:05:07 /go/src/github.com/docker/docker/internal/test/daemon/daemon.go:375:
03:05:07     t.Fatalf("Error while stopping the daemon %s : %v", d.id, err)
03:05:07 ... Error: Error while stopping the daemon d6c8e97217c8f : exit status 130
03:05:07 
03:05:07 [d9e124f2125df] exiting daemon
03:05:07 [d06b27a90295e] exiting daemon
03:05:07 

Copy link
Copy Markdown
Contributor

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

@thaJeztah
Copy link
Copy Markdown
Member Author

PowerPC failing again (flaky? actual issue?) https://jenkins.dockerproject.org/job/docker-ce-pr-ppc64le/554/execution/node/316/log/

17:08:16 ----------------------------------------------------------------------
17:08:16 FAIL: docker_cli_swarm_test.go:1142: DockerSwarmSuite.TestSwarmLockUnlockCluster
17:08:16 
17:08:16 [d45ffbdd090f5] waiting for daemon to start
17:08:16 [d45ffbdd090f5] daemon started
17:08:16 
17:08:16 [d76eb09651ef7] waiting for daemon to start
17:08:16 [d76eb09651ef7] daemon started
17:08:16 
17:08:16 [d4cf98072d79c] waiting for daemon to start
17:08:16 [d4cf98072d79c] daemon started
17:08:16 
17:08:16 [d76eb09651ef7] exiting daemon
17:08:16 [d76eb09651ef7] waiting for daemon to start
17:08:16 [d76eb09651ef7] daemon started
17:08:16 
17:08:16 [d76eb09651ef7] exiting daemon
17:08:16 [d45ffbdd090f5] exiting daemon
17:08:16 [d45ffbdd090f5] waiting for daemon to start
17:08:16 [d45ffbdd090f5] daemon started
17:08:16 
17:08:16 [d4cf98072d79c] exiting daemon
17:08:16 [d4cf98072d79c] waiting for daemon to start
17:08:16 [d4cf98072d79c] daemon started
17:08:16 
17:08:16 [d76eb09651ef7] waiting for daemon to start
17:08:16 [d76eb09651ef7] daemon started
17:08:16 
17:08:16 [d76eb09651ef7] exiting daemon
17:08:16 [d76eb09651ef7] waiting for daemon to start
17:08:16 [d76eb09651ef7] daemon started
17:08:16 
17:08:16 [d45ffbdd090f5] exiting daemon
17:08:16 [d45ffbdd090f5] waiting for daemon to start
17:08:16 [d45ffbdd090f5] daemon started
17:08:16 
17:08:16 [d4cf98072d79c] daemon started
17:08:16 Attempt #2: daemon is still running with pid 11918
17:08:16 [d4cf98072d79c] exiting daemon
17:08:16 [d4cf98072d79c] waiting for daemon to start
17:08:16 [d4cf98072d79c] daemon started
17:08:16 
17:08:16 [d76eb09651ef7] exiting daemon
17:08:16 [d76eb09651ef7] waiting for daemon to start
17:08:16 [d76eb09651ef7] daemon started
17:08:16 
17:08:16 [d4c7cde2c9b10] waiting for daemon to start
17:08:16 [d4c7cde2c9b10] daemon started
17:08:16 
17:08:16 assertion failed: error is not nil: Error response from daemon: Timeout was reached before node joined. The attempt to join the swarm will continue in the background. Use the "docker info" command to see the current swarm status of your node.: initializing swarm
17:08:16 [d45ffbdd090f5] exiting daemon
17:08:16 [d76eb09651ef7] exiting daemon
17:08:16 [d4cf98072d79c] daemon started
17:08:16 Attempt #2: daemon is still running with pid 12483
17:08:16 [d4cf98072d79c] exiting daemon
17:08:20 

Copy link
Copy Markdown
Contributor

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrewhsu andrewhsu merged commit e79a057 into docker-archive:18.03 Apr 18, 2018
@thaJeztah thaJeztah deleted the 18.03-backport-test-improvements branch April 18, 2018 23:42
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Jan 31, 2020
…est-improvements

[18.03] Updates to integration tests, migrate to "gotestyourself"
docker-jenkins pushed a commit that referenced this pull request Dec 8, 2020
centos-8: work around CentOS repo bug preventing to enable PowerTools
Upstream-commit: 735928f
Component: packaging
akrasnov-drv pushed a commit to drivenets/docker-ce that referenced this pull request Apr 23, 2023
centos-8: work around CentOS repo bug preventing to enable PowerTools
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants