Actions
Issue #7740
closedSyncing requirements is not handling pagination correctly
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Run this test and it will fail:
def test_sync_with_aws_requirements(self):
"""Test to sync down amazon.aws versions."""
requirements_file = "collections:\n - amazon.aws"
repo = self.client.post(ANSIBLE_REPO_PATH, gen_repo())
self.addCleanup(self.client.delete, repo["pulp_href"])
collection_remote = self.client.post(
ANSIBLE_COLLECTION_REMOTE_PATH,
gen_ansible_remote(
url=ANSIBLE_GALAXY_COLLECTION_URL_V2.rstrip("/"),
requirements_file=requirements_file,
),
)
self.addCleanup(self.client.delete, collection_remote["pulp_href"])
sync(self.cfg, collection_remote, repo, mirror=True)
repo = self.client.get(repo["pulp_href"])
added_content_summary = get_added_content_summary(repo)
self.assertGreaterEqual(
added_content_summary[ANSIBLE_COLLECTION_CONTENT_NAME], 67
)
content_summary = get_content_summary(repo)
self.assertGreaterEqual(
content_summary[ANSIBLE_COLLECTION_CONTENT_NAME], 67
)
Failure:
AssertionError: 10 not greater than or equal to 67
There's currently 67 collection versions for aws on galaxy:
https://galaxy.ansible.com/api/v2/collections/amazon/aws/versions/
Updated by fao89 about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar about 4 years ago
Updated by Anonymous about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|3d4a4165638745e4563a4ec6af64243e53fad855.
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Sync all Collection versions
https://pulp.plan.io/issues/7740 closes #7740