-
Notifications
You must be signed in to change notification settings - Fork 460
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
Update ptf-ebpf CI test to Ubuntu 22.04 #5159
Conversation
Signed-off-by: Andy Fingerhut <[email protected]>
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: (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/p4c into try-updating-ci-ptf-test-to-ubuntu-22.0
... it has been fixed to pass again. Signed-off-by: Andy Fingerhut <[email protected]>
@fruffy This PR is one possible way forward -- i.e. comment out the one test that fails on Ubuntu 22.04 in the EBPF back end, named PSATernaryTest, but keep all of the other passing ones uncommented. If you approve of merging this, I will create a p4c issue to track if/when someone fixes the PSATernaryTest on Ubuntu 22.04. |
I have some changes ready which I would like to try out before disabling this test. But might take a little longer until I can create a PR. |
Great. I will leave this PR open in case it turns out we want it by April 1, but also happy to close this one if a bug fix for the failing test case on Ubuntu 22.04 is implemented. |
@tatry Any idea why this test could fail? Related to the clang version? |
I'm not sure, probably related to clang version. As far as I remember, some time ago I tried to install the same same kernel (at least version of kernel from repo) on both Ubuntu versions, 20.04 and 22.04 but different clang (10 vs 12). On older tests passed fine but on 22.04 some failed. |
Signed-off-by: Andy Fingerhut <[email protected]>
Just a reminder: starting April 1, all Github Actions that use Ubuntu 20.04 "directly" (i.e. not inside of a container), as the ci-ptf.yml CI test on this repo currently does, will fail every single time, forevermore. This will block merging future PRs, unless we merge in a PR like this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can go ahead with this PR for now. I sadly lost the changes I made in #5183 so it might take me a bit longer to debug this.
Signed-off-by: Andy Fingerhut <[email protected]> Signed-off-by: Andy Fingerhut <[email protected]>
Signed-off-by: Andy Fingerhut <[email protected]> Signed-off-by: Andy Fingerhut <[email protected]>
Signed-off-by: Andy Fingerhut <[email protected]> Signed-off-by: Andy Fingerhut <[email protected]>
No description provided.