#14 Running dnf from tests fails with problem of gpg keys
Closed by bgoncalv. Opened by ignatenkobrain.

https://jenkins-continuous-infra.apps.ci.centos.org/job/fedora-rawhide-build-pipeline/1322/artifact/package-tests/logs/FAIL_rust-cargo-test.log

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
    rpm --import public.gpg.key
Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and DNF
will install it for you.
For more information contact your distribution or package provider.
Problem repository: [koji-rawhide]
bandwidth: 0
baseurl: [https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/]
cachedir: /var/cache/dnf
cost: 1000
deltarpm: 1
deltarpm_percentage: 75
enabled: 1
enabled_metadata: 
enablegroups: 1
exclude: []
excludepkgs: []
fastestmirror: 0
gpgcheck: 1
gpgkey: []
includepkgs: []
ip_resolve: whatever
max_parallel_downloads: 3
mediaid: 
metadata_expire: 172800
metalink: 
minrate: 1000
mirrorlist: 
module_hotfixes: 0
name: koji-rawhide
password: 
priority: 999
protected_packages: [dnf, sudo, systemd, systemd-udev, dnf]
proxy: 
proxy_auth_method: any
proxy_password: 
proxy_username: 
repo_gpgcheck: 0
retries: 10
skip_if_unavailable: 1
sslcacert: 
sslclientcert: 
sslclientkey: 
sslverify: 1
throttle: 0
timeout: 30
type: 
username: 

I ran into the same issue with the clang CI tests: https://jenkins-continuous-infra.apps.ci.centos.org/job/fedora-rawhide-pr-pipeline/513/artifact/package-tests/logs/testspocl.yml-run.txt

This is a regression, here is an older test run that works correctly:
https://jenkins-continuous-infra.apps.ci.centos.org/job/fedora-rawhide-pr-pipeline/487/

Closing this as this is already fixed by https://github.com/CentOS-PaaS-SIG/ci-pipeline/commit/f3b36790f27c5448c061cf6f1f998049587a57ed

Metadata Update from @bgoncalv:
- Issue status updated to: Closed (was: Open)

Metadata