:warning: ⛔️ Pulp2 is EOL as of November 30 2022, for more info visit this link https://pulpproject.org/2022/09/19/pulp-2-eol/. ⛔️ Functional tests for Pulp 2.
With the refactor of the docker importer's remove function to increase performance, content removal needs to be functional verified.
Solution
The cases covered with content post-count verification for all units:
1. Remove all manifest_lists sequentially.
2. Remove all manifests sequentially.
3. Remove all blobs sequentially.
4. Remove all manifest_lists batch.
5. Remove all manifests batch.
6. Remove all blobs batch.
7. Remove some non-shared manifest lists.
8. Remove some non-shared manifest.
9. Remove some shared manifests lists and verify shared units are not
recursively removed.
10. Remove some shared manifests and verify shared units are not
recursively removed.
Fixture Information
The fixture includes:
* 2 relatively independent manifest lists (no shared manifests,
no shared blobs between them)
* 2 manifest lists that share some (but not all) manifests, and those
manifest share some (but not all) blobs. This only requires the creation
of 1 manifest list that shares some content with one of the first
“independent manifest lists”.
* 2 relatively independent manifests
* 2 manifests that share (some but not all) blobs
In order to sync the content, each content unit must be recursively related
to at least 1 tag.
Batch removal functionality is skipped unless 2.21 where more than one parent is recursively removed
Tested against:
RHEL 7.6 only
Pulp 2.21-nightly, 2.20-stable, 2.19-stable
Testing of tags was removed from the scope of this testing. There is already a test_tags.py that can/should cover this testing. Count and behavior of tags relative to other removals is verified as an ancillary effect.
Problems
With the refactor of the docker importer's remove function to increase performance, content removal needs to be functional verified.
Solution
Fixture Information
Test Run
2.20 or +
< 2.20
Notes
tags
was removed from the scope of this testing. There is already atest_tags.py
that can/should cover this testing. Count and behavior of tags relative to other removals is verified as an ancillary effect.Refs and Tags
refs #4549 #5161 closes #5181