Skip to content

Commit

Permalink
Fix few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smira committed Aug 2, 2019
1 parent eb1703b commit 703940c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion system/t03_help/MirrorCreateHelpTest_gold
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PPA urls could specified in short format:

Example:

$ aptly mirror create wheezy-main http://cdn-fastly.deb.debian.org/debian/ wheezy main
$ aptly mirror create wheezy-main http://mirror.yandex.ru/debian/ wheezy main

Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available
Expand All @@ -31,3 +31,4 @@ Options:
-with-installer: download additional not packaged installer files
-with-sources: download source packages in addition to binary packages
-with-udebs: download .udeb packages (Debian installer support)

13 changes: 8 additions & 5 deletions system/t04_mirror/CreateMirror30Test_gold
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
opengpg: failure opening keyring '/home/smira/.gnupg/aptlytest.gpg': open /home/smira/.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.
Downloading http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/InRelease...
openpgp: RSA key ID 8B48AD6246925553
Downloading http://cdn-fastly.deb.debian.org/debian/dists/stretch/InRelease...
Downloading http://cdn-fastly.deb.debian.org/debian/dists/stretch/Release...
Downloading http://cdn-fastly.deb.debian.org/debian/dists/stretch/Release.gpg...
openpgp: RSA key ID 7638D0442B90D010
openpgp: Can't check signature: public key not found
Downloading http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/Release...
ERROR: unable to fetch mirror: HTTP code 404 while fetching http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/Release
openpgp: RSA key ID 04EE7237B7D453EC
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
2 changes: 1 addition & 1 deletion system/t04_mirror/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class CreateMirror30Test(BaseTest):
"""
create mirror: repo with InRelease verification, failure (internal GPG implementation)
"""
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror10 http://ftp.us.debian.org/debian-backports/ squeeze-backports"
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror10 http://cdn-fastly.deb.debian.org/debian/ stretch"
configOverride = {"gpgProvider": "internal"}
gold_processor = BaseTest.expand_environ
fixtureGpg = False
Expand Down

0 comments on commit 703940c

Please sign in to comment.