-
Notifications
You must be signed in to change notification settings - Fork 8
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
Copr packages not installed in Fedora 41 and Rawhide #671
Comments
@kwk It turns out this issue is because of the testing-farm-tag repo priority, related to #395. In our test plan we decrease the priority of the repo in this line. However, we call
I will work on a PR to solve this issue. |
I wonder whether https://github.com/fedora-llvm-team/llvm-snapshots/blob/main/tests/snapshot-gating.fmf could inject an additional test that only checks that |
It can. And that's what I meant by "trustworthiness" in #666. I plan to inject the Version similar to |
@jchecahi how about this quick fix to first try the old dnf command, and if it fails, try the new one and if that fails, bail out.
|
Yes that should be doable. However, I 'd go with a full script based an exact match between the installed package, and the one available in the repo. I'll make an attempt and update here what I find.
I'd rather avoid the |
@nikic @kwk I implemented a script that checks the installed llvm rpm and aborts the run on failure: jchecahi@4705549 Right now it checks only for |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@jchecahi okay, here's the most simple version of all that uses only rpm: $ rpm -qi llvm-libs
Name : llvm-libs
Version : 20.0.0~pre20240825.g3ef64f7ab5b865
Release : 1.fc41
Architecture: x86_64
Install Date: Tue Aug 27 07:44:51 2024
Group : Unspecified
Size : 134526998
License : Apache-2.0 WITH LLVM-exception OR NCSA
Signature : RSA/SHA256, Mon Aug 26 02:20:45 2024, Key ID d571ca252d9de8df
Source RPM : llvm-20.0.0~pre20240825.g3ef64f7ab5b865-1.fc41.src.rpm
Build Date : Sun Aug 25 02:10:23 2024
Build Host : aws-x86-64-powerful-normal-prod-09057687-20240825-020719
Vendor : Fedora Copr - group @fedora-llvm-team
URL : http://llvm.org
Summary : LLVM shared libraries
Description :
Shared libraries for the LLVM compiler infrastructure. Please note, that we have the version
If this succeeds you know that you'll have llvm installed from the snapshots copr repo. We don't need to care so much about anything else.
|
@kwk ok, fair enough let's keep it simple. I'd say that the simplest we can go is just printing the NVR and match pre:
|
We should match the version though. |
Before trying to modify the repo we check that it exists, hence we no longer need to mask the result of commands. This now works with both dnf4 and dnf5 Fixes fedora-llvm-team#671
Before trying to modify the repo we check that it exists, hence we no longer need to mask the result of commands. This now works with both dnf4 and dnf5 Fixes fedora-llvm-team#671
Before trying to modify the repo we check that it exists, hence we no longer need to mask the result of commands. This now works with both dnf4 and dnf5 Fixes fedora-llvm-team#671
In the testing-farm runs of fedora-41 and fedora-rawhide, tmt is installing LLVM 18 packages coming from the system repos rather than LLVM 20 packages coming from the copr repo. Examples from snapshot 20240825:
The text was updated successfully, but these errors were encountered: