Actions
Test #5438
closedPackageManagerConsumeTestCase failure: Error: GPG check FAILED
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
Updated by fao89 over 5 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.
Updated by dkliban@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by dkliban@redhat.com over 5 years ago
- Status changed from ASSIGNED to POST
Added by dkliban@redhat.com over 5 years ago
Updated by dkliban@redhat.com over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset cba64d2c3ed62c5f6a7c8ff6757757765e6e70bf.
Updated by dalley over 4 years ago
- Status changed from MODIFIED to CLOSED - COMPLETE
- Sprint/Milestone deleted (
Pulp RPM 3.3.0)
Actions
Fix consume content test
fixes: #5438 https://pulp.plan.io/issues/5438