Project

General

Profile

Bug #14220 » MSWIN-2017-12-22_61404-test-all-webrick.log

MSP-Greg (Greg L), 12/22/2017 05:24 AM

 
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-3684-vdi5xm (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x0000004986504298@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': Expected /BadRequest/ to match "[2017-12-22 03:33:15] ERROR invalid body size.\n". (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/minitest/unit.rb:293:in `assert_match'
from C:/projects/ruby/test/webrick/test_cgi.rb:99:in `block in test_bad_request'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-3684-1xkww17 (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x0000004989ea3d78@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start: (MiniTest::Assertion)
[2017-12-22 03:33:15] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1
[2017-12-22 03:33:15] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi
webrick log end.
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n" +
"<HTML>\n" +
" <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n" +
" <BODY>\n" +
" <H1>Internal Server Error</H1>\n" +
" Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n" +
" <HR>\n" +
" <ADDRESS>\n" +
" WEBrick/1.4.1 (Ruby/2.5.0/2017-12-22) OpenSSL/1.0.2l at\n" +
" 127.0.0.1:2495\n" +
" </ADDRESS>\n" +
" </BODY>\n" +
"</HTML>\n">.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_cgi.rb:41:in `block (2 levels) in test_cgi'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_cgi.rb:41:in `block in test_cgi'
from C:/projects/ruby/test/webrick/test_cgi.rb:33:in `block in start_cgi_server'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x0000004989e98040@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:33:15] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:33:15] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-3684-pj51fj (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000498a1054b8@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/webrick/test_cgi.rb:124:in `load': incompatible marshal file format (can't be read) (TypeError)
format version 4.8 required; 60.33 given
from C:/projects/ruby/test/webrick/test_cgi.rb:124:in `block (2 levels) in test_cgi_env'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_cgi.rb:123:in `block in test_cgi_env'
from C:/projects/ruby/test/webrick/test_cgi.rb:33:in `block in start_cgi_server'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000498a105bc0@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:33:15] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:33:15] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-3028-ya8ng1 (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000f913e72fb8@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start: (MiniTest::Assertion)
[2017-12-22 03:33:16] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1
[2017-12-22 03:33:16] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi
webrick log end.
<"200"> expected but was
<"500">.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:302:in `block (2 levels) in test_script_disclosure'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_filehandler.rb:301:in `block in test_script_disclosure'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000f913e73170@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:33:16] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:33:16] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:295:in `block in test_script_disclosure'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-3028-1j9eh2b (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000f917570b50@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start: (MiniTest::Assertion)
[2017-12-22 03:33:16] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick_long_filename.cgi exit with 1
[2017-12-22 03:33:16] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick_long_filename.cgi
webrick log end.
<"200"> expected but was
<"500">.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:261:in `block (2 levels) in test_short_filename'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_filehandler.rb:259:in `block in test_short_filename'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000f9175710c8@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:33:16] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick_long_filename.cgi exit with 1\n",
"[2017-12-22 03:33:16] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick_long_filename.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:243:in `block in test_short_filename'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
Retrying...
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-2892-124srbj (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000bca77977a0@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': Expected /BadRequest/ to match "[2017-12-22 03:34:02] ERROR invalid body size.\n". (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/minitest/unit.rb:293:in `assert_match'
from C:/projects/ruby/test/webrick/test_cgi.rb:99:in `block in test_bad_request'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-2892-1bawjaq (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000bca80e5708@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start: (MiniTest::Assertion)
[2017-12-22 03:34:02] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1
[2017-12-22 03:34:02] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi
webrick log end.
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n" +
"<HTML>\n" +
" <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n" +
" <BODY>\n" +
" <H1>Internal Server Error</H1>\n" +
" Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n" +
" <HR>\n" +
" <ADDRESS>\n" +
" WEBrick/1.4.1 (Ruby/2.5.0/2017-12-22) OpenSSL/1.0.2l at\n" +
" 127.0.0.1:2634\n" +
" </ADDRESS>\n" +
" </BODY>\n" +
"</HTML>\n">.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_cgi.rb:41:in `block (2 levels) in test_cgi'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_cgi.rb:41:in `block in test_cgi'
from C:/projects/ruby/test/webrick/test_cgi.rb:33:in `block in start_cgi_server'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000bca80e5ac8@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:34:02] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:34:02] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-2892-1ln9j8y (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000bca817dd00@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/webrick/test_cgi.rb:124:in `load': incompatible marshal file format (can't be read) (TypeError)
format version 4.8 required; 60.33 given
from C:/projects/ruby/test/webrick/test_cgi.rb:124:in `block (2 levels) in test_cgi_env'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_cgi.rb:123:in `block in test_cgi_env'
from C:/projects/ruby/test/webrick/test_cgi.rb:33:in `block in start_cgi_server'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000bca817deb8@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:34:02] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:34:02] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-2892-1uwyc2d (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000bca8e15950@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start: (MiniTest::Assertion)
[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1
[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi
webrick log end.
<"200"> expected but was
<"500">.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:302:in `block (2 levels) in test_script_disclosure'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_filehandler.rb:301:in `block in test_script_disclosure'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000bca8e15bf8@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:295:in `block in test_script_disclosure'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `reopen': Permission denied @ rb_io_reopen - C:\Users\appveyor\AppData\Local\Temp\1/webrick.cgiout.20171222-2892-15oj0s0 (Errno::EACCES)
from C:/projects/ruby/lib/webrick/httpservlet/cgi_runner.rb:26:in `<main>'
#<Thread:0x000000bca736e1d8@C:/projects/ruby/test/webrick/utils.rb:57 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start: (MiniTest::Assertion)
[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick_long_filename.cgi exit with 1
[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick_long_filename.cgi
webrick log end.
<"200"> expected but was
<"500">.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:261:in `block (2 levels) in test_short_filename'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_filehandler.rb:259:in `block in test_short_filename'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
#<Thread:0x000000bca736f358@C:/projects/ruby/test/webrick/utils.rb:50 run> terminated with exception (report_on_exception is true):
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was (MiniTest::Assertion)
<["[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick_long_filename.cgi exit with 1\n",
"[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick_long_filename.cgi\n"]>.
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:243:in `block in test_short_filename'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
1) Failure:
TestWEBrickCGI#test_bad_request [C:/projects/ruby/test/webrick/utils.rb:64]:
exceptions on 1 threads:
#<Thread:0x000000bca77977a0@C:/projects/ruby/test/webrick/utils.rb:50 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': Expected /BadRequest/ to match "[2017-12-22 03:34:02] ERROR invalid body size.\n". (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/minitest/unit.rb:293:in `assert_match'
from C:/projects/ruby/test/webrick/test_cgi.rb:99:in `block in test_bad_request'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
2) Failure:
TestWEBrickCGI#test_cgi [C:/projects/ruby/test/webrick/utils.rb:64]:
exceptions on 2 threads:
#<Thread:0x000000bca80e5708@C:/projects/ruby/test/webrick/utils.rb:57 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start:
[2017-12-22 03:34:02] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1
[2017-12-22 03:34:02] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi
webrick log end.
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n" +
"<HTML>\n" +
" <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n" +
" <BODY>\n" +
" <H1>Internal Server Error</H1>\n" +
" Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n" +
" <HR>\n" +
" <ADDRESS>\n" +
" WEBrick/1.4.1 (Ruby/2.5.0/2017-12-22) OpenSSL/1.0.2l at\n" +
" 127.0.0.1:2634\n" +
" </ADDRESS>\n" +
" </BODY>\n" +
"</HTML>\n">. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_cgi.rb:41:in `block (2 levels) in test_cgi'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_cgi.rb:41:in `block in test_cgi'
from C:/projects/ruby/test/webrick/test_cgi.rb:33:in `block in start_cgi_server'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x000000bca80e5ac8@C:/projects/ruby/test/webrick/utils.rb:50 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2017-12-22 03:34:02] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:34:02] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
3) Failure:
TestWEBrickCGI#test_cgi_env [C:/projects/ruby/test/webrick/utils.rb:64]:
exceptions on 2 threads:
#<Thread:0x000000bca817dd00@C:/projects/ruby/test/webrick/utils.rb:57 dead>:
C:/projects/ruby/test/webrick/test_cgi.rb:124:in `load': incompatible marshal file format (can't be read)
format version 4.8 required; 60.33 given (TypeError)
from C:/projects/ruby/test/webrick/test_cgi.rb:124:in `block (2 levels) in test_cgi_env'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_cgi.rb:123:in `block in test_cgi_env'
from C:/projects/ruby/test/webrick/test_cgi.rb:33:in `block in start_cgi_server'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x000000bca817deb8@C:/projects/ruby/test/webrick/utils.rb:50 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2017-12-22 03:34:02] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:34:02] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
4) Failure:
WEBrick::TestFileHandler#test_script_disclosure [C:/projects/ruby/test/webrick/utils.rb:64]:
exceptions on 2 threads:
#<Thread:0x000000bca8e15950@C:/projects/ruby/test/webrick/utils.rb:57 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start:
[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1
[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi
webrick log end.
<"200"> expected but was
<"500">. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:302:in `block (2 levels) in test_script_disclosure'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_filehandler.rb:301:in `block in test_script_disclosure'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x000000bca8e15bf8@C:/projects/ruby/test/webrick/utils.rb:50 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick.cgi exit with 1\n",
"[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick.cgi\n"]>. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:295:in `block in test_script_disclosure'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'
5) Failure:
WEBrick::TestFileHandler#test_short_filename [C:/projects/ruby/test/webrick/utils.rb:64]:
exceptions on 2 threads:
#<Thread:0x000000bca736e1d8@C:/projects/ruby/test/webrick/utils.rb:57 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': webrick log start:
[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick_long_filename.cgi exit with 1
[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick_long_filename.cgi
webrick log end.
<"200"> expected but was
<"500">. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:261:in `block (2 levels) in test_short_filename'
from C:/projects/ruby/lib/net/http.rb:1503:in `block in transport_request'
from C:/projects/ruby/lib/net/http/response.rb:165:in `reading_body'
from C:/projects/ruby/lib/net/http.rb:1502:in `transport_request'
from C:/projects/ruby/lib/net/http.rb:1464:in `request'
from C:/projects/ruby/lib/net/http.rb:1457:in `block in request'
from C:/projects/ruby/lib/net/http.rb:910:in `start'
from C:/projects/ruby/lib/net/http.rb:1455:in `request'
from C:/projects/ruby/test/webrick/test_filehandler.rb:259:in `block in test_short_filename'
from C:/projects/ruby/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x000000bca736f358@C:/projects/ruby/test/webrick/utils.rb:50 dead>:
C:/projects/ruby/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2017-12-22 03:34:03] ERROR CGIHandler: C:/projects/ruby/test/webrick/webrick_long_filename.cgi exit with 1\n",
"[2017-12-22 03:34:03] ERROR Premature end of script headers: C:/projects/ruby/test/webrick/webrick_long_filename.cgi\n"]>. (MiniTest::Assertion)
from C:/projects/ruby/test/lib/test/unit/assertions.rb:37:in `assert'
from C:/projects/ruby/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from C:/projects/ruby/test/webrick/test_filehandler.rb:243:in `block in test_short_filename'
from C:/projects/ruby/test/webrick/utils.rb:53:in `block in start_server'

Finished tests in 467.622832s, 34.9940 tests/s, 4707.2274 assertions/s.
16364 tests, 2201207 assertions, 5 failures, 0 errors, 276 skips

ruby -v: ruby 2.5.0dev (2017-12-22) [x64-mswin64_120]
NMAKE : fatal error U1077: '.\ruby.exe' : return code '0x5'
(2-2/2)