Starting lpcraft, version 0.0.49 Logging execution to '/home/buildd/.local/state/lpcraft/log/lpcraft-20230317-111135.570655.log' Launching environment for focal/amd64 Checking for instance 'lpcraft-tree-519414-focal-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://security.ubuntu.com/ubuntu focal-security InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 90 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.8.31-1ubuntu1.4). :: 0 upgraded, 0 newly installed, 0 to remove and 90 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... :: The following additional packages will be installed: :: libc-dev-bin libc6 libc6-dbg libc6-dev :: Suggested packages: :: glibc-doc locales manpages-dev valgrind-dbg valgrind-mpi kcachegrind :: alleyoop valkyrie :: Recommended packages: :: manpages manpages-dev gdb :: The following NEW packages will be installed: :: libc6-dbg valgrind :: The following packages will be upgraded: :: libc-dev-bin libc6 libc6-dev :: 3 upgraded, 2 newly installed, 0 to remove and 87 not upgraded. :: Need to get 45.6 MB of archives. :: After this operation, 120 MB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.9 [2519 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.9 [71.8 kB] :: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 2.31-0ubuntu9.9 [2722 kB] :: Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dbg amd64 2.31-0ubuntu9.9 [20.0 MB] :: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 valgrind amd64 1:3.15.0-1ubuntu9.1 [20.3 MB] :: Preconfiguring packages ... :: Fetched 45.6 MB in 1s (84.8 MB/s) :: (Reading database ... 16747 files and directories currently installed.) :: Preparing to unpack .../libc6-dev_2.31-0ubuntu9.9_amd64.deb ... :: Unpacking libc6-dev:amd64 (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... :: Preparing to unpack .../libc-dev-bin_2.31-0ubuntu9.9_amd64.deb ... :: Unpacking libc-dev-bin (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... :: Preparing to unpack .../libc6_2.31-0ubuntu9.9_amd64.deb ... :: Unpacking libc6:amd64 (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... :: Setting up libc6:amd64 (2.31-0ubuntu9.9) ... :: Selecting previously unselected package libc6-dbg:amd64. :: (Reading database ... 16746 files and directories currently installed.) :: Preparing to unpack .../libc6-dbg_2.31-0ubuntu9.9_amd64.deb ... :: Unpacking libc6-dbg:amd64 (2.31-0ubuntu9.9) ... :: Selecting previously unselected package valgrind. :: Preparing to unpack .../valgrind_1%3a3.15.0-1ubuntu9.1_amd64.deb ... :: Unpacking valgrind (1:3.15.0-1ubuntu9.1) ... :: Setting up libc6-dbg:amd64 (2.31-0ubuntu9.9) ... :: Setting up libc-dev-bin (2.31-0ubuntu9.9) ... :: Setting up valgrind (1:3.15.0-1ubuntu9.1) ... :: Setting up libc6-dev:amd64 (2.31-0ubuntu9.9) ... :: Processing triggers for libc-bin (2.31-0ubuntu9) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: libhavege1 :: The following NEW packages will be installed: :: haveged libhavege1 :: 0 upgraded, 2 newly installed, 0 to remove and 87 not upgraded. :: Need to get 50.4 kB of archives. :: After this operation, 196 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libhavege1 amd64 1.9.1-6ubuntu1 [22.0 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 haveged amd64 1.9.1-6ubuntu1 [28.4 kB] :: Fetched 50.4 kB in 0s (2201 kB/s) :: Selecting previously unselected package libhavege1:amd64. :: (Reading database ... 17577 files and directories currently installed.) :: Preparing to unpack .../libhavege1_1.9.1-6ubuntu1_amd64.deb ... :: Unpacking libhavege1:amd64 (1.9.1-6ubuntu1) ... :: Selecting previously unselected package haveged. :: Preparing to unpack .../haveged_1.9.1-6ubuntu1_amd64.deb ... :: Unpacking haveged (1.9.1-6ubuntu1) ... :: Setting up libhavege1:amd64 (1.9.1-6ubuntu1) ... :: Setting up haveged (1.9.1-6ubuntu1) ... :: Created symlink /etc/systemd/system/default.target.wants/haveged.service → /lib/systemd/system/haveged.service. :: invoke-rc.d: policy-rc.d denied execution of start. :: Processing triggers for systemd (245.4-4ubuntu3.20) ... :: Processing triggers for libc-bin (2.31-0ubuntu9) ... :: Requiring 'lsb-release' ... :: Requiring 'gnupg' ... :: Requiring 'valgrind' ... :: Requiring 'haveged' ... :: Running test: './test-gnupg.py' distro: 'Ubuntu 20.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.703s :: :: OK :: Skipping private tests :: Using binary: gpg