docker/integration-cli
Brian Goff d1c9e9cfe9 Ensure unmount before removing local volume.
When there is an error unmounting a local volume, it is still possible
to call `Remove()` on the volume causing removal of the mounted
resources which is generally not desirable.

This ensures that resources are unmounted before attempting removal.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit db3576f8a0)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-05-04 13:56:32 -07:00
..
checker Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
cli [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
daemon cli: Allow service's networks to be updated 2017-04-07 16:46:25 -07:00
environment Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
fixtures Fix flaky TestStackRemove test. 2017-03-24 15:31:08 -04:00
registry Revert "Planned 1.13 deprecation: email from login" 2017-03-15 10:43:18 -07:00
request Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
requirement Display only the name of the requirement… 2016-12-26 21:29:17 +01:00
benchmark_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
check_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
daemon_swarm_hack_test.go Small cleanups on integration cli 2017-01-12 16:57:59 +01:00
docker_api_attach_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_auth_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_build_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_containers_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_api_create_test.go validate healthcheck params in daemon side 2017-01-29 13:35:32 +08:00
docker_api_events_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_exec_resize_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_exec_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_images_test.go Merge pull request #30763 from ripcurld0/fix_30714 2017-03-28 10:20:59 +02:00
docker_api_info_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_inspect_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_api_inspect_unix_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_logs_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_network_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_resize_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_stats_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_stats_unix_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_swarm_node_test.go split docker_api_swarm_test.go into multiple files 2017-02-11 00:18:01 +08:00
docker_api_swarm_secret_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_api_swarm_service_test.go Change "service inspect" to show defaults in place of empty fields 2017-04-10 13:41:16 -07:00
docker_api_swarm_test.go Add tests to ensure we can add an external CA to the cluster without 2017-04-12 16:53:07 -07:00
docker_api_test.go Fix TestAPIDockerAPIVersion on windows 2017-03-29 10:28:51 +02:00
docker_api_update_unix_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_version_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_volumes_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_cli_attach_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_attach_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_authz_plugin_v2_test.go When authz plugin is disabled, remove from authz middleware chain. 2017-03-22 12:07:39 -07:00
docker_cli_authz_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_build_test.go Fix cache miss when builtin build args are used. 2017-05-01 18:20:32 -04:00
docker_cli_build_unix_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_cli_by_digest_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_commit_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_config_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_cli_cp_from_container_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_cp_test.go Remove most of the runCommandWithOutput from integration tests 2017-01-30 10:54:06 +01:00
docker_cli_cp_to_container_test.go fix some ineffectual assignments 2017-01-24 11:16:19 +01:00
docker_cli_cp_to_container_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_cp_utils.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_create_test.go Fix issue #30201 – clean trust folder at the end of the test 2017-03-28 16:12:41 +02:00
docker_cli_create_unix_test.go validate mount path for tmpfs 2017-01-20 06:01:48 +00:00
docker_cli_daemon_plugins_test.go Add missing test for daemon kill with plugins running. 2017-03-22 14:38:55 -07:00
docker_cli_daemon_test.go Ensure unmount before removing local volume. 2017-05-04 13:56:32 -07:00
docker_cli_diff_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_events_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_events_unix_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_exec_test.go Merge pull request #32076 from tmp6154/master 2017-04-03 22:30:28 +02:00
docker_cli_exec_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_experimental_test.go Small cleanups on integration cli 2017-01-12 16:57:59 +01:00
docker_cli_export_import_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_cli_external_graphdriver_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_external_volume_driver_unix_test.go don't obfuscate error during create 2017-04-03 21:04:40 -04:00
docker_cli_health_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_help_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_cli_history_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_images_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_import_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_cli_info_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_info_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_inspect_test.go do not fail fast when executing inspect command 2017-03-10 16:09:09 +08:00
docker_cli_kill_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_cli_links_test.go Remove most of the runCommandWithOutput from integration tests 2017-01-30 10:54:06 +01:00
docker_cli_links_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_login_test.go Revert "Planned 1.13 deprecation: email from login" 2017-03-15 10:43:18 -07:00
docker_cli_logout_test.go Merge pull request #29799 from vdemeester/integration-registry-package 2017-01-02 15:37:09 +01:00
docker_cli_logs_bench_test.go Fixes some issues with jsonfile write/read 2016-03-21 11:05:58 -04:00
docker_cli_logs_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_cli_nat_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_netmode_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_network_unix_test.go Adding test for docker/docker#8795 2017-04-10 21:31:35 -07:00
docker_cli_oom_killed_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_pause_test.go Remove most of the runCommandWithOutput from integration tests 2017-01-30 10:54:06 +01:00
docker_cli_plugins_logdriver_test.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
docker_cli_plugins_test.go Merge pull request #30047 from duglin/distError 2017-03-10 16:44:49 -08:00
docker_cli_port_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_proxy_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_cli_prune_unix_test.go Add `label` filter for `docker system prune` 2017-04-06 09:11:25 -07:00
docker_cli_ps_test.go 28722: List of containers with networkID filter is not working 2017-03-31 08:57:09 +00:00
docker_cli_pull_local_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_pull_test.go Block Windows images on Linux 2017-02-02 11:07:30 -08:00
docker_cli_pull_trusted_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_push_test.go Revert retry count change 2017-04-05 16:07:43 -07:00
docker_cli_registry_user_agent_test.go Revert "Planned 1.13 deprecation: email from login" 2017-03-15 10:43:18 -07:00
docker_cli_rename_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_restart_test.go Fix start/restart of detached container 2017-03-22 02:38:26 -07:00
docker_cli_rm_test.go create unit tests for rm (running, paused, restarting) errormessages 2017-04-03 21:58:05 +02:00
docker_cli_rmi_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_run_test.go cli: add `--mount` to `docker run` 2017-04-05 04:52:08 +00:00
docker_cli_run_unix_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_cli_save_load_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_save_load_unix_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_search_test.go fix some ineffectual assignments 2017-01-24 11:16:19 +01:00
docker_cli_secret_create_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_cli_secret_inspect_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_cli_secret_ls_test.go make secret ls support filters in CLI 2017-03-27 10:16:45 +08:00
docker_cli_service_create_test.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
docker_cli_service_health_test.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
docker_cli_service_logs_test.go Remove experimental from service logs 2017-04-10 13:40:45 -07:00
docker_cli_service_scale_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_service_update_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_cli_sni_test.go Disable flakey TestClientSetsTLSServerName 2016-02-02 19:56:31 -08:00
docker_cli_stack_test.go Fix flaky TestStackRemove test. 2017-03-24 15:31:08 -04:00
docker_cli_start_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_cli_stats_test.go Send "Name" and "ID" when stating stopped containers 2017-02-09 09:46:59 +08:00
docker_cli_stop_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_swarm_test.go integration-cli: Have TestSwarmJoinPromoteLocked wait for the role to change in the certificate 2017-04-17 22:22:39 -07:00
docker_cli_swarm_unix_test.go skip plugin test on non x86 architectures 2017-03-07 09:28:10 -05:00
docker_cli_tag_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_top_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_update_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_update_unix_test.go Add `--cpus` support for `docker update` 2017-04-06 15:40:12 -07:00
docker_cli_userns_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_v2_only_test.go Fix leaked connections in integration tests 2017-01-11 14:48:48 -08:00
docker_cli_version_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_volume_test.go Introduce a `cli` package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_wait_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_deprecated_api_v124_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_deprecated_api_v124_unix_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_experimental_network_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
docker_hub_pull_suite_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_utils_test.go [test-integration] Migrate some more tests to `cli` package 2017-03-28 15:17:31 +02:00
events_utils_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
fixtures_linux_daemon_test.go Move TearDownTest cleaning to environment package 2017-03-01 21:04:11 +01:00
fixtures_test.go Move TearDownTest cleaning to environment package 2017-03-01 21:04:11 +01:00
requirements_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
requirements_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
test_vars_exec_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_noexec_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_noseccomp_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_seccomp_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
test_vars_unix_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_windows_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
trust_server_test.go Merge pull request #30151 from tonistiigi/fix-defunct 2017-01-16 08:55:16 +01:00
utils_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00