Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-12-08T19:00:00ZPulp
Planio RPM Support - Test #9622 (MODIFIED): Add a repo signed using 'sha' as alias for 'sha1'https://pulp.plan.io/issues/96222021-12-08T19:00:00Zggainey
<p>'sha' support exists in the wild, is the same as 'sha1', and has broken us several times now, Let's make it possible to write tests for it.</p> RPM Support - Test #8972 (CLOSED - COMPLETE): Add test for properly reading and writing the metadatahttps://pulp.plan.io/issues/89722021-06-25T13:46:59Zdalleydalley@redhat.com
<p>Verify that package metadata in == package metadata out</p> RPM Support - Test #8301 (CLOSED - COMPLETE): Pulp to Pulp sync test uses sha1 checksum, fails on...https://pulp.plan.io/issues/83012021-02-23T23:44:11Zdalleydalley@redhat.com
<p>I tried to run the tests and got some failures due to SHA1 checksums</p>
<p><a href="https://github.com/pulp/pulp_rpm/blob/master/pulp_rpm/tests/functional/api/test_pulp_to_pulp.py#L91" class="external">https://github.com/pulp/pulp_rpm/blob/master/pulp_rpm/tests/functional/api/test_pulp_to_pulp.py#L91</a></p>
<p>E HTTP response body: {"non_field_errors":["Checksum must be one of allowed types: ['sha224', 'sha256', 'sha384', 'sha512'].\nYou can adjust these with the 'ALLOWED_CONTENT_CHECKSUMS' setting."]}</p> Migration Plugin - Test #8041 (CLOSED - COMPLETE): Add tests for RPM migration re-runshttps://pulp.plan.io/issues/80412021-01-05T19:02:42Zttereshcttereshc@redhat.com
<p>Those tests require 2 snapshots.</p>
<p>Snapshot 1:</p>
<ul>
<li>empty repo, no importer, a distributor</li>
<li>another empty repo (to copy content to later), no importer, a distributor</li>
<li>rpm-with-modules repo, on_demand importer, a distributor</li>
<li>rpm-distribution-tree repo, on_demand importer, a distributor</li>
<li>srpm-unsigned repo, on_demand importer, a distributor</li>
</ul>
<p>Snapshot 2:</p>
<ul>
<li>empty repo and its distributor unchanged</li>
<li>copy a package to an empty repo, and its distributor unchanged</li>
<li>rpm-with-modules repo (remove one package, clean orphans), importer feed change, distributor with no changes</li>
<li>rpm-distribution-tree repo unchanged, its importer unchanged, distributor checksum_type change</li>
<li>srpm-unsigned repo unchanged, its importer unchanged, distributor relative path change</li>
<li>rpm-richweak-deps repo (sync, remove one package, no orphan cleanup)</li>
</ul> Migration Plugin - Test #8040 (CLOSED - COMPLETE): Add tests for RPM repo related objects migrationhttps://pulp.plan.io/issues/80402021-01-05T18:50:06Zttereshcttereshc@redhat.com
<p>Use snapshot 1 from <a class="issue tracker-5 status-13 priority-6 priority-default closed" title="Test: Add tests for RPM migration re-runs (CLOSED - COMPLETE)" href="https://pulp.plan.io/issues/8041">#8041</a>.</p> Migration Plugin - Test #7999 (CLOSED - COMPLETE): Extend behavioural testshttps://pulp.plan.io/issues/79992020-12-15T18:49:01Zttereshcttereshc@redhat.comMigration Plugin - Test #7998 (CLOSED - COMPLETE): Add tests for reset endpointhttps://pulp.plan.io/issues/79982020-12-15T18:44:50Zttereshcttereshc@redhat.comMigration Plugin - Test #7934 (CLOSED - COMPLETE): Test migration plan correctness and validationhttps://pulp.plan.io/issues/79342020-12-07T16:23:13Zttereshcttereshc@redhat.com
<p>See the checklist for the use cases that needs to be tested</p> RPM Support - Test #7571 (CLOSED - COMPLETE): Distribution tree sync and copy testshttps://pulp.plan.io/issues/75712020-09-25T15:35:41Zppicka
<p>Sync test:</p>
<ul>
<li>update main repo of DT</li>
<li>update addon repo of DT</li>
<li>update variant repo DT</li>
<li>remove repository with DT, and orphan cleanup to remove DT</li>
</ul>
<p>Copy test:</p>
<ul>
<li>simple copy of DT</li>
<li>copy DT by content specified</li>
</ul> RPM Support - Test #7422 (CLOSED - COMPLETE): Add tests for export/import of kickstartshttps://pulp.plan.io/issues/74222020-08-29T15:38:27ZdaviddavisRPM Support - Test #7350 (MODIFIED): Test syncing from a repository located on a local diskhttps://pulp.plan.io/issues/73502020-08-19T15:40:07Zdalleydalley@redhat.com
<p>e.g. a repository with a file:// url such as file:///var/lib/pulp/sync_imports/test_repos/zoo/</p> Debian Support - Test #7344 (CLOSED - COMPLETE): Add test to publish empty repositoryhttps://pulp.plan.io/issues/73442020-08-19T08:10:24Zmsinghal
<p>Empty repository consists of release files, package index files but no packages.</p> RPM Support - Test #7134 (CLOSED - COMPLETE): Test against CDNhttps://pulp.plan.io/issues/71342020-07-14T13:59:20Zppicka
<p>When core issue <a href="https://pulp.plan.io/issues/6735" class="external">https://pulp.plan.io/issues/6735</a> is solved, lets add the test to sync against the CDN both baseos and appstream repositories.</p>
<p>This will test same repo meta data with different filename as same productid is shipped intentionally with both of mentioned repositories.</p>
<p>Also this test is testing using a certificates which are needed for CDN.</p> RPM Support - Test #6789 (CLOSED - COMPLETE): Test the copy of RPM with its strict dependencieshttps://pulp.plan.io/issues/67892020-05-21T14:25:56Zppicka
<p>Test copy RPM package content with depsolving=True which should copy package and all its dependency.</p>
<p>test case 1</p>
<ul>
<li>create repository and populate it with content</li>
<li>create new repository and leave it blank</li>
<li>use copy pointing on one package with depsolving=True</li>
<li>check if new repository contains package above and its dependencies</li>
</ul>
<p>test case 2</p>
<ul>
<li>create repositoryA and populate it with content</li>
<li>create new repositoryB and populate it with some content which can be satisfactory for package from first repoA</li>
<li>use copy pointing on one package with depsolving=True</li>
<li>check that package has been copied and only part of the dependencies that missed in repoB were copied</li>
<li>ensure repoB has the package with all it's needed deps</li>
</ul> Python Support - Test #4682 (MODIFIED): Test to ensure pip installing a package workshttps://pulp.plan.io/issues/46822019-04-12T20:29:37ZCodeHeeler
<p>To prevent a repeat of issue 4677 [0] where pip installation fails, we should add a test that attempts to install a package with pip.</p>
<p>Our current test [1] only checks that direct download works, and thus all our tests were passing when no one could pip install packages we served.</p>
<p>I'm guessing the added code would be placed around L99 [2] to download using pip and then add an additional assert statement.</p>
<p>[0] <a href="https://pulp.plan.io/issues/4677" class="external">https://pulp.plan.io/issues/4677</a><br>
[1] <a href="https://github.com/pulp/pulp_python/blob/master/pulp_python/tests/functional/api/test_download_content.py#L29" class="external">https://github.com/pulp/pulp_python/blob/master/pulp_python/tests/functional/api/test_download_content.py#L29</a><br>
[2] <a href="https://github.com/pulp/pulp_python/blob/master/pulp_python/tests/functional/api/test_download_content.py#L99" class="external">https://github.com/pulp/pulp_python/blob/master/pulp_python/tests/functional/api/test_download_content.py#L99</a></p>