Starting lpci, version 0.2.7
Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240417-145830.957823.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://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...
:: 92 packages can be upgraded. Run 'apt list --upgradable' to see them.
Installing system packages
Running ['apt', 'install', '-y', 'distro-info', 'file', 'lsb-release', 'pyflakes3', 'python3', 'python3-apt', 'python3-configobj', 'python3-macaroonbakery', 'python3-mock', 'python3-progressbar', 'python3-pytest', 'python3-pytest-cov', 'python3-yaml', 'shellcheck', 'python3-dateutil', 'python3-pytest-mock']
::
:: 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 libjs-jquery-hotkeys libjs-jquery-isonscreen
:: libjs-jquery-metadata libjs-jquery-tablesorter
:: libjs-jquery-throttle-debounce libmagic-mgc libmagic1 libprotobuf23
:: libsodium23 libyaml-0-2 python-apt-common python3-attr python3-certifi
:: python3-cffi-backend python3-chardet python3-cov-core python3-coverage
:: python3-idna python3-importlib-metadata python3-iniconfig
:: python3-more-itertools python3-nacl python3-nose2 python3-packaging
:: python3-pbr python3-pluggy python3-protobuf python3-py python3-pyflakes
:: 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-coverage-doc python-mock-doc python-nacl-doc python-nose2-doc
:: subversion python-pyparsing-doc python3-cryptography python3-openssl
:: python3-socks python-requests-doc
:: Recommended packages:
:: javascript-common iso-codes python3-pygments
:: The following NEW packages will be installed:
:: distro-info distro-info-data file libjs-jquery-hotkeys
:: libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter
:: libjs-jquery-throttle-debounce libmagic-mgc libmagic1 libprotobuf23
:: libsodium23 libyaml-0-2 lsb-release pyflakes3 python-apt-common python3-apt
:: python3-attr python3-certifi python3-cffi-backend python3-chardet
:: python3-configobj python3-cov-core python3-coverage python3-dateutil
:: python3-idna python3-importlib-metadata python3-iniconfig
:: python3-macaroonbakery python3-mock python3-more-itertools python3-nacl
:: python3-nose2 python3-packaging python3-pbr python3-pluggy
:: python3-progressbar python3-protobuf python3-py python3-pyflakes
:: python3-pymacaroons python3-pyparsing python3-pytest python3-pytest-cov
:: python3-pytest-mock python3-requests python3-rfc3339 python3-six
:: python3-toml python3-tz python3-urllib3 python3-yaml python3-zipp shellcheck
:: 0 upgraded, 54 newly installed, 0 to remove and 92 not upgraded.
:: Need to get 6572 kB of archives.
:: After this operation, 43.4 MB of additional disk space will be used.
:: Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu1 [11.4 kB]
:: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 distro-info-data all 0.52ubuntu0.6 [5160 B]
:: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 distro-info amd64 1.1ubuntu0.2 [18.7 kB]
:: Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 libyaml-0-2 amd64 0.2.2-1build2 [51.6 kB]
:: Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 lsb-release all 11.1.0ubuntu4 [10.8 kB]
:: Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python-apt-common all 2.4.0ubuntu3 [14.6 kB]
:: Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-apt amd64 2.4.0ubuntu3 [164 kB]
:: Get:8 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-yaml amd64 5.4.1-1ubuntu1 [129 kB]
:: Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libmagic-mgc amd64 1:5.41-3ubuntu0.1 [257 kB]
:: Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libmagic1 amd64 1:5.41-3ubuntu0.1 [87.2 kB]
:: Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 file amd64 1:5.41-3ubuntu0.1 [21.5 kB]
:: Get:12 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-metadata all 12-3 [7096 B]
:: Get:13 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB]
:: Get:14 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB]
:: Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libprotobuf23 amd64 3.12.4-1ubuntu7.22.04.1 [877 kB]
:: Get:16 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsodium23 amd64 1.0.18-1build2 [164 kB]
:: Get:17 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pyflakes all 2.4.0-2 [57.6 kB]
:: Get:18 http://archive.ubuntu.com/ubuntu jammy/universe amd64 pyflakes3 all 2.4.0-2 [3488 B]
:: Get:19 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-attr all 21.2.0-1 [44.0 kB]
:: Get:20 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-certifi all 2020.6.20-1 [150 kB]
:: Get:21 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-cffi-backend amd64 1.15.0-1build2 [77.4 kB]
:: Get:22 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-chardet all 4.0.0-1 [98.0 kB]
:: Get:23 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-six all 1.16.0-3ubuntu1 [12.6 kB]
:: Get:24 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-configobj all 5.0.6-5 [34.8 kB]
:: Get:25 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-coverage amd64 6.2+dfsg1-2build1 [131 kB]
:: Get:26 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-nose2 all 0.9.2-1 [89.4 kB]
:: Get:27 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-cov-core all 1.15.0-3build1 [7652 B]
:: Get:28 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-dateutil all 2.8.1-6 [78.4 kB]
:: Get:29 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-idna all 3.3-1 [49.3 kB]
:: Get:30 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-more-itertools all 8.10.0-2 [47.9 kB]
:: Get:31 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-zipp all 1.0.0-3 [5440 B]
:: Get:32 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-importlib-metadata all 4.6.4-1 [16.2 kB]
:: Get:33 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B]
:: Get:34 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-nacl amd64 1.5.0-2 [63.1 kB]
:: Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-protobuf amd64 3.12.4-1ubuntu7.22.04.1 [357 kB]
:: Get:36 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pymacaroons all 0.13.0-4 [13.4 kB]
:: Get:37 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-urllib3 all 1.26.5-1~exp1ubuntu0.1 [98.2 kB]
:: Get:38 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-requests all 2.25.1+dfsg-2ubuntu0.1 [48.8 kB]
:: Get:39 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-tz all 2022.1-1ubuntu0.22.04.1 [30.7 kB]
:: Get:40 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-rfc3339 all 1.1-3 [7110 B]
:: Get:41 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-macaroonbakery all 1.3.1-2ubuntu0.1 [64.8 kB]
:: Get:42 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pyparsing all 2.4.7-1 [61.4 kB]
:: Get:43 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-packaging all 21.3-1 [30.7 kB]
:: Get:44 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pbr all 5.8.0-0ubuntu1 [66.5 kB]
:: Get:45 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pluggy all 0.13.0-7.1 [19.0 kB]
:: Get:46 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-progressbar all 2.5-2 [11.6 kB]
:: Get:47 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-py all 1.10.0-1 [71.9 kB]
:: Get:48 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-toml all 0.10.2-1 [16.5 kB]
:: Get:49 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest all 6.2.5-1ubuntu2 [214 kB]
:: Get:50 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B]
:: Get:51 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest-cov all 3.0.0-1 [21.0 kB]
:: Get:52 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest-mock all 3.6.1-1ubuntu1 [18.4 kB]
:: Get:53 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-mock all 4.0.3-3 [60.4 kB]
:: Get:54 http://archive.ubuntu.com/ubuntu jammy/universe amd64 shellcheck amd64 0.8.0-2 [2359 kB]
:: Fetched 6572 kB in 1s (4975 kB/s)
:: Selecting previously unselected package libjs-jquery-hotkeys.
:: (Reading database ... 16384 files and directories currently installed.)
:: Preparing to unpack .../00-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu1_all.deb ...
:: Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu1) ...
:: Selecting previously unselected package distro-info-data.
:: Preparing to unpack .../01-distro-info-data_0.52ubuntu0.6_all.deb ...
:: Unpacking distro-info-data (0.52ubuntu0.6) ...
:: Selecting previously unselected package distro-info.
:: Preparing to unpack .../02-distro-info_1.1ubuntu0.2_amd64.deb ...
:: Unpacking distro-info (1.1ubuntu0.2) ...
:: Selecting previously unselected package libyaml-0-2:amd64.
:: Preparing to unpack .../03-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 .../04-lsb-release_11.1.0ubuntu4_all.deb ...
:: Unpacking lsb-release (11.1.0ubuntu4) ...
:: Selecting previously unselected package python-apt-common.
:: Preparing to unpack .../05-python-apt-common_2.4.0ubuntu3_all.deb ...
:: Unpacking python-apt-common (2.4.0ubuntu3) ...
:: Selecting previously unselected package python3-apt.
:: Preparing to unpack .../06-python3-apt_2.4.0ubuntu3_amd64.deb ...
:: Unpacking python3-apt (2.4.0ubuntu3) ...
:: Selecting previously unselected package python3-yaml.
:: Preparing to unpack .../07-python3-yaml_5.4.1-1ubuntu1_amd64.deb ...
:: Unpacking python3-yaml (5.4.1-1ubuntu1) ...
:: Selecting previously unselected package libmagic-mgc.
:: Preparing to unpack .../08-libmagic-mgc_1%3a5.41-3ubuntu0.1_amd64.deb ...
:: Unpacking libmagic-mgc (1:5.41-3ubuntu0.1) ...
:: Selecting previously unselected package libmagic1:amd64.
:: Preparing to unpack .../09-libmagic1_1%3a5.41-3ubuntu0.1_amd64.deb ...
:: Unpacking libmagic1:amd64 (1:5.41-3ubuntu0.1) ...
:: Selecting previously unselected package file.
:: Preparing to unpack .../10-file_1%3a5.41-3ubuntu0.1_amd64.deb ...
:: Unpacking file (1:5.41-3ubuntu0.1) ...
:: Selecting previously unselected package libjs-jquery-metadata.
:: Preparing to unpack .../11-libjs-jquery-metadata_12-3_all.deb ...
:: Unpacking libjs-jquery-metadata (12-3) ...
:: Selecting previously unselected package libjs-jquery-tablesorter.
:: Preparing to unpack .../12-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ...
:: Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ...
:: Selecting previously unselected package libjs-jquery-throttle-debounce.
:: Preparing to unpack .../13-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ...
:: Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ...
:: Selecting previously unselected package libprotobuf23:amd64.
:: Preparing to unpack .../14-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 .../15-libsodium23_1.0.18-1build2_amd64.deb ...
:: Unpacking libsodium23:amd64 (1.0.18-1build2) ...
:: Selecting previously unselected package python3-pyflakes.
:: Preparing to unpack .../16-python3-pyflakes_2.4.0-2_all.deb ...
:: Unpacking python3-pyflakes (2.4.0-2) ...
:: Selecting previously unselected package pyflakes3.
:: Preparing to unpack .../17-pyflakes3_2.4.0-2_all.deb ...
:: Unpacking pyflakes3 (2.4.0-2) ...
:: Selecting previously unselected package python3-attr.
:: Preparing to unpack .../18-python3-attr_21.2.0-1_all.deb ...
:: Unpacking python3-attr (21.2.0-1) ...
:: Selecting previously unselected package python3-certifi.
:: Preparing to unpack .../19-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 .../20-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 .../21-python3-chardet_4.0.0-1_all.deb ...
:: Unpacking python3-chardet (4.0.0-1) ...
:: Selecting previously unselected package python3-six.
:: Preparing to unpack .../22-python3-six_1.16.0-3ubuntu1_all.deb ...
:: Unpacking python3-six (1.16.0-3ubuntu1) ...
:: Selecting previously unselected package python3-configobj.
:: Preparing to unpack .../23-python3-configobj_5.0.6-5_all.deb ...
:: Unpacking python3-configobj (5.0.6-5) ...
:: Selecting previously unselected package python3-coverage.
:: Preparing to unpack .../24-python3-coverage_6.2+dfsg1-2build1_amd64.deb ...
:: Unpacking python3-coverage (6.2+dfsg1-2build1) ...
:: Selecting previously unselected package python3-nose2.
:: Preparing to unpack .../25-python3-nose2_0.9.2-1_all.deb ...
:: Unpacking python3-nose2 (0.9.2-1) ...
:: Selecting previously unselected package python3-cov-core.
:: Preparing to unpack .../26-python3-cov-core_1.15.0-3build1_all.deb ...
:: Unpacking python3-cov-core (1.15.0-3build1) ...
:: Selecting previously unselected package python3-dateutil.
:: Preparing to unpack .../27-python3-dateutil_2.8.1-6_all.deb ...
:: Unpacking python3-dateutil (2.8.1-6) ...
:: Selecting previously unselected package python3-idna.
:: Preparing to unpack .../28-python3-idna_3.3-1_all.deb ...
:: Unpacking python3-idna (3.3-1) ...
:: Selecting previously unselected package python3-more-itertools.
:: Preparing to unpack .../29-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 .../30-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 .../31-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 .../32-python3-iniconfig_1.1.1-2_all.deb ...
:: Unpacking python3-iniconfig (1.1.1-2) ...
:: Selecting previously unselected package python3-nacl.
:: Preparing to unpack .../33-python3-nacl_1.5.0-2_amd64.deb ...
:: Unpacking python3-nacl (1.5.0-2) ...
:: Selecting previously unselected package python3-protobuf.
:: Preparing to unpack .../34-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 .../35-python3-pymacaroons_0.13.0-4_all.deb ...
:: Unpacking python3-pymacaroons (0.13.0-4) ...
:: Selecting previously unselected package python3-urllib3.
:: Preparing to unpack .../36-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 .../37-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 .../38-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 .../39-python3-rfc3339_1.1-3_all.deb ...
:: Unpacking python3-rfc3339 (1.1-3) ...
:: Selecting previously unselected package python3-macaroonbakery.
:: Preparing to unpack .../40-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 .../41-python3-pyparsing_2.4.7-1_all.deb ...
:: Unpacking python3-pyparsing (2.4.7-1) ...
:: Selecting previously unselected package python3-packaging.
:: Preparing to unpack .../42-python3-packaging_21.3-1_all.deb ...
:: Unpacking python3-packaging (21.3-1) ...
:: Selecting previously unselected package python3-pbr.
:: Preparing to unpack .../43-python3-pbr_5.8.0-0ubuntu1_all.deb ...
:: Unpacking python3-pbr (5.8.0-0ubuntu1) ...
:: Selecting previously unselected package python3-pluggy.
:: Preparing to unpack .../44-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 .../45-python3-progressbar_2.5-2_all.deb ...
:: Unpacking python3-progressbar (2.5-2) ...
:: Selecting previously unselected package python3-py.
:: Preparing to unpack .../46-python3-py_1.10.0-1_all.deb ...
:: Unpacking python3-py (1.10.0-1) ...
:: Selecting previously unselected package python3-toml.
:: Preparing to unpack .../47-python3-toml_0.10.2-1_all.deb ...
:: Unpacking python3-toml (0.10.2-1) ...
:: Selecting previously unselected package python3-pytest.
:: Preparing to unpack .../48-python3-pytest_6.2.5-1ubuntu2_all.deb ...
:: Unpacking python3-pytest (6.2.5-1ubuntu2) ...
:: Selecting previously unselected package libjs-jquery-isonscreen.
:: Preparing to unpack .../49-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ...
:: Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ...
:: Selecting previously unselected package python3-pytest-cov.
:: Preparing to unpack .../50-python3-pytest-cov_3.0.0-1_all.deb ...
:: Unpacking python3-pytest-cov (3.0.0-1) ...
:: Selecting previously unselected package python3-pytest-mock.
:: Preparing to unpack .../51-python3-pytest-mock_3.6.1-1ubuntu1_all.deb ...
:: Unpacking python3-pytest-mock (3.6.1-1ubuntu1) ...
:: Selecting previously unselected package python3-mock.
:: Preparing to unpack .../52-python3-mock_4.0.3-3_all.deb ...
:: Unpacking python3-mock (4.0.3-3) ...
:: Selecting previously unselected package shellcheck.
:: Preparing to unpack .../53-shellcheck_0.8.0-2_amd64.deb ...
:: Unpacking shellcheck (0.8.0-2) ...
:: 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 libmagic-mgc (1:5.41-3ubuntu0.1) ...
:: Setting up libyaml-0-2:amd64 (0.2.2-1build2) ...
:: Setting up distro-info-data (0.52ubuntu0.6) ...
:: Setting up python3-pyflakes (2.4.0-2) ...
:: Setting up libmagic1:amd64 (1:5.41-3ubuntu0.1) ...
:: Setting up python3-coverage (6.2+dfsg1-2build1) ...
:: Setting up python3-yaml (5.4.1-1ubuntu1) ...
:: Setting up libprotobuf23:amd64 (3.12.4-1ubuntu7.22.04.1) ...
:: Setting up file (1:5.41-3ubuntu0.1) ...
:: Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ...
:: Setting up python3-zipp (1.0.0-3) ...
:: Setting up shellcheck (0.8.0-2) ...
:: 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 libjs-jquery-metadata (12-3) ...
:: Setting up libjs-jquery-isonscreen (1.2.0-1.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 libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ...
:: Setting up python3-dateutil (2.8.1-6) ...
:: Setting up lsb-release (11.1.0ubuntu4) ...
:: Setting up python3-protobuf (3.12.4-1ubuntu7.22.04.1) ...
:: Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu1) ...
:: 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 pyflakes3 (2.4.0-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-nose2 (0.9.2-1) ...
:: 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-cov-core (1.15.0-3build1) ...
:: Setting up python3-pytest (6.2.5-1ubuntu2) ...
:: Setting up python3-pytest-cov (3.0.0-1) ...
:: Setting up python3-pytest-mock (3.6.1-1ubuntu1) ...
:: 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 "reporting syntax issues on scripts"\nmake check-syntax-scripts\necho "Running unit tests..."\npytest-3 --cov=scripts ./scripts/test_*.py ./test/test_oval_lib_unit.py ./test/test_json_generation.py\n']
:: reporting syntax issues on scripts
:: # run shellcheck on the specific types of shell scripts we have
:: # this does not propagate the error code yet because we have a
:: # a bunch of warnings, some of which because of how things are
:: # used, just need to be silenced.
:: find -type d \( -name cache -o -name active -o -name retired -o -name ignored -o -name nvd-database -o -name .git \) -prune -o -exec file {} \+ | grep "Bourne-Again shell script" | cut -d ":" -f 1 | xargs shellcheck -s bash || true
::
:: In ./test/website_api/regenerate_jsons line 18:
:: echo $FILE...
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: echo "$FILE"...
::
::
:: In ./test/website_api/regenerate_jsons line 19:
:: $SCRIPT -n -v --ignore-filename-check $FILE | grep -v "total CVEs" > $FILE.json
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: $SCRIPT -n -v --ignore-filename-check "$FILE" | grep -v "total CVEs" > "$FILE".json
::
::
:: In ./test/website_api/regenerate_jsons line 20:
:: sed -i "s/'/\"/g;s/None/null/g" $FILE.json
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: sed -i "s/'/\"/g;s/None/null/g" "$FILE".json
::
::
:: In ./graphing/pkgs-update.sh line 14:
:: SPECIFIC=$( (cd "$REVIEWED" && ./scripts/report-packages.py --action plot $REL) | sort -n -k 8 | awk '{print $1 " " $8}' | tail -n $NAMED)
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: SPECIFIC=$( (cd "$REVIEWED" && ./scripts/report-packages.py --action plot "$REL") | sort -n -k 8 | awk '{print $1 " " $8}' | tail -n $NAMED)
::
::
:: In ./graphing/pkgs-update.sh line 16:
:: OTHERS=$( (cd "$REVIEWED" && ./scripts/report-packages.py --action plot $REL) | sort -n -k 8 | head -n -$NAMED | awk '{ sum+=$8 }END{print sum}' )
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: OTHERS=$( (cd "$REVIEWED" && ./scripts/report-packages.py --action plot "$REL") | sort -n -k 8 | head -n -$NAMED | awk '{ sum+=$8 }END{print sum}' )
::
::
:: In ./graphing/pkgs-update.sh line 25:
:: ) | "$REVIEWED"/scripts/pie-chart.py pkgs-$REL.png "$REL CVE fixes published per package"
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: ) | "$REVIEWED"/scripts/pie-chart.py pkgs-"$REL".png "$REL CVE fixes published per package"
::
::
:: In ./graphing/pkgs-update.sh line 27:
:: echo '
' >> ~/public_html/graphs/pkgs-report.html.new
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: echo '
' >> ~/public_html/graphs/pkgs-report.html.new
::
::
:: In ./graphing/pkgs-update.sh line 28:
:: cp pkgs-$REL.png ~/public_html/graphs/
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: cp pkgs-"$REL".png ~/public_html/graphs/
::
::
:: In ./graphing/update.sh line 10:
:: RELTAG="18.10" # set to version of $REL, e.g. 18.10
:: ^----^ SC2034 (warning): RELTAG appears unused. Verify use (or export if used externally).
::
::
:: In ./graphing/update.sh line 24:
:: echo $LAST $COUNT >> supported.data
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: echo "$LAST" "$COUNT" >> supported.data
::
::
:: In ./graphing/update.sh line 32:
:: echo $LAST $COUNT >> supported-src.data
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: echo "$LAST" "$COUNT" >> supported-src.data
::
::
:: In ./graphing/update.sh line 39:
:: for i in $(seq 4 $(( $INDEX + 2 )) ); do
:: ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
::
::
:: In ./graphing/update.sh line 52:
:: if [ $(date +%a) = "Sun" ] && ! grep -q ^"$NOW" CVE.data.template; then
:: ^---------^ SC2046 (warning): Quote this to prevent word splitting.
::
::
:: In ./graphing/update.sh line 79:
:: USNCOUNT=$(tail -n 1 USN.data| cut -f2 -d" ")
:: ^------^ SC2034 (warning): USNCOUNT appears unused. Verify use (or export if used externally).
::
::
:: In ./graphing/update.sh line 107:
:: (cd $REVIEWED; ./scripts/report-cve-age.py --action plot --priority critical,high,medium --buckets 0,1,2,3,4,5,6,7,14,30,60,-1 --html $GRAPHING/exposure-$REL.html $REL) > exposure-$REL.data
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: (cd $REVIEWED; ./scripts/report-cve-age.py --action plot --priority critical,high,medium --buckets 0,1,2,3,4,5,6,7,14,30,60,-1 --html $GRAPHING/exposure-"$REL".html "$REL") > exposure-"$REL".data
::
::
:: In ./graphing/update.sh line 108:
:: cp exposure-$REL.data exposure.data
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: cp exposure-"$REL".data exposure.data
::
::
:: In ./graphing/update.sh line 110:
:: tmp=`mktemp -t ubuntu-security-XXXXXX`
:: ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
::
:: Did you mean:
:: tmp=$(mktemp -t ubuntu-security-XXXXXX)
::
::
:: In ./graphing/update.sh line 115:
:: cp exposure.png $HTML/graphs/exposure-$REL.png
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: cp exposure.png $HTML/graphs/exposure-"$REL".png
::
::
:: In ./graphing/update.sh line 116:
:: cp exposure-$REL.html $HTML/graphs/exposure-$REL.html
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: cp exposure-"$REL".html $HTML/graphs/exposure-"$REL".html
::
::
:: In ./scripts/pkg_history line 13:
:: UCT_DIR="$( dirname $( dirname "${BASH_SOURCE[0]}" ))"
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
::
::
:: In ./scripts/pkg_history line 23:
:: exit $1
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: exit "$1"
::
::
:: In ./scripts/pkg_history line 65:
:: for cve in `grep "$pattern" -r ${UCT_DIR}/${d} --include=CVE-* | \
:: ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
:: ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: for cve in $(grep "$pattern" -r "${UCT_DIR}"/${d} --include=CVE-* | \
:: cut -d ':' -f 1 | \
:: rev | \
:: cut -d '/' -f 1 | \
:: rev | \
:: sort -u) ; do
::
::
:: In ./scripts/monthly-report line 36:
:: $ $UCT/scripts/`basename $0`
:: ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: $ $UCT/scripts/$(basename "$0")
::
::
:: In ./scripts/monthly-report line 39:
:: $ $UCT/scripts/`basename $0`
:: ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: $ $UCT/scripts/$(basename "$0")
::
::
:: In ./scripts/monthly-report line 42:
:: $ $UCT/scripts/`basename $0` March April
:: ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: $ $UCT/scripts/$(basename "$0") March April
::
::
:: In ./scripts/monthly-report line 77:
:: THIS_YEAR=$(($THIS_YEAR + 1))
:: ^--------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
::
::
:: In ./scripts/monthly-report line 82:
:: USNS=$(echo $(curl -s https://lists.ubuntu.com/archives/ubuntu-security-announce/$REP_YEAR-$REP_MON/date.html | fgrep '">[USN-' | cut -d- -f2,3 | cut -d\] -f1))
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
:: ^-- SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just use 'cmd'.
:: ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.
::
:: Did you mean:
:: USNS=$(echo $(curl -s https://lists.ubuntu.com/archives/ubuntu-security-announce/"$REP_YEAR"-"$REP_MON"/date.html | fgrep '">[USN-' | cut -d- -f2,3 | cut -d\] -f1))
::
::
:: In ./scripts/monthly-report line 94:
:: PUBLISHED=$(./scripts/report-usn-numbers.py --prose database.pickle $USNS)
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: PUBLISHED=$(./scripts/report-usn-numbers.py --prose database.pickle "$USNS")
::
::
:: In ./scripts/monthly-report line 120:
:: git checkout -q $(git rev-list -1 --before="$changed" master) && break
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
::
::
:: In ./scripts/monthly-report line 134:
:: git_rewind $(date +%Y-%m-%d -d "$REP_YEAR-$REP_MONN-01 - 1 day")
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
::
::
:: In ./scripts/monthly-report line 136:
:: $SCRIPTS/check-cves --known > "$TMP1"
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: "$SCRIPTS"/check-cves --known > "$TMP1"
::
::
:: In ./scripts/monthly-report line 137:
:: $SCRIPTS/check-cves --known --skip-nfu > "$TMP1_UBUNTU"
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: "$SCRIPTS"/check-cves --known --skip-nfu > "$TMP1_UBUNTU"
::
::
:: In ./scripts/monthly-report line 142:
:: last_month_end=`date +%Y-%m-%d -d "$THIS_YEAR-$THIS_MONN-01 - 1 day"`
:: ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
::
:: Did you mean:
:: last_month_end=$(date +%Y-%m-%d -d "$THIS_YEAR-$THIS_MONN-01 - 1 day")
::
::
:: In ./scripts/monthly-report line 143:
:: last_month_fn=`date +%B -d "$THIS_YEAR-$THIS_MONN-01 - 1 day"`
:: ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
::
:: Did you mean:
:: last_month_fn=$(date +%B -d "$THIS_YEAR-$THIS_MONN-01 - 1 day")
::
::
:: In ./scripts/monthly-report line 145:
:: $SCRIPTS/check-cves --known > "$TMP2"
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: "$SCRIPTS"/check-cves --known > "$TMP2"
::
::
:: In ./scripts/monthly-report line 146:
:: $SCRIPTS/check-cves --known --skip-nfu > "$TMP2_UBUNTU"
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: "$SCRIPTS"/check-cves --known --skip-nfu > "$TMP2_UBUNTU"
::
::
:: In ./scripts/monthly-report line 147:
:: WORK=$($SCRIPTS/report-todo-numbers --prose --show-unique-sources --skip-low -E -- -S)
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: WORK=$("$SCRIPTS"/report-todo-numbers --prose --show-unique-sources --skip-low -E -- -S)
::
::
:: In ./scripts/monthly-report line 154:
:: TRIAGED=$(diff -u "$TMP1" "$TMP2" | grep '^+CVE' | wc -l)
:: ^----------^ SC2126 (style): Consider using grep -c instead of grep|wc -l.
::
::
:: In ./scripts/monthly-report line 156:
:: FOR_US=$(diff -u "$TMP1_UBUNTU" "$TMP2_UBUNTU" | grep '^+CVE' | wc -l)
:: ^----------^ SC2126 (style): Consider using grep -c instead of grep|wc -l.
::
::
:: In ./scripts/dup-status-for-pkg line 27:
:: for file in $(grep -l '^'"${dst}_${pkg}"': DNE' active/CVE-* retired/CVE-*); do
:: ^-- SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
::
::
:: In ./scripts/dup-status-for-pkg line 29:
:: if [ ! -z "${status}" ]; then
:: ^-- SC2236 (style): Use -n instead of ! -z.
::
::
:: In ./scripts/get-core-package-list line 11:
:: cd $TMPSNAPDIR
:: ^------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: cd "$TMPSNAPDIR" || exit
::
::
:: In ./scripts/get-core-package-list line 19:
:: unsquashfs -d $TMPSNAPDIR -f core_*.snap -ef /usr/share/snappy/dpkg.list
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: unsquashfs -d "$TMPSNAPDIR" -f core_*.snap -ef /usr/share/snappy/dpkg.list
::
::
:: In ./scripts/get-core-package-list line 21:
:: grep "^ii" $TMPSNAPDIR/usr/share/snappy/dpkg.list | while read _ binpkg _ _
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^--^ SC2162 (info): read without -r will mangle backslashes.
::
:: Did you mean:
:: grep "^ii" "$TMPSNAPDIR"/usr/share/snappy/dpkg.list | while read _ binpkg _ _
::
::
:: In ./scripts/get-core-package-list line 24:
:: dpkg-query --show -f '${source:Package}\n' $binpkg >> $TMPSNAPDIR/tmp-outfile.txt
:: ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: dpkg-query --show -f '${source:Package}\n' "$binpkg" >> "$TMPSNAPDIR"/tmp-outfile.txt
::
::
:: In ./scripts/get-core-package-list line 26:
:: sort $TMPSNAPDIR/tmp-outfile.txt | uniq >> $outfile
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: sort "$TMPSNAPDIR"/tmp-outfile.txt | uniq >> "$outfile"
::
::
:: In ./scripts/pkg_status line 15:
:: UCT_DIR="$( dirname $( dirname "${BASH_SOURCE[0]}" ))"
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
::
::
:: In ./scripts/pkg_status line 56:
:: echo "$p" | egrep '^[a-zA-Z0-9]' >/dev/null 2>&1 || continue
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
::
::
:: In ./scripts/pkg_status line 60:
:: CVES=$(${UCT_DIR}/scripts/ubuntu-table $only_release $skip_esm $subproject $assigned $released_info --supported $nvd $pkgs 2>/dev/null | sort -k 2 | grep -v '^ ' | awk '{print $1}')
:: ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: CVES=$("${UCT_DIR}"/scripts/ubuntu-table "$only_release" $skip_esm "$subproject" $assigned $released_info --supported $nvd "$pkgs" 2>/dev/null | sort -k 2 | grep -v '^ ' | awk '{print $1}')
::
::
:: In ./scripts/pkg_status line 61:
:: echo "$CVES" | xargs ${UCT_DIR}/scripts/cve_status -f
:: ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: echo "$CVES" | xargs "${UCT_DIR}"/scripts/cve_status -f
::
::
:: In ./scripts/pkg_status line 63:
:: REPORT=$(${UCT_DIR}/scripts/ubuntu-table $only_release $skip_esm $subproject $assigned $released_info --supported $nvd $pkgs 2>/dev/null)
:: ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: REPORT=$("${UCT_DIR}"/scripts/ubuntu-table "$only_release" $skip_esm "$subproject" $assigned $released_info --supported $nvd "$pkgs" 2>/dev/null)
::
::
:: In ./scripts/kernel-triage-missing-break-fix line 12:
:: . "$HOME"/.ubuntu-cve-tracker.conf
:: ^-- SC1091 (info): Not following: ./.ubuntu-cve-tracker.conf was not specified as input (see shellcheck -x).
::
::
:: In ./scripts/report-todo-plot line 15:
:: if [ "x$category" = "xuniverse" ]; then
:: ^----------^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.
::
:: Did you mean:
:: if [ "$category" = "universe" ]; then
::
::
:: In ./scripts/report-todo-plot line 24:
:: COUNT=$(echo "$TABLE" | grep $filter | grep ' '"$prio"'$' | cut -d" " -f1 | sort -u | wc -l)
:: ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: COUNT=$(echo "$TABLE" | grep "$filter" | grep ' '"$prio"'$' | cut -d" " -f1 | sort -u | wc -l)
::
::
:: In ./scripts/report-todo-plot line 28:
:: COUNT=$(echo "$TABLE" | grep $filter | cut -d" " -f2 | cut -d: -f1 | sort -u | wc -l)
:: ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: COUNT=$(echo "$TABLE" | grep "$filter" | cut -d" " -f2 | cut -d: -f1 | sort -u | wc -l)
::
::
:: In ./scripts/cve_need_retire line 77:
:: ./scripts/ubuntu-table -r $cves 2>&1 >/dev/null | grep '^retire: ' | while read -r junk cve
:: ^--^ SC2034 (warning): junk appears unused. Verify use (or export if used externally).
::
::
:: In ./scripts/drop-devel-pkg line 18:
:: find boilerplates/ -maxdepth 1 -type f -print0 | xargs -0 perl -pi -e 's/^(devel_'"$pkg"':).*/$1 DNE/;'
:: ^-------------^ SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
::
::
:: In ./scripts/html-report line 37:
:: pythonver=
:: ^-------^ SC2034 (warning): pythonver appears unused. Verify use (or export if used externally).
::
::
:: In ./scripts/html-report line 59:
:: shift $(($OPTIND - 1))
:: ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
::
::
:: In ./scripts/html-report line 75:
:: tmpdir=`mktemp -d`
:: ^---------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
::
:: Did you mean:
:: tmpdir=$(mktemp -d)
::
::
:: In ./scripts/html-report line 76:
:: trap "rm -rf ${tmpdir}" EXIT
:: ^-------^ SC2064 (warning): Use single quotes, otherwise this expands now rather than when signalled.
::
::
:: In ./scripts/html-report line 183:
:: cat >> "$outfile" <> file instead of individual redirects.
::
::
:: In ./scripts/html-report line 188:
:: echo "© Canonical Ltd. 2007-`date +%Y`" >> "$outfile"
:: ^--------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
::
:: Did you mean:
:: echo "© Canonical Ltd. 2007-$(date +%Y)" >> "$outfile"
::
::
:: In ./scripts/html-report line 207:
:: OUTPUT=$($ubuntu_table_exe --html --supported --no-retired $table_args)
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: OUTPUT=$($ubuntu_table_exe --html --supported --no-retired "$table_args")
::
::
:: In ./scripts/html-report line 216:
:: echo "Main
" >> "$outfile"
:: ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
::
::
:: In ./scripts/html-report line 218:
:: echo "$OUTPUT" | egrep '(||||||SUPPORTED)' | egrep -v "$embargoed" | sed -r 's# | [[:space:]]+( [[:space:]]*[a-zA-Z0-9\-]*[[:space:]]* [[:space:]]+)+ | [[:space:]]+$##' | sed -r 's#Notes | $##' >> "$outfile"
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
::
::
:: In ./scripts/html-report line 221:
:: echo "Universe
" >> "$outfile"
:: ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
::
::
:: In ./scripts/html-report line 222:
:: echo "$OUTPUT" | egrep '(||||||UNIVERSE)' | egrep -v "$embargoed" | sed -r 's# | [[:space:]]+( [[:space:]]*[a-zA-Z0-9\-]*[[:space:]]* [[:space:]]+)+ | [[:space:]]+$##' | sed -r 's#Notes | $##' >> "$outfile"
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
::
::
:: In ./scripts/html-report line 246:
:: OUTPUT=$($ubuntu_table_exe --html --supported --no-retired $table_args --only-flavor --flavor="$f" --support-db="$support_db")
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: OUTPUT=$($ubuntu_table_exe --html --supported --no-retired "$table_args" --only-flavor --flavor="$f" --support-db="$support_db")
::
::
:: In ./scripts/html-report line 247:
:: echo "$OUTPUT" | egrep '(|| | [[:space:]]+[[:space:]]*[a-zA-Z0-9\-]*[[:space:]]*
[[:space:]]+[[:space:]]+
$##' | sed -r 's#Notes | $##' >> "$outfile"
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
::
::
:: In ./scripts/html-report line 254:
:: OUTPUT=$($ubuntu_table_exe --html --supported --no-retired $table_args --flavor="$f" --support-db="$support_db")
:: ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: OUTPUT=$($ubuntu_table_exe --html --supported --no-retired "$table_args" --flavor="$f" --support-db="$support_db")
::
::
:: In ./scripts/html-report line 255:
:: echo "$OUTPUT" | egrep '(|| | [[:space:]]+[[:space:]]*[a-zA-Z0-9\-]*[[:space:]]*
[[:space:]]+[[:space:]]+
$##' | sed -r 's#Notes | $##' >> "$outfile"
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
::
::
:: In ./scripts/html-report line 265:
:: mv -f ${tmpdir}/* ${outdir}
:: ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
:: ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: mv -f "${tmpdir}"/* "${outdir}"
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 25:
:: $ $UCT/scripts/`basename $0` -r trusty -s 1556593200 -d
:: ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: $ $UCT/scripts/$(basename "$0") -r trusty -s 1556593200 -d
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 54:
:: cd $UCT
:: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: cd "$UCT"
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 81:
:: MAIN_CVES_AS_ARRAY=($MAIN_CVES)
:: ^--------^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 82:
:: UNIVERSE_CVES_AS_ARRAY=($UNIVERSE_CVES)
:: ^------------^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 83:
:: MERGED_CVES_AS_ARRAY=($MERGED_CVES_LIST)
:: ^---------------^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 85:
:: printf "$USNS"
:: ^-----^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 86:
:: printf "\nCVEs published for main ${#MAIN_CVES_AS_ARRAY[@]}"
:: ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 87:
:: printf "\nCVEs published for Universe ${#UNIVERSE_CVES_AS_ARRAY[@]}"
:: ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 88:
:: printf "\nUnique CVEs published for main and Universe ${#MERGED_CVES_AS_ARRAY[@]}"
:: ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 90:
:: printf "\n\n USNs: $MAIN_USNS"
:: ^---------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 91:
:: printf "\n\n Unique CVES in main and Universe: $MERGED_CVES_LIST"
:: ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 92:
:: printf "\n\n CVES in main: $MAIN_CVES"
:: ^-----------------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/report_usns_and_cves_including_universe line 93:
:: printf "\n\n CVES in Universe: $UNIVERSE_CVES\n"
:: ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
::
::
:: In ./scripts/kernel-find-fixes line 14:
:: [ -f "$HOME"/.ubuntu-cve-tracker.conf ] && . "$HOME"/.ubuntu-cve-tracker.conf
:: ^-- SC1091 (info): Not following: ./.ubuntu-cve-tracker.conf was not specified as input (see shellcheck -x).
::
::
:: In ./scripts/kernel-find-fixes line 56:
:: git --no-pager log --oneline --grep="$SHORT" "v$i".."stable/linux-$i.y"
:: ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
::
::
:: In ./scripts/git-hooks/pre-commit line 39:
:: if ! git diff --quiet $(git diff --staged --name-only | grep "active"); then
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
::
::
:: In ./scripts/git-hooks/pre-commit line 40:
:: read -p 'Found unstaged changes in staged files from $UTC/active. Enter "ignore" to continue or anything else to exit: ' answer < /dev/tty
:: ^--^ SC2162 (info): read without -r will mangle backslashes.
:: ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
::
::
:: In ./scripts/git-hooks/pre-commit line 56:
:: read -p 'Found syntax errors. Enter "ignore" to continue or anything else to exit: ' answer < /dev/tty
:: ^--^ SC2162 (info): read without -r will mangle backslashes.
::
::
:: In ./scripts/git-hooks/pre-commit line 81:
:: echo $file
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: echo "$file"
::
::
:: In ./scripts/git-hooks/pre-commit-pyflakes3 line 12:
:: IS_PYTHON_SCRIPT=$(file $file |grep "Python script")
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: IS_PYTHON_SCRIPT=$(file "$file" |grep "Python script")
::
::
:: In ./scripts/git-hooks/pre-commit-pyflakes3 line 19:
:: if head -n1 $file | grep -Eq "python2" ; then
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: if head -n1 "$file" | grep -Eq "python2" ; then
::
::
:: In ./scripts/git-hooks/pre-commit-pyflakes3 line 24:
:: $PYFLAKES $file
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: $PYFLAKES "$file"
::
::
:: In ./scripts/git-hooks/pre-commit-pyflakes3 line 31:
:: read -p 'Found pyflakes3 warnings. Enter "ignore" to continue or anything else to exit: ' answer < /dev/tty
:: ^--^ SC2162 (info): read without -r will mangle backslashes.
::
::
:: In ./scripts/git-hooks/pre-commit-wrapper line 4:
:: ${CURRENT_DIR}/pre-commit-syntax-check "$@"
:: ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: "${CURRENT_DIR}"/pre-commit-syntax-check "$@"
::
::
:: In ./scripts/git-hooks/pre-commit-wrapper line 8:
:: ${CURRENT_DIR}/pre-commit-$checker "$@"
:: ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: "${CURRENT_DIR}"/pre-commit-$checker "$@"
::
::
:: In ./scripts/release-cycle-devel-opens line 22:
:: if egrep -q "^(#?)devel_" "$f" ; then
:: ^---^ SC2196 (info): egrep is non-standard and deprecated. Use grep -E instead.
::
::
:: In ./scripts/release-cycle-devel-opens line 27:
:: if [ ! -L $f ]; then
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: if [ ! -L "$f" ]; then
::
::
:: In ./scripts/publish-usn-to-website line 11:
:: . "$HOME"/.ubuntu-cve-tracker.conf
:: ^-- SC1091 (info): Not following: ./.ubuntu-cve-tracker.conf was not specified as input (see shellcheck -x).
::
::
:: In ./scripts/publish-usn-to-website line 12:
:: database="$usn_db_copy"
:: ^----------^ SC2154 (warning): usn_db_copy is referenced but not assigned.
::
::
:: In ./scripts/publish-usn-to-website line 40:
:: if ! "$usn_tool"/usn.py --db "$1" --show "$2" >/dev/null 2>&1; then
:: ^-------^ SC2154 (warning): usn_tool is referenced but not assigned.
::
::
:: In ./scripts/publish-usn-to-website line 49:
:: local TREE_REV="$(cd "$1" && git log --format=%H -1)"
:: ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
::
::
:: In ./scripts/publish-usn-to-website line 50:
:: local REMOTE_REV="$(git ls-remote $(cd $1 && git remote get-url origin) HEAD | awk '{ print $1; }')"
:: ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
:: ^-- SC2046 (warning): Quote this to prevent word splitting.
:: ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: local REMOTE_REV="$(git ls-remote $(cd "$1" && git remote get-url origin) HEAD | awk '{ print $1; }')"
::
::
:: In ./scripts/publish-usn-to-website line 70:
:: FILES_TO_CLEANUP+=($TMP_JSON)
:: ^-------^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
::
::
:: In ./scripts/publish-usn-to-website line 90:
:: rm $file
:: ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
::
:: Did you mean:
:: rm "$file"
::
::
:: In ./scripts/publish-usn-to-website line 116:
:: usns="$@"
:: ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
::
::
:: In ./scripts/extra-reports line 3:
:: HEADER='
:: ^-- SC2089 (warning): Quotes/backslashes will be treated literally. Use an array.
::
::
:: In ./scripts/extra-reports line 17:
:: FOOTER='