Actions
Issue #5761
closedMulti-variant repos are always creating a new repo version
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
urls:
http://mirror.linux.duke.edu/pub/centos/8/BaseOS/x86_64/os/
http://mirror.linux.duke.edu/pub/centos/8/BaseOS/x86_64/kickstart/
========================================== FAILURES ===========================================
_________________________ SyncTestCase.test_centos8_baseos_on_demand __________________________
self = <pulp_rpm.tests.performance.test_sync.SyncTestCase testMethod=test_centos8_baseos_on_demand>
def test_centos8_baseos_on_demand(self):
"""Sync CentOS 8 BaseOS."""
> self.rpm_sync(url=CENTOS8_BASEOS_URL)
pulp_rpm/tests/performance/test_sync.py:138:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pulp_rpm/tests/performance/test_sync.py:130: in rpm_sync
self.assertEqual(latest_version_href, repo['latest_version_href'])
E AssertionError: '/pul[16 chars]ories/rpm/rpm/e6ca1296-2e59-4f49-955a-084a477c6073/versions/2/' != '/pul[16 chars]ories/rpm/rpm/e6ca1296-2e59-4f49-955a-084a477c6073/versions/4/'
E - /pulp/api/v3/repositories/rpm/rpm/e6ca1296-2e59-4f49-955a-084a477c6073/versions/2/
E ? ^
E + /pulp/api/v3/repositories/rpm/rpm/e6ca1296-2e59-4f49-955a-084a477c6073/versions/4/
E ? ^
____________________ SyncTestCase.test_centos8_kickstart_baseos_on_demand _____________________
self = <pulp_rpm.tests.performance.test_sync.SyncTestCase testMethod=test_centos8_kickstart_baseos_on_demand>
def test_centos8_kickstart_baseos_on_demand(self):
"""Kickstart Sync CentOS 8 BaseOS."""
> self.rpm_sync(url=CENTOS8_KICKSTART_BASEOS_URL)
pulp_rpm/tests/performance/test_sync.py:146:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pulp_rpm/tests/performance/test_sync.py:130: in rpm_sync
self.assertEqual(latest_version_href, repo['latest_version_href'])
E AssertionError: '/pul[16 chars]ories/rpm/rpm/b410edad-0844-42a0-8fcc-69e42bd5afdb/versions/2/' != '/pul[16 chars]ories/rpm/rpm/b410edad-0844-42a0-8fcc-69e42bd5afdb/versions/4/'
E - /pulp/api/v3/repositories/rpm/rpm/b410edad-0844-42a0-8fcc-69e42bd5afdb/versions/2/
E ? ^
E + /pulp/api/v3/repositories/rpm/rpm/b410edad-0844-42a0-8fcc-69e42bd5afdb/versions/4/
E ? ^
{
"count":4,
"next":null,
"previous":null,
"results":[
{
"pulp_href":"/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/",
"pulp_created":"2019-11-19T17:24:10.330642Z",
"number":4,
"base_version":null,
"content_summary":{
"added":{
"rpm.packagecategory":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packageenvironment":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packagegroup":{
"count":25,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
}
},
"removed":{
"rpm.packagecategory":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packageenvironment":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packagegroup":{
"count":25,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
}
},
"present":{
"rpm.package":{
"count":8252,
"href":"/pulp/api/v3/content/rpm/packages/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packagecategory":{
"count":5,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.modulemd_defaults":{
"count":40,
"href":"/pulp/api/v3/content/rpm/modulemd_defaults/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.distribution_tree":{
"count":1,
"href":"/pulp/api/v3/content/rpm/distribution_trees/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packagegroup":{
"count":67,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packagelangpacks":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packagelangpacks/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.modulemd":{
"count":57,
"href":"/pulp/api/v3/content/rpm/modulemds/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
},
"rpm.packageenvironment":{
"count":6,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/4/"
}
}
}
},
{
"pulp_href":"/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/",
"pulp_created":"2019-11-19T17:23:26.642185Z",
"number":3,
"base_version":null,
"content_summary":{
"added":{
"rpm.packagecategory":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packageenvironment":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packagegroup":{
"count":25,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
}
},
"removed":{
"rpm.packagecategory":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packageenvironment":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packagegroup":{
"count":25,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
}
},
"present":{
"rpm.package":{
"count":8252,
"href":"/pulp/api/v3/content/rpm/packages/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packagecategory":{
"count":5,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.modulemd_defaults":{
"count":40,
"href":"/pulp/api/v3/content/rpm/modulemd_defaults/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.distribution_tree":{
"count":1,
"href":"/pulp/api/v3/content/rpm/distribution_trees/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packagegroup":{
"count":67,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packagelangpacks":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packagelangpacks/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.modulemd":{
"count":57,
"href":"/pulp/api/v3/content/rpm/modulemds/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
},
"rpm.packageenvironment":{
"count":6,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/3/"
}
}
}
},
{
"pulp_href":"/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/",
"pulp_created":"2019-11-19T17:21:51.977187Z",
"number":2,
"base_version":null,
"content_summary":{
"added":{
"rpm.package":{
"count":2720,
"href":"/pulp/api/v3/content/rpm/packages/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packagecategory":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packageenvironment":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packagegroup":{
"count":34,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.distribution_tree":{
"count":1,
"href":"/pulp/api/v3/content/rpm/distribution_trees/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
}
},
"removed":{
"rpm.packagecategory":{
"count":3,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packageenvironment":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packagegroup":{
"count":25,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_removed=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
}
},
"present":{
"rpm.package":{
"count":8252,
"href":"/pulp/api/v3/content/rpm/packages/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packagecategory":{
"count":5,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.modulemd_defaults":{
"count":40,
"href":"/pulp/api/v3/content/rpm/modulemd_defaults/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.distribution_tree":{
"count":1,
"href":"/pulp/api/v3/content/rpm/distribution_trees/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packagegroup":{
"count":67,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packagelangpacks":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packagelangpacks/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.modulemd":{
"count":57,
"href":"/pulp/api/v3/content/rpm/modulemds/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
},
"rpm.packageenvironment":{
"count":6,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/2/"
}
}
}
},
{
"pulp_href":"/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/",
"pulp_created":"2019-11-19T17:20:07.197186Z",
"number":1,
"base_version":null,
"content_summary":{
"added":{
"rpm.package":{
"count":5532,
"href":"/pulp/api/v3/content/rpm/packages/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packagecategory":{
"count":5,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packagegroup":{
"count":58,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.modulemd_defaults":{
"count":40,
"href":"/pulp/api/v3/content/rpm/modulemd_defaults/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.modulemd":{
"count":57,
"href":"/pulp/api/v3/content/rpm/modulemds/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packagelangpacks":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packagelangpacks/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packageenvironment":{
"count":4,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version_added=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
}
},
"removed":{
},
"present":{
"rpm.package":{
"count":5532,
"href":"/pulp/api/v3/content/rpm/packages/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packagecategory":{
"count":5,
"href":"/pulp/api/v3/content/rpm/packagecategories/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.modulemd_defaults":{
"count":40,
"href":"/pulp/api/v3/content/rpm/modulemd_defaults/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packagegroup":{
"count":58,
"href":"/pulp/api/v3/content/rpm/packagegroups/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packagelangpacks":{
"count":1,
"href":"/pulp/api/v3/content/rpm/packagelangpacks/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.modulemd":{
"count":57,
"href":"/pulp/api/v3/content/rpm/modulemds/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
},
"rpm.packageenvironment":{
"count":4,
"href":"/pulp/api/v3/content/rpm/packageenvironments/?repository_version=/pulp/api/v3/repositories/rpm/rpm/6ded69da-e353-4310-a9e9-754b7eb83208/versions/1/"
}
}
}
}
]
}
Actions
Splitting content between repo and sub-repo
https://pulp.plan.io/issues/5761 closes #5761