Closed bherrin3 closed 5 years ago
@kersommoura it looks like this content is no longer targeted at this Y-release, but is still targeted for a very soon Z-release.
I would suggest that I can add back the skip and we merge this and the fixture, as is, until the feature is fixed.
The examples and permutations are still valid additions. This would also ensure this code doesn't get stuck in a hard rebase since modularity is still in active development.
What do you say?
Note
Dev PR 4962 is still outstanding. Therefore, this test will be skipped until then.
For development and early review, this PR/branch is posted.
Problem
With the updated libsolv, the dependency solving on complex repositories was resulting in a regression of too many modules, modular RPMs, and ursine RPMs being copied.
Solution
This commit will do the following:
Additional Changes
OUTSTANDING FIXTURE UPDATE
The fixture this test is relying on was MANUALLY updated for this test:
How to Execute
To get the full effect and benefit of subTest, this test should be ran with unittest and not pytest.
Run it all on a fixed dev branch
The full iteration suite is 371s.
Code to Comment Out for Dev Run
To run with the extra modules on a dev branch, please comment out the following:
Execution Command
From the Pulp-2-Test root directory:
Example Additional Verbose Output
The output of the specific failure does have to be mentally extrapolated a bit, but is available.
For example, the
check=(11,2)
failed, which from the output ofmodule
in the assert we can see that is'total_available_units': 2,
.Therefore, the total units copied in
duck
was expected to be the module + duck RPM, but we got 11 units copied (bad).References
closes #4955