Bug#972972: libcgi-application-server-perl FTBFS on IPV6-only buildds

Adrian Bunk bunk at debian.org
Mon Oct 26 18:21:27 GMT 2020


Source: libcgi-application-server-perl
Version: 0.063-3
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=libcgi-application-server-perl&arch=all&ver=0.063-3&stamp=1603732518&raw=0

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
http_proxy= dh_auto_test
	make -j4 test TEST_VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ..................... 
1..1
ok 1 - CGI::Application::Server loaded ok
ok
# 
# 
# Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08
# perl: 5.030003 (wanted any version) on linux from /usr/bin/perl
# 
# CGI                                           => 4.51       (want any version)
# CGI::Application                              => 4.61       (want 4.21)   
# CGI::Application::Dispatch                    => 3.12       (want any version)
# CGI::Application::Plugin::Redirect            => 1.00       (want any version)
# Carp                                          => 1.50       (want 0.01)   
# ExtUtils::MakeMaker                           => 7.34       (want 6.30)   
# File::Find                                    => 1.36       (want any version)
# File::Temp                                    => 0.2309     (want any version)
# HTTP::Response                                => 6.26       (want any version)
# HTTP::Server::Simple                          => 0.52       (want 0.18)   
# HTTP::Server::Simple::CGI                     => <undef>    (want any version)
# HTTP::Server::Simple::Static                  => 0.14       (want 0.02)   
# HTTP::Status                                  => 6.26       (want any version)
# Scalar::Util                                  => 1.5        (want 1.18)   
# Test::Exception                               => 0.43       (want any version)
# Test::HTTP::Server::Simple                    => 0.11       (want any version)
# Test::More                                    => 1.302162   (want 0.96)   
# Test::Pod                                     => 1.52       (want 1.41)   
# Test::WWW::Mechanize                          => 1.52       (want any version)
# base                                          => 2.27       (want any version)
# lib                                           => 0.65       (want any version)
# strict                                        => 1.11       (want any version)
# version                                       => 0.9924     (want 0.9901) 
# warnings                                      => 1.44       (want any version)
# 
# Thanks for using my code.  I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve your problem.
# 
t/000-report-versions-tiny.t ....... 
ok 1 - we really didn't test anything, just reporting data
1..1
ok
t/000_load.t ....................... 
1..1
ok 1 - use CGI::Application::Server;
ok

#   Failed test '... got the index.html page okay'
#   at t/001_basic.t line 65.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.html'
#   at t/001_basic.t line 66.
#          got: undef
#     expected: "Test Static Index Page"

#   Failed test '... got the index.cgi page start-point okay'
#   at t/001_basic.t line 70.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi'
#   at t/001_basic.t line 71.
#          got: undef
#     expected: "Hello"

#   Failed test '... got the index.cgi page okay'
#   at t/001_basic.t line 75.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (hello)'
#   at t/001_basic.t line 76.
#          got: undef
#     expected: "Hello"

#   Failed test '... got the index.cgi page okay'
#   at t/001_basic.t line 78.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (goodbye)'
#   at t/001_basic.t line 79.
#          got: undef
#     expected: "Goodbye"

#   Failed test '... got the index.cgi page okay'
#   at t/001_basic.t line 81.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (redirect end)'
#   at t/001_basic.t line 82.
#          got: undef
#     expected: "Redirect End"

#   Failed test '... got the index.cgi page okay'
#   at t/001_basic.t line 84.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (redirect end)'
#   at t/001_basic.t line 85.
#          got: undef
#     expected: "Redirect End"

#   Failed test '... got the index.cgi page okay (even with extra path info)'
#   at t/001_basic.t line 89.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (even with extra path info)'
#   at t/001_basic.t line 90.
#          got: undef
#     expected: "Hello"

#   Failed test '... got the index.cgi page okay (even with extra path info)'
#   at t/001_basic.t line 92.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (even with extra path info)'
#   at t/001_basic.t line 93.
#          got: undef
#     expected: "Hello"

#   Failed test '... got the index.cgi page okay (even with extra path info)'
#   at t/001_basic.t line 95.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (even with extra path info)'
#   at t/001_basic.t line 96.
#          got: undef
#     expected: "Goodbye"

