Open martinthurn-LFT opened 8 years ago
I have the same tests failing. However i'm pretty sure the reason lies in Plack::Test or it might be related to issue #119 as we get the same warning "Missing port in hashref passed in port argument".
I have tried the build on Mac OS and on Linux using perlbrew.
change:Starman-0.4014 heyho$ ./Build test
t/00_compile.t ........... ok
t/chunked_req.t .......... 2016/09/27-15:56:44 Starman::Server (type Net::Server::PreFork) starting! pid(97653)
Missing port in hashref passed in port argument.
t/chunked_req.t .......... 1/?
# Failed test at t/chunked_req.t line 41.
#
# got: undef
# expected: '14750'
#
# Failed test at t/chunked_req.t line 42.
#
# got: '9c640435acd3609310b8e7c2c72eb1f1'
# expected: '70546a79c7abb9c497ca91730a0686e4'
#
# Looks like you failed 2 tests of 2.
t/chunked_req.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/chunked_termination.t .. ok
t/chunked_zero_length.t .. 2016/09/27-15:57:44 Starman::Server (type Net::Server::PreFork) starting! pid(97657)
Missing port in hashref passed in port argument.
t/chunked_zero_length.t .. 1/?
# Failed test at t/chunked_zero_length.t line 27.
# got: 'Timed out while waiting for socket to become ready for reading
# '
# expected: 'ContentAgain'
# Looks like you failed 1 test of 1.
t/chunked_zero_length.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/harakiri.t ............. 2016/09/27-15:58:44 Starman::Server (type Net::Server::PreFork) starting! pid(97661)
Missing port in hashref passed in port argument.
t/harakiri.t ............. 1/? 2016/09/27-16:11:40 Starman::Server (type Net::Server::PreFork) starting! pid(97763)
Missing port in hashref passed in port argument.
t/harakiri.t ............. 2/?
# Failed test 'In Harakiri mode, each pid only used once'
# at t/harakiri.t line 39.
# got: '2'
# expected: '23'
# Looks like you failed 1 test of 2.
t/harakiri.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/lf_only_request.t ...... 2016/09/27-16:24:48 Starman::Server (type Net::Server::PreFork) starting! pid(97837)
Missing port in hashref passed in port argument.
t/lf_only_request.t ...... 1/?
# Failed test at t/lf_only_request.t line 42.
# got: '599'
# expected: '200'
# Looks like you failed 1 test of 1.
t/lf_only_request.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/no_chunked_head.t ...... 2016/09/27-16:25:48 Starman::Server (type Net::Server::PreFork) starting! pid(97851)
Binding to TCP port 50001 on host 127.0.0.1 with IPv4
Setting gid to "20 20 20 9 12 61 79 80 81 98 33 100 204 398 399"
t/no_chunked_head.t ...... 1/? 2016/09/27-16:25:48 Server closing!
t/no_chunked_head.t ...... ok
t/release-findbin.t ...... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ... skipped: these tests are for release candidate testing
t/release-rand.t ......... skipped: these tests are for release candidate testing
t/ssl.t .................. 2016/09/27-16:25:49 Starman::Server (type Net::Server::PreFork) starting! pid(97861)
Resolved [localhost]:50532 to [127.0.0.1]:50532, IPv4
Binding to SSL port 50532 on host 127.0.0.1 with IPv4
Setting gid to "20 20 20 9 12 61 79 80 81 98 33 100 204 398 399"
Could not finalize SSL connection with client handle (SSL accept attempt failed because of handshake problems)
2016/09/27-16:25:49 Server closing!
t/ssl.t .................. ok
t/ssl_largebody.t ........ 2016/09/27-16:25:49 Starman::Server (type Net::Server::PreFork) starting! pid(97869)
Resolved [localhost]:51308 to [127.0.0.1]:51308, IPv4
Binding to SSL port 51308 on host 127.0.0.1 with IPv4
Setting gid to "20 20 20 9 12 61 79 80 81 98 33 100 204 398 399"
Could not finalize SSL connection with client handle (SSL accept attempt failed because of handshake problems)
2016/09/27-16:25:49 Server closing!
t/ssl_largebody.t ........ ok
t/suite.t ................ 2016/09/27-16:25:49 Starman::Server (type Net::Server::PreFork) starting! pid(97877)
Binding to TCP port 50993 on host 127.0.0.1 with IPv4
Setting gid to "20 20 20 9 12 61 79 80 81 98 33 100 204 398 399"
t/suite.t ................ 1/? 2016/09/27-16:25:50 Server closing!
t/suite.t ................ ok
Test Summary Report
-------------------
t/chunked_req.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
t/chunked_zero_length.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/harakiri.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/lf_only_request.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=13, Tests=115, 1747 wallclock secs ( 0.09 usr 0.04 sys + 2.43 cusr 0.59 csys = 3.15 CPU)
Result: FAIL