Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6412

[C++] arrow-flight-test can crash because of port allocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • C++

    Description

      I get this error sometimes locally when running the tests in parallel:

      [----------] 11 tests from TestFlightClient
      [ RUN      ] TestFlightClient.ListFlights
      E0902 15:13:55.996271678   17281 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1567430035.996256600","description":"SO_REUSEPORT unavailable on compiling system","file":"../src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}
      [       OK ] TestFlightClient.ListFlights (17 ms)
      [ RUN      ] TestFlightClient.GetFlightInfo
      E0902 15:13:56.013065793   17281 server_chttp2.cc:40]        {"created":"@1567430036.013032600","description":"No address added out of total 1 resolved","file":"../src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":394,"referenced_errors":[{"created":"@1567430036.013029044","description":"Unable to configure socket","fd":6,"file":"../src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":217,"referenced_errors":[{"created":"@1567430036.013021880","description":"Address already in use","errno":98,"file":"../src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":190,"os_error":"Address already in use","syscall":"bind"}]}]}
      ../src/arrow/flight/flight_test.cc:271: Failure
      Failed
      'server->Init(options)' failed with Unknown error: Server did not start properly
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m