spiegel_podman/test/e2e
Matthew Heon 4e2a0b5b9c Enable IPv6 port binding
Two areas needed tweaking to accomplish this: port parsing and
binding ports on the host.

Parsing is an obvious problem - we have to accomodate an IPv6
address enclosed by [] as well as a normal IPv4 address. It was
slightly complicated by the fact that we previously just counted
the number of colons in the whole port definition (a thousand
curses on whoever in the IPv6 standard body decided to reuse
colons for address separators), but did not end up being that
bad.

Libpod also (optionally) binds ports on the host to prevent their
reuse by host processes. This code was IPv4 only for TCP, and
bound to both for UDP (which I'm fairly certain is not correct,
and has been adjusted). This just needed protocols adjusted to
read "tcp4"/"tcp6" and "udp4"/"udp6" based on what we wanted to
bind to.

Fixes #5715

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-10 13:28:09 -04:00
..
build Fix environment handling from containers.conf 2020-04-02 13:10:08 -04:00
config Properly handle containers.conf devices 2020-05-01 15:00:26 -04:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
attach_test.go V2 Fix interface nil checks 2020-05-26 10:00:15 -07:00
build_test.go podman: split env variables in env and overrides 2020-05-07 14:16:50 -04:00
checkpoint_test.go e2e: disable checkpoint test on Ubuntu 2020-06-08 16:51:32 +02:00
commit_test.go govern remote attach and start 2020-05-20 13:02:18 -05:00
common_test.go Add streaming ability to endpoint 2020-05-27 12:16:39 -05:00
config.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
config_amd64.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_inspect_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
containers_conf_test.go Remove skip on containers.conf tests 2020-05-01 15:00:33 -04:00
cp_test.go test: enable cp tests 2020-04-29 15:40:31 +02:00
create_staticip_test.go vendor in containers/common v0.9.4 2020-04-22 06:57:06 -04:00
create_staticmac_test.go test: add tests for --mac-address 2019-11-07 18:38:02 +01:00
create_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
diff_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
events_test.go Add streaming ability to endpoint 2020-05-27 12:16:39 -05:00
exec_test.go Enable detached exec for remote 2020-06-02 15:30:42 -04:00
exists_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
export_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
generate_kube_test.go Enable Ubuntu tests in CI 2020-06-08 12:21:16 +02:00
generate_systemd_test.go Added new flags to 'podman generate systemd' to change the unit name prefix 2020-05-22 18:38:39 +02:00
healthcheck_run_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
history_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
images_test.go turn on remote testing for images. podman-remote build now works. 2020-06-01 12:44:04 -04:00
import_test.go Completely rework --change parsing 2019-12-04 18:55:30 -05:00
info_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
init_test.go enable remote integration tests for init 2020-05-20 15:35:24 -05:00
inspect_test.go Merge pull request #6482 from mheon/split_inspect 2020-06-04 13:36:10 +02:00
kill_test.go Test fixes for remote integration 2020-05-20 12:56:38 -05:00
libpod_suite_remote_test.go V2 Add support for ssh authentication methods 2020-06-03 09:54:39 -07:00
libpod_suite_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
libpod_suite_varlink_test.go Attempt to turn on build_without_cgo tests 2020-05-22 12:56:19 -04:00
load_test.go enable load integration tests 2020-04-27 10:20:53 -05:00
login_logout_test.go enable login/logut unspecified args 2020-05-07 09:48:13 -04:00
logs_test.go V2 enable remote logs and testing 2020-05-22 07:51:29 -07:00
manifest_test.go remote manifest test 2020-05-21 16:17:39 -04:00
mount_test.go enable rootless mount tests 2020-05-11 13:03:09 +02:00
namespace_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
negative_test.go Refactor tests when checking for error exit codes 2019-10-16 08:10:07 -07:00
network_create_test.go add provided cni networks to spec gen 2020-05-01 09:20:52 -05:00
network_test.go Testcase added for network commands 2020-05-20 02:53:47 +00:00
pause_test.go Turn on more remote tests 2020-05-21 16:04:31 -04:00
play_kube_test.go spec: fix order for setting rlimits 2020-05-11 13:02:33 +02:00
pod_create_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
pod_infra_container_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_inspect_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_kill_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_pause_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_pod_namespaces.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_prune_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_ps_test.go Add support for format {{.Label}} 2020-06-01 11:54:15 -05:00
pod_restart_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_rm_test.go fix remote test --ignore & turn on more tests 2020-06-03 15:04:58 -04:00
pod_start_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
pod_stats_test.go Properly follow linked namespace container for stats 2020-06-02 17:58:52 -04:00
pod_stop_test.go fix remote test --ignore & turn on more tests 2020-06-03 15:04:58 -04:00
pod_top_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
port_test.go Enables port test 2020-05-06 16:06:41 -04:00
prune_test.go Enable system prune test remote client 2020-05-21 06:10:30 -04:00
ps_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
pull_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
push_test.go enable the push e2e tests 2020-04-29 14:35:48 +02:00
restart_test.go v2 enable remote integration tests 2020-05-19 14:26:19 -05:00
rm_test.go fix remote test --ignore & turn on more tests 2020-06-03 15:04:58 -04:00
rmi_test.go Enable rmi test 2020-05-21 14:55:34 -04:00
run_cgroup_parent_test.go test: enable cgroup parent tests 2020-04-24 13:05:43 +02:00
run_cleanup_test.go fix unit test to use Expect 2019-09-12 21:01:43 +00:00
run_cpu_test.go Refactor tests when checking for error exit codes 2019-10-16 08:10:07 -07:00
run_device_test.go vendor in containers/common v0.9.4 2020-04-22 06:57:06 -04:00
run_dns_test.go Enable these tests 2020-04-26 07:27:41 -04:00
run_entrypoint_test.go test: enable entrypoint tests 2020-04-30 11:33:36 +02:00
run_env_test.go podman: split env variables in env and overrides 2020-05-07 14:16:50 -04:00
run_exit_test.go Get proper exit code when running or starting a container. 2020-05-21 10:49:13 -04:00
run_memory_test.go Fix cgroupsv2 run test, unexpected output 2020-02-25 12:34:26 -05:00
run_networking_test.go Enable IPv6 port binding 2020-06-10 13:28:09 -04:00
run_ns_test.go enable run_ns integration tests 2020-04-26 10:42:40 -05:00
run_passwd_test.go Enable these tests 2020-04-26 07:27:41 -04:00
run_privileged_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
run_restart_test.go enable run_restart integration tests 2020-04-26 10:44:17 -05:00
run_seccomp.go policy for seccomp-profile selection 2020-01-09 17:57:58 +01:00
run_security_labels.go Allow devs to set labels in container images for default capabilities. 2020-03-02 16:37:32 -05:00
run_selinux_test.go vendor in containers/common v0.9.4 2020-04-22 06:57:06 -04:00
run_signal_test.go enable run_signal integration tests 2020-04-26 10:34:47 -05:00
run_staticip_test.go curb flakes in integration tests 2020-02-26 08:30:28 -06:00
run_test.go test: enable remaining run tests 2020-04-30 11:33:37 +02:00
run_userns_test.go podman: assume user namespace if there are mappings 2020-04-24 15:55:38 +02:00
run_volume_test.go Add support for readonly option to --mount 2020-05-26 16:05:11 -04:00
runlabel_test.go container runlabel 2020-05-07 16:18:39 +02:00
save_test.go Test fixes for remote integration 2020-05-20 12:56:38 -05:00
search_test.go enable search tests 2020-04-29 16:28:18 +02:00
start_test.go Fix podman-remote start tests 2020-05-21 16:46:26 -04:00
stats_test.go fix pod stats flake 2020-05-08 09:05:37 -05:00
stop_test.go turn on remote stop_test 2020-06-03 12:55:58 -04:00
system_df_test.go v2 system subcommand 2020-05-05 12:24:33 -05:00
system_reset_test.go Removes remote system reset functionality. skip e2e test for remote. 2020-05-22 07:49:55 -04:00
systemd_test.go Fix handling of systemd. 2020-06-05 13:01:57 -04:00
tag_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
test.yaml Add support for RunAsUser and RunAsGroup 2019-11-06 10:35:37 -05:00
top_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
tree_test.go speed up rootless tests 2019-07-08 12:31:31 -05:00
trust_test.go v2trust set and show 2020-05-07 09:55:52 -05:00
unshare_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
untag_test.go remote untag test 2020-05-21 11:35:04 -04:00
version_test.go V2 restore podman -v command 2020-04-29 09:15:24 -07:00
volume_create_test.go enable volume integration tests 2020-04-27 16:12:06 -05:00
volume_inspect_test.go enable volume integration tests 2020-04-27 16:12:06 -05:00
volume_ls_test.go enable volume integration tests 2020-04-27 16:12:06 -05:00
volume_prune_test.go And system prune feature for v2. 2020-05-01 13:57:16 -04:00
volume_rm_test.go Add more Remote tests 2020-06-03 06:35:45 -04:00
wait_test.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00