0s autopkgtest [23:17:47]: starting date and time: 2025-02-15 23:17:47+0000 0s autopkgtest [23:17:47]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [23:17:47]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.t9mod8ow/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc,src:iproute2,src:php-twig,src:postgresql-17,src:postgresql-common,src:roundcube --apt-upgrade weborf --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu1 iproute2/6.13.0-1ubuntu1 php-twig/3.19.0-1 postgresql-17/17.3-2 postgresql-common/273 roundcube/1.6.10+dfsg-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-25.secgroup --name adt-plucky-amd64-weborf-20250215-231747-juju-7f2275-prod-proposed-migration-environment-2-58e8642d-dda6-4871-bcb0-47b448404a4c --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 55s autopkgtest [23:18:42]: testbed dpkg architecture: amd64 55s autopkgtest [23:18:42]: testbed apt version: 2.9.28 56s autopkgtest [23:18:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s autopkgtest [23:18:43]: testbed release detected to be: None 57s autopkgtest [23:18:44]: updating testbed package index (apt update) 57s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 57s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 57s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [828 kB] 58s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 58s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.1 kB] 58s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [74.3 kB] 58s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [175 kB] 58s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [154 kB] 58s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2412 B] 58s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [7984 B] 58s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [949 kB] 58s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [403 kB] 58s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [10.3 kB] 58s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [3520 B] 58s Fetched 2734 kB in 1s (2728 kB/s) 59s Reading package lists... 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Calculating upgrade... 60s The following packages will be upgraded: 60s libtasn1-6 60s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s Need to get 51.2 kB of archives. 60s After this operation, 22.5 kB of additional disk space will be used. 60s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libtasn1-6 amd64 4.20.0-2 [51.2 kB] 60s Fetched 51.2 kB in 0s (186 kB/s) 60s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 108914 files and directories currently installed.) 60s Preparing to unpack .../libtasn1-6_4.20.0-2_amd64.deb ... 60s Unpacking libtasn1-6:amd64 (4.20.0-2) over (4.19.0-3build1) ... 60s Setting up libtasn1-6:amd64 (4.20.0-2) ... 60s Processing triggers for libc-bin (2.40-4ubuntu1) ... 60s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 61s autopkgtest [23:18:48]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 62s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 62s Starting 2 pkgProblemResolver with broken count: 0 62s Done 62s Entering ResolveByKeep 62s 62s The following packages will be upgraded: 62s iproute2 libc-bin libc-dev-bin libc6 libc6-dev locales 62s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 11.8 MB of archives. 62s After this operation, 746 kB of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-dev-bin amd64 2.41-1ubuntu1 [24.7 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6-dev amd64 2.41-1ubuntu1 [2182 kB] 63s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 locales all 2.41-1ubuntu1 [4246 kB] 63s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6 amd64 2.41-1ubuntu1 [3327 kB] 63s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-bin amd64 2.41-1ubuntu1 [701 kB] 63s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 iproute2 amd64 6.13.0-1ubuntu1 [1277 kB] 64s Preconfiguring packages ... 64s Fetched 11.8 MB in 1s (10.8 MB/s) 64s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 108914 files and directories currently installed.) 64s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu1_amd64.deb ... 64s Unpacking libc-dev-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 64s Preparing to unpack .../libc6-dev_2.41-1ubuntu1_amd64.deb ... 64s Unpacking libc6-dev:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 64s Preparing to unpack .../locales_2.41-1ubuntu1_all.deb ... 64s Unpacking locales (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 64s Preparing to unpack .../libc6_2.41-1ubuntu1_amd64.deb ... 64s Checking for services that may need to be restarted... 64s Checking init scripts... 64s Checking for services that may need to be restarted... 64s Checking init scripts... 64s Stopping some services possibly affected by the upgrade (will be restarted later): 64s cron: stopping...done. 64s 64s Unpacking libc6:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 65s Setting up libc6:amd64 (2.41-1ubuntu1) ... 65s Checking for services that may need to be restarted... 65s Checking init scripts... 65s Restarting services possibly affected by the upgrade: 65s cron: restarting...done. 65s 65s Services restarted successfully. 65s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 108915 files and directories currently installed.) 65s Preparing to unpack .../libc-bin_2.41-1ubuntu1_amd64.deb ... 65s Unpacking libc-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 65s Setting up libc-bin (2.41-1ubuntu1) ... 65s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 108915 files and directories currently installed.) 65s Preparing to unpack .../iproute2_6.13.0-1ubuntu1_amd64.deb ... 65s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 65s Setting up iproute2 (6.13.0-1ubuntu1) ... 65s Setting up locales (2.41-1ubuntu1) ... 65s Installing new version of config file /etc/locale.alias ... 66s Generating locales (this might take a while)... 67s en_US.UTF-8... done 67s Generation complete. 67s Setting up libc-dev-bin (2.41-1ubuntu1) ... 67s Setting up libc6-dev:amd64 (2.41-1ubuntu1) ... 67s Processing triggers for man-db (2.13.0-1) ... 68s Processing triggers for systemd (257.2-3ubuntu1) ... 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 70s Starting pkgProblemResolver with broken count: 0 70s Starting 2 pkgProblemResolver with broken count: 0 70s Done 70s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s autopkgtest [23:18:59]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 4 16:02:16 UTC 2025 73s autopkgtest [23:19:00]: @@@@@@@@@@@@@@@@@@@@ apt-source weborf 76s Get:1 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.4-1 (dsc) [2292 B] 76s Get:2 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.4-1 (tar) [245 kB] 76s Get:3 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.4-1 (asc) [833 B] 76s Get:4 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.4-1 (diff) [15.9 kB] 76s gpgv: Signature made Sun Jul 21 21:02:16 2024 UTC 76s gpgv: using RSA key 42748B9E76D899799E1FBE14B3A7CF0C801886CF 76s gpgv: Can't check signature: No public key 76s dpkg-source: warning: cannot verify inline signature for ./weborf_1.4-1.dsc: no acceptable signature found 76s autopkgtest [23:19:03]: testing package weborf version 1.4-1 78s autopkgtest [23:19:05]: build not needed 79s autopkgtest [23:19:06]: test command1: preparing testbed 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Starting pkgProblemResolver with broken count: 0 79s Starting 2 pkgProblemResolver with broken count: 0 79s Done 80s The following NEW packages will be installed: 80s weborf 80s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 80s Need to get 32.6 kB of archives. 80s After this operation, 104 kB of additional disk space will be used. 80s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 weborf amd64 1.4-1 [32.6 kB] 80s Fetched 32.6 kB in 0s (81.2 kB/s) 80s Selecting previously unselected package weborf. 80s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 108916 files and directories currently installed.) 80s Preparing to unpack .../weborf_1.4-1_amd64.deb ... 80s Unpacking weborf (1.4-1) ... 80s Setting up weborf (1.4-1) ... 80s Processing triggers for man-db (2.13.0-1) ... 82s autopkgtest [23:19:09]: test command1: testsuite/version_and_help 82s autopkgtest [23:19:09]: test command1: [----------------------- 82s Usage: weborf [OPTIONS] 82s Start the weborf webserver 82s 82s Compiled for IPv6 82s Has webdav support 82s Has MIME support 82s Default port is 8080 82s Default base directory /srv/www 82s Signature used weborf/1.4 (GNU/Linux) 82s 82s -a, --auth followed by absolute path of the program to handle authentication 82s -b, --basedir followed by absolute path of basedir 82s -C, --cache sets the directory to use for cache files 82s -c, --cgi list of cgi files and binary to execute them comma-separated 82s -d run as a daemon 82s -h, --help display this help and exit 82s -I, --index list of index files, comma-separated 82s -i, --ip followed by IP address to listen (dotted format) 82s -k, --caps lists the capabilities of the binary 82s -m, --mime sends content type header to clients 82s -p, --port followed by port number to listen 82s -T --inetd must be specified when using weborf with inetd or xinetd 82s -t --tar will send the directories as .tar.gz files 82s -u --uid followed by a valid uid 82s If started by root weborf will use this user to read files and execute scripts 82s -g --gid followed by a valid gid 82s -V, --virtual list of virtualhosts in the form host=basedir, comma-separated 82s -v, --version print program version 82s -S, --cert the certificate to use 82s -K, --key the private key to use with the certificate 82s -Y, --yesexec enables CGI 82s 82s Report bugs here https://bugs.launchpad.net/weborf 82s or to tiposchi@tiscali.it 82s Weborf 1.4 82s Copyright (C) 2007-2020 Salvo 'LtWorf' Tomaselli. 82s This is free software. You may redistribute copies of it under the terms of 82s the GNU General Public License . 82s There is NO WARRANTY, to the extent permitted by law. 82s 82s Written by Salvo 'LtWorf' Tomaselli and Salvo Rinaldi. 82s Synchronized queue by Prof. Giuseppe Pappalardo. 82s 82s https://ltworf.codeberg.page/weborf/ 82s version:1.4 82s ipv:6 82s webdav:yes 82s mime:yes 82s embedded_auth:no 82s https:yes 82s +++ dirname testsuite/version_and_help 82s ++ cd testsuite 82s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 82s ++ BINNAME=weborf 82s ++ trap cleanup EXIT 82s + weborf --help 82s + weborf --version 82s + weborf -k 82s + cleanup 82s + [[ -n '' ]] 82s autopkgtest [23:19:09]: test command1: -----------------------] 83s command1 PASS (superficial) 83s autopkgtest [23:19:10]: test command1: - - - - - - - - - - results - - - - - - - - - - 83s autopkgtest [23:19:10]: test command2: preparing testbed 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 84s Starting pkgProblemResolver with broken count: 0 84s Starting 2 pkgProblemResolver with broken count: 0 84s Done 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 85s autopkgtest [23:19:12]: test command2: testsuite/site1http 85s autopkgtest [23:19:12]: test command2: [----------------------- 85s +++ dirname testsuite/site1http 85s ++ cd testsuite 85s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 85s ++ BINNAME=weborf 85s ++ trap cleanup EXIT 85s + run_weborf -b site1 -p 12345 85s + weborf -b site1 -p 12345 85s ++ jobs -p 85s + WEBORF_PID=2933 85s + sleep 0.2 86s ++ ls /proc/2933/fd/ 86s ++ wc -l 86s + [[ 5 -lt 4 ]] 86s ++ curl -s http://127.0.0.1:12345/robots.txt 86s + ROBOTS='User-agent: * 86s Disallow: /' 86s ++ cat site1/robots.txt 86s + [[ User-agent: * 86s Disallow: / = User-agent: * 86s Disallow: / ]] 86s ++ curl -s http://127.0.0.1:12345/empty 86s + ROBOTS= 86s + [[ '' = '' ]] 86s + curl -s http://127.0.0.1:12345/cgi.py 86s + grep 'import os' 86s import os 86s + cleanup 86s + [[ -n 2933 ]] 86s + kill -9 2933 86s autopkgtest [23:19:13]: test command2: -----------------------] 86s autopkgtest [23:19:13]: test command2: - - - - - - - - - - results - - - - - - - - - - 86s command2 PASS 87s autopkgtest [23:19:14]: test command3: preparing testbed 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 88s Starting pkgProblemResolver with broken count: 0 88s Starting 2 pkgProblemResolver with broken count: 0 88s Done 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 89s autopkgtest [23:19:16]: test command3: testsuite/site1https 89s autopkgtest [23:19:16]: test command3: [----------------------- 89s +++ dirname testsuite/site1https 89s ++ cd testsuite 89s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 89s ++ BINNAME=weborf 89s ++ trap cleanup EXIT 89s + run_weborf -b site1 -p 12346 --cert cert/certificate.pem --key cert/key.pem 89s + weborf -b site1 -p 12346 --cert cert/certificate.pem --key cert/key.pem 89s ++ jobs -p 89s + WEBORF_PID=3097 89s + sleep 0.2 89s ++ ls /proc/3097/fd/ 89s ++ wc -l 89s + [[ 5 -lt 4 ]] 89s ++ curl -s -k https://127.0.0.1:12346/robots.txt 89s + ROBOTS='User-agent: * 89s Disallow: /' 89s ++ cat site1/robots.txt 89s + [[ User-agent: * 89s Disallow: / = User-agent: * 89s Disallow: / ]] 89s + cleanup 89s + [[ -n 3097 ]] 89s + kill -9 3097 90s autopkgtest [23:19:17]: test command3: -----------------------] 90s command3 PASS 90s autopkgtest [23:19:17]: test command3: - - - - - - - - - - results - - - - - - - - - - 91s autopkgtest [23:19:18]: test command4: preparing testbed 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s Starting pkgProblemResolver with broken count: 0 91s Starting 2 pkgProblemResolver with broken count: 0 91s Done 92s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s autopkgtest [23:19:19]: test command4: testsuite/ip_listener 92s autopkgtest [23:19:19]: test command4: [----------------------- 92s +++ dirname testsuite/ip_listener 92s ++ cd testsuite 92s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 92s ++ BINNAME=weborf 92s ++ trap cleanup EXIT 92s + run_weborf -b site1 -p 12340 --ip 127.0.0.2 92s + weborf -b site1 -p 12340 --ip 127.0.0.2 92s ++ jobs -p 92s + WEBORF_PID=3255 92s + sleep 0.2 93s ++ ls /proc/3255/fd/ 93s ++ wc -l 93s + [[ 5 -lt 4 ]] 93s + curl -s http://127.0.0.1:12340/robots.txt 93s + curl -s http://127.0.0.2:12340/robots.txt 93s 93s 93s 93s 93s ERROR: The requested URL could not be retrieved 93s 93s 93s
93s

