Starting lpci, version 0.2.6 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240326-193710.230557.log' Launching environment for focal/amd64 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 focal InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease :: Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 75 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.5). :: 0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner glibc-security\n'] :: Copying: test-glibc-security.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: Copying: glibc-security :: :: Test files: /tmp/qrt-test-glibc-security.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-glibc-security.tar.gz :: $ cd ./qrt-test-glibc-security :: $ sudo ./install-packages test-glibc-security.py :: $ ./test-glibc-security.py -v :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: python3-ptyprocess :: Suggested packages: :: python-pexpect-doc :: The following NEW packages will be installed: :: python3-pexpect python3-ptyprocess :: 0 upgraded, 2 newly installed, 0 to remove and 75 not upgraded. :: Need to get 58.0 kB of archives. :: After this operation, 252 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-ptyprocess all 0.6.0-1ubuntu1 [13.3 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-pexpect all 4.6.0-1build1 [44.6 kB] :: Fetched 58.0 kB in 0s (2221 kB/s) :: Selecting previously unselected package python3-ptyprocess. :: (Reading database ... 18732 files and directories currently installed.) :: Preparing to unpack .../python3-ptyprocess_0.6.0-1ubuntu1_all.deb ... :: Unpacking python3-ptyprocess (0.6.0-1ubuntu1) ... :: Selecting previously unselected package python3-pexpect. :: Preparing to unpack .../python3-pexpect_4.6.0-1build1_all.deb ... :: Unpacking python3-pexpect (4.6.0-1build1) ... :: Setting up python3-ptyprocess (0.6.0-1ubuntu1) ... :: Setting up python3-pexpect (4.6.0-1build1) ... :: Requiring 'lsb-release' ... :: Requiring 'build-essential' ... :: Requiring 'python3-pexpect' ... :: test_00_make (__main__.GlibcSecurityTest) :: Build helper tools ... Running test: './test-glibc-security.py' pkg-version: '' distro: 'Ubuntu 20.04' kernel: '5.4.0-173.191 (Ubuntu 5.4.0-173.191-generic 5.4.265)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu') :: (gcc 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)) ok :: test_11_heap_protector (__main__.GlibcSecurityTest) :: glibc heap protection ... ok :: test_11_sprintf_unmangled (__main__.GlibcSecurityTest) :: sprintf not pre-truncated with -D_FORTIFY_SOURCE=2 ... ok :: test_12_glibc_pointer_obfuscation (__main__.GlibcSecurityTest) :: glibc pointer obfuscation ... ok :: test_13_select_overflow (__main__.GlibcSecurityTest) :: select macros detect overflow with -D_FORTIFY_SOURCE=2 ... ok :: test_41_passwd_hashes (__main__.GlibcSecurityTest) :: Password hashes ... (sha512) ok :: test_42_passwd_hash_alg_pam (__main__.GlibcSecurityTest) :: test the default hash algorithm configured in pam ... (sha512) ok :: test_70_env_okay_non_setuid (__main__.GlibcSecurityTest) :: Ensure environment vars passed through to non-setuid progs ... ok :: test_71_env_filtered_setuid (__main__.GlibcSecurityTest) :: Ensure environment vars filtered for setuid progs ... ok :: test_72_envs_okay_for_setuis (__main__.GlibcSecurityTest) :: Ensure we didn't break misc env vars for setuid progs ... ok :: test_80_stack_guard_exists (__main__.GlibcSecurityTest) :: Stack guard exists ... ok :: test_81_stack_guard_leads_zero (__main__.GlibcSecurityTest) :: Stack guard leads with zero byte ... ok :: test_82_stack_guard_randomized (__main__.GlibcSecurityTest) :: Stack guard is randomized ... ok :: test_90_abort_msg (__main__.GlibcSecurityTest) :: Retains assert()/*_chk() message ... (/lib/x86_64-linux-gnu/libc.so.6) ok :: :: ---------------------------------------------------------------------- :: Ran 14 tests in 1.422s :: :: OK