Starting lpci, version 0.2.8 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240503-003904.124270.log' Launching environment for bionic/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 bionic InRelease :: Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu bionic-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.21p2-3ubuntu1.6). :: 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 97.5 kB of archives. :: After this operation, 468 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-six all 1.11.0-2 [11.4 kB] :: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-urllib3 all 1.22-1ubuntu0.18.04.2 [86.2 kB] :: Fetched 97.5 kB in 0s (329 kB/s) :: Selecting previously unselected package python3-six. :: (Reading database ... 21199 files and directories currently installed.) :: Preparing to unpack .../python3-six_1.11.0-2_all.deb ... :: Unpacking python3-six (1.11.0-2) ... :: Selecting previously unselected package python3-urllib3. :: Preparing to unpack .../python3-urllib3_1.22-1ubuntu0.18.04.2_all.deb ... :: Unpacking python3-urllib3 (1.22-1ubuntu0.18.04.2) ... :: Setting up python3-six (1.11.0-2) ... :: Setting up python3-urllib3 (1.22-1ubuntu0.18.04.2) ... :: 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 bionic/main amd64 ssl-cert all 1.0.39 [17.0 kB] :: Preconfiguring packages ... :: Fetched 17.0 kB in 0s (1023 kB/s) :: Selecting previously unselected package ssl-cert. :: (Reading database ... 21259 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 liblua5.2-0 :: Suggested packages: :: www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom ufw :: The following NEW packages will be installed: :: apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 :: libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 :: 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. :: Need to get 1713 kB of archives. :: After this operation, 6936 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libapr1 amd64 1.6.3-2 [90.9 kB] :: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaprutil1 amd64 1.6.1-2ubuntu0.1 [84.6 kB] :: Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.1-2ubuntu0.1 [10.6 kB] :: Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaprutil1-ldap amd64 1.6.1-2ubuntu0.1 [8752 B] :: Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblua5.2-0 amd64 5.2.4-1.1build1 [108 kB] :: Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2-bin amd64 2.4.29-1ubuntu4.27 [1071 kB] :: Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2-utils amd64 2.4.29-1ubuntu4.27 [83.3 kB] :: Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2-data all 2.4.29-1ubuntu4.27 [160 kB] :: Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2 amd64 2.4.29-1ubuntu4.27 [95.1 kB] :: Fetched 1713 kB in 1s (1647 kB/s) :: Selecting previously unselected package libapr1:amd64. :: (Reading database ... 21268 files and directories currently installed.) :: Preparing to unpack .../0-libapr1_1.6.3-2_amd64.deb ... :: Unpacking libapr1:amd64 (1.6.3-2) ... :: Selecting previously unselected package libaprutil1:amd64. :: Preparing to unpack .../1-libaprutil1_1.6.1-2ubuntu0.1_amd64.deb ... :: Unpacking libaprutil1:amd64 (1.6.1-2ubuntu0.1) ... :: Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64. :: Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.6.1-2ubuntu0.1_amd64.deb ... :: Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.1-2ubuntu0.1) ... :: Selecting previously unselected package libaprutil1-ldap:amd64. :: Preparing to unpack .../3-libaprutil1-ldap_1.6.1-2ubuntu0.1_amd64.deb ... :: Unpacking libaprutil1-ldap:amd64 (1.6.1-2ubuntu0.1) ... :: Selecting previously unselected package liblua5.2-0:amd64. :: Preparing to unpack .../4-liblua5.2-0_5.2.4-1.1build1_amd64.deb ... :: Unpacking liblua5.2-0:amd64 (5.2.4-1.1build1) ... :: Selecting previously unselected package apache2-bin. :: Preparing to unpack .../5-apache2-bin_2.4.29-1ubuntu4.27_amd64.deb ... :: Unpacking apache2-bin (2.4.29-1ubuntu4.27) ... :: Selecting previously unselected package apache2-utils. :: Preparing to unpack .../6-apache2-utils_2.4.29-1ubuntu4.27_amd64.deb ... :: Unpacking apache2-utils (2.4.29-1ubuntu4.27) ... :: Selecting previously unselected package apache2-data. :: Preparing to unpack .../7-apache2-data_2.4.29-1ubuntu4.27_all.deb ... :: Unpacking apache2-data (2.4.29-1ubuntu4.27) ... :: Selecting previously unselected package apache2. :: Preparing to unpack .../8-apache2_2.4.29-1ubuntu4.27_amd64.deb ... :: Unpacking apache2 (2.4.29-1ubuntu4.27) ... :: Setting up libapr1:amd64 (1.6.3-2) ... :: Setting up apache2-data (2.4.29-1ubuntu4.27) ... :: Setting up libaprutil1:amd64 (1.6.1-2ubuntu0.1) ... :: Setting up liblua5.2-0:amd64 (5.2.4-1.1build1) ... :: Setting up libaprutil1-ldap:amd64 (1.6.1-2ubuntu0.1) ... :: Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.1-2ubuntu0.1) ... :: Setting up apache2-utils (2.4.29-1ubuntu4.27) ... :: Setting up apache2-bin (2.4.29-1ubuntu4.27) ... :: Setting up apache2 (2.4.29-1ubuntu4.27) ... :: 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 (237-3ubuntu10.57) ... :: Processing triggers for libc-bin (2.27-3ubuntu1.6) ... :: 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 284 kB of archives. :: After this operation, 1659 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-tornado amd64 4.5.3-1ubuntu0.2 [284 kB] :: Fetched 284 kB in 0s (2983 kB/s) :: Selecting previously unselected package python3-tornado. :: (Reading database ... 21976 files and directories currently installed.) :: Preparing to unpack .../python3-tornado_4.5.3-1ubuntu0.2_amd64.deb ... :: Unpacking python3-tornado (4.5.3-1ubuntu0.2) ... :: Setting up python3-tornado (4.5.3-1ubuntu0.2) ... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: python3-attr python3-pluggy python3-py :: Suggested packages: :: python-attr-doc subversion :: The following NEW packages will be installed: :: python3-attr python3-pluggy python3-py python3-pytest :: 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. :: Need to get 244 kB of archives. :: After this operation, 1177 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-attr all 17.4.0-2 [23.8 kB] :: Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pluggy all 0.6.0-1 [12.3 kB] :: Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-py all 1.5.2-1ubuntu0.1 [65.3 kB] :: Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pytest all 3.3.2-2 [142 kB] :: Fetched 244 kB in 0s (793 kB/s) :: Selecting previously unselected package python3-attr. :: (Reading database ... 22090 files and directories currently installed.) :: Preparing to unpack .../python3-attr_17.4.0-2_all.deb ... :: Unpacking python3-attr (17.4.0-2) ... :: Selecting previously unselected package python3-pluggy. :: Preparing to unpack .../python3-pluggy_0.6.0-1_all.deb ... :: Unpacking python3-pluggy (0.6.0-1) ... :: Selecting previously unselected package python3-py. :: Preparing to unpack .../python3-py_1.5.2-1ubuntu0.1_all.deb ... :: Unpacking python3-py (1.5.2-1ubuntu0.1) ... :: Selecting previously unselected package python3-pytest. :: Preparing to unpack .../python3-pytest_3.3.2-2_all.deb ... :: Unpacking python3-pytest (3.3.2-2) ... :: Setting up python3-py (1.5.2-1ubuntu0.1) ... :: Setting up python3-pluggy (0.6.0-1) ... :: Setting up python3-attr (17.4.0-2) ... :: Setting up python3-pytest (3.3.2-2) ... :: Requiring 'lsb-release' ... :: Requiring 'python3-urllib3' ... :: Requiring 'ssl-cert' ... :: Requiring 'openssl' ... :: Requiring 'lsb-release' ... :: Requiring 'apache2' ... :: Requiring 'git' ... :: Requiring 'python3-tornado' ... :: Requiring 'python3-pytest' ... :: Skipping 'python3-trustme' for this release :: Running test: './test-python-urllib3.py' distro: 'Ubuntu 18.04' kernel: '5.4.0-177.197 (Ubuntu 5.4.0-177.197-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: '') :: Running test: './test-python-urllib3.py' distro: 'Ubuntu 18.04' kernel: '5.4.0-177.197 (Ubuntu 5.4.0-177.197-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 ... ok :: :: ---------------------------------------------------------------------- :: Ran 7 tests in 76.332s :: :: OK