0s autopkgtest [18:20:15]: starting date and time: 2025-03-15 18:20:15+0000 0s autopkgtest [18:20:15]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [18:20:15]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.7qg6jl4s/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --apt-pocket=proposed=src:glibc --apt-upgrade weborf --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- lxd -r lxd-armhf-10.145.243.115 lxd-armhf-10.145.243.115:autopkgtest/ubuntu/plucky/armhf 21s autopkgtest [18:20:36]: testbed dpkg architecture: armhf 23s autopkgtest [18:20:38]: testbed apt version: 2.9.33 27s autopkgtest [18:20:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 29s autopkgtest [18:20:44]: testbed release detected to be: None 37s autopkgtest [18:20:52]: updating testbed package index (apt update) 40s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 40s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [257 kB] 40s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [126 kB] 41s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [126 kB] 41s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.7 kB] 41s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [379 kB] 41s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.8 kB] 41s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [114 kB] 41s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf c-n-f Metadata [1832 B] 41s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf c-n-f Metadata [116 B] 41s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [312 kB] 41s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf c-n-f Metadata [11.1 kB] 41s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [3472 B] 41s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf c-n-f Metadata [240 B] 41s Get:15 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 54s Get:16 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB] 54s Get:17 http://ftpmaster.internal/ubuntu plucky/main Sources [1394 kB] 55s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1378 kB] 56s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf c-n-f Metadata [29.4 kB] 56s Get:20 http://ftpmaster.internal/ubuntu plucky/restricted armhf c-n-f Metadata [108 B] 56s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 64s Get:22 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [172 kB] 66s Fetched 41.0 MB in 26s (1569 kB/s) 67s Reading package lists... 73s autopkgtest [18:21:28]: upgrading testbed (apt dist-upgrade and autopurge) 75s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 77s Starting 2 pkgProblemResolver with broken count: 0 77s Done 78s Entering ResolveByKeep 79s 80s Calculating upgrade... 81s The following packages will be upgraded: 81s libc-bin libc6 locales pinentry-curses python3-jinja2 sos strace 81s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s Need to get 8683 kB of archives. 81s After this operation, 23.6 kB of additional disk space will be used. 81s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc6 armhf 2.41-1ubuntu2 [2932 kB] 83s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc-bin armhf 2.41-1ubuntu2 [545 kB] 83s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf locales all 2.41-1ubuntu2 [4246 kB] 86s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf strace armhf 6.13+ds-1ubuntu1 [445 kB] 86s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu3 [40.6 kB] 86s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 86s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf sos all 4.9.0-5 [365 kB] 87s Preconfiguring packages ... 87s Fetched 8683 kB in 5s (1609 kB/s) 87s (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 ... 64655 files and directories currently installed.) 87s Preparing to unpack .../libc6_2.41-1ubuntu2_armhf.deb ... 87s Unpacking libc6:armhf (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 88s Setting up libc6:armhf (2.41-1ubuntu2) ... 88s (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 ... 64655 files and directories currently installed.) 88s Preparing to unpack .../libc-bin_2.41-1ubuntu2_armhf.deb ... 88s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 88s Setting up libc-bin (2.41-1ubuntu2) ... 89s (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 ... 64655 files and directories currently installed.) 89s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 89s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 89s Preparing to unpack .../strace_6.13+ds-1ubuntu1_armhf.deb ... 89s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 89s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_armhf.deb ... 89s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 89s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ... 89s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 89s Preparing to unpack .../archives/sos_4.9.0-5_all.deb ... 90s Unpacking sos (4.9.0-5) over (4.9.0-4) ... 90s Setting up sos (4.9.0-5) ... 90s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 90s Setting up locales (2.41-1ubuntu2) ... 92s Generating locales (this might take a while)... 93s en_US.UTF-8... done 93s Generation complete. 94s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 94s Setting up strace (6.13+ds-1ubuntu1) ... 94s Processing triggers for man-db (2.13.0-1) ... 95s Processing triggers for systemd (257.3-1ubuntu3) ... 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Starting pkgProblemResolver with broken count: 0 99s Starting 2 pkgProblemResolver with broken count: 0 99s Done 99s Solving dependencies... 100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s autopkgtest [18:21:57]: rebooting testbed after setup commands that affected boot 146s autopkgtest [18:22:41]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 171s autopkgtest [18:23:06]: @@@@@@@@@@@@@@@@@@@@ apt-source weborf 190s Get:1 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.5-1 (dsc) [2293 B] 190s Get:2 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.5-1 (tar) [248 kB] 190s Get:3 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.5-1 (asc) [833 B] 190s Get:4 http://ftpmaster.internal/ubuntu plucky/universe weborf 1.5-1 (diff) [15.9 kB] 190s gpgv: Signature made Tue Feb 18 21:51:37 2025 UTC 190s gpgv: using RSA key 42748B9E76D899799E1FBE14B3A7CF0C801886CF 190s gpgv: Can't check signature: No public key 190s dpkg-source: warning: cannot verify inline signature for ./weborf_1.5-1.dsc: no acceptable signature found 191s autopkgtest [18:23:26]: testing package weborf version 1.5-1 193s autopkgtest [18:23:28]: build not needed 196s autopkgtest [18:23:31]: test command1: preparing testbed 199s Reading package lists... 199s Building dependency tree... 199s Reading state information... 199s Starting pkgProblemResolver with broken count: 0 199s Starting 2 pkgProblemResolver with broken count: 0 199s Done 200s The following NEW packages will be installed: 200s weborf 200s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 200s Need to get 30.9 kB of archives. 200s After this operation, 106 kB of additional disk space will be used. 200s Get:1 http://ftpmaster.internal/ubuntu plucky/universe armhf weborf armhf 1.5-1 [30.9 kB] 201s Fetched 30.9 kB in 0s (129 kB/s) 201s Selecting previously unselected package weborf. 201s (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 ... 64655 files and directories currently installed.) 201s Preparing to unpack .../weborf_1.5-1_armhf.deb ... 201s Unpacking weborf (1.5-1) ... 201s Setting up weborf (1.5-1) ... 201s Processing triggers for man-db (2.13.0-1) ... 210s autopkgtest [18:23:45]: test command1: testsuite/version_and_help 210s autopkgtest [18:23:45]: test command1: [----------------------- 212s +++ dirname testsuite/version_and_help 212s ++ cd testsuite 212s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 212s ++ BINNAME=weborf 212s ++ trap cleanup EXIT 212s + weborf --help 212s Usage: weborf [OPTIONS] 212s Start the weborf webserver 212s 212s Compiled for IPv6 212s Has webdav support 212s Has MIME support 212s Default port is 8080 212s Default base directory /srv/www 212s Signature used weborf/1.5 (GNU/Linux) 212s 212s -a, --auth followed by absolute path of the program to handle authentication 212s -b, --basedir followed by absolute path of basedir 212s -C, --cache sets the directory to use for cache files 212s -c, --cgi list of cgi files and binary to execute them comma-separated 212s -d run as a daemon 212s -h, --help display this help and exit 212s -I, --index list of index files, comma-separated 212s -i, --ip followed by IP address to listen (dotted format) 212s -k, --caps lists the capabilities of the binary 212s -m, --mime sends content type header to clients 212s -p, --port followed by port number to listen 212s -T --inetd must be specified when using weborf with inetd or xinetd 212s -t --tar will send the directories as .tar.gz files 212s -u --uid followed by a valid uid 212s If started by root weborf will use this user to read files and execute scripts 212s -g --gid followed by a valid gid 212s -V, --virtual list of virtualhosts in the form host=basedir, comma-separated 212s -v, --version print program version 212s -S, --cert the certificate to use 212s -K, --key the private key to use with the certificate 212s -Y, --yesexec enables CGI 212s 212s Report bugs here https://bugs.launchpad.net/weborf 212s or to tiposchi@tiscali.it 212s + weborf --version 212s + weborf -k 212s Weborf 1.5 212s Copyright (C) 2007-2020 Salvo 'LtWorf' Tomaselli. 212s This is free software. You may redistribute copies of it under the terms of 212s the GNU General Public License . 212s There is NO WARRANTY, to the extent permitted by law. 212s 212s Written by Salvo 'LtWorf' Tomaselli and Salvo Rinaldi. 212s Synchronized queue by Prof. Giuseppe Pappalardo. 212s 212s https://ltworf.codeberg.page/weborf/ 212s version:1.5 212s ipv:6 212s webdav:yes 212s mime:yes 212s embedded_auth:no 212s https:yes 212s + cleanup 212s + [[ -n '' ]] 212s autopkgtest [18:23:47]: test command1: -----------------------] 216s command1 PASS (superficial) 216s autopkgtest [18:23:51]: test command1: - - - - - - - - - - results - - - - - - - - - - 222s autopkgtest [18:23:57]: test command2: preparing testbed 224s Reading package lists... 224s Building dependency tree... 224s Reading state information... 224s Starting pkgProblemResolver with broken count: 0 224s Starting 2 pkgProblemResolver with broken count: 0 224s Done 225s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 234s autopkgtest [18:24:09]: test command2: testsuite/site1http 234s autopkgtest [18:24:09]: test command2: [----------------------- 236s +++ dirname testsuite/site1http 236s ++ cd testsuite 236s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 236s ++ BINNAME=weborf 236s ++ trap cleanup EXIT 236s + run_weborf -b site1 -p 12345 236s + weborf -b site1 -p 12345 236s ++ jobs -p 236s + WEBORF_PID=1073 236s + sleep 0.2 236s ++ ls /proc/1073/fd/ 236s ++ wc -l 236s + [[ 5 -lt 4 ]] 236s ++ curl -s http://127.0.0.1:12345/robots.txt 236s + ROBOTS='User-agent: * 236s Disallow: /' 236s ++ cat site1/robots.txt 236s + [[ User-agent: * 236s Disallow: / = User-agent: * 236s Disallow: / ]] 236s ++ curl -s http://127.0.0.1:12345/empty 236s + ROBOTS= 236s + [[ '' = '' ]] 236s + grep 'import os' 236s + curl -s http://127.0.0.1:12345/cgi.py 236s + cleanup 236s + [[ -n 1073 ]] 236s + kill -9 1073 236s import os 237s autopkgtest [18:24:12]: test command2: -----------------------] 241s autopkgtest [18:24:16]: test command2: - - - - - - - - - - results - - - - - - - - - - 241s command2 PASS 245s autopkgtest [18:24:20]: test command3: preparing testbed 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 248s Starting pkgProblemResolver with broken count: 0 248s Starting 2 pkgProblemResolver with broken count: 0 248s Done 248s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 257s autopkgtest [18:24:32]: test command3: testsuite/site1https 257s autopkgtest [18:24:32]: test command3: [----------------------- 259s +++ dirname testsuite/site1https 259s ++ cd testsuite 259s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 259s ++ BINNAME=weborf 259s ++ trap cleanup EXIT 259s + run_weborf -b site1 -p 12346 --cert cert/certificate.pem --key cert/key.pem 259s + weborf -b site1 -p 12346 --cert cert/certificate.pem --key cert/key.pem 259s ++ jobs -p 259s + WEBORF_PID=1277 259s + sleep 0.2 260s ++ ls /proc/1277/fd/ 260s ++ wc -l 260s + [[ 5 -lt 4 ]] 260s ++ curl -s -k https://127.0.0.1:12346/robots.txt 260s + ROBOTS='User-agent: * 260s Disallow: /' 260s ++ cat site1/robots.txt 260s + [[ User-agent: * 260s Disallow: / = User-agent: * 260s Disallow: / ]] 260s + cleanup 260s + [[ -n 1277 ]] 260s + kill -9 1277 260s autopkgtest [18:24:35]: test command3: -----------------------] 264s autopkgtest [18:24:39]: test command3: - - - - - - - - - - results - - - - - - - - - - 264s command3 PASS 268s autopkgtest [18:24:43]: test command4: preparing testbed 270s Reading package lists... 271s Building dependency tree... 271s Reading state information... 271s Starting pkgProblemResolver with broken count: 0 271s Starting 2 pkgProblemResolver with broken count: 0 271s Done 272s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 286s autopkgtest [18:25:01]: test command4: testsuite/ip_listener 286s autopkgtest [18:25:01]: test command4: [----------------------- 291s +++ dirname testsuite/ip_listener 291s ++ cd testsuite 291s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 291s ++ BINNAME=weborf 291s ++ trap cleanup EXIT 291s + run_weborf -b site1 -p 12340 --ip 127.0.0.2 291s + weborf -b site1 -p 12340 --ip 127.0.0.2 291s ++ jobs -p 291s + WEBORF_PID=1481 291s + sleep 0.2 291s ++ ls /proc/1481/fd/ 291s ++ wc -l 291s + [[ 5 -lt 4 ]] 291s + curl -s http://127.0.0.1:12340/robots.txt 291s + curl -s http://127.0.0.2:12340/robots.txt 291s + cleanup 291s + [[ -n 1481 ]] 291s + kill -9 1481 291s 291s 291s 291s 291s ERROR: The requested URL could not be retrieved 291s 291s 291s
291s

