Starting lpcraft, version 0.0.50 Logging execution to '/home/buildd/.local/state/lpcraft/log/lpcraft-20230324-024127.234447.log' Launching environment for jammy/amd64 Checking for instance 'lpcraft-tree-519431-jammy-amd64' in project 'lpcraft' in remote 'local' Instance exists and is not running. Starting instance. Running ['apt', 'update'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease :: Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 74 packages can be upgraded. Run 'apt list --upgradable' to see them. Installing system packages Running ['apt', 'install', '-y', 'sudo'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: sudo is already the newest version (1.9.9-1ubuntu2.3). :: 0 upgraded, 0 newly installed, 0 to remove and 74 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner gnupg\n'] :: Copying: test-gnupg.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: Copying: gnupg :: Skipping 'private/qrt/gnupg.py' (couldn't find 'private') :: :: Test files: /tmp/qrt-test-gnupg.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-gnupg.tar.gz :: $ cd ./qrt-test-gnupg :: $ sudo ./install-packages test-gnupg.py :: $ ./test-gnupg.py -v :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Package python-apt is not available, but is referred to by another package. :: This may mean that the package is missing, has been obsoleted, or :: is only available from another source :: However the following packages replace it: :: python-apt-doc python3-apt-dbg python3-apt python-apt-common :: :: E: Package 'python-apt' has no installation candidate :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server :: gpgconf gpgsm gpgv libksba8 :: Suggested packages: :: pinentry-gnome3 tor parcimonie xloadimage scdaemon :: The following NEW packages will be installed: :: dirmngr gnupg gnupg-l10n gnupg-utils gpg-wks-client gpg-wks-server gpgsm :: libksba8 :: The following packages will be upgraded: :: gpg gpg-agent gpgconf gpgv :: 4 upgraded, 8 newly installed, 0 to remove and 70 not upgraded. :: Need to get 2365 kB of archives. :: After this operation, 3545 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgv amd64 2.2.27-3ubuntu2.1 [137 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg amd64 2.2.27-3ubuntu2.1 [519 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgconf amd64 2.2.27-3ubuntu2.1 [94.2 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-agent amd64 2.2.27-3ubuntu2.1 [209 kB] :: Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libksba8 amd64 1.6.0-2ubuntu0.2 [119 kB] :: Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dirmngr amd64 2.2.27-3ubuntu2.1 [293 kB] :: Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-l10n all 2.2.27-3ubuntu2.1 [54.4 kB] :: Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-utils amd64 2.2.27-3ubuntu2.1 [308 kB] :: Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-client amd64 2.2.27-3ubuntu2.1 [62.7 kB] :: Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-server amd64 2.2.27-3ubuntu2.1 [57.5 kB] :: Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgsm amd64 2.2.27-3ubuntu2.1 [197 kB] :: Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg all 2.2.27-3ubuntu2.1 [315 kB] :: Fetched 2365 kB in 0s (20.0 MB/s) :: (Reading database ... 17203 files and directories currently installed.) :: Preparing to unpack .../gpgv_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpgv (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... :: Setting up gpgv (2.2.27-3ubuntu2.1) ... :: (Reading database ... 17203 files and directories currently installed.) :: Preparing to unpack .../00-gpg_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... :: Preparing to unpack .../01-gpgconf_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpgconf (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... :: Preparing to unpack .../02-gpg-agent_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpg-agent (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ... :: Selecting previously unselected package libksba8:amd64. :: Preparing to unpack .../03-libksba8_1.6.0-2ubuntu0.2_amd64.deb ... :: Unpacking libksba8:amd64 (1.6.0-2ubuntu0.2) ... :: Selecting previously unselected package dirmngr. :: Preparing to unpack .../04-dirmngr_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking dirmngr (2.2.27-3ubuntu2.1) ... :: Selecting previously unselected package gnupg-l10n. :: Preparing to unpack .../05-gnupg-l10n_2.2.27-3ubuntu2.1_all.deb ... :: Unpacking gnupg-l10n (2.2.27-3ubuntu2.1) ... :: Selecting previously unselected package gnupg-utils. :: Preparing to unpack .../06-gnupg-utils_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gnupg-utils (2.2.27-3ubuntu2.1) ... :: Selecting previously unselected package gpg-wks-client. :: Preparing to unpack .../07-gpg-wks-client_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpg-wks-client (2.2.27-3ubuntu2.1) ... :: Selecting previously unselected package gpg-wks-server. :: Preparing to unpack .../08-gpg-wks-server_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpg-wks-server (2.2.27-3ubuntu2.1) ... :: Selecting previously unselected package gpgsm. :: Preparing to unpack .../09-gpgsm_2.2.27-3ubuntu2.1_amd64.deb ... :: Unpacking gpgsm (2.2.27-3ubuntu2.1) ... :: Selecting previously unselected package gnupg. :: Preparing to unpack .../10-gnupg_2.2.27-3ubuntu2.1_all.deb ... :: Unpacking gnupg (2.2.27-3ubuntu2.1) ... :: Setting up libksba8:amd64 (1.6.0-2ubuntu0.2) ... :: Setting up gnupg-l10n (2.2.27-3ubuntu2.1) ... :: Setting up gpgconf (2.2.27-3ubuntu2.1) ... :: Setting up gpg (2.2.27-3ubuntu2.1) ... :: Setting up gnupg-utils (2.2.27-3ubuntu2.1) ... :: Setting up gpg-agent (2.2.27-3ubuntu2.1) ... :: Setting up gpgsm (2.2.27-3ubuntu2.1) ... :: Setting up dirmngr (2.2.27-3ubuntu2.1) ... :: Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket. :: Setting up gpg-wks-server (2.2.27-3ubuntu2.1) ... :: Setting up gpg-wks-client (2.2.27-3ubuntu2.1) ... :: Setting up gnupg (2.2.27-3ubuntu2.1) ... :: Processing triggers for libc-bin (2.35-0ubuntu3) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: libc-dev-bin libc6 libc6-dbg libc6-dev libc6-i386 :: Suggested packages: :: glibc-doc locales manpages-dev valgrind-dbg valgrind-mpi kcachegrind :: alleyoop valkyrie :: Recommended packages: :: manpages manpages-dev libc-devtools libnss-nis libnss-nisplus gdb :: The following NEW packages will be installed: :: libc6-dbg libc6-i386 valgrind :: The following packages will be upgraded: :: libc-dev-bin libc6 libc6-dev :: 3 upgraded, 3 newly installed, 0 to remove and 67 not upgraded. :: Need to get 36.1 MB of archives. :: After this operation, 111 MB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.1 [2099 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.1 [20.4 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6 amd64 2.35-0ubuntu3.1 [3235 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-i386 amd64 2.35-0ubuntu3.1 [2837 kB] :: Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dbg amd64 2.35-0ubuntu3.1 [13.8 MB] :: Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 valgrind amd64 1:3.18.1-1ubuntu2 [14.1 MB] :: Preconfiguring packages ... :: Fetched 36.1 MB in 0s (107 MB/s) :: (Reading database ... 17347 files and directories currently installed.) :: Preparing to unpack .../libc6-dev_2.35-0ubuntu3.1_amd64.deb ... :: Unpacking libc6-dev:amd64 (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ... :: Preparing to unpack .../libc-dev-bin_2.35-0ubuntu3.1_amd64.deb ... :: Unpacking libc-dev-bin (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ... :: Preparing to unpack .../libc6_2.35-0ubuntu3.1_amd64.deb ... :: Unpacking libc6:amd64 (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ... :: Setting up libc6:amd64 (2.35-0ubuntu3.1) ... :: Selecting previously unselected package libc6-i386. :: (Reading database ... 17347 files and directories currently installed.) :: Preparing to unpack .../libc6-i386_2.35-0ubuntu3.1_amd64.deb ... :: Unpacking libc6-i386 (2.35-0ubuntu3.1) ... :: Selecting previously unselected package libc6-dbg:amd64. :: Preparing to unpack .../libc6-dbg_2.35-0ubuntu3.1_amd64.deb ... :: Unpacking libc6-dbg:amd64 (2.35-0ubuntu3.1) ... :: Selecting previously unselected package valgrind. :: Preparing to unpack .../valgrind_1%3a3.18.1-1ubuntu2_amd64.deb ... :: Unpacking valgrind (1:3.18.1-1ubuntu2) ... :: Setting up libc6-dbg:amd64 (2.35-0ubuntu3.1) ... :: Setting up libc6-i386 (2.35-0ubuntu3.1) ... :: Setting up libc-dev-bin (2.35-0ubuntu3.1) ... :: Setting up valgrind (1:3.18.1-1ubuntu2) ... :: Setting up libc6-dev:amd64 (2.35-0ubuntu3.1) ... :: Processing triggers for libc-bin (2.35-0ubuntu3) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: libhavege2 :: The following NEW packages will be installed: :: haveged libhavege2 :: 0 upgraded, 2 newly installed, 0 to remove and 67 not upgraded. :: Need to get 57.3 kB of archives. :: After this operation, 220 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libhavege2 amd64 1.9.14-1ubuntu1 [23.8 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 haveged amd64 1.9.14-1ubuntu1 [33.6 kB] :: Fetched 57.3 kB in 0s (2151 kB/s) :: Selecting previously unselected package libhavege2:amd64. :: (Reading database ... 18473 files and directories currently installed.) :: Preparing to unpack .../libhavege2_1.9.14-1ubuntu1_amd64.deb ... :: Unpacking libhavege2:amd64 (1.9.14-1ubuntu1) ... :: Selecting previously unselected package haveged. :: Preparing to unpack .../haveged_1.9.14-1ubuntu1_amd64.deb ... :: Unpacking haveged (1.9.14-1ubuntu1) ... :: Setting up libhavege2:amd64 (1.9.14-1ubuntu1) ... :: Setting up haveged (1.9.14-1ubuntu1) ... :: invoke-rc.d: policy-rc.d denied execution of start. :: Created symlink /etc/systemd/system/sysinit.target.wants/haveged.service → /lib/systemd/system/haveged.service. :: /usr/sbin/policy-rc.d returned 101, not running 'start haveged.service' :: Processing triggers for libc-bin (2.35-0ubuntu3) ... :: Requiring 'lsb-release' ... :: Requiring 'gnupg' ... :: Requiring 'valgrind' ... :: Requiring 'haveged' ... :: Running test: './test-gnupg.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-139.156 (Ubuntu 5.4.0-139.156-generic 5.4.224)' arch: 'amd64' uid: 0/0 SUDO_USER: '') :: test_00_keyring_exists (__main__.GnupgTest) :: Secret key creation ... ok :: test_01_key_exportable (__main__.GnupgTest) :: Public key is exportable ... ok :: test_02_self_encryption (__main__.GnupgTest) :: File can be encrypted to ourself ... ok :: test_03_recv_keys (__main__.GnupgTest) :: Test that public keys can be loaded by default from the network. ... ok :: test_04_check_sigs (__main__.GnupgTest) :: Sigs can be checked against public keys ... ok :: test_04_check_sigs_bad (__main__.GnupgTest) :: Bad signatures are detected ... ok :: test_05_remote_encryption (__main__.GnupgTest) :: Test that a file can be encrypted to someone else ... ok :: test_10_check_inline_forgery (__main__.GnupgTest) :: Prepended plaintext detected as forgery (CVE-2007-1263) ... ok :: test_11_long_keyids (__main__.GnupgTest) :: Test that gnupg uses long keyids when requesting keys. ... ok :: test_20_escape_filename_CVE_2018_12020 (__main__.GnupgTest) :: test escaping of original filename CVE-2018-12020 ... ok :: test_30_ensure_no_apt_breakage (__main__.GnupgTest) :: ensure apt-get update is not broken by gpg update ... ok :: test_9000_cve_2012_6085 (__main__.GnupgTest) :: Test CVE-2012-6085 corrupted keyring ... ok :: test_9999_cleanup (__main__.GnupgTest) ... ok :: :: ---------------------------------------------------------------------- :: Ran 13 tests in 4.856s :: :: OK :: Skipping private tests :: Using binary: gpg