1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/internal/test/daemon
Pavel Tikhomirov 2ed53943f3
Don not lose an error message from d.StartWithError in d.Start
Else it is harder to understand where we've failed in StartWithLogFile

We have an errror:

[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
[d42ce729d0b06] waiting for daemon to start
docker_cli_userns_test.go:27:
    s.d.StartWithBusybox(c, "--userns-remap", "default")
/go/src/github.com/docker/docker/internal/test/daemon/daemon.go:203:
    t.Fatalf("Error starting daemon with arguments: %v", args)
... Error: Error starting daemon with arguments: [--userns-remap default]

[d42ce729d0b06] exiting daemon

Likely it is "[..] Daemon exited during startup" case, but these error
message is lost

Also we lose the error returned by waiting daemon so also add it

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
2018-07-30 10:33:03 +02:00
..
config.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
container.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
daemon.go Don not lose an error message from d.StartWithError in d.Start 2018-07-30 10:33:03 +02:00
daemon_unix.go Make testing helpers as such… 2018-04-20 10:38:43 +02:00
daemon_windows.go Remove daemon.BuildImageWithOut and use cli helpers function 2018-04-18 16:45:55 +02:00
node.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
ops.go Add support for init on services 2018-06-07 14:17:55 +02:00
plugin.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
secret.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
service.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
swarm.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00