Project

Profile

Help

Issue #4320

closed

PackageManagerConsumeTestCase fails

Added by daviddavis almost 6 years ago. Updated almost 5 years 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
Quarter:

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 - CURRENTRELEASEamacdona@redhat.com

Actions
Actions #1

Updated by daviddavis almost 6 years 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
Actions #2

Updated by daviddavis almost 6 years ago

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

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

Actions #3

Updated by CodeHeeler almost 6 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 47
Actions #4

Updated by kersom almost 6 years ago

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

Actions #5

Updated by ttereshc almost 6 years ago

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

Updated by dalley almost 6 years 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.

Actions #7

Updated by rchan almost 6 years ago

  • Sprint changed from Sprint 47 to Sprint 48
Actions #8

Updated by ttereshc almost 6 years ago

  • Status changed from NEW to POST
Actions #9

Updated by ttereshc almost 6 years ago

  • Assignee set to rochacbruno

Added by Bruno Rocha almost 6 years ago

Revision 57619f27 | View on GitHub

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

Actions #10

Updated by Anonymous almost 6 years ago

  • Status changed from POST to MODIFIED
Actions #11

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #12

Updated by rochacbruno over 5 years ago

  • Assignee deleted (rochacbruno)
Actions #13

Updated by ttereshc almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF