1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Kir Kolyshkin 8663d09334 devmapper: fix unit test
It has been pointed out that sometimes device mapper unit tests
fail with the following diagnostics:

> --- FAIL: TestDevmapperSetup (0.02s)
>    graphtest_unix.go:44: graphdriver: loopback attach failed
>    graphtest_unix.go:48: loopback attach failed

The root cause is the absence of udev inside the container used
for testing, which causes device nodes (/dev/loop*) to not be
created.

The test suite itself already has a workaround, but it only
creates 8 devices (loop0 till loop7). It might very well be
the case that the first few devices are already used by the
system (on my laptop 15 devices are busy).

The fix is to raise the number of devices being manually created.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-10-07 13:21:14 -07:00
..
cluster Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
config Merge pull request #39144 from kunalkushwaha/builder-entitilement-confg 2019-09-30 13:43:27 -07:00
discovery
events goimports: fix imports 2019-09-18 12:56:54 +02:00
exec Handle blocked I/O of exec'd processes 2019-06-21 12:02:15 -04:00
graphdriver devmapper: fix unit test 2019-10-07 13:21:14 -07:00
images Add variant to image.Image and legacy builder 2019-09-24 22:18:16 +00:00
initlayer
links
listeners goimports: fix imports 2019-09-18 12:56:54 +02:00
logger Merge pull request #39974 from cpuguy83/fix_windows_file_handles 2019-10-03 20:10:29 +02:00
names
network
stats stats: avoid cgo in collector 2019-06-05 22:21:11 -07:00
testdata
apparmor_default.go
apparmor_default_unsupported.go
archive.go daemon: fix docker cp when container source is / 2019-06-13 06:31:15 +00:00
archive_tarcopyoptions.go
archive_tarcopyoptions_unix.go
archive_tarcopyoptions_windows.go
archive_unix.go
archive_windows.go
attach.go
auth.go
changes.go
checkpoint.go daemon/checkpoint: rm extra checks 2019-09-18 12:57:22 +02:00
cluster.go
commit.go
configs.go
configs_linux.go
configs_unsupported.go
configs_windows.go
container.go
container_linux.go
container_operations.go include IPv6 address of linked containers in /etc/hosts 2019-08-31 22:13:58 +02:00
container_operations_unix.go Rename variable for consistency 2019-09-03 10:51:45 +02:00
container_operations_windows.go container.ConfigFilePath: use same signature on Windows 2019-09-03 10:51:43 +02:00
container_unix_test.go
container_windows.go
create.go
create_test.go
create_unix.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
create_windows.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
daemon.go Adding ability to change max download attempts 2019-09-19 13:51:40 +02:00
daemon_linux.go Remove skip evaluation of symlinks to data root on IoT Core 2019-07-13 23:44:51 +02:00
daemon_linux_test.go Export all spec generation opts 2019-04-10 15:38:36 -04:00
daemon_test.go
daemon_unix.go Return "invalid parameter" when linking to non-existing container 2019-09-10 23:06:56 +02:00
daemon_unix_test.go bugfix: fetch the right device number which great than 255 2019-05-16 15:32:59 +08:00
daemon_unsupported.go
daemon_windows.go Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
daemon_windows_test.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go Updates daemon's remove link method to use more verbose error output. 2019-04-25 13:08:08 -04:00
delete_test.go
dependency.go
devices_linux.go
disk_usage.go
errors.go
events.go
events_test.go
exec.go goimports: fix imports 2019-09-18 12:56:54 +02:00
exec_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
exec_linux_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
exec_windows.go
export.go Add chroot for tar packing operations 2019-06-03 09:45:29 -07:00
health.go LCOW: fix using wrong shell for healthchecks 2019-06-21 13:58:25 +02:00
health_test.go
info.go daemon/info: remove use of docker/go-connections 2019-09-25 11:00:40 +02:00
info_test.go
info_unix.go Make cgroup namespaces configurable 2019-05-07 10:22:16 -07:00
info_unix_test.go unconvert: remove unnescessary conversions 2019-09-18 12:57:33 +02:00
info_windows.go Make cgroup namespaces configurable 2019-05-07 10:22:16 -07:00
inspect.go
inspect_linux.go
inspect_test.go
inspect_windows.go
keys.go
keys_unsupported.go
kill.go do not stop health check before sending signal 2019-07-14 11:53:13 +02:00
licensing.go
licensing_test.go
links.go
list.go
list_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go
logs.go
logs_test.go
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
metrics_unix.go goimports: fix imports 2019-09-18 12:56:54 +02:00
metrics_unsupported.go
monitor.go daemon/monitor: rm redundant if 2019-09-18 12:57:21 +02:00
mounts.go
names.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
network.go daemon.getEndpointInNetwork() is only used on Windows 2019-09-18 12:55:46 +02:00
network_windows.go daemon.getEndpointInNetwork() is only used on Windows 2019-09-18 12:55:46 +02:00
nvidia_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_linux_test.go
oci_utils.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_windows.go Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
oci_windows_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
pause.go
prune.go
reload.go Adding ability to change max download attempts 2019-09-19 13:51:40 +02:00
reload_test.go
reload_unix.go Make cgroup namespaces configurable 2019-05-07 10:22:16 -07:00
reload_windows.go
rename.go
resize.go Merge pull request #38522 from cpuguy83/fix_timers 2019-06-07 13:16:46 +02:00
resize_test.go
restart.go
seccomp_disabled.go Export all spec generation opts 2019-04-10 15:38:36 -04:00
seccomp_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
seccomp_unsupported.go Export all spec generation opts 2019-04-10 15:38:36 -04:00
secrets.go
secrets_linux.go
secrets_unsupported.go
secrets_windows.go
selinux_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
selinux_unsupported.go
start.go add NewContainerOpts to libcontainerd.Create 2019-10-03 11:45:41 -04:00
start_unix.go
start_windows.go Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
stats.go ContainerStats: return early on unsupported API versions 2019-07-10 21:47:50 +02:00
stats_collector.go
stats_unix.go
stats_windows.go
stop.go
top_unix.go
top_unix_test.go
top_windows.go goimports: fix imports 2019-09-18 12:56:54 +02:00
trustkey.go Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
trustkey_test.go Revert "Remove the rest of v1 manifest support" 2019-06-18 00:36:01 +00:00
unpause.go
update.go
update_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
update_windows.go
util_test.go add NewContainerOpts to libcontainerd.Create 2019-10-03 11:45:41 -04:00
volumes.go
volumes_linux.go
volumes_linux_test.go
volumes_unit_test.go
volumes_unix.go
volumes_unix_test.go
volumes_windows.go
wait.go
workdir.go