Merge pull request #19648 from edsantiago/scrap_icmp_test

CI: systests: remove pasta ICMP tests
This commit is contained in:
OpenShift Merge Robot 2023-08-16 17:08:03 -02:30 committed by GitHub
commit 53b2b0222d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 31 deletions

View File

@ -758,37 +758,6 @@ function teardown() {
pasta_test_do
}
### ICMP, ICMPv6 ###############################################################
@test "podman networking with pasta(1) - ICMP echo request" {
skip_if_no_ipv4 "IPv6 not routable on the host"
local minuid=$(cut -f1 /proc/sys/net/ipv4/ping_group_range)
local maxuid=$(cut -f2 /proc/sys/net/ipv4/ping_group_range)
if [ $(id -u) -lt ${minuid} ] || [ $(id -u) -gt ${maxuid} ]; then
skip "ICMP echo sockets not available for this UID"
fi
run_podman run --net=pasta $IMAGE \
sh -c 'ping -c3 -W1 $(sed -nr "s/^nameserver[ ]{1,}([^.]*).(.*)/\1.\2/p" /etc/resolv.conf | head -1)'
}
@test "podman networking with pasta(1) - ICMPv6 echo request" {
skip "Unsupported test, see the 'Local forwarder, IPv6' case for details"
skip_if_no_ipv6 "IPv6 not routable on the host"
local minuid=$(cut -f1 /proc/sys/net/ipv4/ping_group_range)
local maxuid=$(cut -f2 /proc/sys/net/ipv4/ping_group_range)
if [ $(id -u) -lt ${minuid} ] || [ $(id -u) -gt ${maxuid} ]; then
skip "ICMPv6 echo sockets not available for this UID"
fi
run_podman run --net=pasta $IMAGE \
sh -c 'ping -c3 -W1 $(sed -nr "s/^nameserver[ ]{1,}([^:]*):(.*)/\1:\2/p" /etc/resolv.conf | head -1)'
}
### Lifecycle ##################################################################
@test "podman networking with pasta(1) - pasta(1) quits when the namespace is gone" {