-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add test case to verify artifacts repair at the Capsule side #14884
Conversation
917028a
to
4260fae
Compare
6d76129
to
1b2b4b7
Compare
rebased |
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 for the code, I'll let you run the tests when the PRs are around
1b2b4b7
to
8dbcdd2
Compare
rebased |
8dbcdd2
to
38e0f65
Compare
trigger: test-robottelo |
PRT Result
|
38e0f65
to
0a015fc
Compare
trigger: test-robottelo |
PRT Result
|
0a015fc
to
d665984
Compare
d665984
to
218b04f
Compare
Also replaced |
trigger: test-robottelo |
PRT Result
|
…teQE#14884) * Add test case to verify artifacts repair at Capsule * Merge yum/file and docker/AC into one test case
Problem Statement
Satellite 6.16 implements ways to repair pulp artifacts if they are removed or damaged and we should test it works.
Solution
This PR adds a parametrized test case for that verification at the Capsule side and also a few other changes to make it possible.
The approach is a bit different for yum and file content types, where we are able to locate the artifact for particular published file, and for docker and ansible_collection content types, where files are not published directly.
In pulp there are two different code paths for repair of missing and corrupted artifacts.
So we need to check both, again through parametrization.
The last parametrization targets the repair task granularity - we are able to run it for particular repo, CV and LCE present at the Capsule side.
PRT test Cases example
Needs packit / PRT with specific Katello PRs (some bits are still missing)
trigger: test-robottelo
pytest: tests/foreman/cli/test_capsulecontent.py -k artifacts