Starting lpci, version 0.2.6 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240304-221651.054256.log' Launching environment for jammy/amd64 Creating new instance from remote Creating new base instance from remote Creating new instance from base instance 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... :: 84 packages can be upgraded. Run 'apt list --upgradable' to see them. Installing system packages Running ['apt', 'install', '-y', 'distro-info', 'lsb-release', 'python3', 'python3-apt', 'python3-configobj', 'python3-macaroonbakery', 'python3-mock', 'python3-progressbar', 'python3-pytest', 'python3-yaml'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: python3 is already the newest version (3.10.6-1~22.04). :: The following additional packages will be installed: :: distro-info-data libprotobuf23 libsodium23 libyaml-0-2 python-apt-common :: python3-attr python3-certifi python3-cffi-backend python3-chardet :: python3-idna python3-importlib-metadata python3-iniconfig :: python3-more-itertools python3-nacl python3-packaging python3-pbr :: python3-pluggy python3-protobuf python3-py python3-pymacaroons :: python3-pyparsing python3-requests python3-rfc3339 python3-six python3-toml :: python3-tz python3-urllib3 python3-zipp :: Suggested packages: :: shunit2 python3-apt-dbg python-apt-doc python-attr-doc python-configobj-doc :: python-mock-doc python-nacl-doc subversion python-pyparsing-doc :: python3-cryptography python3-openssl python3-socks python-requests-doc :: Recommended packages: :: iso-codes python3-pygments :: The following NEW packages will be installed: :: distro-info distro-info-data libprotobuf23 libsodium23 libyaml-0-2 :: lsb-release python-apt-common python3-apt python3-attr python3-certifi :: python3-cffi-backend python3-chardet python3-configobj python3-idna :: python3-importlib-metadata python3-iniconfig python3-macaroonbakery :: python3-mock python3-more-itertools python3-nacl python3-packaging :: python3-pbr python3-pluggy python3-progressbar python3-protobuf python3-py :: python3-pymacaroons python3-pyparsing python3-pytest python3-requests :: python3-rfc3339 python3-six python3-toml python3-tz python3-urllib3 :: python3-yaml python3-zipp :: 0 upgraded, 37 newly installed, 0 to remove and 84 not upgraded. :: Need to get 3213 kB of archives. :: After this operation, 15.9 MB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 distro-info-data all 0.52ubuntu0.6 [5160 B] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 distro-info amd64 1.1ubuntu0.2 [18.7 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libyaml-0-2 amd64 0.2.2-1build2 [51.6 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 lsb-release all 11.1.0ubuntu4 [10.8 kB] :: Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python-apt-common all 2.4.0ubuntu3 [14.6 kB] :: Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-apt amd64 2.4.0ubuntu3 [164 kB] :: Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-yaml amd64 5.4.1-1ubuntu1 [129 kB] :: Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libprotobuf23 amd64 3.12.4-1ubuntu7.22.04.1 [877 kB] :: Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsodium23 amd64 1.0.18-1build2 [164 kB] :: Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-attr all 21.2.0-1 [44.0 kB] :: Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-certifi all 2020.6.20-1 [150 kB] :: Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-cffi-backend amd64 1.15.0-1build2 [77.4 kB] :: Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-chardet all 4.0.0-1 [98.0 kB] :: Get:14 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-six all 1.16.0-3ubuntu1 [12.6 kB] :: Get:15 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-configobj all 5.0.6-5 [34.8 kB] :: Get:16 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-idna all 3.3-1 [49.3 kB] :: Get:17 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-more-itertools all 8.10.0-2 [47.9 kB] :: Get:18 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-zipp all 1.0.0-3 [5440 B] :: Get:19 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-importlib-metadata all 4.6.4-1 [16.2 kB] :: Get:20 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] :: Get:21 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-nacl amd64 1.5.0-2 [63.1 kB] :: Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-protobuf amd64 3.12.4-1ubuntu7.22.04.1 [357 kB] :: Get:23 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pymacaroons all 0.13.0-4 [13.4 kB] :: Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-urllib3 all 1.26.5-1~exp1ubuntu0.1 [98.2 kB] :: Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-requests all 2.25.1+dfsg-2ubuntu0.1 [48.8 kB] :: Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-tz all 2022.1-1ubuntu0.22.04.1 [30.7 kB] :: Get:27 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-rfc3339 all 1.1-3 [7110 B] :: Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-macaroonbakery all 1.3.1-2ubuntu0.1 [64.8 kB] :: Get:29 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pyparsing all 2.4.7-1 [61.4 kB] :: Get:30 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-packaging all 21.3-1 [30.7 kB] :: Get:31 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pbr all 5.8.0-0ubuntu1 [66.5 kB] :: Get:32 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pluggy all 0.13.0-7.1 [19.0 kB] :: Get:33 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-progressbar all 2.5-2 [11.6 kB] :: Get:34 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-py all 1.10.0-1 [71.9 kB] :: Get:35 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] :: Get:36 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest all 6.2.5-1ubuntu2 [214 kB] :: Get:37 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-mock all 4.0.3-3 [60.4 kB] :: Fetched 3213 kB in 0s (10.9 MB/s) :: Selecting previously unselected package distro-info-data. :: (Reading database ... 16387 files and directories currently installed.) :: Preparing to unpack .../00-distro-info-data_0.52ubuntu0.6_all.deb ... :: Unpacking distro-info-data (0.52ubuntu0.6) ... :: Selecting previously unselected package distro-info. :: Preparing to unpack .../01-distro-info_1.1ubuntu0.2_amd64.deb ... :: Unpacking distro-info (1.1ubuntu0.2) ... :: Selecting previously unselected package libyaml-0-2:amd64. :: Preparing to unpack .../02-libyaml-0-2_0.2.2-1build2_amd64.deb ... :: Unpacking libyaml-0-2:amd64 (0.2.2-1build2) ... :: Selecting previously unselected package lsb-release. :: Preparing to unpack .../03-lsb-release_11.1.0ubuntu4_all.deb ... :: Unpacking lsb-release (11.1.0ubuntu4) ... :: Selecting previously unselected package python-apt-common. :: Preparing to unpack .../04-python-apt-common_2.4.0ubuntu3_all.deb ... :: Unpacking python-apt-common (2.4.0ubuntu3) ... :: Selecting previously unselected package python3-apt. :: Preparing to unpack .../05-python3-apt_2.4.0ubuntu3_amd64.deb ... :: Unpacking python3-apt (2.4.0ubuntu3) ... :: Selecting previously unselected package python3-yaml. :: Preparing to unpack .../06-python3-yaml_5.4.1-1ubuntu1_amd64.deb ... :: Unpacking python3-yaml (5.4.1-1ubuntu1) ... :: Selecting previously unselected package libprotobuf23:amd64. :: Preparing to unpack .../07-libprotobuf23_3.12.4-1ubuntu7.22.04.1_amd64.deb ... :: Unpacking libprotobuf23:amd64 (3.12.4-1ubuntu7.22.04.1) ... :: Selecting previously unselected package libsodium23:amd64. :: Preparing to unpack .../08-libsodium23_1.0.18-1build2_amd64.deb ... :: Unpacking libsodium23:amd64 (1.0.18-1build2) ... :: Selecting previously unselected package python3-attr. :: Preparing to unpack .../09-python3-attr_21.2.0-1_all.deb ... :: Unpacking python3-attr (21.2.0-1) ... :: Selecting previously unselected package python3-certifi. :: Preparing to unpack .../10-python3-certifi_2020.6.20-1_all.deb ... :: Unpacking python3-certifi (2020.6.20-1) ... :: Selecting previously unselected package python3-cffi-backend:amd64. :: Preparing to unpack .../11-python3-cffi-backend_1.15.0-1build2_amd64.deb ... :: Unpacking python3-cffi-backend:amd64 (1.15.0-1build2) ... :: Selecting previously unselected package python3-chardet. :: Preparing to unpack .../12-python3-chardet_4.0.0-1_all.deb ... :: Unpacking python3-chardet (4.0.0-1) ... :: Selecting previously unselected package python3-six. :: Preparing to unpack .../13-python3-six_1.16.0-3ubuntu1_all.deb ... :: Unpacking python3-six (1.16.0-3ubuntu1) ... :: Selecting previously unselected package python3-configobj. :: Preparing to unpack .../14-python3-configobj_5.0.6-5_all.deb ... :: Unpacking python3-configobj (5.0.6-5) ... :: Selecting previously unselected package python3-idna. :: Preparing to unpack .../15-python3-idna_3.3-1_all.deb ... :: Unpacking python3-idna (3.3-1) ... :: Selecting previously unselected package python3-more-itertools. :: Preparing to unpack .../16-python3-more-itertools_8.10.0-2_all.deb ... :: Unpacking python3-more-itertools (8.10.0-2) ... :: Selecting previously unselected package python3-zipp. :: Preparing to unpack .../17-python3-zipp_1.0.0-3_all.deb ... :: Unpacking python3-zipp (1.0.0-3) ... :: Selecting previously unselected package python3-importlib-metadata. :: Preparing to unpack .../18-python3-importlib-metadata_4.6.4-1_all.deb ... :: Unpacking python3-importlib-metadata (4.6.4-1) ... :: Selecting previously unselected package python3-iniconfig. :: Preparing to unpack .../19-python3-iniconfig_1.1.1-2_all.deb ... :: Unpacking python3-iniconfig (1.1.1-2) ... :: Selecting previously unselected package python3-nacl. :: Preparing to unpack .../20-python3-nacl_1.5.0-2_amd64.deb ... :: Unpacking python3-nacl (1.5.0-2) ... :: Selecting previously unselected package python3-protobuf. :: Preparing to unpack .../21-python3-protobuf_3.12.4-1ubuntu7.22.04.1_amd64.deb ... :: Unpacking python3-protobuf (3.12.4-1ubuntu7.22.04.1) ... :: Selecting previously unselected package python3-pymacaroons. :: Preparing to unpack .../22-python3-pymacaroons_0.13.0-4_all.deb ... :: Unpacking python3-pymacaroons (0.13.0-4) ... :: Selecting previously unselected package python3-urllib3. :: Preparing to unpack .../23-python3-urllib3_1.26.5-1~exp1ubuntu0.1_all.deb ... :: Unpacking python3-urllib3 (1.26.5-1~exp1ubuntu0.1) ... :: Selecting previously unselected package python3-requests. :: Preparing to unpack .../24-python3-requests_2.25.1+dfsg-2ubuntu0.1_all.deb ... :: Unpacking python3-requests (2.25.1+dfsg-2ubuntu0.1) ... :: Selecting previously unselected package python3-tz. :: Preparing to unpack .../25-python3-tz_2022.1-1ubuntu0.22.04.1_all.deb ... :: Unpacking python3-tz (2022.1-1ubuntu0.22.04.1) ... :: Selecting previously unselected package python3-rfc3339. :: Preparing to unpack .../26-python3-rfc3339_1.1-3_all.deb ... :: Unpacking python3-rfc3339 (1.1-3) ... :: Selecting previously unselected package python3-macaroonbakery. :: Preparing to unpack .../27-python3-macaroonbakery_1.3.1-2ubuntu0.1_all.deb ... :: Unpacking python3-macaroonbakery (1.3.1-2ubuntu0.1) ... :: Selecting previously unselected package python3-pyparsing. :: Preparing to unpack .../28-python3-pyparsing_2.4.7-1_all.deb ... :: Unpacking python3-pyparsing (2.4.7-1) ... :: Selecting previously unselected package python3-packaging. :: Preparing to unpack .../29-python3-packaging_21.3-1_all.deb ... :: Unpacking python3-packaging (21.3-1) ... :: Selecting previously unselected package python3-pbr. :: Preparing to unpack .../30-python3-pbr_5.8.0-0ubuntu1_all.deb ... :: Unpacking python3-pbr (5.8.0-0ubuntu1) ... :: Selecting previously unselected package python3-pluggy. :: Preparing to unpack .../31-python3-pluggy_0.13.0-7.1_all.deb ... :: Unpacking python3-pluggy (0.13.0-7.1) ... :: Selecting previously unselected package python3-progressbar. :: Preparing to unpack .../32-python3-progressbar_2.5-2_all.deb ... :: Unpacking python3-progressbar (2.5-2) ... :: Selecting previously unselected package python3-py. :: Preparing to unpack .../33-python3-py_1.10.0-1_all.deb ... :: Unpacking python3-py (1.10.0-1) ... :: Selecting previously unselected package python3-toml. :: Preparing to unpack .../34-python3-toml_0.10.2-1_all.deb ... :: Unpacking python3-toml (0.10.2-1) ... :: Selecting previously unselected package python3-pytest. :: Preparing to unpack .../35-python3-pytest_6.2.5-1ubuntu2_all.deb ... :: Unpacking python3-pytest (6.2.5-1ubuntu2) ... :: Selecting previously unselected package python3-mock. :: Preparing to unpack .../36-python3-mock_4.0.3-3_all.deb ... :: Unpacking python3-mock (4.0.3-3) ... :: Setting up python3-more-itertools (8.10.0-2) ... :: Setting up python3-iniconfig (1.1.1-2) ... :: Setting up python3-attr (21.2.0-1) ... :: Setting up libsodium23:amd64 (1.0.18-1build2) ... :: Setting up python3-py (1.10.0-1) ... :: Setting up libyaml-0-2:amd64 (0.2.2-1build2) ... :: Setting up distro-info-data (0.52ubuntu0.6) ... :: Setting up python3-yaml (5.4.1-1ubuntu1) ... :: Setting up libprotobuf23:amd64 (3.12.4-1ubuntu7.22.04.1) ... :: Setting up python3-zipp (1.0.0-3) ... :: Setting up python3-tz (2022.1-1ubuntu0.22.04.1) ... :: Setting up python3-six (1.16.0-3ubuntu1) ... :: Setting up python3-progressbar (2.5-2) ... :: Setting up python3-chardet (4.0.0-1) ... :: Setting up python3-configobj (5.0.6-5) ... :: Setting up python3-pyparsing (2.4.7-1) ... :: Setting up python3-certifi (2020.6.20-1) ... :: Setting up python3-idna (3.3-1) ... :: Setting up python3-toml (0.10.2-1) ... :: Setting up python3-urllib3 (1.26.5-1~exp1ubuntu0.1) ... :: Setting up python-apt-common (2.4.0ubuntu3) ... :: Setting up lsb-release (11.1.0ubuntu4) ... :: Setting up python3-protobuf (3.12.4-1ubuntu7.22.04.1) ... :: Setting up python3-rfc3339 (1.1-3) ... :: Setting up python3-cffi-backend:amd64 (1.15.0-1build2) ... :: Setting up distro-info (1.1ubuntu0.2) ... :: Setting up python3-importlib-metadata (4.6.4-1) ... :: Setting up python3-pbr (5.8.0-0ubuntu1) ... :: Setting up python3-apt (2.4.0ubuntu3) ... :: Setting up python3-mock (4.0.3-3) ... :: Setting up python3-packaging (21.3-1) ... :: Setting up python3-requests (2.25.1+dfsg-2ubuntu0.1) ... :: Setting up python3-pluggy (0.13.0-7.1) ... :: Setting up python3-nacl (1.5.0-2) ... :: Setting up python3-pymacaroons (0.13.0-4) ... :: Setting up python3-pytest (6.2.5-1ubuntu2) ... :: Setting up python3-macaroonbakery (1.3.1-2ubuntu0.1) ... :: Processing triggers for libc-bin (2.35-0ubuntu3) ... Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', '# configure a basic ~/.ubuntu-cve-tracker.conf\necho plb_authentication=/dev/null > ~/.ubuntu-cve-tracker.conf\n'] Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', 'export UCT=$(pwd)\n# some test scripts are kept outside of the scripts directory, and\n# so need PYTHONPATH set to find modules located therein\nexport PYTHONPATH="${UCT}/scripts"\n# when lpcraft runs on a local users machine where embargoed already\n# exists as a symlink it won\'t point to anywhere so remove that and fake a\n# new one\nrm -f embargoed\nmkdir embargoed\necho "Running unit tests..."\npytest-3 ./scripts/test_cve_lib.py ./scripts/test_kernel_lib.py ./scripts/test_usn_lib.py ./scripts/test_source_map.py ./scripts/test_publish-cves-to-website-api.py ./scripts/test_sync_from_usns.py ./test/test_oval_lib_unit.py\n# ideally we would also run ./scripts/check-cves --test here as well as it\n# is more of a unit test but it requires packages-mirror so run it as part\n# of check-syntax below\n'] :: Running unit tests... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-recent.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2004.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2005.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2006.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2007.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2008.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2009.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2010.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2011.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2012.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2013.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2014.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2015.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2016.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2017.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2018.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2019.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2020.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2021.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2022.json to generate test cases... :: Failed to find /build/lpci/project/scripts/../nvdcve-1.1-2023.json to generate test cases... :: ============================= test session starts ============================== :: platform linux -- Python 3.10.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 :: rootdir: /build/lpci/project :: collected 961 items :: :: scripts/test_cve_lib.py ..s............................................. [ 4%] :: ........................................................................ [ 12%] :: ........................................................................ [ 19%] :: ........................................................................ [ 27%] :: ........................................................................ [ 34%] :: ........................................................................ [ 42%] :: ........................................................................ [ 49%] :: ........................................................................ [ 57%] :: ........................................................................ [ 64%] :: ........................................................................ [ 72%] :: ........................................................................ [ 79%] :: ........................................................................ [ 87%] :: .......................................... [ 91%] :: scripts/test_kernel_lib.py .............. [ 93%] :: scripts/test_usn_lib.py .... [ 93%] :: scripts/test_source_map.py ........ [ 94%] :: scripts/test_publish-cves-to-website-api.py ......... [ 95%] :: scripts/test_sync_from_usns.py ...... [ 96%] :: test/test_oval_lib_unit.py ...................................... [100%] :: :: ======================= 960 passed, 1 skipped in 58.07s ========================