-
Notifications
You must be signed in to change notification settings - Fork 176
Rebuild & rename aht-dummy rpm to coreos-dummy #4098
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
Conversation
"verification": { | ||
"hash": "sha512-da29ae637b30647cab2386a2ce6b4223c3ad7120ae8dd32d9ce275f26a11946400bba0b86f6feabb9fb83622856ef39f8cecf14b4975638c4d8c0cf33b0f7b26" | ||
"hash": "sha512-265ab9d1e4a5dd1b0277b9c014fa72ba4cced7bad2796d89a89b303bb233545dc9fe41917da6339c60776b1abb0281317ebea760c0f8e70916f73830d0eca10f" |
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 might have to update this periodically. Maybe it would be better to not include it?
@jlebon WDYT?
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.
I don't think that aspect is relevant to the test, so SGTM.
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.
@aaradhak - drop the verification
section here since we don't want this to fail if the RPM gets updated.
var ahtRpmPath = "/var/home/core/aht-dummy.rpm" | ||
var installPkgName = "aht-dummy-1.0-1.noarch" | ||
var installBinName = "aht-dummy" | ||
var epelRpmPath = "/var/home/core/epel-release-latest-9.noarch.rpm" |
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 need to update the sudo rpm-ostree install
below to use this variable.
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.
I have updated it
rpmUrl string = "https://raw.githubusercontent.com/projectatomic/atomic-host-tests/master/rpm/aht-dummy-1.0-1.noarch.rpm" | ||
rpmName string = "aht-dummy" | ||
rpmUrl string = "https://dl.fedoraproject.org/pub/epel/" | ||
rpmName string = "epel-release" | ||
) |
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.
you'll probably need to remove the command -v
tests below because this RPM doesn't provide any binaries.
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.
removed the unnecessary binary related variables
var installPkgName = "aht-dummy-1.0-1.noarch" | ||
var installBinName = "aht-dummy" | ||
var epelRpmPath = "/var/home/core/epel-release-latest-9.noarch.rpm" | ||
var installPkgName = "epel-release-latest-9.noarch.rpm" |
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.
var installPkgName = "epel-release-latest-9.noarch.rpm" | |
var installPkgName = "epel-release" |
The name of the RPM is epel-release
Please rebase this on top of latest |
06db570
to
01d0339
Compare
We are getting a CI error with epel-release-9-10.el9.noarch.rpm - its a dependency error. May be we should try with a different epel-release rpm version ? I will try to see if epel-release-latest-8.noarch.rpm makes a difference CI error :
|
I dont think epel-release-latest-8.noarch.rpm makes a difference here.
|
mantle/kola/tests/ostree/unlock.go
Outdated
@@ -44,8 +44,8 @@ func init() { | ||
} | ||
|
||
var ( | ||
rpmUrl string = "https://raw.githubusercontent.com/projectatomic/atomic-host-tests/master/rpm/aht-dummy-1.0-1.noarch.rpm" | ||
rpmName string = "aht-dummy" | ||
rpmUrl string = "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm" |
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.
You can't just use the rawhide RPM on F42 (testing-devel) so you'd have to conditionalize everything. I'd say at this point let's just try to build the dummy rpm again in a new dedicated repo for that purpose.
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.
I see, I tried with the rawhide rpm as this failure is happening in rawhide branch as well. I have made a new repo for aht-dummy-rpm and rebuilt the rpm. I will make the update here and try again
With the rpm-fusion-rawhide pkg , looks like it it is dependent on another pkg. The kola tests failed because it attempted to install rpm-fusion package that has a dependency |
Yes. By design the current |
Do we need to look for a pkg without any dependency? |
Either that (i.e. find a package that works everywhere, which will probably only find if we build it) or dynamically update the test based on the target we are testing against. At this point I'm voting we revive the dummy package. |
ok, I will look into adding the aht-dummy pkg by creating a new repo. |
Created a new aht-dummy-repo and updated the aht-dummy-rpm build |
Sorry to bikeshed on the name.. Could we give it a more descriptive name now?
WDYT about renaming the git repo (which should be easy to do) to: |
Sure, I can make that change in the name |
@dustymabe I have updated the repo name ro coreos-dummy-rpm https://github.com/coreos/coreos-dummy-rpm , I have created a release tag too for this - https://github.com/coreos/coreos-dummy-rpm/releases/tag/v1.0.0 |
Nice. So here's what I would do next:
The following could be done, but it's optional as it provides only marginal benefit/gain:
|
Resolves issues related to the dummy RPM used in kola tests (ostree.unlock, ostree.hotfix) which failed with a "no digest" error after a system rpm upgrade (to rpm 5.99.90-2.fc43). Changes in this commit: - Renamed aht-dummy.spec to coreos-dummy.spec and rebuilt the rpm. - Updated the rpm 'Name' tag within the spec file to coreos-dummy. - This addresses the outdated "aht-dummy" naming as used in Atomic Host repository which is no longer active
I have updated the spec file to carry the name coreos-dummy instead of aht-dummy. I have also built the rpm again and updated the release to v2.0.0 - https://github.com/coreos/coreos-dummy-rpm/releases/tag/V2.0.0 |
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.
LGTM
Thanks for working on this! |
The fix for kola tests (ostree.unlock, ostree.hotfix) which failed with a "no digest" error after a system rpm upgrade to rpm-5.99.90-2.fc43 has merged. We can now unpin the rpm-4.20.1-3.fc43 Ref: coreos/coreos-assembler#4098
The fix for kola tests (ostree.unlock, ostree.hotfix) which failed with a "no digest" error after a system rpm upgrade to rpm-5.99.90-2.fc43 has merged. We can now unpin the rpm-4.20.1-3.fc43 Ref: coreos/coreos-assembler#4098
Resolves issues related to the dummy RPM used in kola tests
(ostree.unlock, ostree.hotfix) which failed with a "no digest"
error after a system rpm upgrade (to rpm 5.99.90-2.fc43).
Changes in this commit:
repository which is no longer active
Ref: coreos/fedora-coreos-tracker#1929