Bug#797584: libmojolicious-plugin-cgi-perl: FTBFS: test failures

Niko Tyni ntyni at debian.org
Mon Aug 31 17:47:10 UTC 2015


Package: libmojolicious-plugin-cgi-perl
Version: 0.12-1
Severity: serious
Forwarded: https://github.com/jhthorsen/mojolicious-plugin-cgi/issues/11
Tags: upstream fixed-upstream stretch sid
User: debian-perl at lists.debian.org
Usertags: autopkgtest

As detected by ci.debian.net, this package fails its test suite on
current sid.

This seems to have been broken by libmojolicious-perl update to
6.15+dfsg-1. If it needs actual code changes rather than just test
suite tweaks, libmojolicious-perl should probably Break earlier versions.

I'm guessing https://github.com/jhthorsen/mojolicious-plugin-cgi/issues/11
is the same issue and fixed upstream, but haven't verified that.

   #   Failed test 'HTTP_HOST=localhost:\d+'
   #   at t/basic.t line 18.
   #                   'ENVIRONMENT
   # CONTENT_LENGTH=0
   # CONTENT_TYPE=
   # GATEWAY_INTERFACE=CGI/1.1
   # HTTPS=NO
   # HTTP_COOKIE=
   # HTTP_HOST=127.0.0.1:37622
   # HTTP_REFERER=
   # HTTP_USER_AGENT=Mojolicious (Perl)
   # PATH_INFO=/foo
   # QUERY_STRING=query=123
   # REMOTE_ADDR=127.0.0.1
   # REMOTE_HOST=localhost
   # REMOTE_PORT=60889
   # REMOTE_USER=
   # REQUEST_METHOD=GET
   # SCRIPT_FILENAME=/«PKGBUILDDIR»/t/cgi-bin/env.cgi
   # SCRIPT_NAME=/env/basic/foo
   # SERVER_ADMIN=niko
   # SERVER_NAME=estella
   # SERVER_PORT=37622
   # SERVER_PROTOCOL=HTTP
   # SERVER_SOFTWARE=Mojolicious::Plugin::CGI
   # '
   #     doesn't match '(?^m:^HTTP_HOST=localhost:\d+)'
   # Looks like you failed 1 test of 29.
   t/basic.t ........ 
   ok 1 - GET /working
   ok 2 - 200 OK
   ok 3 - Content-Type: text/custom
   ok 4 - exact match for content
   ok 5 - GET http://127.0.0.1:37622/env/basic/foo?query=123
   ok 6 - 200 OK
   ok 7 - ENVIRONMENT
   ok 8 - CONTENT_LENGTH=0
   ok 9 - CONTENT_TYPE=
   ok 10 - GATEWAY_INTERFACE=CGI/1\.1
   ok 11 - HTTPS=NO
   ok 12 - HTTP_COOKIE=
   not ok 13 - HTTP_HOST=localhost:\d+
   ok 14 - HTTP_REFERER=
   ok 15 - HTTP_USER_AGENT=Mojolicious \(Perl\)
   ok 16 - PATH_INFO=/env/basic
   ok 17 - QUERY_STRING=query=123
   ok 18 - REMOTE_ADDR=\d+\S+
   ok 19 - REMOTE_HOST=
   ok 20 - REMOTE_PORT=\w+
   ok 21 - REMOTE_USER=
   ok 22 - REQUEST_METHOD=GET
   ok 23 - SCRIPT_FILENAME=\S+/t/cgi-bin/env\.cgi
   ok 24 - SCRIPT_NAME=env/basic
   ok 25 - SERVER_ADMIN=\w+
   ok 26 - SERVER_NAME=\w+
   ok 27 - SERVER_PORT=\d+
   ok 28 - SERVER_PROTOCOL=HTTP
   ok 29 - SERVER_SOFTWARE=Mojolicious::Plugin::CGI
   1..29
   Dubious, test returned 1 (wstat 256, 0x100)
   Failed 1/29 subtests 
   [...]
   Test Summary Report
   -------------------
   t/basic.t      (Wstat: 256 Tests: 29 Failed: 1)
     Failed test:  13
     Non-zero exit status: 1
   t/multipart.t  (Wstat: 256 Tests: 3 Failed: 1)
     Failed test:  3
     Non-zero exit status: 1
 
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list