Skip to content

Commit

Permalink
Import phub keys while registration
Browse files Browse the repository at this point in the history
- ticket: [docker_tests fails in docker_compose](https://progress.opensuse.org/issues/130537)

```
2023-06-08 01:25:25 <5> susetest(19903) [zypp-core]
Exception.cc(log):186 FileChecker.cc(operator()):135 THROW:    Signature
verification failed for repomd.xml
2023-06-08 01:25:25 <5> susetest(19903) [zypp-core]
Exception.cc(log):186 Fetcher.cc(provideToDest):571 RETHROW:  Signature
verification failed for repomd.xml
2023-06-08 01:25:25 <5> susetest(19903) [zypp-core]
Exception.cc(log):186 RepoManager.cc(refreshMetadata):1263 CAUGHT:
Signature verification failed for repomd.xml
2023-06-08 01:25:25 <5> susetest(19903) [zypp-core]
Exception.cc(log):186 RepoManager.cc(refreshMetadata):1277 THROW:
[SUSE_Package_Hub_15_SP5_s390x:SUSE-PackageHub-15-SP5-Backports-Pool|https://updates.suse.com/SUSE/Backports/SLE-15-SP5_s390x/standard?M98wM8a0VUOrVZDgeL66rnSVA01BrLMC9WurmNz6LK7Nlu5skg_-tcp0ns17G5o2yFV4Bc1IiGiMAOwCZLCm3VqLVdX4p5fiZOYiZMltdDXgABcWqpSiTsvRqqO9cxqoC6Von1tGqg]
Valid metadata not found at specified URL
2023-06-08 01:25:25 <5> susetest(19903) [zypp-core]
Exception.cc(log):186 repos.cc(build_cache):456 CAUGHT:
[SUSE_Package_Hub_15_SP5_s390x:SUSE-PackageHub-15-SP5-Backports-Pool|https://updates.suse.com/SUSE/Backports/SLE-15-SP5_s390x/standard?M98wM8a0VUOrVZDgeL66rnSVA01BrLMC9WurmNz6LK7Nlu5skg_-tcp0ns17G5o2yFV4Bc1IiGiMAOwCZLCm3VqLVdX4p5fiZOYiZMltdDXgABcWqpSiTsvRqqO9cxqoC6Von1tGqg]
Valid metadata not found at specified URL
```
  • Loading branch information
mloviska committed Jun 8, 2023
1 parent b79196b commit 69f78a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/registration.pm
Expand Up @@ -180,6 +180,10 @@ sub add_suseconnect_product {
$version //= '${VERSION_ID}';
$arch //= '${CPU}';
$params //= '';
if ($name =~ /PackageHub/) {
$params .= ' --gpg-auto-import-keys';
record_soft_failure 'bsc#1212134 - Package hub signing key verification failure';
}
$retry //= 3; # Times we retry the SUSEConnect command (besides first execution)
$timeout //= 300;

Expand Down

0 comments on commit 69f78a8

Please sign in to comment.