-
Notifications
You must be signed in to change notification settings - Fork 72
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_libdnf test fails on RISC-V #503
Comments
Build logs: |
The Could you please provide also the |
But this could be an issue I noticed in the log:
So maybe your build container doesn't have the right capabilities like |
The build happens on a build server so we cannot retrieve other files. If
It's using |
Our nightly builds have also been failing for other arches than x84_64:
It might be related. |
I had the same problem some time ago. The solution was to not run tests using the librpm library in parallel. |
That's interesting because the RISC-V builders we're using at the moment are quite slow. They might expose race conditions which wouldn't be evident on x86-64. |
I've submitted a fix for this here, though it is not connected with this issue as it only affects Python bindings. |
Because the related PR is merged I suggest that the issue is resolved. @rwmjones May I ask you for verification? |
Actually this nightly builds issue was originally mentioned as "might be related", but as I responded in the previous comment, it is not. Therefore this is not fixed yet AFAIK. |
@rwmjones Please could you try running the libdnf tests after adding the following line at the end of the
As I cannot reproduce it on our available nodes. |
Fedora Rawhide has been updated to dnf5 5.0.14 which includes PR 335, so I'm testing a build now: |
Situation unclear. Is this the same error as before? http://fedora.riscv.rocks/kojifiles/work/tasks/6036/1456036/build.log |
Yep, still the same error, so the serial running of the tests didn't fix the issue |
I cannot say what is actually wrong, but it seems like the build configuration is quite different than what we are using in CI, f.e. here for COPR build. Also in your logs there is Mock Version: 2.15, while the currently used is 4.1. But maybe the more important thing is how the rpmbuild is done as reading through this comment from possibly related BZ ticket, the chroot method there might not be compatible with what rpm does inside then ... |
We have an issue with builds related to libsolv default flags in your distribution - see #547 |
@rwmjones, is there a way for Fedora packagers to do scratch builds on any of the RISC-V Koji instances? We really cannot help you if we cannot instrument the test run. |
We don't have any public instances, but if you give me instructions I can try them out. Best current hardware option if you'd like to buy something is the Vision Five 2: https://rwmj.wordpress.com/2023/07/25/heads-up-lichee-pi-4a-vs-visionfive-2-vs-hifive-unmatched-vs-raspberry-pi-4b/ |
It is trivially reproducible on openSUSE RISC-V in the openSUSE Build Service too. https://build.opensuse.org/package/show/home:Pharaoh_Atem:DNF5_SUSE/dnf5 If you create an openSUSE account and log into the openSUSE Build Service, you can fork my package there and do what you like. |
Fedora/RISCV does not have integration with FAS. If you have experience with Fedora packaging and Koji you can get an account. There are at least several folks that already have it. Years a go we used to run |
I revisited this issue and reviewed the openSUSE builders' results. I believe we can unblock this by temporarily removing the two unit tests that are failing on RISC-V. This will enable further testing, including running the CI tests against the built package on those systems, providing insights into the issues with dnf5 behavior. I plan to prepare the pull request next week. |
Thank you. |
In order to allow further investigation of issues on the RISC-V arch, see #503.
In order to allow further investigation of issues on the RISC-V arch, see #503.
I've been able successfully build for openSUSE RISC-V with DNF5 5.1.9: https://build.opensuse.org/package/show/system:packagemanager:dnf/dnf5 |
I haven't used DNF5 yet, but otherwise it now builds in Fedora/RISCV: http://fedora.riscv.rocks/koji/buildinfo?buildID=278057 |
The
test_libdnf
test fails (reliably) on RISC-V, at least when we build in Koji. I was unable to reproduce the test failure locally or debug it further.The text was updated successfully, but these errors were encountered: