diff --git a/system/lib.py b/system/lib.py index 128b0be3..a2e14d0e 100644 --- a/system/lib.py +++ b/system/lib.py @@ -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: diff --git a/system/t04_mirror/CreateMirror11Test_gold b/system/t04_mirror/CreateMirror11Test_gold index c2245357..2b5f5051 100644 --- a/system/t04_mirror/CreateMirror11Test_gold +++ b/system/t04_mirror/CreateMirror11Test_gold @@ -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) " diff --git a/system/t04_mirror/CreateMirror14Test_gold b/system/t04_mirror/CreateMirror14Test_gold index e470fa12..6ba64199 100644 --- a/system/t04_mirror/CreateMirror14Test_gold +++ b/system/t04_mirror/CreateMirror14Test_gold @@ -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 " diff --git a/system/t04_mirror/CreateMirror19Test_gold b/system/t04_mirror/CreateMirror19Test_gold index fb9c3082..4ae30b74 100644 --- a/system/t04_mirror/CreateMirror19Test_gold +++ b/system/t04_mirror/CreateMirror19Test_gold @@ -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) " diff --git a/system/t04_mirror/CreateMirror21Test_gold b/system/t04_mirror/CreateMirror21Test_gold index 9296b6ba..f53413fc 100644 --- a/system/t04_mirror/CreateMirror21Test_gold +++ b/system/t04_mirror/CreateMirror21Test_gold @@ -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 " diff --git a/system/t04_mirror/CreateMirror24Test_gold b/system/t04_mirror/CreateMirror24Test_gold index 0d4aa3e4..4986d89b 100644 --- a/system/t04_mirror/CreateMirror24Test_gold +++ b/system/t04_mirror/CreateMirror24Test_gold @@ -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) " diff --git a/system/t04_mirror/CreateMirror32Test_gold b/system/t04_mirror/CreateMirror32Test_gold index 21cedc89..74b4fd17 100644 --- a/system/t04_mirror/CreateMirror32Test_gold +++ b/system/t04_mirror/CreateMirror32Test_gold @@ -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) " gpgv: Good signature from "Debian Archive Automatic Signing Key (10/buster) " gpgv: Good signature from "Debian Archive Automatic Signing Key (11/bullseye) " diff --git a/system/t04_mirror/CreateMirror9Test_gold b/system/t04_mirror/CreateMirror9Test_gold index 54daacff..be1879e1 100644 --- a/system/t04_mirror/CreateMirror9Test_gold +++ b/system/t04_mirror/CreateMirror9Test_gold @@ -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) " diff --git a/system/t04_mirror/UpdateMirror10Test_gold b/system/t04_mirror/UpdateMirror10Test_gold index e404b6bd..fa0f41f2 100644 --- a/system/t04_mirror/UpdateMirror10Test_gold +++ b/system/t04_mirror/UpdateMirror10Test_gold @@ -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 " -gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC -gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg' \ No newline at end of file +gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC \ No newline at end of file diff --git a/system/t04_mirror/UpdateMirror11Test_gold b/system/t04_mirror/UpdateMirror11Test_gold index 817e992a..24f61552 100644 --- a/system/t04_mirror/UpdateMirror11Test_gold +++ b/system/t04_mirror/UpdateMirror11Test_gold @@ -28,5 +28,4 @@ gpgv: Good signature from "Debian Stable Release Key (9/stretch) " diff --git a/system/t04_mirror/UpdateMirror23Test_gold b/system/t04_mirror/UpdateMirror23Test_gold index 051e202e..5e6157c7 100644 --- a/system/t04_mirror/UpdateMirror23Test_gold +++ b/system/t04_mirror/UpdateMirror23Test_gold @@ -39,5 +39,4 @@ gpgv: Good signature from "Debian Stable Release Key (9/stretch) " gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) " 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' \ No newline at end of file +gpgv: Signature made Sat Feb 18 04:22:45 2023 UTC \ No newline at end of file diff --git a/system/t04_mirror/UpdateMirror7Test_gold b/system/t04_mirror/UpdateMirror7Test_gold index 4f222c65..14090853 100644 --- a/system/t04_mirror/UpdateMirror7Test_gold +++ b/system/t04_mirror/UpdateMirror7Test_gold @@ -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 " -gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC -gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg' \ No newline at end of file +gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC \ No newline at end of file diff --git a/system/t04_mirror/UpdateMirror8Test_gold b/system/t04_mirror/UpdateMirror8Test_gold index 3b370e10..30dbccb9 100644 --- a/system/t04_mirror/UpdateMirror8Test_gold +++ b/system/t04_mirror/UpdateMirror8Test_gold @@ -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" diff --git a/system/t04_mirror/UpdateMirror9Test_gold b/system/t04_mirror/UpdateMirror9Test_gold index 2eabc2ea..1d898874 100644 --- a/system/t04_mirror/UpdateMirror9Test_gold +++ b/system/t04_mirror/UpdateMirror9Test_gold @@ -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 " -gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC -gpgv: can't allocate lock for '/home/runner/.gnupg/aptlytest.gpg' \ No newline at end of file +gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC \ No newline at end of file