Bug #4797
closed'make test-all' on Fedora15 cause a lot of http test error
Description
Currently, 'make test-all' on Fedora15 cause 66 errors. because
- recent linux kernel doesn't allow port reuse even if using SO_REUSEADDR.
- test/net/http doesn't have proper nil check when http server was failed to spawn.
r31764 fixed (2). and we should fix (1) too.
Finished tests in 102.937264s, 93.2218 tests/s, 21422.3878 assertions/s.
-
Error:
test_get(TestNetHTTPS):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get(TestNetHTTPS):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_identity_verify_failure(TestNetHTTPS):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_identity_verify_failure(TestNetHTTPS):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_post(TestNetHTTPS):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_post(TestNetHTTPS):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_timeout_during_SSL_handshake(TestNetHTTPS):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_timeout_during_SSL_handshake(TestNetHTTPS):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_verify_none(TestNetHTTPS):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_verify_none(TestNetHTTPS):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get2(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get2(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get__break(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get__break(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get__implicit_start(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get__implicit_start(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_head(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_head(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_patch(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_patch(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_post(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_post(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_request(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_request(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_s_get(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_s_get(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_s_post_form(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_s_post_form(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_send_request(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_send_request(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_set_form(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_set_form(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_set_form_with_file(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_set_form_with_file(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_timeout_during_HTTP_session(TestNetHTTP_v1_2):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_timeout_during_HTTP_session(TestNetHTTP_v1_2):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_chunked_break(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_chunked_break(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get2(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get2(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get__break(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get__break(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_get__implicit_start(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_get__implicit_start(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_head(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_head(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_patch(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_patch(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_post(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_post(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_request(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_request(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_s_get(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_s_get(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_s_post_form(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_s_post_form(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_send_request(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_send_request(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_set_form(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_set_form(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_set_form_with_file(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_set_form_with_file(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown' -
Error:
test_timeout_during_HTTP_session(TestNetHTTP_v1_2_chunked):
Errno::EADDRINUSE: Address already in use - bind(2)
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:innew' /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in
spawn_server'
/home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:30:insetup' ./test/runner.rb:13:in
' -
Error:
test_timeout_during_HTTP_session(TestNetHTTP_v1_2_chunked):
NoMethodError: undefined methodshutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in
teardown'
9596 tests, 2205162 assertions, 0 failures, 66 errors, 30 skips
make: *** [yes-test-all] Error 66