Project

Profile

Help

Issue #4320

PackageManagerConsumeTestCase fails

Added by daviddavis 10 months ago. Updated 4 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
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 service MODIFIED Actions

Associated revisions

Revision 57619f27 View on GitHub
Added by Bruno Rocha 9 months 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 10 months 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 10 months 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 10 months ago

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

#4 Updated by kersom 10 months ago

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

#5 Updated by ttereshc 10 months 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 10 months 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 10 months ago

  • Sprint changed from Sprint 47 to Sprint 48

#8 Updated by ttereshc 9 months ago

  • Status changed from NEW to POST

#9 Updated by ttereshc 9 months ago

  • Assignee set to rochacbruno

#10 Updated by Anonymous 9 months ago

  • Status changed from POST to MODIFIED

#11 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 3)

#12 Updated by rochacbruno 4 months ago

  • Assignee deleted (rochacbruno)

Please register to edit this issue

Also available in: Atom PDF