Starting lpci, version 0.2.5 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240125-214426.896256.log' Launching environment for jammy/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 jammy InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 62 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.4). :: 0 upgraded, 0 newly installed, 0 to remove and 62 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... :: 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: :: 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 62 not upgraded. :: Need to get 62.0 kB of archives. :: After this operation, 265 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-ptyprocess all 0.7.0-3 [15.4 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pexpect all 4.8.0-2ubuntu1 [46.7 kB] :: Fetched 62.0 kB in 0s (242 kB/s) :: Selecting previously unselected package python3-ptyprocess. :: (Reading database ... 19783 files and directories currently installed.) :: Preparing to unpack .../python3-ptyprocess_0.7.0-3_all.deb ... :: Unpacking python3-ptyprocess (0.7.0-3) ... :: Selecting previously unselected package python3-pexpect. :: Preparing to unpack .../python3-pexpect_4.8.0-2ubuntu1_all.deb ... :: Unpacking python3-pexpect (4.8.0-2ubuntu1) ... :: Setting up python3-ptyprocess (0.7.0-3) ... :: Setting up python3-pexpect (4.8.0-2ubuntu1) ... :: Requiring 'lsb-release' ... :: Requiring 'build-essential' ... :: Requiring 'python3-pexpect' ... :: Running test: './test-glibc-security.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-169.187 (Ubuntu 5.4.0-169.187-generic 5.4.257)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu') :: test_00_make (__main__.GlibcSecurityTest) :: Build helper tools ... (gcc 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)) 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 ... (yescrypt) ok :: test_42_passwd_hash_alg_pam (__main__.GlibcSecurityTest) :: test the default hash algorithm configured in pam ... (yescrypt) 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.391s :: :: OK