Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: do not force nftables #568

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Feb 10, 2025

We don't care about the driver used for out testing so just stick with the package default. I did add this only to get passing test locally back then and didn't actually intend to commit this at all.

We don't care about the driver used for out testing so just stick with
the package default. I did add this only to get passing test locally
back then and didn't actually intend to commit this at all.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Copy link
Contributor

openshift-ci bot commented Feb 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Luap99
Copy link
Member Author

Luap99 commented Feb 10, 2025

New flake?!

not ok 10 basic container - internal network has no DNS - ipv6
# (from function `assert' in file test/helpers.bash, line 199,
#  in test file test/100-basic-name-resolution.bats, line 272)
#   `assert "$ip_a1"' failed
# /usr/sbin/dnsmasq
#  nsenter -m -n -t 2809 ip link set lo up
#  nsenter -m -n -t 2809 dnsmasq --conf-file=/var/tmp/aardvark-dns/test/dnsmasq.conf --pid-file=/tmp/aardvark_bats.bQ0RKk/dnsmasq.pid
#  nsenter -m -n -t 2809 mount --bind /tmp/aardvark_bats.bQ0RKk/resolv.conf /etc/resolv.conf
#  nsenter -m -n -t 2809 /usr/libexec/podman/netavark --config /tmp/aardvark_bats.bQ0RKk -a /var/tmp/aardvark-dns/test/../bin/aardvark-dns setup /proc/2848/ns/net
# {"podman1":{"dns_search_domains":["dns.podman"],"dns_server_ips":["fd2d:1ecf:572::1"],"interfaces":{"eth0":{"mac_address":"16:a6:b4:be:96:4f","subnets":[{"gateway":"fd2d:1ecf:572::1","ipnet":"fd2d:1ecf:572::4170/64"}]}}}}
#  nsenter -n -t 2848 dig +short aone @fd2d:1ecf:572:0::1 AAAA
# fd2d:1ecf:572::4170
# #/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
# #|     FAIL: [no test name given]
# #| expected: 'fd2d:1ecf:572:0::4170'
# #|   actual: 'fd2d:1ecf:572::4170'
# #\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#  nsenter -m -n -t 2809 /usr/libexec/podman/netavark --config /tmp/aardvark_bats.bQ0RKk -a /var/tmp/aardvark-dns/test/../bin/aardvark-dns teardown /proc/2848/ns/net
# 2809

How the hell is converting an ipv6 address to string not deterministic. The address is the same except for the extra :0:

@mheon
Copy link
Member

mheon commented Feb 10, 2025

That seems like a Golang bug, all :0: blocks can and should be removed from displayed addresses.

@mheon
Copy link
Member

mheon commented Feb 10, 2025

LGTM though

@Luap99
Copy link
Member Author

Luap99 commented Feb 10, 2025

That seems like a Golang bug, all :0: blocks can and should be removed from displayed addresses.

Look at the repo, no golang in sight :) But this is the output of dig +short not av or nv so I am even more confused...

@mheon
Copy link
Member

mheon commented Feb 10, 2025

Definitely a display bug, whatever tool or language it's coming from - while both addresses are correct, removing all extraneous blocks is proper to reduce display issues and the amount of space these giant 128-bit addresses take.

@baude
Copy link
Member

baude commented Feb 11, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Feb 11, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 1c1255c into containers:main Feb 11, 2025
39 checks passed
@Luap99 Luap99 deleted the revert-nftables branch February 11, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants