Starting lpcraft, version 0.0.50 Logging execution to '/home/buildd/.local/state/lpcraft/log/lpcraft-20230322-150938.900128.log' Launching environment for bionic/amd64 Checking for instance 'lpcraft-tree-519455-bionic-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 bionic-security InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 110 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.21p2-3ubuntu1.5). :: 0 upgraded, 0 newly installed, 0 to remove and 110 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 107 not upgraded. :: Need to get 24.9 MB of archives. :: After this operation, 114 MB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.6 [2587 kB] :: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.6 [71.9 kB] :: Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6 amd64 2.27-3ubuntu1.6 [2831 kB] :: Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dbg amd64 2.27-3ubuntu1.6 [5162 kB] :: Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 valgrind amd64 1:3.13.0-2ubuntu2.3 [14.3 MB] :: Preconfiguring packages ... :: Fetched 24.9 MB in 0s (67.9 MB/s) :: (Reading database ... 16429 files and directories currently installed.) :: Preparing to unpack .../libc6-dev_2.27-3ubuntu1.6_amd64.deb ... :: Unpacking libc6-dev:amd64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... :: Preparing to unpack .../libc-dev-bin_2.27-3ubuntu1.6_amd64.deb ... :: Unpacking libc-dev-bin (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... :: Preparing to unpack .../libc6_2.27-3ubuntu1.6_amd64.deb ... :: Unpacking libc6:amd64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... :: Setting up libc6:amd64 (2.27-3ubuntu1.6) ... :: Selecting previously unselected package libc6-dbg:amd64. :: (Reading database ... 16429 files and directories currently installed.) :: Preparing to unpack .../libc6-dbg_2.27-3ubuntu1.6_amd64.deb ... :: Unpacking libc6-dbg:amd64 (2.27-3ubuntu1.6) ... :: Selecting previously unselected package valgrind. :: Preparing to unpack .../valgrind_1%3a3.13.0-2ubuntu2.3_amd64.deb ... :: Unpacking valgrind (1:3.13.0-2ubuntu2.3) ... :: Setting up libc6-dbg:amd64 (2.27-3ubuntu1.6) ... :: Processing triggers for libc-bin (2.27-3ubuntu1) ... :: Setting up libc-dev-bin (2.27-3ubuntu1.6) ... :: Setting up valgrind (1:3.13.0-2ubuntu2.3) ... :: Setting up libc6-dev:amd64 (2.27-3ubuntu1.6) ... :: 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 107 not upgraded. :: Need to get 51.5 kB of archives. :: After this operation, 196 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libhavege1 amd64 1.9.1-6 [22.9 kB] :: Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 haveged amd64 1.9.1-6 [28.5 kB] :: Fetched 51.5 kB in 0s (2372 kB/s) :: Selecting previously unselected package libhavege1:amd64. :: (Reading database ... 17067 files and directories currently installed.) :: Preparing to unpack .../libhavege1_1.9.1-6_amd64.deb ... :: Unpacking libhavege1:amd64 (1.9.1-6) ... :: Selecting previously unselected package haveged. :: Preparing to unpack .../haveged_1.9.1-6_amd64.deb ... :: Unpacking haveged (1.9.1-6) ... :: Setting up libhavege1:amd64 (1.9.1-6) ... :: Processing triggers for libc-bin (2.27-3ubuntu1) ... :: Processing triggers for systemd (237-3ubuntu10.57) ... :: Setting up haveged (1.9.1-6) ... :: 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 (237-3ubuntu10.57) ... :: Requiring 'lsb-release' ... :: Requiring 'gnupg' ... :: Requiring 'valgrind' ... :: Requiring 'haveged' ... :: Running test: './test-gnupg.py' distro: 'Ubuntu 18.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 5.246s :: :: OK :: Skipping private tests :: Using binary: gpg