Public bug reported: Sample error:
------------------------------------------------ def test_keyserver(self, class_client: IntegrationInstance): """Test the apt keyserver functionality. Ported from tests/cloud_tests/testcases/modules/apt_configure_sources_keyserver.py """ test_keyserver_contents = class_client.read_from_file( '/etc/apt/sources.list.d/test_keyserver.list' ) assert ( 'http://ppa.launchpad.net/cloud-init-raharper/curtin-dev/ubuntu' ) in test_keyserver_contents keys = class_client.execute('apt-key finger') > assert TEST_KEYSERVER_KEY in keys E AssertionError: assert 'pub rsa1024 2013-12-09 [SC]\n 7260 0DB1 5B8E 4C8B 1964 B868 038A CC97 C660 A937\nuid [ unknown] Launchpad PPA for Ryan Harper\n' in '/etc/apt/trusted.gpg\n--------------------\npub 1024D/437D05B5 2004-09-12\n Key fingerprint = 6302 39CC 130E 1...erprint = 3552 C902 B4DD F7BD 3842 1821 015D 28D7 4416 14D8\nuid Launchpad PPA for simplestreams-dev' class_client = <tests.integration_tests.instances.IntegrationLxdInstance object at 0x7fcfce989c88> keys = '/etc/apt/trusted.gpg\n--------------------\npub 1024D/437D05B5 2004-09-12\n Key fingerprint = 6302 39CC 130E 1...erprint = 3552 C902 B4DD F7BD 3842 1821 015D 28D7 4416 14D8\nuid Launchpad PPA for simplestreams-dev' self = <test_apt.TestApt object at 0x7fcfcfbcb1d0> test_keyserver_contents = 'deb http://ppa.launchpad.net/cloud-init-raharper/curtin-dev/ubuntu xenial main' ------------------------------------------------ PR: https://github.com/canonical/cloud-init/pull/823 ** Affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1916629 Title: pytests: tests using apt-key fail on Xenial Status in cloud-init: New Bug description: Sample error: ------------------------------------------------ def test_keyserver(self, class_client: IntegrationInstance): """Test the apt keyserver functionality. Ported from tests/cloud_tests/testcases/modules/apt_configure_sources_keyserver.py """ test_keyserver_contents = class_client.read_from_file( '/etc/apt/sources.list.d/test_keyserver.list' ) assert ( 'http://ppa.launchpad.net/cloud-init-raharper/curtin-dev/ubuntu' ) in test_keyserver_contents keys = class_client.execute('apt-key finger') > assert TEST_KEYSERVER_KEY in keys E AssertionError: assert 'pub rsa1024 2013-12-09 [SC]\n 7260 0DB1 5B8E 4C8B 1964 B868 038A CC97 C660 A937\nuid [ unknown] Launchpad PPA for Ryan Harper\n' in '/etc/apt/trusted.gpg\n--------------------\npub 1024D/437D05B5 2004-09-12\n Key fingerprint = 6302 39CC 130E 1...erprint = 3552 C902 B4DD F7BD 3842 1821 015D 28D7 4416 14D8\nuid Launchpad PPA for simplestreams-dev' class_client = <tests.integration_tests.instances.IntegrationLxdInstance object at 0x7fcfce989c88> keys = '/etc/apt/trusted.gpg\n--------------------\npub 1024D/437D05B5 2004-09-12\n Key fingerprint = 6302 39CC 130E 1...erprint = 3552 C902 B4DD F7BD 3842 1821 015D 28D7 4416 14D8\nuid Launchpad PPA for simplestreams-dev' self = <test_apt.TestApt object at 0x7fcfcfbcb1d0> test_keyserver_contents = 'deb http://ppa.launchpad.net/cloud-init-raharper/curtin-dev/ubuntu xenial main' ------------------------------------------------ PR: https://github.com/canonical/cloud-init/pull/823 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1916629/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp