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

Update ptf-ebpf CI test to Ubuntu 22.04 #5159

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jafingerhut
Copy link
Contributor

No description provided.

@jafingerhut
Copy link
Contributor Author

I have seen that the PSATernaryTest fails when trying to run the ptf-ebpf CI test on Ubuntu 22.04. It passes fine on Ubuntu 20.04. I have done a little bit of debugging, enough to determine that the table entries added, and the packet sent in, are the same on Ubuntu 20.04 and 22.04 tests, but the packet out is different on 22.04, for reasons that I do not understand.

By 2025-Apr-01, we should choose among one of the following courses of action:
(a) disable this CI test
(b) modify the test so it passes on Ubuntu 22.04 (or 24.04)
(c) modify the test so it runs in Ubuntu 20.04 in a container or something similar.

(b) seems preferable, if we can figure out how.

@fruffy
Copy link
Collaborator

fruffy commented Mar 3, 2025

I have seen that the PSATernaryTest fails when trying to run the ptf-ebpf CI test on Ubuntu 22.04. It passes fine on Ubuntu 20.04. I have done a little bit of debugging, enough to determine that the table entries added, and the packet sent in, are the same on Ubuntu 20.04 and 22.04 tests, but the packet out is different on 22.04, for reasons that I do not understand.

By 2025-Apr-01, we should choose among one of the following courses of action: (a) disable this CI test (b) modify the test so it passes on Ubuntu 22.04 (or 24.04) (c) modify the test so it runs in Ubuntu 20.04 in a container or something similar.

(b) seems preferable, if we can figure out how.

Iirc there are two reasons: Different kernel version and different clang version. The combination causes the produce program to be rejected by the verifier. I can take a look at this.

@jafingerhut jafingerhut marked this pull request as draft March 5, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Topics related to code style and build and test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants