Starting lpci, version 0.2.5 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240214-124250.826463.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://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... :: 59 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.9.9-1ubuntu2.4). :: 0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner python-urllib3\n'] :: Copying: test-python-urllib3.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: Copying: testlib_httpd.py :: Copying: testlib_ssl.py :: Copying: ssl :: Copying: python-urllib3 :: :: Test files: /tmp/qrt-test-python-urllib3.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-python-urllib3.tar.gz :: $ cd ./qrt-test-python-urllib3 :: $ sudo ./install-packages test-python-urllib3.py :: $ ./test-python-urllib3.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: :: python3-six :: Suggested packages: :: python3-cryptography python3-idna python3-openssl python3-socks :: The following NEW packages will be installed: :: python3-six python3-urllib3 :: 0 upgraded, 2 newly installed, 0 to remove and 59 not upgraded. :: Need to get 111 kB of archives. :: After this operation, 519 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-six all 1.16.0-3ubuntu1 [12.6 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-urllib3 all 1.26.5-1~exp1ubuntu0.1 [98.2 kB] :: Fetched 111 kB in 0s (2712 kB/s) :: Selecting previously unselected package python3-six. :: (Reading database ... 23140 files and directories currently installed.) :: Preparing to unpack .../python3-six_1.16.0-3ubuntu1_all.deb ... :: Unpacking python3-six (1.16.0-3ubuntu1) ... :: Selecting previously unselected package python3-urllib3. :: Preparing to unpack .../python3-urllib3_1.26.5-1~exp1ubuntu0.1_all.deb ... :: Unpacking python3-urllib3 (1.26.5-1~exp1ubuntu0.1) ... :: Setting up python3-six (1.16.0-3ubuntu1) ... :: Setting up python3-urllib3 (1.26.5-1~exp1ubuntu0.1) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following NEW packages will be installed: :: ssl-cert :: 0 upgraded, 1 newly installed, 0 to remove and 59 not upgraded. :: Need to get 17.4 kB of archives. :: After this operation, 65.5 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 ssl-cert all 1.1.2 [17.4 kB] :: Preconfiguring packages ... :: Fetched 17.4 kB in 0s (925 kB/s) :: Selecting previously unselected package ssl-cert. :: (Reading database ... 23203 files and directories currently installed.) :: Preparing to unpack .../ssl-cert_1.1.2_all.deb ... :: Unpacking ssl-cert (1.1.2) ... :: Setting up ssl-cert (1.1.2) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: apache2-bin apache2-data apache2-utils libapr1 libaprutil1 :: libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.3-0 :: Suggested packages: :: apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser ufw :: The following NEW packages will be installed: :: apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 :: libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.3-0 :: 0 upgraded, 10 newly installed, 0 to remove and 59 not upgraded. :: Need to get 2091 kB of archives. :: After this operation, 8321 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libapr1 amd64 1.7.0-8ubuntu0.22.04.1 [108 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libaprutil1 amd64 1.6.1-5ubuntu4.22.04.2 [92.8 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.1-5ubuntu4.22.04.2 [11.3 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libaprutil1-ldap amd64 1.6.1-5ubuntu4.22.04.2 [9170 B] :: Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjansson4 amd64 2.13.1-1.1build3 [32.4 kB] :: Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 liblua5.3-0 amd64 5.3.6-1build1 [140 kB] :: Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apache2-bin amd64 2.4.52-1ubuntu4.7 [1346 kB] :: Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apache2-data all 2.4.52-1ubuntu4.7 [165 kB] :: Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apache2-utils amd64 2.4.52-1ubuntu4.7 [88.8 kB] :: Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apache2 amd64 2.4.52-1ubuntu4.7 [97.8 kB] :: Fetched 2091 kB in 0s (19.0 MB/s) :: Selecting previously unselected package libapr1:amd64. :: (Reading database ... 23212 files and directories currently installed.) :: Preparing to unpack .../0-libapr1_1.7.0-8ubuntu0.22.04.1_amd64.deb ... :: Unpacking libapr1:amd64 (1.7.0-8ubuntu0.22.04.1) ... :: Selecting previously unselected package libaprutil1:amd64. :: Preparing to unpack .../1-libaprutil1_1.6.1-5ubuntu4.22.04.2_amd64.deb ... :: Unpacking libaprutil1:amd64 (1.6.1-5ubuntu4.22.04.2) ... :: Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64. :: Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.6.1-5ubuntu4.22.04.2_amd64.deb ... :: Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.1-5ubuntu4.22.04.2) ... :: Selecting previously unselected package libaprutil1-ldap:amd64. :: Preparing to unpack .../3-libaprutil1-ldap_1.6.1-5ubuntu4.22.04.2_amd64.deb ... :: Unpacking libaprutil1-ldap:amd64 (1.6.1-5ubuntu4.22.04.2) ... :: Selecting previously unselected package libjansson4:amd64. :: Preparing to unpack .../4-libjansson4_2.13.1-1.1build3_amd64.deb ... :: Unpacking libjansson4:amd64 (2.13.1-1.1build3) ... :: Selecting previously unselected package liblua5.3-0:amd64. :: Preparing to unpack .../5-liblua5.3-0_5.3.6-1build1_amd64.deb ... :: Unpacking liblua5.3-0:amd64 (5.3.6-1build1) ... :: Selecting previously unselected package apache2-bin. :: Preparing to unpack .../6-apache2-bin_2.4.52-1ubuntu4.7_amd64.deb ... :: Unpacking apache2-bin (2.4.52-1ubuntu4.7) ... :: Selecting previously unselected package apache2-data. :: Preparing to unpack .../7-apache2-data_2.4.52-1ubuntu4.7_all.deb ... :: Unpacking apache2-data (2.4.52-1ubuntu4.7) ... :: Selecting previously unselected package apache2-utils. :: Preparing to unpack .../8-apache2-utils_2.4.52-1ubuntu4.7_amd64.deb ... :: Unpacking apache2-utils (2.4.52-1ubuntu4.7) ... :: Selecting previously unselected package apache2. :: Preparing to unpack .../9-apache2_2.4.52-1ubuntu4.7_amd64.deb ... :: Unpacking apache2 (2.4.52-1ubuntu4.7) ... :: Setting up libapr1:amd64 (1.7.0-8ubuntu0.22.04.1) ... :: Setting up libjansson4:amd64 (2.13.1-1.1build3) ... :: Setting up liblua5.3-0:amd64 (5.3.6-1build1) ... :: Setting up apache2-data (2.4.52-1ubuntu4.7) ... :: Setting up libaprutil1:amd64 (1.6.1-5ubuntu4.22.04.2) ... :: Setting up libaprutil1-ldap:amd64 (1.6.1-5ubuntu4.22.04.2) ... :: Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.1-5ubuntu4.22.04.2) ... :: Setting up apache2-utils (2.4.52-1ubuntu4.7) ... :: Setting up apache2-bin (2.4.52-1ubuntu4.7) ... :: Setting up apache2 (2.4.52-1ubuntu4.7) ... :: Enabling module mpm_event. :: Enabling module authz_core. :: Enabling module authz_host. :: Enabling module authn_core. :: Enabling module auth_basic. :: Enabling module access_compat. :: Enabling module authn_file. :: Enabling module authz_user. :: Enabling module alias. :: Enabling module dir. :: Enabling module autoindex. :: Enabling module env. :: Enabling module mime. :: Enabling module negotiation. :: Enabling module setenvif. :: Enabling module filter. :: Enabling module deflate. :: Enabling module status. :: Enabling module reqtimeout. :: Enabling conf charset. :: Enabling conf localized-error-pages. :: Enabling conf other-vhosts-access-log. :: Enabling conf security. :: Enabling conf serve-cgi-bin. :: Enabling site 000-default. :: Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service. :: Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service. :: Processing triggers for libc-bin (2.35-0ubuntu3) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Suggested packages: :: python3-pycurl python-tornado-doc python3-twisted :: The following NEW packages will be installed: :: python3-tornado :: 0 upgraded, 1 newly installed, 0 to remove and 59 not upgraded. :: Need to get 287 kB of archives. :: After this operation, 1661 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-tornado amd64 6.1.0-3build1 [287 kB] :: Fetched 287 kB in 0s (4152 kB/s) :: Selecting previously unselected package python3-tornado. :: (Reading database ... 23930 files and directories currently installed.) :: Preparing to unpack .../python3-tornado_6.1.0-3build1_amd64.deb ... :: Unpacking python3-tornado (6.1.0-3build1) ... :: Setting up python3-tornado (6.1.0-3build1) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: python3-attr python3-importlib-metadata python3-iniconfig :: python3-more-itertools python3-packaging python3-pluggy python3-py :: python3-pyparsing python3-toml python3-zipp :: Suggested packages: :: python-attr-doc subversion python-pyparsing-doc :: Recommended packages: :: python3-pygments :: The following NEW packages will be installed: :: python3-attr python3-importlib-metadata python3-iniconfig :: python3-more-itertools python3-packaging python3-pluggy python3-py :: python3-pyparsing python3-pytest python3-toml python3-zipp :: 0 upgraded, 11 newly installed, 0 to remove and 59 not upgraded. :: Need to get 533 kB of archives. :: After this operation, 2617 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-attr all 21.2.0-1 [44.0 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-more-itertools all 8.10.0-2 [47.9 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-zipp all 1.0.0-3 [5440 B] :: Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-importlib-metadata all 4.6.4-1 [16.2 kB] :: Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] :: Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pyparsing all 2.4.7-1 [61.4 kB] :: Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-packaging all 21.3-1 [30.7 kB] :: Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pluggy all 0.13.0-7.1 [19.0 kB] :: Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-py all 1.10.0-1 [71.9 kB] :: Get:10 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] :: Get:11 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest all 6.2.5-1ubuntu2 [214 kB] :: Fetched 533 kB in 0s (6327 kB/s) :: Selecting previously unselected package python3-attr. :: (Reading database ... 24036 files and directories currently installed.) :: Preparing to unpack .../00-python3-attr_21.2.0-1_all.deb ... :: Unpacking python3-attr (21.2.0-1) ... :: Selecting previously unselected package python3-more-itertools. :: Preparing to unpack .../01-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 .../02-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 .../03-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 .../04-python3-iniconfig_1.1.1-2_all.deb ... :: Unpacking python3-iniconfig (1.1.1-2) ... :: Selecting previously unselected package python3-pyparsing. :: Preparing to unpack .../05-python3-pyparsing_2.4.7-1_all.deb ... :: Unpacking python3-pyparsing (2.4.7-1) ... :: Selecting previously unselected package python3-packaging. :: Preparing to unpack .../06-python3-packaging_21.3-1_all.deb ... :: Unpacking python3-packaging (21.3-1) ... :: Selecting previously unselected package python3-pluggy. :: Preparing to unpack .../07-python3-pluggy_0.13.0-7.1_all.deb ... :: Unpacking python3-pluggy (0.13.0-7.1) ... :: Selecting previously unselected package python3-py. :: Preparing to unpack .../08-python3-py_1.10.0-1_all.deb ... :: Unpacking python3-py (1.10.0-1) ... :: Selecting previously unselected package python3-toml. :: Preparing to unpack .../09-python3-toml_0.10.2-1_all.deb ... :: Unpacking python3-toml (0.10.2-1) ... :: Selecting previously unselected package python3-pytest. :: Preparing to unpack .../10-python3-pytest_6.2.5-1ubuntu2_all.deb ... :: Unpacking python3-pytest (6.2.5-1ubuntu2) ... :: 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 python3-py (1.10.0-1) ... :: Setting up python3-zipp (1.0.0-3) ... :: Setting up python3-pyparsing (2.4.7-1) ... :: Setting up python3-toml (0.10.2-1) ... :: Setting up python3-importlib-metadata (4.6.4-1) ... :: Setting up python3-packaging (21.3-1) ... :: Setting up python3-pluggy (0.13.0-7.1) ... :: Setting up python3-pytest (6.2.5-1ubuntu2) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: python3-cffi-backend python3-cryptography python3-idna :: Suggested packages: :: python-cryptography-doc python3-cryptography-vectors :: The following NEW packages will be installed: :: python3-cffi-backend python3-cryptography python3-idna python3-trustme :: 0 upgraded, 4 newly installed, 0 to remove and 59 not upgraded. :: Need to get 375 kB of archives. :: After this operation, 2209 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-cffi-backend amd64 1.15.0-1build2 [77.4 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-cryptography amd64 3.4.8-1ubuntu2.1 [236 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-idna all 3.3-1 [49.3 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-trustme all 0.9.0-1 [12.5 kB] :: Fetched 375 kB in 0s (7502 kB/s) :: Selecting previously unselected package python3-cffi-backend:amd64. :: (Reading database ... 24362 files and directories currently installed.) :: Preparing to unpack .../python3-cffi-backend_1.15.0-1build2_amd64.deb ... :: Unpacking python3-cffi-backend:amd64 (1.15.0-1build2) ... :: Selecting previously unselected package python3-cryptography. :: Preparing to unpack .../python3-cryptography_3.4.8-1ubuntu2.1_amd64.deb ... :: Unpacking python3-cryptography (3.4.8-1ubuntu2.1) ... :: Selecting previously unselected package python3-idna. :: Preparing to unpack .../python3-idna_3.3-1_all.deb ... :: Unpacking python3-idna (3.3-1) ... :: Selecting previously unselected package python3-trustme. :: Preparing to unpack .../python3-trustme_0.9.0-1_all.deb ... :: Unpacking python3-trustme (0.9.0-1) ... :: Setting up python3-idna (3.3-1) ... :: Setting up python3-cffi-backend:amd64 (1.15.0-1build2) ... :: Setting up python3-cryptography (3.4.8-1ubuntu2.1) ... :: Setting up python3-trustme (0.9.0-1) ... :: Requiring 'lsb-release' ... :: Requiring 'python3-urllib3' ... :: Requiring 'ssl-cert' ... :: Requiring 'openssl' ... :: Requiring 'lsb-release' ... :: Requiring 'apache2' ... :: Requiring 'git' ... :: Requiring 'python3-tornado' ... :: Requiring 'python3-pytest' ... :: Trying 'python3-trustme' ... :: Trying 'python3-trustme' ... :: Running test: './test-python-urllib3.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-171.189 (Ubuntu 5.4.0-171.189-generic 5.4.259)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: Running test: './test-python-urllib3.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-171.189 (Ubuntu 5.4.0-171.189-generic 5.4.259)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: test_apache_daemon (__main__.BasicTest) :: Test Apache daemon ... ok :: test_apache_status (__main__.BasicTest) :: Test Apache status (apache2ctl) ... ok :: test_http (__main__.BasicTest) :: Test http ... ok :: test_ssl (__main__.BasicTest) :: Test https ... ok :: test_ssl_client_certs_location_tls_12 (__main__.BasicTest) :: Test client certificates with location and TLS v1.2 ... ok :: test_ssl_client_certs_tls_12 (__main__.BasicTest) :: Test client certificates with TLS v1.2 ... ok :: test_ssl_client_certs_tls_13 (__main__.BasicTest) :: Test client certificates with TLS v1.3 ... ok :: Running test: './test-python-urllib3.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-171.189 (Ubuntu 5.4.0-171.189-generic 5.4.259)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: test_303_redirect_makes_request_lose_body (__main__.PackageTest) :: CVE-2023-45803 ... ok :: test_invalid_method_not_allowed (__main__.PackageTest) :: CVE-2020-26137 ... ok :: test_redirect_cross_host_no_remove_headers (__main__.PackageTest) :: Functional test related to potential CVE-2018-25091 and CVE-2023-43804 regressions. It is not expected to fail even if the package is vulnerable. ... ok :: test_redirect_cross_host_remove_headers (__main__.PackageTest) :: CVE-2018-25091 or CVE-2023-43804 ... ok :: test_redirect_cross_host_set_removed_headers (__main__.PackageTest) :: Functional test related to potential CVE-2018-25091 and CVE-2023-43804 regressions. It is not expected to fail even if the package is vulnerable. ... ok :: test_retry_default_remove_headers_on_redirect (__main__.PackageTest) :: CVE-2018-25091 or CVE-2023-43804 ... ok :: test_retry_set_remove_headers_on_redirect (__main__.PackageTest) :: Functional test related to potential CVE-2018-25091 and CVE-2023-43804 regressions. It is not expected to fail even if the package is vulnerable. ... ok :: test_run_package_tests (__main__.PackageTest) :: Run urllib3 package test for the version included in the release and search for the expected results. ... skipped 'External URLs not allowed in lpci environ' :: :: ---------------------------------------------------------------------- :: Ran 15 tests in 83.180s :: :: OK (skipped=1) :: Checking patch dummyserver/handlers.py... :: Applied patch dummyserver/handlers.py cleanly. ::