Project

General

Profile

Actions

Bug #4797

closed

'make test-all' on Fedora15 cause a lot of http test error

Added by kosaki (Motohiro KOSAKI) over 13 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.3dev (2011-05-29 trunk 31763) [x86_64-linux]
Backport:
[ruby-core:36543]

Description

Currently, 'make test-all' on Fedora15 cause 66 errors. because

  1. recent linux kernel doesn't allow port reuse even if using SO_REUSEADDR.
  2. 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.

  1. Error:
    test_get(TestNetHTTPS):
    Errno::EADDRINUSE: Address already in use - bind(2)
    /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in new' /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:in setup' ./test/runner.rb:13:in '

  2. Error:
    test_get(TestNetHTTPS):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  3. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  4. Error:
    test_identity_verify_failure(TestNetHTTPS):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  5. Error:
    test_post(TestNetHTTPS):
    Errno::EADDRINUSE: Address already in use - bind(2)
    /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:59:in new' /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:in setup' ./test/runner.rb:13:in '

  6. Error:
    test_post(TestNetHTTPS):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  7. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  8. Error:
    test_timeout_during_SSL_handshake(TestNetHTTPS):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  9. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  10. Error:
    test_verify_none(TestNetHTTPS):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  11. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  12. Error:
    test_get2(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  13. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  14. Error:
    test_get__break(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  15. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  16. Error:
    test_get__implicit_start(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  17. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  18. Error:
    test_head(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  19. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  20. Error:
    test_patch(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  21. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  22. Error:
    test_post(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  23. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  24. Error:
    test_request(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  25. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  26. Error:
    test_s_get(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  27. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  28. Error:
    test_s_post_form(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  29. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  30. Error:
    test_send_request(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  31. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  32. Error:
    test_set_form(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  33. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  34. Error:
    test_set_form_with_file(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  35. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  36. Error:
    test_timeout_during_HTTP_session(TestNetHTTP_v1_2):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  37. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  38. Error:
    test_chunked_break(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  39. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  40. Error:
    test_get(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  41. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  42. Error:
    test_get2(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  43. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  44. Error:
    test_get__break(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  45. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  46. Error:
    test_get__implicit_start(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  47. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  48. Error:
    test_head(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  49. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  50. Error:
    test_patch(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  51. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  52. Error:
    test_post(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  53. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  54. Error:
    test_request(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  55. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  56. Error:
    test_s_get(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  57. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  58. Error:
    test_s_post_form(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  59. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  60. Error:
    test_send_request(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  61. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  62. Error:
    test_set_form(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  63. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  64. Error:
    test_set_form_with_file(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' for nil:NilClass /home/kosaki/linux/ruby-svn/ruby/test/net/http/utils.rb:34:in teardown'

  65. 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:in new' /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:in setup' ./test/runner.rb:13:in '

  66. Error:
    test_timeout_during_HTTP_session(TestNetHTTP_v1_2_chunked):
    NoMethodError: undefined method shutdown' 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

Actions

Also available in: Atom PDF

Like0
Like0