Merge pull request #17713 from sbrivio-rh/pasta

pasta: Re-enable "Local forwarder, IPv4" test now that packages in CI images are fixed
This commit is contained in:
OpenShift Merge Robot 2023-03-08 20:22:45 +01:00 committed by GitHub
commit 747369c82d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View file

@ -32,7 +32,7 @@ env:
DEBIAN_NAME: "debian-12"
# Image identifiers
IMAGE_SUFFIX: "c20230223t153813z-f37f36d12"
IMAGE_SUFFIX: "c20230307t192532z-f37f36d12"
# EC2 images
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
FEDORA_AARCH64_AMI: "fedora-podman-aws-arm64-${IMAGE_SUFFIX}"

View file

@ -319,7 +319,7 @@ function teardown() {
@test "podman networking with pasta(1) - External resolver, IPv4" {
skip_if_no_ipv4 "IPv4 not routable on the host"
run_podman run --net=pasta $IMAGE nslookup 127.0.0.1 || :
run_podman '?' run --net=pasta $IMAGE nslookup 127.0.0.1
assert "$output" =~ "1.0.0.127.in-addr.arpa" \
"127.0.0.1 not resolved"
@ -335,14 +335,12 @@ function teardown() {
}
@test "podman networking with pasta(1) - Local forwarder, IPv4" {
skip "FIXME: #17074: some pasta dns problem"
skip_if_no_ipv4 "IPv4 not routable on the host"
run_podman run --dns 198.51.100.1 \
--net=pasta:--dns-forward,198.51.100.1 $IMAGE nslookup 127.0.0.1
--net=pasta:--dns-forward,198.51.100.1 $IMAGE nslookup 127.0.0.1 || :
assert "$output" =~ "1.0.0.127.in-addr.arpa" \
"127.0.0.1 not resolved to 1.0.0.127.in-addr.arpa"
assert "$output" =~ "1.0.0.127.in-addr.arpa" "No answer from resolver"
}
@test "podman networking with pasta(1) - Local forwarder, IPv6" {