#   Failed test '... got the index.cgi page okay (even with extra path info)'
#   at t/001_basic.t line 98.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (even with extra path info)'
#   at t/001_basic.t line 99.
#          got: undef
#     expected: "Redirect End"

#   Failed test '... got the index.cgi page okay (even with extra path info)'
#   at t/001_basic.t line 101.
# 500
# Can't connect to localhost:47857 (Connection refused)

#   Failed test '... got the right page title for index.cgi (even with extra path info)'
#   at t/001_basic.t line 102.
#          got: undef
#     expected: "Redirect End"
# Looks like you failed 22 tests of 34.
t/001_basic.t ...................... 
1..34
ok 1 - use CGI::Application::Server;
ok 2 - use MyCGIApp;
ok 3 - An object of class 'TestServer' isa 'CGI::Application::Server'
ok 4 - An object of class 'TestServer' isa 'HTTP::Server::Simple'
ok 5 - ... no entry-point yet
ok 6 - ... we have an entry point now
ok 7 - ... entry points must be a HASH
ok 8 - ... entry points must be a HASH
ok 9 - ... got the default server root
ok 10 - ... got the new server root
ok 11 - ... cannot assign a doc root that does not exist
TestServer: You can connect to your server at http://localhost:47857/
ok 12 - start up my web server
not ok 13 - ... got the index.html page okay
not ok 14 - ... got the right page title for index.html
not ok 15 - ... got the index.cgi page start-point okay
not ok 16 - ... got the right page title for index.cgi
not ok 17 - ... got the index.cgi page okay
not ok 18 - ... got the right page title for index.cgi (hello)
not ok 19 - ... got the index.cgi page okay
not ok 20 - ... got the right page title for index.cgi (goodbye)
not ok 21 - ... got the index.cgi page okay
not ok 22 - ... got the right page title for index.cgi (redirect end)
not ok 23 - ... got the index.cgi page okay
not ok 24 - ... got the right page title for index.cgi (redirect end)
not ok 25 - ... got the index.cgi page okay (even with extra path info)
not ok 26 - ... got the right page title for index.cgi (even with extra path info)
not ok 27 - ... got the index.cgi page okay (even with extra path info)
not ok 28 - ... got the right page title for index.cgi (even with extra path info)
not ok 29 - ... got the index.cgi page okay (even with extra path info)
not ok 30 - ... got the right page title for index.cgi (even with extra path info)
not ok 31 - ... got the index.cgi page okay (even with extra path info)
not ok 32 - ... got the right page title for index.cgi (even with extra path info)
not ok 33 - ... got the index.cgi page okay (even with extra path info)
not ok 34 - ... got the right page title for index.cgi (even with extra path info)
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 22/34 subtests 
t/002_valid_entry_points.t ......... 
1..22
ok 1 - use CGI::Application::Server;
ok 2 - An object of class 'CGI::Application::Server' isa 'CGI::Application::Server'
ok 3 - An object of class 'CGI::Application::Server' isa 'HTTP::Server::Simple'
ok 4 - ... got Foo where we expected
ok 5 - ... got Foo where we expected
ok 6 - ... got Foo where we expected
ok 7 - ... got Foo where we expected
ok 8 - ... got Foo where we expected
ok 9 - ... got Foo::Bar where we expected
ok 10 - ... got Foo::Bar where we expected
ok 11 - ... got Foo::Bar where we expected
ok 12 - ... got Foo::Bar where we expected
ok 13 - ... got Foo::Bar where we expected
ok 14 - ... got Foo::Bar::Baz where we expected
ok 15 - ... got Foo::Bar::Baz where we expected
ok 16 - ... got Foo::Bar::Baz where we expected
ok 17 - ... got Foo::Bar::Baz where we expected
ok 18 - ... got Foo::Bar::Baz where we expected
ok 19 - ... got undef where we expected
ok 20 - ... got undef where we expected
ok 21 - ... got undef where we expected
ok 22 - ... got undef where we expected
ok

#   Failed test '... got the index.html page okay'
#   at t/003_dispatch.t line 66.
# 500
# Can't connect to localhost:43526 (Connection refused)

