#194 ansible test fails due to failed gpg check
Closed by mvadkert. Opened by tstellar.

The ansible test for this CI job[1] is failing. The test[2] may be unique, because it has a pre_task which uninstalls some of the test-artifacts. The test log is here: [3]

[1] https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/dist-git-pipeline/job/master/5156/testReport/(root)/tests/
[2] https://src.fedoraproject.org/rpms/clang/blob/master/f/tests/tests-libomp.yml
[3] http://artifacts.dev.testing-farm.io/2b252c8e-2681-4172-822c-83997e5371a7/work-tests-libomp.ymlCp5ufW/ansible-output.txt


@tstellar hi, unfortunately this is expected, the tested artifacts are not signed and cannot be, as they are not released yet. Can you pass --nogpgcheck to the dnf install command? Or is that not an option?

@mvadkert the problem here seems the test-artifacts repo doesn't have gpgcheck disabled. So when dnf tries to install a package from this repo it will fail as all packages in the repo are expected to be unsigned.

thanks, added gpgcheck to no, and retrying

Retrying here: https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/dist-git-pipeline/job/master/5275/console

Seems gpgcheck = 0 is there:

# cat /etc/yum.repos.d/test-artifacts.repo 
[test-artifacts]
baseurl = file:///var/share/test-artifacts
gpgcheck = 0
name = Test artifacts repository

Metadata Update from @mvadkert:
- Issue assigned to mvadkert

seems resolved to me, thanks for help @bgoncalv and thanks for reporting @tstellar

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

Metadata