Starting lpci, version 0.2.7 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240430-202359.854361.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://security.ubuntu.com/ubuntu jammy-security InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu jammy 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... :: All packages are up to date. 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 0 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', 'DEBIAN_FRONTEND=noninteractive apt upgrade --assume-yes\n'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Calculating upgrade... :: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner util-linux\n'] :: Copying: test-util-linux.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: Copying: util-linux :: :: Test files: /tmp/qrt-test-util-linux.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-util-linux.tar.gz :: $ cd ./qrt-test-util-linux :: $ sudo ./install-packages test-util-linux.py :: $ ./test-util-linux.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: :: libfdisk1 :: The following NEW packages will be installed: :: fdisk libfdisk1 :: 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. :: Need to get 263 kB of archives. :: After this operation, 891 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfdisk1 amd64 2.37.2-4ubuntu3.4 [140 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 fdisk amd64 2.37.2-4ubuntu3.4 [122 kB] :: Fetched 263 kB in 0s (8797 kB/s) :: Selecting previously unselected package libfdisk1:amd64. :: (Reading database ... 23123 files and directories currently installed.) :: Preparing to unpack .../libfdisk1_2.37.2-4ubuntu3.4_amd64.deb ... :: Unpacking libfdisk1:amd64 (2.37.2-4ubuntu3.4) ... :: Selecting previously unselected package fdisk. :: Preparing to unpack .../fdisk_2.37.2-4ubuntu3.4_amd64.deb ... :: Unpacking fdisk (2.37.2-4ubuntu3.4) ... :: Setting up libfdisk1:amd64 (2.37.2-4ubuntu3.4) ... :: Setting up fdisk (2.37.2-4ubuntu3.4) ... :: Processing triggers for libc-bin (2.35-0ubuntu3.7) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: E: Unable to locate package util-linux-extra :: Requiring 'lsb-release' ... :: Requiring 'bsdutils' ... :: Trying 'fdisk' ... :: Trying 'fdisk' ... :: Trying 'util-linux-extra' ... :: Running test: './test-util-linux.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-176.196 (Ubuntu 5.4.0-176.196-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: test_logger_journalctl (__main__.BsdUtilsTest) :: Test logger via journalctl ... ok :: test_logger_syslog (__main__.BsdUtilsTest) :: Test logger via grepping syslog ... skipped 'Systemd based system, can use journalctl instead of reading /var/log/syslog directly' :: test_renice (__main__.BsdUtilsTest) :: Test renice ... skipped 'setpriority(2) not allowed in lpci environment' :: test_script (__main__.BsdUtilsTest) :: Test script ... ok :: test_wall (__main__.BsdUtilsTest) :: Test wall ... ok :: test_wall_permissions (__main__.BsdUtilsTest) :: Test wall permissions ... ok :: test_fake_unmount (__main__.MountTest) :: Test umount with --fake option ... skipped 'mount not allowed in lpci environment' :: test_losetup (__main__.MountTest) :: Test losetup ... skipped 'mount not allowed in lpci environment' :: test_mount (__main__.MountTest) :: Test mount ... skipped 'mount not allowed in lpci environment' :: test_swapon (__main__.MountTest) :: Test swapon ... ok :: test_cfdisk (__main__.UtilLinuxTest) :: Test cfdisk ... skipped 'Xenial+ cfdisk no longer has print mode' :: test_chrt (__main__.UtilLinuxTest) :: Test chrt ... ok :: test_dmesg (__main__.UtilLinuxTest) :: Test dmesg ... ok :: test_fdisk (__main__.UtilLinuxTest) :: Test fdisk ... skipped 'Access to disk devices is not allowed in lpci environment' :: test_getopt (__main__.UtilLinuxTest) :: Test getopt ... ok :: test_hwclock (__main__.UtilLinuxTest) :: Test hwclock ... skipped 'Hardware clock device access is not allowed in lpci environment' :: test_ionice (__main__.UtilLinuxTest) :: Test ionice ... ok :: test_ipcs (__main__.UtilLinuxTest) :: Test ipcs ... ok :: test_isosize (__main__.UtilLinuxTest) :: Test isosize ... ok :: test_mcookie (__main__.UtilLinuxTest) :: Test mcookie ... ok :: test_mkswap (__main__.UtilLinuxTest) :: Test mkswap ... ok :: test_namei (__main__.UtilLinuxTest) :: Test namei ... ok :: test_rename_ul (__main__.UtilLinuxTest) :: Test rename.ul ... skipped 'rename.ul no longer available in impish and newer' :: test_rev (__main__.UtilLinuxTest) :: Test rev ... ok :: test_sfdisk (__main__.UtilLinuxTest) :: Test sfdisk ... skipped 'Access to disk devices is not allowed in lpci environment' :: test_taskset (__main__.UtilLinuxTest) :: Test taskset ... ok :: test_whereis (__main__.UtilLinuxTest) :: Test whereis ... ok :: :: ---------------------------------------------------------------------- :: Ran 27 tests in 0.270s :: :: OK (skipped=10)