Starting lpci, version 0.2.0 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20230525-104750.405750.log' Launching environment for bionic/amd64 Checking for instance 'lpci-tree-519431-bionic-amd64' in project 'lpci' 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://archive.ubuntu.com/ubuntu bionic InRelease :: Hit:2 http://security.ubuntu.com/ubuntu bionic-security 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... :: 85 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.6). :: 0 upgraded, 0 newly installed, 0 to remove and 85 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner busybox\n'] :: Copying: test-busybox.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: Copying: testlib_archive.py :: Copying: testlib_compressor.py :: Copying: data :: :: Test files: /tmp/qrt-test-busybox.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-busybox.tar.gz :: $ cd ./qrt-test-busybox :: $ sudo ./install-packages test-busybox.py :: $ ./test-busybox.py -v :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following NEW packages will be installed: :: busybox-static :: 0 upgraded, 1 newly installed, 0 to remove and 85 not upgraded. :: Need to get 918 kB of archives. :: After this operation, 2165 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 busybox-static amd64 1:1.27.2-2ubuntu3.4 [918 kB] :: Fetched 918 kB in 1s (1282 kB/s) :: Selecting previously unselected package busybox-static. :: (Reading database ... 20232 files and directories currently installed.) :: Preparing to unpack .../busybox-static_1%3a1.27.2-2ubuntu3.4_amd64.deb ... :: Unpacking busybox-static (1:1.27.2-2ubuntu3.4) ... :: Setting up busybox-static (1:1.27.2-2ubuntu3.4) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following NEW packages will be installed: :: busybox-initramfs :: 0 upgraded, 1 newly installed, 0 to remove and 85 not upgraded. :: Need to get 166 kB of archives. :: After this operation, 354 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 busybox-initramfs amd64 1:1.27.2-2ubuntu3.4 [166 kB] :: Fetched 166 kB in 0s (1777 kB/s) :: Selecting previously unselected package busybox-initramfs. :: (Reading database ... 20252 files and directories currently installed.) :: Preparing to unpack .../busybox-initramfs_1%3a1.27.2-2ubuntu3.4_amd64.deb ... :: Unpacking busybox-initramfs (1:1.27.2-2ubuntu3.4) ... :: Setting up busybox-initramfs (1:1.27.2-2ubuntu3.4) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following NEW packages will be installed: :: udhcpc :: 0 upgraded, 1 newly installed, 0 to remove and 85 not upgraded. :: Need to get 2944 B of archives. :: After this operation, 49.2 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 udhcpc amd64 1:1.27.2-2ubuntu3.4 [2944 B] :: Fetched 2944 B in 0s (34.5 kB/s) :: Selecting previously unselected package udhcpc. :: (Reading database ... 20261 files and directories currently installed.) :: Preparing to unpack .../udhcpc_1%3a1.27.2-2ubuntu3.4_amd64.deb ... :: Unpacking udhcpc (1:1.27.2-2ubuntu3.4) ... :: Setting up udhcpc (1:1.27.2-2ubuntu3.4) ... :: Requiring 'lsb-release' ... :: Requiring 'busybox-static' ... :: Requiring 'busybox-initramfs' ... :: Requiring 'udhcpc' ... :: Running test: './test-busybox.py' distro: 'Ubuntu 18.04' kernel: '5.4.0-149.166 (Ubuntu 5.4.0-149.166-generic 5.4.233)' arch: 'amd64' uid: 0/0 SUDO_USER: '') :: test_basic (__main__.BusyboxTarTest) :: Busybox Tar create ... ok :: test_extract (__main__.BusyboxTarTest) :: Busybox Tar extract ... ok :: test_symlink_to_dotdot (__main__.BusyboxTarTest) :: Does not unpack through symlink to dot dot (CVE-2001-1267) ... ok :: test_symlink_with_internal_dir (__main__.BusyboxTarTest) :: Unpacks through symlink to directory from archive ... ok :: test_symlink_without_dir (__main__.BusyboxTarTest) :: Does not unpack through symlink to non-existing directory ... ok :: test_compress (__main__.BusyboxBZipTest) :: Test busybox bzip2 compression ... ok :: test_compress (__main__.BusyboxGzipTest) :: Test Busybox gzip compression ... ok :: test_dhcpc (__main__.BusyboxUdhcpcTest) :: Test dhcpc renew ... skipped 'unable to attach to interface in lpci environment' :: test_bad_https_selfsigned (__main__.BusyboxWgetTest) :: Test bad https (self-signed) ... skipped 'External https URLs not allowed in lpci environ' :: test_bad_https_wrong_host (__main__.BusyboxWgetTest) :: Test bad https (wrong host) ... skipped 'External https URLs not allowed in lpci environ' :: test_ftp (__main__.BusyboxWgetTest) :: Test ftp (ftp.ubuntu.com) ... skipped 'External ftp URLs not allowed in lpci environ' :: test_http (__main__.BusyboxWgetTest) :: Test http ... ok :: test_https (__main__.BusyboxWgetTest) :: Test https ... skipped 'External https URLs not allowed in lpci environ' :: test_bitwise_op (__main__.BusyboxAwkTest) ... ok :: test_bitwise_op_2 (__main__.BusyboxAwkTest) ... ok :: test_dash_f (__main__.BusyboxAwkTest) ... ok :: :: ---------------------------------------------------------------------- :: Ran 16 tests in 1.017s :: :: OK (skipped=5) :: Skipping private tests