ERROR

291s

The requested URL could not be retrieved

291s
291s
291s 291s
291s

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

291s 291s
291s

Connection to 127.0.0.2 failed.

291s
291s 291s

The system returned: (111) Connection refused

291s 291s

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

291s 291s

Your cache administrator is webmaster.

291s 291s
291s
291s 291s
291s 291s 291s autopkgtest [18:25:06]: test command4: -----------------------] 296s command4 PASS 296s autopkgtest [18:25:11]: test command4: - - - - - - - - - - results - - - - - - - - - - 301s autopkgtest [18:25:16]: test command5: preparing testbed 302s Reading package lists... 303s Building dependency tree... 303s Reading state information... 303s Starting pkgProblemResolver with broken count: 0 303s Starting 2 pkgProblemResolver with broken count: 0 303s Done 304s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 313s autopkgtest [18:25:28]: test command5: testsuite/vhost 313s autopkgtest [18:25:28]: test command5: [----------------------- 315s +++ dirname testsuite/vhost 315s ++ cd testsuite 315s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 315s ++ BINNAME=weborf 315s ++ trap cleanup EXIT 315s + run_weborf -p 12342 --virtual localhost:12342=site1,127.0.0.1:12342=site2 -b site1 315s ++ jobs -p 315s + WEBORF_PID=1683 315s + sleep 0.2 315s + weborf -p 12342 --virtual localhost:12342=site1,127.0.0.1:12342=site2 -b site1 315s ++ ls /proc/1683/fd/ 315s ++ wc -l 315s + [[ 5 -lt 4 ]] 315s + grep User-agent 315s + curl -vs http://localhost:12342/robots.txt 315s * 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' 315s * Host localhost:12342 was resolved. 315s * IPv6: ::1 315s * IPv4: 127.0.0.1 315s * Trying [::1]:12342... 315s * Connected to localhost (::1) port 12342 315s * using HTTP/1.x 315s > GET /robots.txt HTTP/1.1 315s > Host: localhost:12342 315s > User-Agent: curl/8.12.1 315s > Accept: */* 315s > 315s * Request completely sent off 315s < HTTP/1.1 200 OK 315s < Server: weborf/1.5 (GNU/Linux) 315s < ETag: "1727734275" 315s < Content-Length: 26 315s < 315s { [26 bytes data] 315s * Connection #0 to host localhost left intact 315s User-agent: * 315s + grep site2 315s + curl -vs http://127.0.0.1:12342/site2.txt 315s * 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' 315s * Trying 127.0.0.1:12342... 315s * Connected to 127.0.0.1 (127.0.0.1) port 12342 315s * using HTTP/1.x 315s > GET /site2.txt HTTP/1.1 315s > Host: 127.0.0.1:12342 315s > User-Agent: curl/8.12.1 315s > Accept: */* 315s > 315s site2 315s * Request completely sent off 315s < HTTP/1.1 200 OK 315s < Server: weborf/1.5 (GNU/Linux) 315s < ETag: "1727734275" 315s < Content-Length: 6 315s < 315s { [6 bytes data] 315s * Connection #0 to host 127.0.0.1 left intact 315s + cleanup 315s + [[ -n 1683 ]] 315s + kill -9 1683 315s autopkgtest [18:25:30]: test command5: -----------------------] 320s autopkgtest [18:25:35]: test command5: - - - - - - - - - - results - - - - - - - - - - 320s command5 PASS 324s autopkgtest [18:25:39]: test command6: preparing testbed 326s Reading package lists... 326s Building dependency tree... 326s Reading state information... 326s Starting pkgProblemResolver with broken count: 0 326s Starting 2 pkgProblemResolver with broken count: 0 326s Done 327s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 335s autopkgtest [18:25:50]: test command6: testsuite/etag 335s autopkgtest [18:25:50]: test command6: [----------------------- 338s +++ dirname testsuite/etag 338s ++ cd testsuite 338s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 338s ++ BINNAME=weborf 338s ++ trap cleanup EXIT 338s + run_weborf -b site1 -p 12349 338s + weborf -b site1 -p 12349 338s ++ jobs -p 338s + WEBORF_PID=1886 338s + sleep 0.2 338s ++ ls /proc/1886/fd/ 338s ++ wc -l 338s + [[ 5 -lt 4 ]] 338s + grep ETag 338s + curl -sv http://127.0.0.1:12349/robots.txt 338s < ETag: "1727734275" 338s ++ curl -sv http://127.0.0.1:12349/robots.txt 338s ++ cut '-d ' -f3 338s ++ tr -d '\r' 338s ++ grep ETag 338s + ETAG='"1727734275"' 338s ++ curl -vs -H 'If-None-Match: "1727734275"' http://localhost:12349/robots.txt 338s * 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' 338s * Host localhost:12349 was resolved. 338s * IPv6: ::1 338s * IPv4: 127.0.0.1 338s * Trying [::1]:12349... 338s * Connected to localhost (::1) port 12349 338s * using HTTP/1.x 338s > GET /robots.txt HTTP/1.1 338s > Host: localhost:12349 338s > User-Agent: curl/8.12.1 338s > Accept: */* 338s > If-None-Match: "1727734275" 338s > 338s * Request completely sent off 338s < HTTP/1.1 304 Found 338s < Server: weborf/1.5 (GNU/Linux) 338s < ETag: "1727734275" 338s < 338s * Connection #0 to host localhost left intact 338s + CACHED= 338s ++ wc -c 338s ++ printf 338s printf: usage: printf [-v var] format [arguments] 338s + [[ 0 = 0 ]] 338s ++ curl -vs -H 'If-None-Match: "aaaa"' http://localhost:12349/robots.txt 338s * 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' 338s * Host localhost:12349 was resolved. 338s * IPv6: ::1 338s * IPv4: 127.0.0.1 338s * Trying [::1]:12349... 338s * Connected to localhost (::1) port 12349 338s * using HTTP/1.x 338s > GET /robots.txt HTTP/1.1 338s > Host: localhost:12349 338s > User-Agent: curl/8.12.1 338s > Accept: */* 338s > If-None-Match: "aaaa" 338s > 338s * Request completely sent off 338s < HTTP/1.1 200 OK 338s < Server: weborf/1.5 (GNU/Linux) 338s < ETag: "1727734275" 338s < Content-Length: 26 338s < 338s { [26 bytes data] 338s * Connection #0 to host localhost left intact 338s + NON_CACHED='User-agent: * 338s Disallow: /' 338s ++ cat site1/robots.txt 338s + [[ User-agent: * 338s Disallow: / = User-agent: * 338s Disallow: / ]] 338s ++ curl -vs -H 'If-Range: "1727734275"' --range 0-3 http://localhost:12349/robots.txt 338s * 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' 338s * Host localhost:12349 was resolved. 338s * IPv6: ::1 338s * IPv4: 127.0.0.1 338s * Trying [::1]:12349... 338s * Connected to localhost (::1) port 12349 338s * using HTTP/1.x 338s > GET /robots.txt HTTP/1.1 338s > Host: localhost:12349 338s > Range: bytes=0-3 338s > User-Agent: curl/8.12.1 338s > Accept: */* 338s > If-Range: "1727734275" 338s > 338s * Request completely sent off 338s < HTTP/1.1 206 OK 338s < Server: weborf/1.5 (GNU/Linux) 338s < ETag: "1727734275" 338s < Content-Length: 4 338s < Accept-Ranges: bytes 338s < Content-Range: bytes 0-3/26 338s < 338s { [4 bytes data] 338s * Connection #0 to host localhost left intact 338s + CACHED=User 338s ++ printf User 338s ++ wc -c 338s + [[ 4 = 4 ]] 338s ++ curl -vs -H 'If-Range: "qwe"' --range 0-3 http://localhost:12349/robots.txt 338s * 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' 338s * Host localhost:12349 was resolved. 338s * IPv6: ::1 338s * IPv4: 127.0.0.1 338s * Trying [::1]:12349... 338s * Connected to localhost (::1) port 12349 338s * using HTTP/1.x 338s > GET /robots.txt HTTP/1.1 338s > Host: localhost:12349 338s > Range: bytes=0-3 338s > User-Agent: curl/8.12.1 338s > Accept: */* 338s > If-Range: "qwe" 338s > 338s * Request completely sent off 338s < HTTP/1.1 200 OK 338s < Server: weborf/1.5 (GNU/Linux) 338s < ETag: "1727734275" 338s < Content-Length: 26 338s < 338s { [26 bytes data] 338s * Connection #0 to host localhost left intact 338s + CACHED='User-agent: * 338s Disallow: /' 338s ++ printf User-agent: cachedir cert cgi etag functions.sh index_file ip_listener range site1 site1http site1https site1mimetype site2 version_and_help vhost Disallow: / 338s ++ wc -c 338s + [[ 11 != 4 ]] 338s + cleanup 338s + [[ -n 1886 ]] 338s + kill -9 1886 338s autopkgtest [18:25:53]: test command6: -----------------------] 343s autopkgtest [18:25:58]: test command6: - - - - - - - - - - results - - - - - - - - - - 343s command6 PASS 347s autopkgtest [18:26:02]: test command7: preparing testbed 349s Reading package lists... 349s Building dependency tree... 349s Reading state information... 349s Starting pkgProblemResolver with broken count: 0 350s Starting 2 pkgProblemResolver with broken count: 0 350s Done 350s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 358s autopkgtest [18:26:13]: test command7: testsuite/index_file 358s autopkgtest [18:26:13]: test command7: [----------------------- 361s +++ dirname testsuite/index_file 361s ++ cd testsuite 361s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 361s ++ BINNAME=weborf 361s ++ trap cleanup EXIT 361s + run_weborf -b site1 -p 12351 --index index.txt,index.dat 361s + weborf -b site1 -p 12351 --index index.txt,index.dat 361s ++ jobs -p 361s + WEBORF_PID=2106 361s + sleep 0.2 361s ++ ls /proc/2106/fd/ 361s ++ wc -l 361s + [[ 5 -lt 4 ]] 361s ++ curl -Lvs http://localhost:12351/sub1/ 361s * 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' 361s * Host localhost:12351 was resolved. 361s * IPv6: ::1 361s * IPv4: 127.0.0.1 361s * Trying [::1]:12351... 361s * Connected to localhost (::1) port 12351 361s * using HTTP/1.x 361s > GET /sub1/ HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 303 Found 361s < Server: weborf/1.5 (GNU/Linux) 361s < Content-Length: 0 361s < Location: /sub1/index.txt 361s * Ignoring the response-body 361s * setting size while ignoring 361s < 361s * Connection #0 to host localhost left intact 361s * Issue another request to this URL: 'http://localhost:12351/sub1/index.txt' 361s * 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' 361s * Re-using existing connection with host localhost 361s > GET /sub1/index.txt HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 200 OK 361s < Server: weborf/1.5 (GNU/Linux) 361s < ETag: "1727734275" 361s < Content-Length: 11 361s < 361s { [11 bytes data] 361s * Connection #0 to host localhost left intact 361s ++ cat site1/sub1/index.txt 361s + [[ lollellero = lollellero ]] 361s ++ curl -Lvs http://localhost:12351/sub2/ 361s * 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' 361s * Host localhost:12351 was resolved. 361s * IPv6: ::1 361s * IPv4: 127.0.0.1 361s * Trying [::1]:12351... 361s * Connected to localhost (::1) port 12351 361s * using HTTP/1.x 361s > GET /sub2/ HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 303 Found 361s < Server: weborf/1.5 (GNU/Linux) 361s < Content-Length: 0 361s < Location: /sub2/index.dat 361s * Ignoring the response-body 361s * setting size while ignoring 361s < 361s * Connection #0 to host localhost left intact 361s * Issue another request to this URL: 'http://localhost:12351/sub2/index.dat' 361s * 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' 361s * Re-using existing connection with host localhost 361s > GET /sub2/index.dat HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 200 OK 361s < Server: weborf/1.5 (GNU/Linux) 361s < ETag: "1727734275" 361s < Content-Length: 7 361s < 361s { [7 bytes data] 361s * Connection #0 to host localhost left intact 361s ++ cat site1/sub2/index.dat 361s + [[ qbetto = qbetto ]] 361s ++ curl -Lvs http://localhost:12351/sub1 361s * 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' 361s * Host localhost:12351 was resolved. 361s * IPv6: ::1 361s * IPv4: 127.0.0.1 361s * Trying [::1]:12351... 361s * Connected to localhost (::1) port 12351 361s * using HTTP/1.x 361s > GET /sub1 HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 301 Found 361s < Server: weborf/1.5 (GNU/Linux) 361s < Content-Length: 0 361s < Location: /sub1/ 361s * Ignoring the response-body 361s * setting size while ignoring 361s < 361s * Connection #0 to host localhost left intact 361s * Issue another request to this URL: 'http://localhost:12351/sub1/' 361s * 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' 361s * Re-using existing connection with host localhost 361s > GET /sub1/ HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 303 Found 361s < Server: weborf/1.5 (GNU/Linux) 361s < Content-Length: 0 361s < Location: /sub1/index.txt 361s * Ignoring the response-body 361s * setting size while ignoring 361s < 361s * Connection #0 to host localhost left intact 361s * Issue another request to this URL: 'http://localhost:12351/sub1/index.txt' 361s * 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' 361s * Re-using existing connection with host localhost 361s > GET /sub1/index.txt HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 200 OK 361s < Server: weborf/1.5 (GNU/Linux) 361s < ETag: "1727734275" 361s < Content-Length: 11 361s < 361s { [11 bytes data] 361s * Connection #0 to host localhost left intact 361s ++ cat site1/sub1/index.txt 361s + [[ lollellero = lollellero ]] 361s ++ curl -Lvs http://localhost:12351/sub2 361s * 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' 361s * Host localhost:12351 was resolved. 361s * IPv6: ::1 361s * IPv4: 127.0.0.1 361s * Trying [::1]:12351... 361s * Connected to localhost (::1) port 12351 361s * using HTTP/1.x 361s > GET /sub2 HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 301 Found 361s < Server: weborf/1.5 (GNU/Linux) 361s < Content-Length: 0 361s < Location: /sub2/ 361s * Ignoring the response-body 361s * setting size while ignoring 361s < 361s * Connection #0 to host localhost left intact 361s * Issue another request to this URL: 'http://localhost:12351/sub2/' 361s * 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' 361s * Re-using existing connection with host localhost 361s > GET /sub2/ HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 303 Found 361s < Server: weborf/1.5 (GNU/Linux) 361s < Content-Length: 0 361s < Location: /sub2/index.dat 361s * Ignoring the response-body 361s * setting size while ignoring 361s < 361s * Connection #0 to host localhost left intact 361s * Issue another request to this URL: 'http://localhost:12351/sub2/index.dat' 361s * 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' 361s * Re-using existing connection with host localhost 361s > GET /sub2/index.dat HTTP/1.1 361s > Host: localhost:12351 361s > User-Agent: curl/8.12.1 361s > Accept: */* 361s > 361s * Request completely sent off 361s < HTTP/1.1 200 OK 361s < Server: weborf/1.5 (GNU/Linux) 361s < ETag: "1727734275" 361s < Content-Length: 7 361s < 361s { [7 bytes data] 361s * Connection #0 to host localhost left intact 361s ++ cat site1/sub2/index.dat 361s + [[ qbetto = qbetto ]] 361s + cleanup 361s + [[ -n 2106 ]] 361s + kill -9 2106 362s autopkgtest [18:26:17]: test command7: -----------------------] 366s autopkgtest [18:26:21]: test command7: - - - - - - - - - - results - - - - - - - - - - 366s command7 PASS 370s autopkgtest [18:26:25]: test command8: preparing testbed 372s Reading package lists... 372s Building dependency tree... 372s Reading state information... 373s Starting pkgProblemResolver with broken count: 0 373s Starting 2 pkgProblemResolver with broken count: 0 373s Done 374s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 382s autopkgtest [18:26:37]: test command8: testsuite/range 382s autopkgtest [18:26:37]: test command8: [----------------------- 383s +++ dirname testsuite/range 383s ++ cd testsuite 383s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 383s ++ BINNAME=weborf 383s ++ trap cleanup EXIT 383s + run_weborf -b site1 -p 12348 383s + weborf -b site1 -p 12348 383s ++ jobs -p 383s + WEBORF_PID=2313 383s + sleep 0.2 384s ++ ls /proc/2313/fd/ 384s ++ wc -l 384s + [[ 5 -lt 4 ]] 384s + grep Content-Length 384s + curl -sv http://127.0.0.1:12348/robots.txt 384s < Content-Length: 26 384s ++ curl -sv http://127.0.0.1:12348/robots.txt 384s ++ grep Content-Length 384s ++ cut '-d ' -f3 384s ++ tr -d '\r' 384s + CONTENT_LENGTH=26 384s ++ curl -s -r0-5 http://127.0.0.1:12348/robots.txt 384s ++ curl -s -r6-10 http://127.0.0.1:12348/robots.txt 384s ++ curl -s -r11- http://127.0.0.1:12348/robots.txt 384s + ROBOTS='User-agent: * 384s Disallow: /' 384s + curl -s -r0-25 http://127.0.0.1:12348/robots.txt 384s User-agent: * 384s Disallow: / 384s + curl -s --fail -r0-26 http://127.0.0.1:12348/robots.txt 384s ++ curl -s -r0-0 http://127.0.0.1:12348/robots.txt 384s ++ wc -c 384s + [[ 1 = 1 ]] 384s ++ cat site1/robots.txt 384s + [[ User-agent: * 384s Disallow: / = User-agent: * 384s Disallow: / ]] 384s + cleanup 384s + [[ -n 2313 ]] 384s + kill -9 2313 384s autopkgtest [18:26:39]: test command8: -----------------------] 388s autopkgtest [18:26:43]: test command8: - - - - - - - - - - results - - - - - - - - - - 388s command8 PASS 392s autopkgtest [18:26:47]: test command9: preparing testbed 394s Reading package lists... 394s Building dependency tree... 394s Reading state information... 395s Starting pkgProblemResolver with broken count: 0 395s Starting 2 pkgProblemResolver with broken count: 0 395s Done 396s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 404s autopkgtest [18:26:59]: test command9: testsuite/cgi 404s autopkgtest [18:26:59]: test command9: [----------------------- 406s +++ dirname testsuite/cgi 406s ++ cd testsuite 406s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 406s ++ BINNAME=weborf 406s ++ trap cleanup EXIT 406s + run_weborf -b site1 -p 12350 --yesexec --cgi .py,/usr/bin/python3 406s + weborf -b site1 -p 12350 --yesexec --cgi .py,/usr/bin/python3 406s ++ jobs -p 406s + WEBORF_PID=2529 406s + sleep 0.2 406s ++ ls /proc/2529/fd/ 406s ++ wc -l 406s + [[ 5 -lt 4 ]] 406s + curl -vs http://localhost:12350/cgi.py 406s * 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' 406s * Host localhost:12350 was resolved. 406s * IPv6: ::1 406s * IPv4: 127.0.0.1 406s * Trying [::1]:12350... 406s * Connected to localhost (::1) port 12350 406s * using HTTP/1.x 406s > GET /cgi.py HTTP/1.1 406s > Host: localhost:12350 406s > User-Agent: curl/8.12.1 406s > Accept: */* 406s > 406s * Request completely sent off 406s < HTTP/1.1 200 OK 406s < Server: weborf/1.5 (GNU/Linux) 406s < Connection: close 406s < X-Extra: Ciao 406s < Content-Type: text/plain 406s < 406s { [438 bytes data] 406s * shutting down connection #0 406s SERVER_PROTOCOL HTTP/1.1 406s HTTP_HOST localhost:12350 406s HTTP_USER_AGENT curl/8.12.1 406s HTTP_ACCEPT */* 406s SERVER_ADDR ::1 406s SERVER_PORT 12350 406s SERVER_SIGNATURE weborf/1.5 (GNU/Linux) 406s SERVER_SOFTWARE weborf/1.5 (GNU/Linux) 406s GATEWAY_INTERFACE CGI/1.1 406s REQUEST_METHOD GET 406s REDIRECT_STATUS Ciao 406s SCRIPT_FILENAME site1/cgi.py 406s DOCUMENT_ROOT site1 406s REMOTE_ADDR ::1 406s SCRIPT_NAME /cgi.py 406s SERVER_NAME localhost:12350 406s REQUEST_URI /cgi.py 406s QUERY_STRING 406s LC_CTYPE C.UTF-8 406s + grep 1545650587 406s + curl -vs -H 'If-None-Match: "1545650587"' http://localhost:12350/cgi.py 406s * 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' 406s * Host localhost:12350 was resolved. 406s * IPv6: ::1 406s * IPv4: 127.0.0.1 406s * Trying [::1]:12350... 406s * Connected to localhost (::1) port 12350 406s * using HTTP/1.x 406s > GET /cgi.py HTTP/1.1 406s > Host: localhost:12350 406s > User-Agent: curl/8.12.1 406s > Accept: */* 406s > If-None-Match: "1545650587" 406s > 406s * Request completely sent off 406s < HTTP/1.1 200 OK 406s < Server: weborf/1.5 (GNU/Linux) 406s < Connection: close 406s < X-Extra: Ciao 406s < Content-Type: text/plain 406s < HTTP_IF_NONE_MATCH "1545650587" 406s 406s { [470 bytes data] 406s * shutting down connection #0 406s + grep ciccio 406s + curl -vs 'http://localhost:12350/cgi.py?ciccio' 406s * 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' 406s * Host localhost:12350 was resolved. 406s * IPv6: ::1 406s * IPv4: 127.0.0.1 406s * Trying [::1]:12350... 406s * Connected to localhost (::1) port 12350 406s * using HTTP/1.x 406s > GET /cgi.py?ciccio HTTP/1.1 406s > Host: localhost:12350 406s > User-Agent: curl/8.12.1 406s > Accept: */* 406s > 406s * Request completely sent off 406s QUERY_STRING ciccio 406s REQUEST_URI /cgi.py?ciccio 406s < HTTP/1.1 200 OK 406s < Server: weborf/1.5 (GNU/Linux) 406s < Connection: close 406s < X-Extra: Ciao 406s < Content-Type: text/plain 406s < 406s { [451 bytes data] 406s * shutting down connection #0 406s + grep lallallero 406s + curl -vs --data lallallero http://localhost:12350/cgi.py 406s * 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' 406s * Host localhost:12350 was resolved. 406s * IPv6: ::1 406s * IPv4: 127.0.0.1 406s * Trying [::1]:12350... 406s * Connected to localhost (::1) port 12350 406s * using HTTP/1.x 406s > POST /cgi.py HTTP/1.1 406s > Host: localhost:12350 406s > User-Agent: curl/8.12.1 406s > Accept: */* 406s > Content-Length: 10 406s > Content-Type: application/x-www-form-urlencoded 406s > 406s } [10 bytes data] 406s * upload completely sent off: 10 bytes 406s < HTTP/1.1 200 OK 406s < Server: weborf/1.5 (GNU/Linux) 406s < Connection: close 406s < X-Extra: Ciao 406s < Content-Type: text/plain 406s < 406s { [612 bytes data] 406s * shutting down connection #0 406s + cleanup 406s + [[ -n 2529 ]] 406s + kill -9 2529 406s b'lallallero' 407s autopkgtest [18:27:02]: test command9: -----------------------] 411s autopkgtest [18:27:06]: test command9: - - - - - - - - - - results - - - - - - - - - - 411s command9 PASS 414s autopkgtest [18:27:09]: test command10: preparing testbed 416s Reading package lists... 416s Building dependency tree... 416s Reading state information... 417s Starting pkgProblemResolver with broken count: 0 417s Starting 2 pkgProblemResolver with broken count: 0 417s Done 418s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 428s autopkgtest [18:27:23]: test command10: testsuite/cachedir 428s autopkgtest [18:27:23]: test command10: [----------------------- 430s +++ dirname testsuite/cachedir 430s ++ cd testsuite 430s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 430s ++ BINNAME=weborf 430s ++ trap cleanup EXIT 430s + weborf -db site1 -p 12352 --cache /tmp/fakecachedir --index nonexisting 430s Unable to stat cache directory 430s ++ mktemp -d 430s + CACHE_DIR=/tmp/tmp.3JvU1KUfVj 430s + weborf -b site1 -p 12352 --cache /tmp/tmp.3JvU1KUfVj --index nonexisting 430s ++ jobs -p 430s + WEBORF_PID=2755 430s + trap cleanup EXIT 430s + curl -s http://localhost:12352/ 430s 430s weborf

weborf

430s 430s 430s 430s 430s
NameSizeLast Modified
fcgi.py328 BMon, 30 Sep 2024 22:11:15
fempty0 BMon, 30 Sep 2024 22:11:15
frobots.txt26 BMon, 30 Sep 2024 22:11:15
dsub1/-Mon, 30 Sep 2024 22:11:15
dsub2/-Mon, 30 Sep 2024 22:11:15
weborf/1.5 (GNU/Linux)
++ ls /tmp/tmp.3JvU1KUfVj 430s ++ wc -l 430s + [[ 1 = 1 ]] 430s + diff - /tmp/tmp.3JvU1KUfVj/0-77868-106-1727734275 430s + curl -s http://localhost:12352/ 430s + touch site1/cachedir.test 430s + sleep 1.1 431s + grep cachedir.test 431s + curl -s http://localhost:12352/ 431s + rm site1/cachedir.test 431s weborf

weborf

431s + sleep 1.1 432s + grep cachedir.test 432s + curl -s http://localhost:12352/ 432s ++ ls /tmp/tmp.3JvU1KUfVj 432s ++ wc -l 432s + [[ 3 = 3 ]] 432s + cleanup 432s + kill -9 2755 432s + ls /tmp/tmp.3JvU1KUfVj 432s 0-77868-106-1727734275 432s 0-77868-106-1742063245 432s 0-77868-106-1742063246 432s testsuite/cachedir: line 13: 2755 Killed "$BINNAME" -b site1 -p 12352 --cache $CACHE_DIR --index nonexisting 432s + rm -rf /tmp/tmp.3JvU1KUfVj 432s + rm -f site1/cachedir.test 433s autopkgtest [18:27:28]: test command10: -----------------------] 436s command10 PASS 436s autopkgtest [18:27:31]: test command10: - - - - - - - - - - results - - - - - - - - - - 440s autopkgtest [18:27:35]: test command11: preparing testbed 442s Reading package lists... 442s Building dependency tree... 442s Reading state information... 443s Starting pkgProblemResolver with broken count: 0 443s Starting 2 pkgProblemResolver with broken count: 0 443s Done 444s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 451s autopkgtest [18:27:46]: test command11: testsuite/site1mimetype 451s autopkgtest [18:27:46]: test command11: [----------------------- 453s +++ dirname testsuite/site1mimetype 453s ++ cd testsuite 453s ++ '[' -n /tmp/autopkgtest.Qt3oUa/autopkgtest_tmp ']' 453s ++ BINNAME=weborf 453s ++ trap cleanup EXIT 453s + run_weborf -b site1 -p 12347 --mime 453s + weborf -b site1 -p 12347 --mime 453s ++ jobs -p 453s + WEBORF_PID=2970 453s + sleep 0.2 454s ++ ls /proc/2970/fd/ 454s ++ wc -l 454s + [[ 5 -lt 4 ]] 454s + trap cleanup EXIT 454s + grep Content-Type 454s + grep text/ 454s + curl -v http://127.0.0.1:12347/robots.txt 454s < Content-Type: text/plain 454s + cleanup 454s + kill -9 2970 454s autopkgtest [18:27:49]: test command11: -----------------------] 458s autopkgtest [18:27:53]: test command11: - - - - - - - - - - results - - - - - - - - - - 458s command11 PASS 462s autopkgtest [18:27:57]: @@@@@@@@@@@@@@@@@@@@ summary 462s command1 PASS (superficial) 462s command2 PASS 462s command3 PASS 462s command4 PASS 462s command5 PASS 462s command6 PASS 462s command7 PASS 462s command8 PASS 462s command9 PASS 462s command10 PASS 462s command11 PASS
NameSizeLast Modified
fcachedir.test0 BSat, 15 Mar 2025 18:27:25