-
Notifications
You must be signed in to change notification settings - Fork 35.6k
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
ci: Temporarily disable bpfcc-tools #29788
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
(moved to description) |
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.
ACK fac012c, I have reviewed the code, it looks OK. And CI is green.
Disabling bpfcc-tools means that CI no longer runs any of the USDT tests. Any idea when it could be re-enabled? |
I guess, the package issue should be resolved by the Ubuntu 24.04 release date (this month). |
It seems unwise to have CI that runs for every PR to be dependent on an unstable OS. From what I can tell, the purpose of using Ubuntu noble is to get access to clang 18. Instead of doing that, could we instead use the LTS release and just use the llvm package repo to get the clang versions we want? |
I'm missing context for this change. Why no PR description and no commit message body? |
I agree, but that is not possible, because the bpfcc-tools on the Ubuntu 22.04 LTS were outdated as well. So they'd require a ppa as well, see #27510. I am not sure if two third-party PPAs are more stable than a vanilla Ubuntu, but I won't object a pull request that implements the changes. (I won't be working on this myself). If someone implements this, it may also be good to move the runner to a GHA 22.04 VM, to lift the requirements from the self-hosted runners. (But I won't be working on this myself either) Personally I think it is fine to disable the bpf tests for a few days, or even weeks, as the code is unlikely to break. Even if it were to break, and people didn't run the tests locally, and missed it, it should not be too hard to fix them after the temporary disable. |
I put it in the second comment. Edited and moved to the description. |
To be on the very safe side, maybe open an issue to undo it and tag that for v28.0. |
Obviously this would expose the CI to GH changing the kernel below the CI without notice, e.g. bitcoin-core/secp256k1@05bfab6 . So it may or may not be more or less fragile. I agree that the CI task is fragile, because it assumes an exact kernel to be known and available, but I honestly don't know which alternative is less fragile. Suggestions are more than welcome. |
Ok, I did a bit more digging: I was missing the context that Is it an option to drop the USDT tests from the |
I'll look into it. |
29765 didn't do the switch, it was done in fa83b65 last year.
23.04 does not exist. Only Again, I am not sure what the best solution is, but if someone wants to propose something else and receive the |
GitHub currently only supports: |
I am happy to close this pull, if people don't want it. However, I don't see why running the CI not at all is better than skipping just the bpfcc part. |
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.
ACK fac012c
I think merging this temporarily is fine. I think the relevant upstream issue is https://bugs.launchpad.net/ubuntu/+source/bpfcc/+bug/2052813 ? I'm assuming this is going to be resolved soon. Note that the installation issues only seem to be with # cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu Noble Numbat (development branch)"
# apt install libbpfcc
libbpfcc is already the newest version (0.29.1+ds-1ubuntu4).
# apt install bpfcc-tools
bpfcc-tools is already the newest version (0.29.1+ds-1ubuntu4). |
Github-Pull: bitcoin#29788 Rebased-From: fac012c
Pulled this into 27.x. |
This works around package install errors, such as https://github.com/bitcoin/bitcoin/runs/23354020361. Should be possible to reproduce locally via
apt update && apt install bpfcc-tools
on noble: