Starting lpci, version 0.2.8 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240504-164136.097974.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://security.ubuntu.com/ubuntu focal-security InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu focal-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.8.31-1ubuntu1.5). :: 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 ecdsautils\n'] :: Copying: test-ecdsautils.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: :: Test files: /tmp/qrt-test-ecdsautils.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-ecdsautils.tar.gz :: $ cd ./qrt-test-ecdsautils :: $ sudo ./install-packages test-ecdsautils.py :: $ ./test-ecdsautils.py -v :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: libuecc0 :: The following NEW packages will be installed: :: ecdsautils libuecc0 :: 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. :: Need to get 34.3 kB of archives. :: After this operation, 150 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libuecc0 amd64 7-1 [18.5 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 ecdsautils amd64 0.3.2+git20151018-2+deb10u1build0.20.04.1 [15.8 kB] :: Fetched 34.3 kB in 0s (102 kB/s) :: Selecting previously unselected package libuecc0. :: (Reading database ... 21859 files and directories currently installed.) :: Preparing to unpack .../libuecc0_7-1_amd64.deb ... :: Unpacking libuecc0 (7-1) ... :: Selecting previously unselected package ecdsautils. :: Preparing to unpack .../ecdsautils_0.3.2+git20151018-2+deb10u1build0.20.04.1_amd64.deb ... :: Unpacking ecdsautils (0.3.2+git20151018-2+deb10u1build0.20.04.1) ... :: Setting up libuecc0 (7-1) ... :: Setting up ecdsautils (0.3.2+git20151018-2+deb10u1build0.20.04.1) ... :: Processing triggers for libc-bin (2.31-0ubuntu9.15) ... :: Unknown option 'QRT-Conflicts:' :: Requiring 'lsb-release' ... :: Requiring 'ecdsautils' ... :: Running test: './test-ecdsautils.py' distro: 'Ubuntu 20.04' kernel: '5.4.0-177.197 (Ubuntu 5.4.0-177.197-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 2002/2002 SUDO_USER: '') :: test_CVE_2022_24884 (__main__.ecdsaTest) :: Test CVE-2022-24884 to ensure all-zero signature is not accepted as valid ... ok :: test_ecdsa (__main__.ecdsaTest) :: Test ecdsakeygen, ecdsasign and ecdsaverify ... ok :: test_negative_one_as_signature (__main__.ecdsaTest) :: Test to ensure a signature of negative one (all 'f's) is not accepted as valid ... ok :: test_one_as_signature (__main__.ecdsaTest) :: Test to ensure a signature of positive one is not accepted as valid ... ok :: :: ---------------------------------------------------------------------- :: Ran 4 tests in 4.766s :: :: OK