system tests: fix gpgv warning when verifying signatures

gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'

this forced running local system tessts in /home/runner, as it is
in the gitgub actions.
This commit is contained in:
André Roth
2024-08-04 02:34:26 +02:00
parent 52faf78324
commit b342af0d96
18 changed files with 9 additions and 26 deletions

View File

@@ -275,6 +275,7 @@ class BaseTest(object):
if self.fixtureGpg:
self.run_cmd([self.gpgFinder.gpg, "--no-default-keyring", "--trust-model", "always", "--batch", "--keyring", "aptlytest.gpg", "--import"] +
[os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files", key) for key in self.fixtureGpgKeys])
self.run_cmd(["chmod", "400", "/home/runner/.gnupg/aptlytest.gpg"])
if hasattr(self, "fixtureCmds"):
for cmd in self.fixtureCmds:

View File

@@ -4,7 +4,6 @@ Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive
Download Error: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/Release
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/Release.gpg
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Aug 14 07:43:24 2021 UTC
gpgv: using RSA key 16E90B3FDF65EDE3AA7F323C04EE7237B7D453EC
gpgv: Good signature from "Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"

View File

@@ -1,5 +1,4 @@
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/InRelease
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"

View File

@@ -1,5 +1,4 @@
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-security/dists/stretch/updates/InRelease
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Feb 18 04:22:45 2023 UTC
gpgv: using RSA key 379483D8B60160B155B372DDAA8E81B4331F7F50
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"

View File

@@ -4,7 +4,6 @@ Retrying 0 http://repo.aptly.info/system-tests/pkg.jenkins.io/debian-stable/bina
Download Error: http://repo.aptly.info/system-tests/pkg.jenkins.io/debian-stable/binary/InRelease
Downloading: http://repo.aptly.info/system-tests/pkg.jenkins.io/debian-stable/binary/Release
Downloading: http://repo.aptly.info/system-tests/pkg.jenkins.io/debian-stable/binary/Release.gpg
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Wed Dec 13 17:19:55 2023 UTC
gpgv: using RSA key 63667EE74BBA1F0A08A698725BA31D57EF5975CA
gpgv: Good signature from "Jenkins Project <jenkinsci-board@googlegroups.com>"

View File

@@ -1,5 +1,4 @@
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-security/dists/stretch/updates/InRelease
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Feb 18 04:22:45 2023 UTC
gpgv: using RSA key 379483D8B60160B155B372DDAA8E81B4331F7F50
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"

View File

@@ -4,7 +4,6 @@ Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive
Download Error: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/Release
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/Release.gpg
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Good signature from "Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
gpgv: Good signature from "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>"
gpgv: Good signature from "Debian Archive Automatic Signing Key (11/bullseye) <ftpmaster@debian.org>"

View File

@@ -1,5 +1,4 @@
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch-backports/InRelease
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Thu Mar 30 14:21:34 2023 UTC
gpgv: using RSA key 0146DC6D4A0B2914BDED34DB648ACFD622F3D138
gpgv: Good signature from "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>"

View File

@@ -22,5 +22,4 @@ Mirror `flat-src` has been successfully updated.
Packages filtered: 110 -> 11.
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC

View File

@@ -28,5 +28,4 @@ gpgv: Good signature from "Debian Stable Release Key (9/stretch) <debian-release
gpgv: Signature made Sat Aug 14 07:43:24 2021 UTC
gpgv: Signature made Sat Aug 14 07:43:25 2021 UTC
gpgv: Signature made Sat Aug 14 08:26:43 2021 UTC
gpgv: Signature made Sat Aug 14 08:46:19 2021 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Aug 14 08:46:19 2021 UTC

View File

@@ -52,5 +52,4 @@ gpgv: Good signature from "Debian Stable Release Key (9/stretch) <debian-release
gpgv: Signature made Sat Aug 14 07:43:24 2021 UTC
gpgv: Signature made Sat Aug 14 07:43:25 2021 UTC
gpgv: Signature made Sat Aug 14 08:26:43 2021 UTC
gpgv: Signature made Sat Aug 14 08:46:19 2021 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Aug 14 08:46:19 2021 UTC

View File

@@ -4,7 +4,6 @@ Retrying 0 http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent/de
Download Error: http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent/deb/InRelease
Downloading: http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent/deb/Release
Downloading: http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent/deb/Release.gpg
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Tue Jun 30 15:56:03 2020 UTC
gpgv: using RSA key AE0396CFF8253540
gpgv: Good signature from "Package Maintainer (PagerDuty, Inc.) <packages@pagerduty.com>"

View File

@@ -39,5 +39,4 @@ gpgv: Good signature from "Debian Stable Release Key (9/stretch) <debian-release
gpgv: Signature made Sat Aug 14 07:43:24 2021 UTC
gpgv: Signature made Sat Aug 14 07:43:25 2021 UTC
gpgv: Signature made Sat Aug 14 08:26:43 2021 UTC
gpgv: Signature made Sat Aug 14 08:46:19 2021 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Aug 14 08:46:19 2021 UTC

View File

@@ -68,6 +68,4 @@ gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <ftpmaster@ubunt
gpgv: Signature made Thu May 8 14:20:33 2014 UTC
gpgv: Signature made Thu May 8 14:20:33 2014 UTC
gpgv: Signature made Tue Apr 15 22:05:21 2014 UTC
gpgv: Signature made Tue Apr 15 22:05:21 2014 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Tue Apr 15 22:05:21 2014 UTC

View File

@@ -19,5 +19,4 @@ gpgv: using RSA key 5237CEEEF212F3D51C74ABE0112695A0E562B32A
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>"
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
gpgv: Signature made Sat Feb 18 04:22:45 2023 UTC
gpgv: Signature made Sat Feb 18 04:22:45 2023 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Sat Feb 18 04:22:45 2023 UTC

View File

@@ -97,5 +97,4 @@ Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/d
Mirror `flat` has been successfully updated.
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC

View File

@@ -4,7 +4,6 @@ Retrying 0 http://repo.aptly.info/system-tests/ppa.launchpad.net/gladky-anton/gn
Download Error: http://repo.aptly.info/system-tests/ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/InRelease
Downloading: http://repo.aptly.info/system-tests/ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/Release
Downloading: http://repo.aptly.info/system-tests/ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/Release.gpg
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Mon Oct 22 13:19:50 2012 UTC
gpgv: using RSA key A5279A973B1F56C0
gpgv: Good signature from "Launchpad sim"

View File

@@ -160,5 +160,4 @@ Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/d
Mirror `flat-src` has been successfully updated.
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC
gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg'
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC