Project

Profile

Help

Test #5438

closed

PackageManagerConsumeTestCase failure: Error: GPG check FAILED

Added by ttereshc over 4 years ago. Updated about 4 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:
Sprint 59
Quarter:

Description

Even though in the test case there is an attempt to skip the gpg check, it doesn't seem to be effective.

E.g. failing build https://travis-ci.org/pulp/pulp_rpm/jobs/583830618#L1416

Actions #1

Updated by fao89 over 4 years ago

Locally the error message is like this:

======================================================================
ERROR: test_on_demand_policies (pulp_rpm.tests.functional.api.test_consume_content.PackageManagerConsumeTestCase)
Verify whether content on demand synced can be consumed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vagrant/devel/pulp_rpm/pulp_rpm/tests/functional/api/test_consume_content.py", line 51, in test_on_demand_policies
    self.do_test(policy)
  File "/home/vagrant/devel/pulp_rpm/pulp_rpm/tests/functional/api/test_consume_content.py", line 90, in do_test
    '--setopt=gpgcheck=0', repo_id))
  File "/usr/local/lib/pulp/lib64/python3.7/site-packages/pulp_smash/cli.py", line 306, in run
    return self.response_handler(completed_process)
  File "/usr/local/lib/pulp/lib64/python3.7/site-packages/pulp_smash/cli.py", line 56, in code_handler
    completed_proc.check_returncode()
  File "/usr/local/lib/pulp/lib64/python3.7/site-packages/pulp_smash/cli.py", line 131, in check_returncode
    self.args, self.returncode, self.stdout, self.stderr
pulp_smash.exceptions.CalledProcessError: Command ('dnf', 'config-manager', '--save', '--setopt=gpgcheck=0', '*dcfe5265-6afa-439a-8556-112960e0c0f0') returned non-zero exit status 1.

stdout: 

stderr: Error: This command has to be run under the root user.
Actions #2

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
Actions #3

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by rchan over 4 years ago

  • Sprint set to Sprint 59
Actions #6

Updated by dalley about 4 years ago

  • Sprint/Milestone set to Pulp RPM 3.3.0
Actions #7

Updated by dalley about 4 years ago

  • Status changed from MODIFIED to CLOSED - COMPLETE
  • Sprint/Milestone deleted (Pulp RPM 3.3.0)

Also available in: Atom PDF