Starting lpci, version 0.2.7 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240426-233051.927191.log' Launching environment for focal/amd64 Starting instance Running ['apt', 'update'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease :: Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: All packages are up to date. Installing system packages Running ['apt', 'install', '-y', 'sudo'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: sudo is already the newest version (1.8.31-1ubuntu1.5). :: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', 'DEBIAN_FRONTEND=noninteractive apt upgrade --assume-yes\n'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Calculating upgrade... :: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner 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... :: 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 0 not upgraded. :: Need to get 101 kB of archives. :: After this operation, 486 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-six all 1.14.0-2 [12.1 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-urllib3 all 1.25.8-2ubuntu0.3 [88.7 kB] :: Fetched 101 kB in 0s (2986 kB/s) :: Selecting previously unselected package python3-six. :: (Reading database ... 21876 files and directories currently installed.) :: Preparing to unpack .../python3-six_1.14.0-2_all.deb ... :: Unpacking python3-six (1.14.0-2) ... :: Selecting previously unselected package python3-urllib3. :: Preparing to unpack .../python3-urllib3_1.25.8-2ubuntu0.3_all.deb ... :: Unpacking python3-urllib3 (1.25.8-2ubuntu0.3) ... :: Setting up python3-six (1.14.0-2) ... :: Setting up python3-urllib3 (1.25.8-2ubuntu0.3) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Suggested packages: :: openssl-blacklist :: The following NEW packages will be installed: :: ssl-cert :: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. :: Need to get 17.0 kB of archives. :: After this operation, 64.5 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 ssl-cert all 1.0.39 [17.0 kB] :: Preconfiguring packages ... :: Fetched 17.0 kB in 0s (906 kB/s) :: Selecting previously unselected package ssl-cert. :: (Reading database ... 21936 files and directories currently installed.) :: Preparing to unpack .../ssl-cert_1.0.39_all.deb ... :: Unpacking ssl-cert (1.0.39) ... :: Setting up ssl-cert (1.0.39) ... :: 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.2-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.2-0 :: 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. :: Need to get 1856 kB of archives. :: After this operation, 8054 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libapr1 amd64 1.6.5-1ubuntu1 [91.4 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libaprutil1 amd64 1.6.1-4ubuntu2.2 [85.1 kB] :: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.1-4ubuntu2.2 [10.5 kB] :: Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libaprutil1-ldap amd64 1.6.1-4ubuntu2.2 [8752 B] :: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 libjansson4 amd64 2.12-1build1 [28.9 kB] :: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 liblua5.2-0 amd64 5.2.4-1.1build3 [106 kB] :: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 apache2-bin amd64 2.4.41-4ubuntu3.17 [1187 kB] :: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 apache2-data all 2.4.41-4ubuntu3.17 [158 kB] :: Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 apache2-utils amd64 2.4.41-4ubuntu3.17 [84.1 kB] :: Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 apache2 amd64 2.4.41-4ubuntu3.17 [95.5 kB] :: Fetched 1856 kB in 0s (15.9 MB/s) :: Selecting previously unselected package libapr1:amd64. :: (Reading database ... 21945 files and directories currently installed.) :: Preparing to unpack .../0-libapr1_1.6.5-1ubuntu1_amd64.deb ... :: Unpacking libapr1:amd64 (1.6.5-1ubuntu1) ... :: Selecting previously unselected package libaprutil1:amd64. :: Preparing to unpack .../1-libaprutil1_1.6.1-4ubuntu2.2_amd64.deb ... :: Unpacking libaprutil1:amd64 (1.6.1-4ubuntu2.2) ... :: Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64. :: Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.6.1-4ubuntu2.2_amd64.deb ... :: Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.1-4ubuntu2.2) ... :: Selecting previously unselected package libaprutil1-ldap:amd64. :: Preparing to unpack .../3-libaprutil1-ldap_1.6.1-4ubuntu2.2_amd64.deb ... :: Unpacking libaprutil1-ldap:amd64 (1.6.1-4ubuntu2.2) ... :: Selecting previously unselected package libjansson4:amd64. :: Preparing to unpack .../4-libjansson4_2.12-1build1_amd64.deb ... :: Unpacking libjansson4:amd64 (2.12-1build1) ... :: Selecting previously unselected package liblua5.2-0:amd64. :: Preparing to unpack .../5-liblua5.2-0_5.2.4-1.1build3_amd64.deb ... :: Unpacking liblua5.2-0:amd64 (5.2.4-1.1build3) ... :: Selecting previously unselected package apache2-bin. :: Preparing to unpack .../6-apache2-bin_2.4.41-4ubuntu3.17_amd64.deb ... :: Unpacking apache2-bin (2.4.41-4ubuntu3.17) ... :: Selecting previously unselected package apache2-data. :: Preparing to unpack .../7-apache2-data_2.4.41-4ubuntu3.17_all.deb ... :: Unpacking apache2-data (2.4.41-4ubuntu3.17) ... :: Selecting previously unselected package apache2-utils. :: Preparing to unpack .../8-apache2-utils_2.4.41-4ubuntu3.17_amd64.deb ... :: Unpacking apache2-utils (2.4.41-4ubuntu3.17) ... :: Selecting previously unselected package apache2. :: Preparing to unpack .../9-apache2_2.4.41-4ubuntu3.17_amd64.deb ... :: Unpacking apache2 (2.4.41-4ubuntu3.17) ... :: Setting up libapr1:amd64 (1.6.5-1ubuntu1) ... :: Setting up libjansson4:amd64 (2.12-1build1) ... :: Setting up liblua5.2-0:amd64 (5.2.4-1.1build3) ... :: Setting up apache2-data (2.4.41-4ubuntu3.17) ... :: Setting up libaprutil1:amd64 (1.6.1-4ubuntu2.2) ... :: Setting up libaprutil1-ldap:amd64 (1.6.1-4ubuntu2.2) ... :: Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.1-4ubuntu2.2) ... :: Setting up apache2-utils (2.4.41-4ubuntu3.17) ... :: Setting up apache2-bin (2.4.41-4ubuntu3.17) ... :: Setting up apache2 (2.4.41-4ubuntu3.17) ... :: 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 systemd (245.4-4ubuntu3.23) ... :: Processing triggers for libc-bin (2.31-0ubuntu9.15) ... :: 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 0 not upgraded. :: Need to get 304 kB of archives. :: After this operation, 1809 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-tornado amd64 6.0.3+really5.1.1-3 [304 kB] :: Fetched 304 kB in 0s (13.8 MB/s) :: Selecting previously unselected package python3-tornado. :: (Reading database ... 22663 files and directories currently installed.) :: Preparing to unpack .../python3-tornado_6.0.3+really5.1.1-3_amd64.deb ... :: Unpacking python3-tornado (6.0.3+really5.1.1-3) ... :: Setting up python3-tornado (6.0.3+really5.1.1-3) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: python3-atomicwrites python3-attr python3-importlib-metadata :: python3-more-itertools python3-packaging python3-pluggy python3-py :: python3-pyparsing python3-wcwidth python3-zipp :: Suggested packages: :: python-attr-doc subversion python-pyparsing-doc :: The following NEW packages will be installed: :: python3-atomicwrites python3-attr python3-importlib-metadata :: python3-more-itertools python3-packaging python3-pluggy python3-py :: python3-pyparsing python3-pytest python3-wcwidth python3-zipp :: 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. :: Need to get 463 kB of archives. :: After this operation, 2263 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-atomicwrites all 1.1.5-2build1 [7016 B] :: Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-attr all 19.3.0-2 [33.9 kB] :: Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-more-itertools all 4.2.0-1build1 [39.4 kB] :: Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-zipp all 1.0.0-1 [5312 B] :: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-importlib-metadata all 1.5.0-1 [9992 B] :: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-pyparsing all 2.4.6-1 [61.3 kB] :: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-packaging all 20.3-1 [26.8 kB] :: Get:8 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-pluggy all 0.13.0-2 [18.4 kB] :: Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-py all 1.8.1-1ubuntu0.1 [65.6 kB] :: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-wcwidth all 0.1.8+dfsg1-3 [17.4 kB] :: Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-pytest all 4.6.9-1 [178 kB] :: Fetched 463 kB in 0s (5822 kB/s) :: Selecting previously unselected package python3-atomicwrites. :: (Reading database ... 22780 files and directories currently installed.) :: Preparing to unpack .../00-python3-atomicwrites_1.1.5-2build1_all.deb ... :: Unpacking python3-atomicwrites (1.1.5-2build1) ... :: Selecting previously unselected package python3-attr. :: Preparing to unpack .../01-python3-attr_19.3.0-2_all.deb ... :: Unpacking python3-attr (19.3.0-2) ... :: Selecting previously unselected package python3-more-itertools. :: Preparing to unpack .../02-python3-more-itertools_4.2.0-1build1_all.deb ... :: Unpacking python3-more-itertools (4.2.0-1build1) ... :: Selecting previously unselected package python3-zipp. :: Preparing to unpack .../03-python3-zipp_1.0.0-1_all.deb ... :: Unpacking python3-zipp (1.0.0-1) ... :: Selecting previously unselected package python3-importlib-metadata. :: Preparing to unpack .../04-python3-importlib-metadata_1.5.0-1_all.deb ... :: Unpacking python3-importlib-metadata (1.5.0-1) ... :: Selecting previously unselected package python3-pyparsing. :: Preparing to unpack .../05-python3-pyparsing_2.4.6-1_all.deb ... :: Unpacking python3-pyparsing (2.4.6-1) ... :: Selecting previously unselected package python3-packaging. :: Preparing to unpack .../06-python3-packaging_20.3-1_all.deb ... :: Unpacking python3-packaging (20.3-1) ... :: Selecting previously unselected package python3-pluggy. :: Preparing to unpack .../07-python3-pluggy_0.13.0-2_all.deb ... :: Unpacking python3-pluggy (0.13.0-2) ... :: Selecting previously unselected package python3-py. :: Preparing to unpack .../08-python3-py_1.8.1-1ubuntu0.1_all.deb ... :: Unpacking python3-py (1.8.1-1ubuntu0.1) ... :: Selecting previously unselected package python3-wcwidth. :: Preparing to unpack .../09-python3-wcwidth_0.1.8+dfsg1-3_all.deb ... :: Unpacking python3-wcwidth (0.1.8+dfsg1-3) ... :: Selecting previously unselected package python3-pytest. :: Preparing to unpack .../10-python3-pytest_4.6.9-1_all.deb ... :: Unpacking python3-pytest (4.6.9-1) ... :: Setting up python3-more-itertools (4.2.0-1build1) ... :: Setting up python3-attr (19.3.0-2) ... :: Setting up python3-py (1.8.1-1ubuntu0.1) ... :: Setting up python3-zipp (1.0.0-1) ... :: Setting up python3-atomicwrites (1.1.5-2build1) ... :: Setting up python3-wcwidth (0.1.8+dfsg1-3) ... :: Setting up python3-pyparsing (2.4.6-1) ... :: Setting up python3-importlib-metadata (1.5.0-1) ... :: Setting up python3-packaging (20.3-1) ... :: Setting up python3-pluggy (0.13.0-2) ... :: Setting up python3-pytest (4.6.9-1) ... :: 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 0 not upgraded. :: Need to get 325 kB of archives. :: After this operation, 2187 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-cffi-backend amd64 1.14.0-1build1 [68.7 kB] :: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-cryptography amd64 2.8-3ubuntu0.3 [211 kB] :: Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-idna all 2.8-1 [34.6 kB] :: Get:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-trustme all 0.6.0-1 [10.5 kB] :: Fetched 325 kB in 0s (6697 kB/s) :: Selecting previously unselected package python3-cffi-backend. :: (Reading database ... 23058 files and directories currently installed.) :: Preparing to unpack .../python3-cffi-backend_1.14.0-1build1_amd64.deb ... :: Unpacking python3-cffi-backend (1.14.0-1build1) ... :: Selecting previously unselected package python3-cryptography. :: Preparing to unpack .../python3-cryptography_2.8-3ubuntu0.3_amd64.deb ... :: Unpacking python3-cryptography (2.8-3ubuntu0.3) ... :: Selecting previously unselected package python3-idna. :: Preparing to unpack .../python3-idna_2.8-1_all.deb ... :: Unpacking python3-idna (2.8-1) ... :: Selecting previously unselected package python3-trustme. :: Preparing to unpack .../python3-trustme_0.6.0-1_all.deb ... :: Unpacking python3-trustme (0.6.0-1) ... :: Setting up python3-idna (2.8-1) ... :: Setting up python3-cffi-backend (1.14.0-1build1) ... :: Setting up python3-cryptography (2.8-3ubuntu0.3) ... :: Setting up python3-trustme (0.6.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 20.04' kernel: '5.4.0-176.196 (Ubuntu 5.4.0-176.196-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: Running test: './test-python-urllib3.py' distro: 'Ubuntu 20.04' kernel: '5.4.0-176.196 (Ubuntu 5.4.0-176.196-generic 5.4.268)' 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 ... Running test: './test-python-urllib3.py' distro: 'Ubuntu 20.04' kernel: '5.4.0-176.196 (Ubuntu 5.4.0-176.196-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: ok :: 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 81.465s :: :: OK (skipped=1) :: Checking patch dummyserver/handlers.py... :: Hunk #1 succeeded at 182 (offset -4 lines). :: Hunk #2 succeeded at 262 (offset -4 lines). :: Applied patch dummyserver/handlers.py cleanly. ::