#   Failed test '... got the right page title for index.html'
#   at t/003_dispatch.t line 67.
#          got: undef
#     expected: "Test Static Index Page"

#   Failed test '... got the index.cgi page start-point okay'
#   at t/003_dispatch.t line 71.
# 500
# Can't connect to localhost:43526 (Connection refused)

#   Failed test '... got the right page title for index.cgi'
#   at t/003_dispatch.t line 72.
#          got: undef
#     expected: "Hello"

#   Failed test '... got mode1 via dispatch'
#   at t/003_dispatch.t line 76.
# 500
# Can't connect to localhost:43526 (Connection refused)

#   Failed test '... got the right page title for mode1 (hello)'
#   at t/003_dispatch.t line 77.
#          got: undef
#     expected: "Hello"

#   Failed test '... got mode2 via dispatch'
#   at t/003_dispatch.t line 79.
# 500
# Can't connect to localhost:43526 (Connection refused)

#   Failed test '... got the right page title for mode2 (bye)'
#   at t/003_dispatch.t line 80.
#          got: undef
#     expected: "Goodbye"

#   Failed test '... got mode3, get redir'
#   at t/003_dispatch.t line 82.
# 500
# Can't connect to localhost:43526 (Connection refused)

#   Failed test '... got the right page title for mode4'
#   at t/003_dispatch.t line 83.
#          got: undef
#     expected: "Redirect End"
# Looks like you failed 10 tests of 19.
t/003_dispatch.t ................... 
1..19
ok 1 - use CGI::Application::Server;
ok 2 - use MyCGIApp;
ok 3 - use MyCGIApp::Dispatch;
ok 4 - An object of class 'TestServer' isa 'CGI::Application::Server'
ok 5 - An object of class 'TestServer' isa 'HTTP::Server::Simple'
ok 6 - ... no entry-point yet
ok 7 - ... we have an entry point now
ok 8 - ... got the new server root
TestServer: You can connect to your server at http://localhost:43526/
ok 9 - start up my web server
not ok 10 - ... got the index.html page okay
not ok 11 - ... got the right page title for index.html
not ok 12 - ... got the index.cgi page start-point okay
not ok 13 - ... got the right page title for index.cgi
not ok 14 - ... got mode1 via dispatch
not ok 15 - ... got the right page title for mode1 (hello)
not ok 16 - ... got mode2 via dispatch
not ok 17 - ... got the right page title for mode2 (bye)
not ok 18 - ... got mode3, get redir
not ok 19 - ... got the right page title for mode4
Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/19 subtests 

#   Failed test '...got app1'
#   at t/004_object_as_entry_point.t line 38.
# 500
# Can't connect to localhost:42122 (Connection refused)

#   Failed test '... got the right page title for app1'
#   at t/004_object_as_entry_point.t line 39.
#          got: undef
#     expected: "Hello world!"

#   Failed test '...got app1'
#   at t/004_object_as_entry_point.t line 41.
# 500
# Can't connect to localhost:42122 (Connection refused)

#   Failed test '... got the right page title for app2'
#   at t/004_object_as_entry_point.t line 42.
#          got: undef
#     expected: "Goodbye world!"
# Looks like you failed 4 tests of 5.
t/004_object_as_entry_point.t ...... 
1..5
TestServer: You can connect to your server at http://localhost:42122/
ok 1 - start up my web server
not ok 2 - ...got app1
not ok 3 - ... got the right page title for app1
not ok 4 - ...got app1
not ok 5 - ... got the right page title for app2
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests 

#   Failed test '...got run mode foo'
#   at t/005_mode_param_from_path_info.t line 54.
# 500
# Can't connect to localhost:41220 (Connection refused)

#   Failed test '... got the right page title for foo'
#   at t/005_mode_param_from_path_info.t line 55.
#          got: undef
#     expected: "Hello world!"

#   Failed test '...got run mode bar'
#   at t/005_mode_param_from_path_info.t line 57.
# 500
# Can't connect to localhost:41220 (Connection refused)