ERROR

93s

The requested URL could not be retrieved

93s
93s
93s 93s
93s

The following error was encountered while trying to retrieve the URL: http://127.0.0.2:12340/robots.txt

93s 93s
93s

Connection to 127.0.0.2 failed.

93s
93s 93s

The system returned: (111) Connection refused

93s 93s

The remote host or network may be down. Please try the request again.

93s 93s

Your cache administrator is webmaster.

93s 93s
93s
93s 93s
93s 93s 93s + cleanup 93s + [[ -n 3255 ]] 93s + kill -9 3255 93s autopkgtest [23:19:20]: test command4: -----------------------] 94s autopkgtest [23:19:21]: test command4: - - - - - - - - - - results - - - - - - - - - - 94s command4 PASS 94s autopkgtest [23:19:21]: test command5: preparing testbed 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 95s Starting pkgProblemResolver with broken count: 0 95s Starting 2 pkgProblemResolver with broken count: 0 95s Done 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s autopkgtest [23:19:23]: test command5: testsuite/vhost 96s autopkgtest [23:19:23]: test command5: [----------------------- 96s +++ dirname testsuite/vhost 96s ++ cd testsuite 96s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 96s ++ BINNAME=weborf 96s ++ trap cleanup EXIT 96s + run_weborf -p 12342 --virtual localhost:12342=site1,127.0.0.1:12342=site2 -b site1 96s + weborf -p 12342 --virtual localhost:12342=site1,127.0.0.1:12342=site2 -b site1 96s ++ jobs -p 96s + WEBORF_PID=3414 96s + sleep 0.2 96s ++ ls /proc/3414/fd/ 96s ++ wc -l 96s + [[ 5 -lt 4 ]] 96s + grep User-agent 96s + curl -vs http://localhost:12342/robots.txt 96s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 96s * Host localhost:12342 was resolved. 96s * IPv6: ::1 96s * IPv4: 127.0.0.1 96s * Trying [::1]:12342... 96s * Connected to localhost (::1) port 12342 96s * using HTTP/1.x 96s > GET /robots.txt HTTP/1.1 96s > Host: localhost:12342 96s > User-Agent: curl/8.12.1-DEV 96s > Accept: */* 96s > 96s * Request completely sent off 96s < HTTP/1.1 200 OK 96s < Server: weborf/1.4 (GNU/Linux) 96s < ETag: "1718774685" 96s < Content-Length: 26 96s < 96s { [26 bytes data] 96s * Connection #0 to host localhost left intact 96s User-agent: * 96s + grep site2 96s + curl -vs http://127.0.0.1:12342/site2.txt 96s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 96s * Trying 127.0.0.1:12342... 96s * Connected to 127.0.0.1 (127.0.0.1) port 12342 96s * using HTTP/1.x 96s > GET /site2.txt HTTP/1.1 96s > Host: 127.0.0.1:12342 96s > User-Agent: curl/8.12.1-DEV 96s > Accept: */* 96s > 96s * Request completely sent off 96s < HTTP/1.1 200 OK 96s < Server: weborf/1.4 (GNU/Linux) 96s < ETag: "1718774685" 96s < Content-Length: 6 96s < 96s { [6 bytes data] 96s * Connection #0 to host 127.0.0.1 left intact 96s site2 96s + cleanup 96s + [[ -n 3414 ]] 96s + kill -9 3414 96s autopkgtest [23:19:23]: test command5: -----------------------] 97s autopkgtest [23:19:24]: test command5: - - - - - - - - - - results - - - - - - - - - - 97s command5 PASS 97s autopkgtest [23:19:24]: test command6: preparing testbed 98s Reading package lists... 98s Building dependency tree... 98s Reading state information... 98s Starting pkgProblemResolver with broken count: 0 98s Starting 2 pkgProblemResolver with broken count: 0 98s Done 98s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 99s autopkgtest [23:19:26]: test command6: testsuite/etag 99s autopkgtest [23:19:26]: test command6: [----------------------- 100s +++ dirname testsuite/etag 100s ++ cd testsuite 100s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 100s ++ BINNAME=weborf 100s ++ trap cleanup EXIT 100s + run_weborf -b site1 -p 12349 100s + weborf -b site1 -p 12349 100s ++ jobs -p 100s + WEBORF_PID=3574 100s + sleep 0.2 100s ++ ls /proc/3574/fd/ 100s ++ wc -l 100s + [[ 5 -lt 4 ]] 100s + grep ETag 100s + curl -sv http://127.0.0.1:12349/robots.txt 100s < ETag: "1718774685" 100s ++ curl -sv http://127.0.0.1:12349/robots.txt 100s ++ grep ETag 100s ++ cut '-d ' -f3 100s ++ tr -d '\r' 100s + ETAG='"1718774685"' 100s ++ curl -vs -H 'If-None-Match: "1718774685"' http://localhost:12349/robots.txt 100s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 100s * Host localhost:12349 was resolved. 100s * IPv6: ::1 100s * IPv4: 127.0.0.1 100s * Trying [::1]:12349... 100s * Connected to localhost (::1) port 12349 100s * using HTTP/1.x 100s > GET /robots.txt HTTP/1.1 100s > Host: localhost:12349 100s > User-Agent: curl/8.12.1-DEV 100s > Accept: */* 100s > If-None-Match: "1718774685" 100s > 100s * Request completely sent off 100s < HTTP/1.1 304 Found 100s < Server: weborf/1.4 (GNU/Linux) 100s < ETag: "1718774685" 100s < 100s * Connection #0 to host localhost left intact 100s + CACHED= 100s ++ printf 100s printf: usage: printf [-v var] format [arguments] 100s ++ wc -c 100s + [[ 0 = 0 ]] 100s ++ curl -vs -H 'If-None-Match: "aaaa"' http://localhost:12349/robots.txt 100s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 100s * Host localhost:12349 was resolved. 100s * IPv6: ::1 100s * IPv4: 127.0.0.1 100s * Trying [::1]:12349... 100s * Connected to localhost (::1) port 12349 100s * using HTTP/1.x 100s > GET /robots.txt HTTP/1.1 100s > Host: localhost:12349 100s > User-Agent: curl/8.12.1-DEV 100s > Accept: */* 100s > If-None-Match: "aaaa" 100s > 100s * Request completely sent off 100s < HTTP/1.1 200 OK 100s < Server: weborf/1.4 (GNU/Linux) 100s < ETag: "1718774685" 100s < Content-Length: 26 100s < 100s { [26 bytes data] 100s * Connection #0 to host localhost left intact 100s + NON_CACHED='User-agent: * 100s Disallow: /' 100s ++ cat site1/robots.txt 100s + [[ User-agent: * 100s Disallow: / = User-agent: * 100s Disallow: / ]] 100s ++ curl -vs -H 'If-Range: "1718774685"' --range 0-3 http://localhost:12349/robots.txt 100s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 100s * Host localhost:12349 was resolved. 100s * IPv6: ::1 100s * IPv4: 127.0.0.1 100s * Trying [::1]:12349... 100s * Connected to localhost (::1) port 12349 100s * using HTTP/1.x 100s > GET /robots.txt HTTP/1.1 100s > Host: localhost:12349 100s > Range: bytes=0-3 100s > User-Agent: curl/8.12.1-DEV 100s > Accept: */* 100s > If-Range: "1718774685" 100s > 100s < HTTP/1.1 206 OK 100s < Server: weborf/1.4 (GNU/Linux) 100s < ETag: "1718774685" 100s < Content-Length: 4 100s < Accept-Ranges: bytes 100s < Content-Range: bytes 0-3/26 100s < 100s { [4 bytes data] 100s * Connection #0 to host localhost left intact 100s + CACHED=User 100s ++ printf User 100s ++ wc -c 100s + [[ 4 = 4 ]] 100s ++ curl -vs -H 'If-Range: "qwe"' --range 0-3 http://localhost:12349/robots.txt 100s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 100s * Host localhost:12349 was resolved. 100s * IPv6: ::1 100s * IPv4: 127.0.0.1 100s * Trying [::1]:12349... 100s * Connected to localhost (::1) port 12349 100s * using HTTP/1.x 100s > GET /robots.txt HTTP/1.1 100s > Host: localhost:12349 100s > Range: bytes=0-3 100s > User-Agent: curl/8.12.1-DEV 100s > Accept: */* 100s > If-Range: "qwe" 100s > 100s < HTTP/1.1 200 OK 100s < Server: weborf/1.4 (GNU/Linux) 100s < ETag: "1718774685" 100s < Content-Length: 26 100s < 100s { [26 bytes data] 100s * Connection #0 to host localhost left intact 100s + CACHED='User-agent: * 100s Disallow: /' 100s ++ printf User-agent: cachedir cert cgi etag functions.sh index_file ip_listener range site1 site1http site1https site1mimetype site2 version_and_help vhost Disallow: / 100s ++ wc -c 100s + [[ 11 != 4 ]] 100s + cleanup 100s + [[ -n 3574 ]] 100s + kill -9 3574 100s autopkgtest [23:19:27]: test command6: -----------------------] 101s command6 PASS 101s autopkgtest [23:19:28]: test command6: - - - - - - - - - - results - - - - - - - - - - 101s autopkgtest [23:19:28]: test command7: preparing testbed 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 102s Starting pkgProblemResolver with broken count: 0 102s Starting 2 pkgProblemResolver with broken count: 0 102s Done 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [23:19:30]: test command7: testsuite/index_file 103s autopkgtest [23:19:30]: test command7: [----------------------- 103s +++ dirname testsuite/index_file 103s ++ cd testsuite 103s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 103s ++ BINNAME=weborf 103s ++ trap cleanup EXIT 103s + run_weborf -b site1 -p 12351 --index index.txt,index.dat 103s + weborf -b site1 -p 12351 --index index.txt,index.dat 103s ++ jobs -p 103s + WEBORF_PID=3751 103s + sleep 0.2 103s ++ ls /proc/3751/fd/ 103s ++ wc -l 103s + [[ 5 -lt 4 ]] 103s ++ curl -Lvs http://localhost:12351/sub1/ 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Host localhost:12351 was resolved. 103s * IPv6: ::1 103s * IPv4: 127.0.0.1 103s * Trying [::1]:12351... 103s * Connected to localhost (::1) port 12351 103s * using HTTP/1.x 103s > GET /sub1/ HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s * Request completely sent off 103s < HTTP/1.1 303 Found 103s < Server: weborf/1.4 (GNU/Linux) 103s < Content-Length: 0 103s < Location: /sub1/index.txt 103s * Ignoring the response-body 103s * setting size while ignoring 103s < 103s * Connection #0 to host localhost left intact 103s * Issue another request to this URL: 'http://localhost:12351/sub1/index.txt' 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Re-using existing connection with host localhost 103s > GET /sub1/index.txt HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s < HTTP/1.1 200 OK 103s < Server: weborf/1.4 (GNU/Linux) 103s < ETag: "1718774685" 103s < Content-Length: 11 103s < 103s * Request completely sent off 103s { [11 bytes data] 103s * Connection #0 to host localhost left intact 103s ++ cat site1/sub1/index.txt 103s + [[ lollellero = lollellero ]] 103s ++ curl -Lvs http://localhost:12351/sub2/ 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Host localhost:12351 was resolved. 103s * IPv6: ::1 103s * IPv4: 127.0.0.1 103s * Trying [::1]:12351... 103s * Connected to localhost (::1) port 12351 103s * using HTTP/1.x 103s > GET /sub2/ HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s * Request completely sent off 103s < HTTP/1.1 303 Found 103s < Server: weborf/1.4 (GNU/Linux) 103s < Content-Length: 0 103s < Location: /sub2/index.dat 103s * Ignoring the response-body 103s * setting size while ignoring 103s < 103s * Connection #0 to host localhost left intact 103s * Issue another request to this URL: 'http://localhost:12351/sub2/index.dat' 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Re-using existing connection with host localhost 103s > GET /sub2/index.dat HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s * Request completely sent off 103s < HTTP/1.1 200 OK 103s < Server: weborf/1.4 (GNU/Linux) 103s < ETag: "1718774685" 103s < Content-Length: 7 103s < 103s { [7 bytes data] 103s * Connection #0 to host localhost left intact 103s ++ cat site1/sub2/index.dat 103s + [[ qbetto = qbetto ]] 103s ++ curl -Lvs http://localhost:12351/sub1 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Host localhost:12351 was resolved. 103s * IPv6: ::1 103s * IPv4: 127.0.0.1 103s * Trying [::1]:12351... 103s * Connected to localhost (::1) port 12351 103s * using HTTP/1.x 103s > GET /sub1 HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s * Request completely sent off 103s < HTTP/1.1 301 Found 103s < Server: weborf/1.4 (GNU/Linux) 103s < Content-Length: 0 103s < Location: /sub1/ 103s * Ignoring the response-body 103s * setting size while ignoring 103s < 103s * Connection #0 to host localhost left intact 103s * Issue another request to this URL: 'http://localhost:12351/sub1/' 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Re-using existing connection with host localhost 103s > GET /sub1/ HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s < HTTP/1.1 303 Found 103s < Server: weborf/1.4 (GNU/Linux) 103s < Content-Length: 0 103s < Location: /sub1/index.txt 103s * Ignoring the response-body 103s * setting size while ignoring 103s < 103s * Connection #0 to host localhost left intact 103s * Issue another request to this URL: 'http://localhost:12351/sub1/index.txt' 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Re-using existing connection with host localhost 103s > GET /sub1/index.txt HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s < HTTP/1.1 200 OK 103s < Server: weborf/1.4 (GNU/Linux) 103s < ETag: "1718774685" 103s < Content-Length: 11 103s < 103s * Request completely sent off 103s { [11 bytes data] 103s * Connection #0 to host localhost left intact 103s ++ cat site1/sub1/index.txt 103s + [[ lollellero = lollellero ]] 103s ++ curl -Lvs http://localhost:12351/sub2 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Host localhost:12351 was resolved. 103s * IPv6: ::1 103s * IPv4: 127.0.0.1 103s * Trying [::1]:12351... 103s * Connected to localhost (::1) port 12351 103s * using HTTP/1.x 103s > GET /sub2 HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s * Request completely sent off 103s < HTTP/1.1 301 Found 103s < Server: weborf/1.4 (GNU/Linux) 103s < Content-Length: 0 103s < Location: /sub2/ 103s * Ignoring the response-body 103s * setting size while ignoring 103s < 103s * Connection #0 to host localhost left intact 103s * Issue another request to this URL: 'http://localhost:12351/sub2/' 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Re-using existing connection with host localhost 103s > GET /sub2/ HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s < HTTP/1.1 303 Found 103s < Server: weborf/1.4 (GNU/Linux) 103s < Content-Length: 0 103s < Location: /sub2/index.dat 103s * Ignoring the response-body 103s * setting size while ignoring 103s < 103s * Connection #0 to host localhost left intact 103s * Issue another request to this URL: 'http://localhost:12351/sub2/index.dat' 103s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 103s * Re-using existing connection with host localhost 103s > GET /sub2/index.dat HTTP/1.1 103s > Host: localhost:12351 103s > User-Agent: curl/8.12.1-DEV 103s > Accept: */* 103s > 103s < HTTP/1.1 200 OK 103s < Server: weborf/1.4 (GNU/Linux) 103s < ETag: "1718774685" 103s < Content-Length: 7 103s < 103s * Request completely sent off 103s { [7 bytes data] 103s * Connection #0 to host localhost left intact 103s ++ cat site1/sub2/index.dat 103s + [[ qbetto = qbetto ]] 103s + cleanup 103s + [[ -n 3751 ]] 103s + kill -9 3751 104s autopkgtest [23:19:31]: test command7: -----------------------] 104s autopkgtest [23:19:31]: test command7: - - - - - - - - - - results - - - - - - - - - - 104s command7 PASS 105s autopkgtest [23:19:32]: test command8: preparing testbed 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s autopkgtest [23:19:33]: test command8: testsuite/range 106s autopkgtest [23:19:33]: test command8: [----------------------- 106s +++ dirname testsuite/range 106s ++ cd testsuite 106s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 106s ++ BINNAME=weborf 106s ++ trap cleanup EXIT 106s + run_weborf -b site1 -p 12348 106s + weborf -b site1 -p 12348 106s ++ jobs -p 106s + WEBORF_PID=3915 106s + sleep 0.2 107s ++ ls /proc/3915/fd/ 107s ++ wc -l 107s + [[ 5 -lt 4 ]] 107s + grep Content-Length 107s + curl -sv http://127.0.0.1:12348/robots.txt 107s < Content-Length: 26 107s ++ curl -sv http://127.0.0.1:12348/robots.txt 107s ++ grep Content-Length 107s ++ cut '-d ' -f3 107s ++ tr -d '\r' 107s + CONTENT_LENGTH=26 107s ++ curl -s -r0-5 http://127.0.0.1:12348/robots.txt 107s ++ curl -s -r6-10 http://127.0.0.1:12348/robots.txt 107s ++ curl -s -r11- http://127.0.0.1:12348/robots.txt 107s + ROBOTS='User-agent: * 107s Disallow: /' 107s + curl -s -r0-25 http://127.0.0.1:12348/robots.txt 107s + curl -s --fail -r0-26 http://127.0.0.1:12348/robots.txt 107s User-agent: * 107s Disallow: / 107s ++ curl -s -r0-0 http://127.0.0.1:12348/robots.txt 107s ++ wc -c 107s + [[ 1 = 1 ]] 107s ++ cat site1/robots.txt 107s + [[ User-agent: * 107s Disallow: / = User-agent: * 107s Disallow: / ]] 107s + cleanup 107s + [[ -n 3915 ]] 107s + kill -9 3915 107s autopkgtest [23:19:34]: test command8: -----------------------] 108s autopkgtest [23:19:35]: test command8: - - - - - - - - - - results - - - - - - - - - - 108s command8 PASS 108s autopkgtest [23:19:35]: test command9: preparing testbed 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s Starting pkgProblemResolver with broken count: 0 109s Starting 2 pkgProblemResolver with broken count: 0 109s Done 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s autopkgtest [23:19:37]: test command9: testsuite/cgi 110s autopkgtest [23:19:37]: test command9: [----------------------- 110s +++ dirname testsuite/cgi 110s ++ cd testsuite 110s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 110s ++ BINNAME=weborf 110s ++ trap cleanup EXIT 110s + run_weborf -b site1 -p 12350 --yesexec --cgi .py,/usr/bin/python3 110s + weborf -b site1 -p 12350 --yesexec --cgi .py,/usr/bin/python3 110s ++ jobs -p 110s + WEBORF_PID=4087 110s + sleep 0.2 110s ++ ls /proc/4087/fd/ 110s ++ wc -l 110s + [[ 5 -lt 4 ]] 110s + curl -vs http://localhost:12350/cgi.py 110s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 110s * Host localhost:12350 was resolved. 110s * IPv6: ::1 110s * IPv4: 127.0.0.1 110s * Trying [::1]:12350... 110s * Connected to localhost (::1) port 12350 110s * using HTTP/1.x 110s > GET /cgi.py HTTP/1.1 110s > Host: localhost:12350 110s > User-Agent: curl/8.12.1-DEV 110s > Accept: */* 110s > 110s * Request completely sent off 110s SERVER_PROTOCOL HTTP/1.1 110s HTTP_HOST localhost:12350 110s HTTP_USER_AGENT curl/8.12.1-DEV 110s HTTP_ACCEPT */* 110s SERVER_ADDR ::1 110s SERVER_PORT 12350 110s SERVER_SIGNATURE weborf/1.4 (GNU/Linux) 110s SERVER_SOFTWARE weborf/1.4 (GNU/Linux) 110s GATEWAY_INTERFACE CGI/1.1 110s REQUEST_METHOD GET 110s REDIRECT_STATUS Ciao 110s SCRIPT_FILENAME site1/cgi.py 110s DOCUMENT_ROOT site1 110s REMOTE_ADDR ::1 110s SCRIPT_NAME /cgi.py 110s SERVER_NAME localhost:12350 110s REQUEST_URI /cgi.py 110s QUERY_STRING 110s LC_CTYPE C.UTF-8 110s < HTTP/1.1 200 OK 110s < Server: weborf/1.4 (GNU/Linux) 110s < Connection: close 110s < X-Extra: Ciao 110s < Content-Type: text/plain 110s < 110s { [442 bytes data] 110s * shutting down connection #0 110s + grep 1545650587 110s + curl -vs -H 'If-None-Match: "1545650587"' http://localhost:12350/cgi.py 110s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 110s * Host localhost:12350 was resolved. 110s * IPv6: ::1 110s * IPv4: 127.0.0.1 110s * Trying [::1]:12350... 110s * Connected to localhost (::1) port 12350 110s * using HTTP/1.x 110s > GET /cgi.py HTTP/1.1 110s > Host: localhost:12350 110s > User-Agent: curl/8.12.1-DEV 110s > Accept: */* 110s > If-None-Match: "1545650587" 110s > 110s * Request completely sent off 110s < HTTP/1.1 200 OK 110s < Server: weborf/1.4 (GNU/Linux) 110s < Connection: close 110s < X-Extra: Ciao 110s < Content-Type: text/plain 110s < 110s { [474 bytes data] 110s * shutting down connection #0 110s HTTP_IF_NONE_MATCH "1545650587" 110s QUERY_STRING ciccio 110s REQUEST_URI /cgi.py?ciccio 110s + grep ciccio 110s + curl -vs 'http://localhost:12350/cgi.py?ciccio' 110s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 110s * Host localhost:12350 was resolved. 110s * IPv6: ::1 110s * IPv4: 127.0.0.1 110s * Trying [::1]:12350... 110s * Connected to localhost (::1) port 12350 110s * using HTTP/1.x 110s > GET /cgi.py?ciccio HTTP/1.1 110s > Host: localhost:12350 110s > User-Agent: curl/8.12.1-DEV 110s > Accept: */* 110s > 110s * Request completely sent off 110s < HTTP/1.1 200 OK 110s < Server: weborf/1.4 (GNU/Linux) 110s < Connection: close 110s < X-Extra: Ciao 110s < Content-Type: text/plain 110s < 110s { [455 bytes data] 110s * shutting down connection #0 110s + grep lallallero 110s + curl -vs --data lallallero http://localhost:12350/cgi.py 110s * Uses proxy env variable no_proxy == '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com' 110s * Host localhost:12350 was resolved. 110s * IPv6: ::1 110s * IPv4: 127.0.0.1 110s * Trying [::1]:12350... 110s * Connected to localhost (::1) port 12350 110s * using HTTP/1.x 110s > POST /cgi.py HTTP/1.1 110s > Host: localhost:12350 110s > User-Agent: curl/8.12.1-DEV 110s > Accept: */* 110s > Content-Length: 10 110s > Content-Type: application/x-www-form-urlencoded 110s > 110s } [10 bytes data] 110s * upload completely sent off: 10 bytes 110s < HTTP/1.1 200 OK 110s < Server: weborf/1.4 (GNU/Linux) 110s < Connection: close 110s < X-Extra: Ciao 110s < Content-Type: text/plain 110s < 110s { [616 bytes data] 110s * shutting down connection #0 110s b'lallallero' 110s + cleanup 110s + [[ -n 4087 ]] 110s + kill -9 4087 110s autopkgtest [23:19:37]: test command9: -----------------------] 111s autopkgtest [23:19:38]: test command9: - - - - - - - - - - results - - - - - - - - - - 111s command9 PASS 111s autopkgtest [23:19:38]: test command10: preparing testbed 111s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Starting pkgProblemResolver with broken count: 0 112s Starting 2 pkgProblemResolver with broken count: 0 112s Done 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [23:19:40]: test command10: testsuite/cachedir 113s autopkgtest [23:19:40]: test command10: [----------------------- 113s +++ dirname testsuite/cachedir 113s ++ cd testsuite 113s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 113s ++ BINNAME=weborf 113s ++ trap cleanup EXIT 113s + weborf -db site1 -p 12352 --cache /tmp/fakecachedir --index nonexisting 113s Unable to stat cache directory 113s ++ mktemp -d 113s + CACHE_DIR=/tmp/tmp.PuTGCUqtEk 113s + weborf -b site1 -p 12352 --cache /tmp/tmp.PuTGCUqtEk --index nonexisting 113s ++ jobs -p 113s + WEBORF_PID=4266 113s + trap cleanup EXIT 113s + curl -s http://localhost:12352/ 113s 113s weborf

weborf

113s 113s 113s 113s 113s
NameSizeLast Modified
fcgi.py328 BWed, 19 Jun 2024 05:24:45
fempty0 BWed, 19 Jun 2024 05:24:45
frobots.txt26 BWed, 19 Jun 2024 05:24:45
dsub1/-Wed, 19 Jun 2024 05:24:45
dsub2/-Wed, 19 Jun 2024 05:24:45
weborf/1.4 (GNU/Linux)
++ ls /tmp/tmp.PuTGCUqtEk 113s ++ wc -l 113s + [[ 1 = 1 ]] 113s + diff - /tmp/tmp.PuTGCUqtEk/0-255368-64769-1718774685 113s + curl -s http://localhost:12352/ 113s + touch site1/cachedir.test 113s + sleep 1.1 114s + grep cachedir.test 114s + curl -s http://localhost:12352/ 114s weborf

weborf

114s + rm site1/cachedir.test 114s + sleep 1.1 116s + grep cachedir.test 116s + curl -s http://localhost:12352/ 116s ++ ls /tmp/tmp.PuTGCUqtEk 116s ++ wc -l 116s + [[ 3 = 3 ]] 116s + cleanup 116s + kill -9 4266 116s + ls /tmp/tmp.PuTGCUqtEk 116s testsuite/cachedir: line 13: 4266 Killed "$BINNAME" -b site1 -p 12352 --cache $CACHE_DIR --index nonexisting 116s + rm -rf /tmp/tmp.PuTGCUqtEk 116s 0-255368-64769-1718774685 116s 0-255368-64769-1739661580 116s 0-255368-64769-1739661581 116s + rm -f site1/cachedir.test 116s autopkgtest [23:19:43]: test command10: -----------------------] 116s command10 PASS 116s autopkgtest [23:19:43]: test command10: - - - - - - - - - - results - - - - - - - - - - 117s autopkgtest [23:19:44]: test command11: preparing testbed 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Starting pkgProblemResolver with broken count: 0 117s Starting 2 pkgProblemResolver with broken count: 0 117s Done 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [23:19:46]: test command11: testsuite/site1mimetype 119s autopkgtest [23:19:46]: test command11: [----------------------- 119s +++ dirname testsuite/site1mimetype 119s ++ cd testsuite 119s ++ '[' -n /tmp/autopkgtest.D00DLH/autopkgtest_tmp ']' 119s ++ BINNAME=weborf 119s ++ trap cleanup EXIT 119s + run_weborf -b site1 -p 12347 --mime 119s + weborf -b site1 -p 12347 --mime 119s ++ jobs -p 119s + WEBORF_PID=4439 119s + sleep 0.2 119s ++ ls /proc/4439/fd/ 119s ++ wc -l 119s + [[ 5 -lt 4 ]] 119s + trap cleanup EXIT 119s + grep Content-Type 119s + grep text/ 119s + curl -v http://127.0.0.1:12347/robots.txt 119s < Content-Type: text/plain 119s + cleanup 119s + kill -9 4439 119s autopkgtest [23:19:46]: test command11: -----------------------] 120s autopkgtest [23:19:47]: test command11: - - - - - - - - - - results - - - - - - - - - - 120s command11 PASS 120s autopkgtest [23:19:47]: @@@@@@@@@@@@@@@@@@@@ summary 120s command1 PASS (superficial) 120s command2 PASS 120s command3 PASS 120s command4 PASS 120s command5 PASS 120s command6 PASS 120s command7 PASS 120s command8 PASS 120s command9 PASS 120s command10 PASS 120s command11 PASS 140s nova [W] Skipping flock for amd64 140s Creating nova instance adt-plucky-amd64-weborf-20250215-231747-juju-7f2275-prod-proposed-migration-environment-2-58e8642d-dda6-4871-bcb0-47b448404a4c from image adt/ubuntu-plucky-amd64-server-20250215.img (UUID d1f7bb98-7df8-4026-816e-9f6798166d8b)... 140s nova [W] Timed out waiting for ea8cf441-36ac-41e0-b6e8-82af3694f6e8 to get deleted.
NameSizeLast Modified
fcachedir.test0 BSat, 15 Feb 2025 23:19:40