spiegel_podman/test/e2e
Ed Santiago 5acf8ae120 Eighty-six eighty-eighty
(Sorry, couldn't resist).

CI flakes have been coming down - thank you to everyone who has
been making them a priority.

This leaves a noisy subset that I've just been ignoring for months:

    Running: podman ... -p 8080:something
    ...cannot listen on the TCP port: listen tcp4 :8080: bind: address already in use

Sometimes these are one-time errors resolved on 2nd try; sometimes
they fail three times, forcing CI user to hit Rerun. In all cases
they make noise in my flake logs, which costs me time.

My assumption is that this has to do with ginkgo running random
tests in parallel. Since many e2e tests simplemindedly use 8080,
collisions are inevitable.

Solution: simplemindedly replace 8080 with other (also arbitrarily
picked) numbers. This is imperfect -- it requires human developers
to pick a number NNNN and 'grep NNNN test/e2e/*' before adding
new tests, which I am 100% confident ain't gonna happen -- but
it's better than what we have now.

Side note: I considered writing and using a RandomAvailablePort()
helper, but that would still be racy. Plus, it would be a pain
to interpolate strings into so many places. Finally, with this
hand-tooled approach, if/when we _do_ get conflicts on port NNNN,
it should be very easy to grep for NNNN, find the offending tests
that reuse that port, and fix one of them.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-09-22 07:49:19 -06:00
..
build inspect: printTmpl must Flush writer 2021-09-09 16:37:24 +05:30
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Add support for retrieving system service --timeout 2021-09-20 12:10:14 -04:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
sign save image remove signatures 2020-10-21 10:00:08 -04:00
testdata migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
attach_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
build_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
checkpoint_test.go Add Checkpointed bool to Inspect 2021-09-07 14:16:01 -04:00
commit_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
common_test.go e2e tests: fix overlay: Unknown option vfs.imagestore 2021-08-20 02:09:12 +08:00
config.go Add tests for volume plugins 2021-01-14 16:43:23 -05:00
config_amd64.go speed up CI handling of images 2021-04-07 15:40:29 -05:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_create_volume_test.go Copy the content from the underlying image into the newly created volume. 2021-07-20 11:39:32 -04:00
container_inspect_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
containers_conf_test.go Add support for retrieving system service --timeout 2021-09-20 12:10:14 -04:00
cp_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_staticip_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_staticmac_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
diff_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
events_test.go logFile until flag issue 2021-08-23 12:51:56 -04:00
exec_test.go Make secret env var available to exec session 2021-08-31 13:53:51 -04:00
exists_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
export_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
generate_kube_test.go Add init containers to generate and play kube 2021-09-10 09:37:46 -04:00
generate_systemd_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
healthcheck_run_test.go Stop outputting 'healthy' on healthcheck 2021-09-10 11:20:01 -04:00
history_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
image_scp_test.go Created scp.go image_scp_test.go and podman-image-scp.1.md 2021-07-30 17:19:24 -04:00
image_sign_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
images_test.go Fix image prune --filter cmd behavior 2021-06-08 15:18:00 +02:00
import_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
info_test.go Podman info output plugin information 2021-08-19 17:33:20 +02:00
init_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
inspect_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
kill_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
libpod_suite_remote_test.go Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
libpod_suite_test.go Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
load_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
login_logout_test.go Fix AVC denials in tests of volume mounts 2021-08-18 12:04:06 -04:00
logs_test.go logFile until flag issue 2021-08-23 12:51:56 -04:00
manifest_test.go manifest: rm should not remove referenced images. 2021-09-02 17:30:02 +05:30
mount_rootless_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
mount_test.go Add no-trunc support to podman-events 2021-09-16 09:41:29 -04:00
namespace_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
negative_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
network_connect_disconnect_test.go Fix network aliases with network id 2021-08-20 10:49:33 +02:00
network_create_test.go Do not allow network modes to be used as network names 2021-09-16 11:01:52 +02:00
network_test.go Wire network interface into libpod 2021-09-15 20:00:20 +02:00
pause_test.go stats: allow to read stats for paused containers 2021-09-10 09:03:08 +02:00
play_build_test.go Add ability to build images in play kube 2021-08-18 09:55:24 -05:00
play_kube_test.go Generate kube should'd add podman default environment vars 2021-09-21 09:03:31 -04:00
pod_create_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
pod_infra_container_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_initcontainers_test.go rename oneshot initcontainers to once 2021-08-12 12:57:15 -05:00
pod_inspect_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
pod_kill_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_pause_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_pod_namespaces_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_prune_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_ps_test.go Add until filter to podman pod ps 2021-08-10 22:10:40 +02:00
pod_restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_rm_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_start_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
pod_stats_test.go e2e tests: re-enable and fix podman stats tests 2021-08-02 17:30:53 +02:00
pod_stop_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_top_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
port_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
prune_test.go refine dangling checks 2021-07-26 09:28:17 +02:00
ps_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
pull_test.go Bump github.com/containers/image/v5 from 5.13.2 to 5.14.0 2021-07-25 04:54:29 -04:00
push_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
rename_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
rm_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
rmi_test.go speed up CI handling of images 2021-04-07 15:40:29 -05:00
run_apparmor_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_cgroup_parent_test.go test: enable --cgroup-parent test 2021-09-14 13:59:09 +02:00
run_cleanup_test.go Add no-trunc support to podman-events 2021-09-16 09:41:29 -04:00
run_cpu_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_device_test.go Fix device tests using ls test files 2021-08-11 13:07:00 -04:00
run_dns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_entrypoint_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_env_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_exit_test.go If container exits with 125 podman should exit with 125 2021-09-13 14:04:01 -04:00
run_memory_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_networking_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
run_ns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_passwd_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_privileged_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_seccomp_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_security_labels_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_selinux_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_signal_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_staticip_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
run_userns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_volume_test.go volume: Add support for overlay on named volumes 2021-09-21 13:06:23 +05:30
run_working_dir_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
runlabel_test.go container runlabel remove image tag from name 2021-09-15 16:35:55 +02:00
save_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
search_test.go test/e2e/search_test.go - relax tests 2021-09-09 16:02:40 +02:00
secret_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
start_test.go podman start: remove containers configured for auto removal 2021-07-16 10:57:40 +02:00
stats_test.go Skip stats test in CGv1 container environments 2021-08-18 12:04:06 -04:00
stop_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
system_connection_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
system_df_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
system_reset_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
systemd_test.go make podman run --systemd case insensitive 2021-09-02 11:01:10 +02:00
tag_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
toolbox_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
top_test.go vendor c/psgo@v1.7.1 2021-09-22 10:35:08 +02:00
tree_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
trust_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
unshare_test.go podman unshare keep exit code 2021-09-10 15:30:25 +02:00
untag_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
version_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
volume_create_test.go volumes: Add volume import to allow importing contents on tar into volume 2021-08-26 14:14:14 +05:30
volume_exists_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_inspect_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_ls_test.go Add until filter to volume ls filters list 2021-07-22 00:01:07 +02:00
volume_plugin_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_prune_test.go Add prune until filter test for podman volume cli 2021-07-26 22:37:45 +02:00
volume_rm_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
wait_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00