#   Failed test '... got the right page title for bar'
#   at t/005_mode_param_from_path_info.t line 58.
#          got: undef
#     expected: "Goodbye world!"
# Looks like you failed 4 tests of 5.
t/005_mode_param_from_path_info.t .. 
1..5
TestServer: You can connect to your server at http://localhost:41220/
ok 1 - start up my web server
not ok 2 - ...got run mode foo
not ok 3 - ... got the right page title for foo
not ok 4 - ...got run mode bar
not ok 5 - ... got the right page title for bar
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests 

#   Failed test '...got /static/index.html'
#   at t/006_docroot_as_entry_point.t line 28.
# 500
# Can't connect to localhost:46669 (Connection refused)

#   Failed test '... got the right page title w/ static page'
#   at t/006_docroot_as_entry_point.t line 29.
#          got: undef
#     expected: "White Noise!"

#   Failed test '...got /images/index.html'
#   at t/006_docroot_as_entry_point.t line 31.
# 500
# Can't connect to localhost:46669 (Connection refused)

#   Failed test '... got the right page title w/ images page'
#   at t/006_docroot_as_entry_point.t line 32.
#          got: undef
#     expected: "1000 Words!"
# Looks like you failed 4 tests of 5.
t/006_docroot_as_entry_point.t ..... 
1..5
TestServer: You can connect to your server at http://localhost:46669/
ok 1 - start up my web server
not ok 2 - ...got /static/index.html
not ok 3 - ... got the right page title w/ static page
not ok 4 - ...got /images/index.html
not ok 5 - ... got the right page title w/ images page
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests 

#   Failed test '... got foo with CGI::Application object'
#   at t/006_replacequeryobject.t line 35.
#          got: undef
#     expected: "foo"

#   Failed test '... got bar with CGI::Application object'
#   at t/006_replacequeryobject.t line 38.
#          got: undef
#     expected: "bar"

#   Failed test '... got foo with CGI::Application class'
#   at t/006_replacequeryobject.t line 41.
#          got: undef
#     expected: "foo"

#   Failed test '... got bar with CGI::Application class'
#   at t/006_replacequeryobject.t line 44.
#          got: undef
#     expected: "bar"
# Looks like you failed 4 tests of 5.
t/006_replacequeryobject.t ......... 
1..5
TestServer: You can connect to your server at http://localhost:47280/
ok 1 - start up my web server
not ok 2 - ... got foo with CGI::Application object
not ok 3 - ... got bar with CGI::Application object
not ok 4 - ... got foo with CGI::Application class
not ok 5 - ... got bar with CGI::Application class
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests 
t/007_default_target.t ............. 
1..14
ok 1 - use CGI::Application::Server;
ok 2 - An object of class 'CGI::Application::Server' isa 'CGI::Application::Server'
ok 3 - An object of class 'CGI::Application::Server' isa 'HTTP::Server::Simple'
ok 4 - ... got Foo where we expected
ok 5 - ... got Foo where we expected
ok 6 - ... got Foo where we expected
ok 7 - ... got Foo where we expected
ok 8 - ... got Foo where we expected
ok 9 - ... got TopLevel where we expected
ok 10 - ... got TopLevel where we expected
ok 11 - ... got TopLevel where we expected
ok 12 - ... got TopLevel where we expected
ok 13 - ... got TopLevel where we expected
ok 14 - ... got TopLevel where we expected
ok

Test Summary Report
-------------------
t/001_basic.t                    (Wstat: 5632 Tests: 34 Failed: 22)
  Failed tests:  13-34
  Non-zero exit status: 22
t/003_dispatch.t                 (Wstat: 2560 Tests: 19 Failed: 10)
  Failed tests:  10-19
  Non-zero exit status: 10
t/004_object_as_entry_point.t    (Wstat: 1024 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
t/005_mode_param_from_path_info.t (Wstat: 1024 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
t/006_docroot_as_entry_point.t   (Wstat: 1024 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
t/006_replacequeryobject.t       (Wstat: 1024 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
Files=11, Tests=112,  3 wallclock secs ( 0.07 usr  0.01 sys +  2.72 cusr  0.40 csys =  3.20 CPU)
Result: FAIL
Failed 6/11 test programs. 48/112 subtests failed.
make[2]: *** [Makefile:868: test_dynamic] Error 255



More information about the pkg-perl-maintainers mailing list