Fix up system tests

This commit is contained in:
Andrey Smirnov
2017-07-28 18:49:18 +03:00
parent 68da8a674a
commit cbb576cbcc
3 changed files with 8 additions and 3 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
opengpg: failure opening keyring '${HOME}/.gnupg/aptlytest.gpg': open ${HOME}/.gnupg/aptlytest.gpg: no such file or directory opengpg: failure opening keyring '${HOME}/.gnupg/aptlytest.gpg': open ${HOME}/.gnupg/aptlytest.gpg: no such file or directory
Looks like your keyring with trusted keys is empty. You might consider importing some keys. Looks like your keyring with trusted keys is empty. You might consider importing some keys.
Downloading http://mirror.yandex.ru/debian-backports/dists/squeeze-backports/InRelease... Downloading http://mirror.yandex.ru/debian-backports/dists/squeeze-backports/InRelease...
openpgp: Signature made Sun, 13 Mar 2016 12:02:54 MSK using RSA key ID 8B48AD6246925553 openpgp: RSA key ID 8B48AD6246925553
openpgp: Can't check signature: public key not found openpgp: Can't check signature: public key not found
Downloading http://mirror.yandex.ru/debian-backports/dists/squeeze-backports/Release... Downloading http://mirror.yandex.ru/debian-backports/dists/squeeze-backports/Release...
Downloading http://mirror.yandex.ru/debian-backports/dists/squeeze-backports/Release.gpg... Downloading http://mirror.yandex.ru/debian-backports/dists/squeeze-backports/Release.gpg...
openpgp: Signature made Sun, 13 Mar 2016 12:02:54 MSK using RSA key ID 8B48AD6246925553 openpgp: RSA key ID 8B48AD6246925553
openpgp: Can't check signature: public key not found openpgp: Can't check signature: public key not found
ERROR: unable to fetch mirror: failed to verify detached signature: openpgp: signature made by unknown entity ERROR: unable to fetch mirror: failed to verify detached signature: openpgp: signature made by unknown entity
+1 -1
View File
@@ -1,5 +1,5 @@
openpgp: Passphrase is required to unlock private key "Aptly Tester (don't use it) <test@aptly.info>" openpgp: Passphrase is required to unlock private key "Aptly Tester (don't use it) <test@aptly.info>"
openpgp: 1024-bit DSA key, ID F30E8CB9CDDE2AF8, created 2014-08-30 openpgp: 1024-bit DSA key, ID F30E8CB9CDDE2AF8, created
Loading packages... Loading packages...
Generating metadata files and linking package files... Generating metadata files and linking package files...
Finalizing metadata files... Finalizing metadata files...
+4
View File
@@ -1,6 +1,7 @@
import os import os
import hashlib import hashlib
import inspect import inspect
import re
import zlib import zlib
from lib import BaseTest from lib import BaseTest
@@ -747,6 +748,9 @@ class PublishRepo31Test(BaseTest):
gold_processor = BaseTest.expand_environ gold_processor = BaseTest.expand_environ
configOverride = {"gpgProvider": "internal"} configOverride = {"gpgProvider": "internal"}
def outputMatchPrepare(_, s):
return re.sub(r' \d{4}-\d{2}-\d{2}', '', s)
def check(self): def check(self):
super(PublishRepo31Test, self).check() super(PublishRepo31Test, self).check()