Project

Profile

Help

Test #5438

PackageManagerConsumeTestCase failure: Error: GPG check FAILED

Added by ttereshc about 1 month ago. Updated 20 days ago.

Status:
MODIFIED
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:
Sprint 59

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

Associated revisions

History

#1 Updated by fabricio.aguiar about 1 month 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.

#2 Updated by dkliban@redhat.com about 1 month ago

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

#3 Updated by dkliban@redhat.com about 1 month ago

  • Status changed from ASSIGNED to POST

#4 Updated by dkliban@redhat.com about 1 month ago

  • Status changed from POST to MODIFIED

#5 Updated by rchan 20 days ago

  • Sprint set to Sprint 59

Please register to edit this issue

Also available in: Atom PDF