1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration-cli
Kir Kolyshkin 3676bd8569 TestBuildNotVerboseFailureRemote: fix false positive
I got the following test failure on power:

10:00:56
10:00:56
----------------------------------------------------------------------
10:00:56 FAIL: docker_cli_build_test.go:3521:
DockerSuite.TestBuildNotVerboseFailureRemote
10:00:56
10:00:56 docker_cli_build_test.go:3536:
10:00:56     c.Fatal(fmt.Errorf("Test[%s] expected that quiet stderr and
verbose stdout are equal; quiet [%v], verbose [%v]", name,
quietResult.Stderr(), result.Combined()))
10:00:56 ... Error: Test[quiet_build_wrong_remote] expected that quiet
stderr and verbose stdout are equal; quiet [
10:00:56 unable to prepare context: unable to download remote context
http://something.invalid: Get http://something.invalid: dial tcp: lookup
something.invalid on 172.29.128.11:53: no such host
10:00:56 ], verbose [unable to prepare context: unable to download
remote context http://something.invalid: Get http://something.invalid:
dial tcp: lookup something.invalid on 8.8.8.8:53: no such host
10:00:56 ]
10:00:56
10:00:56
10:00:56
----------------------------------------------------------------------

The reason is, either more than one name server is configured, or
nameserver was reconfigured in the middle of the test run. In any case,
different nameserver IP in an error messages should not be treated
as a failure, so let's strip those out.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2017-12-28 13:08:41 -08:00
..
checker
cli Separate the GenerateRandomAlphaOnlyString function from stringutils 2017-10-28 09:03:02 +08:00
daemon Added support for swarm service isolation mode 2017-10-30 16:16:18 +01:00
environment
fixtures
registry
request
requirement
benchmark_test.go
check_test.go [integration-cli] ensureFrozenImages here too 2017-10-24 14:24:25 -04:00
daemon_swarm_hack_test.go
docker_api_attach_test.go
docker_api_auth_test.go
docker_api_build_test.go Set OS on scratch image and prevent panic if empty 2017-11-06 18:22:15 -08:00
docker_api_containers_test.go
docker_api_containers_unix_test.go Only chown network files within container metadata 2017-11-01 10:14:01 -04:00
docker_api_containers_windows_test.go
docker_api_create_test.go
docker_api_events_test.go
docker_api_exec_resize_test.go
docker_api_exec_test.go libcontainerd: fix leaking container/exec state 2017-11-13 15:48:21 -08:00
docker_api_images_test.go
docker_api_info_test.go Use commit-sha instead of tag for containerd 2017-12-12 10:43:56 -08:00
docker_api_inspect_test.go Copy Inslice() to those parts that use it 2017-11-10 13:42:38 +08:00
docker_api_inspect_unix_test.go
docker_api_ipcmode_test.go
docker_api_logs_test.go Prevent potential panic in TestLogsAPIUntil 2017-12-14 23:20:44 -08:00
docker_api_network_test.go Merge pull request #35030 from tossmilestone/34459-fix-network-create-conflict-errcode 2017-10-25 14:29:20 +02:00
docker_api_resize_test.go
docker_api_session_test.go
docker_api_stats_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_api_stats_unix_test.go
docker_api_swarm_config_test.go
docker_api_swarm_node_test.go
docker_api_swarm_secret_test.go
docker_api_swarm_service_test.go
docker_api_swarm_test.go
docker_api_test.go
docker_api_update_unix_test.go
docker_api_volumes_test.go
docker_cli_attach_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_cli_attach_unix_test.go
docker_cli_build_test.go TestBuildNotVerboseFailureRemote: fix false positive 2017-12-28 13:08:41 -08:00
docker_cli_build_unix_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_cli_by_digest_test.go Copy Inslice() to those parts that use it 2017-11-10 13:42:38 +08:00
docker_cli_commit_test.go Fix environ substitutions in docker commit --change ... 2017-12-20 11:03:38 -08:00
docker_cli_config_create_test.go
docker_cli_config_inspect_test.go
docker_cli_config_ls_test.go
docker_cli_cp_from_container_test.go Remove a test that was moved to docker/cli 2017-10-30 18:39:11 -04:00
docker_cli_cp_test.go
docker_cli_cp_to_container_test.go Bump Go to 1.9.2 2017-11-21 20:57:02 +01:00
docker_cli_cp_to_container_unix_test.go
docker_cli_cp_utils_test.go
docker_cli_create_test.go Remove support for referencing images by 'repository:shortid' 2017-12-14 21:10:29 -08:00
docker_cli_create_unix_test.go
docker_cli_daemon_plugins_test.go
docker_cli_daemon_test.go integration-cli/TestCleanupMounts: fix/improve 2017-12-28 13:08:41 -08:00
docker_cli_diff_test.go
docker_cli_events_test.go Remove TestEventsLimit() 2017-12-20 12:40:05 +01:00
docker_cli_events_unix_test.go
docker_cli_exec_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_exec_unix_test.go
docker_cli_export_import_test.go
docker_cli_external_graphdriver_unix_test.go
docker_cli_external_volume_driver_unix_test.go
docker_cli_health_test.go
docker_cli_history_test.go
docker_cli_images_test.go
docker_cli_import_test.go
docker_cli_info_test.go Remove deprecated support for duplicate label-keys 2017-11-12 03:11:37 +01:00
docker_cli_info_unix_test.go
docker_cli_inspect_test.go
docker_cli_kill_test.go
docker_cli_links_test.go
docker_cli_links_unix_test.go
docker_cli_login_test.go
docker_cli_logout_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
docker_cli_logs_bench_test.go
docker_cli_logs_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_nat_test.go
docker_cli_netmode_test.go Restore error type in FindNetwork 2017-11-29 11:22:57 -08:00
docker_cli_network_unix_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_cli_oom_killed_test.go
docker_cli_pause_test.go
docker_cli_plugins_logdriver_test.go
docker_cli_plugins_test.go Fix potential panic during plugin set. 2017-11-28 13:06:24 -08:00
docker_cli_port_test.go
docker_cli_proxy_test.go
docker_cli_prune_unix_test.go
docker_cli_ps_test.go
docker_cli_pull_local_test.go
docker_cli_pull_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
docker_cli_pull_trusted_test.go
docker_cli_push_test.go
docker_cli_registry_user_agent_test.go
docker_cli_rename_test.go
docker_cli_restart_test.go
docker_cli_rm_test.go
docker_cli_rmi_test.go
docker_cli_run_test.go integration-cli/TestRunModeIpcContainer: remove 2017-12-28 13:08:41 -08:00
docker_cli_run_unix_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_save_load_test.go
docker_cli_save_load_unix_test.go
docker_cli_search_test.go
docker_cli_secret_create_test.go
docker_cli_secret_inspect_test.go
docker_cli_secret_ls_test.go
docker_cli_service_create_test.go
docker_cli_service_health_test.go
docker_cli_service_logs_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_service_scale_test.go
docker_cli_service_update_test.go
docker_cli_sni_test.go
docker_cli_start_test.go
docker_cli_stats_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_stop_test.go
docker_cli_swarm_test.go Change TestSwarmServiceTTY to only verify running containers since with swarmkit#b187b24 service deletions/scale-downs don't directly remove the container. 2017-12-05 14:51:14 -08:00
docker_cli_swarm_unix_test.go Added support for swarm service isolation mode 2017-10-30 16:16:18 +01:00
docker_cli_tag_test.go Remove support for referencing images by 'repository:shortid' 2017-12-14 21:10:29 -08:00
docker_cli_top_test.go
docker_cli_update_test.go
docker_cli_update_unix_test.go
docker_cli_userns_test.go
docker_cli_v2_only_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
docker_cli_volume_test.go
docker_cli_wait_test.go
docker_deprecated_api_v124_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_deprecated_api_v124_unix_test.go
docker_experimental_network_test.go
docker_hub_pull_suite_test.go
docker_utils_test.go
events_utils_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
fixtures_linux_daemon_test.go
requirements_test.go
requirements_unix_test.go
test_vars_exec_test.go
test_vars_noexec_test.go
test_vars_noseccomp_test.go
test_vars_seccomp_test.go
test_vars_test.go
test_vars_unix_test.go
test_vars_windows_test.go
trust_server_test.go
utils_test.go Separate the GenerateRandomAlphaOnlyString function from stringutils 2017-10-28 09:03:02 +08:00