Skip to content

Commit

Permalink
Merge pull request containers#17713 from sbrivio-rh/pasta
Browse files Browse the repository at this point in the history
pasta: Re-enable "Local forwarder, IPv4" test now that packages in CI images are fixed
  • Loading branch information
openshift-merge-robot authored Mar 8, 2023
2 parents 2a6a80e + f928cf5 commit 747369c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
8 changes: 3 additions & 5 deletions test/system/505-networking-pasta.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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" {
Expand Down

0 comments on commit 747369c

Please sign in to comment.