Project

Profile

Help

Issue #4320

PackageManagerConsumeTestCase fails

Added by daviddavis over 1 year ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 48

Description

It looks like the functional test PackageManagerConsumeTestCase is failing. One thing I noticed is that it's using localhost:8000 for the repository baseurl when I think it should be using localhost:8080 since the repository's files (e.g. repomd,xml) are served by the content application.


Related issues

Related to Pulp - Task #4302: Ansible installer for Pulp3 needs to add a systemd unit file for the pulp_content_app serviceCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 57619f27 View on GitHub
Added by Bruno Rocha over 1 year ago

Fix gen_yum_config_file function and reads content_host role.

  1. gen_yum_config_file was generating repo file using : intead of = and that was causing dnf errors.
  2. Consume and Download test cases are now using the host defined in the new content role if defined.

Required PR: https://github.com/PulpQE/pulp-smash/pull/1169

closes: #4320 https://pulp.plan.io/issues/4320

History

#1 Updated by daviddavis over 1 year ago

Here's how to run the pulp-smash test:

pytest -v -r sx --color=yes --pyargs pulp_rpm/tests/functional/api/test_consume_content.py

#2 Updated by daviddavis over 1 year ago

It looks like the docs incorrectly point to localhost:8000 too:

https://pulp-rpm.readthedocs.io/en/latest/workflows/upload.html

#3 Updated by CodeHeeler over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 47

#4 Updated by kersom over 1 year ago

When running the test confirm that problem addressed on the 4302 was added to the Pulp deployment.

#5 Updated by ttereshc over 1 year ago

  • Related to Task #4302: Ansible installer for Pulp3 needs to add a systemd unit file for the pulp_content_app service added

#6 Updated by dalley over 1 year ago

I fixed it in the docs. The smash issue remains. I think the config needs to support different ports (or possibly hostname-port combinations) for the API vs content download.

#7 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 47 to Sprint 48

#8 Updated by ttereshc over 1 year ago

  • Status changed from NEW to POST

#9 Updated by ttereshc over 1 year ago

  • Assignee set to rochacbruno

#10 Updated by Anonymous over 1 year ago

  • Status changed from POST to MODIFIED

#11 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

#12 Updated by rochacbruno 12 months ago

  • Assignee deleted (rochacbruno)

#13 Updated by ttereshc 7 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF