Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-75876

HostUnreachable in transport_test / EgressAsioNetworkingBatonTest / CancelAsyncOperationsInterruptsOngoingOperations

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Service Arch 2023-04-17, Service Arch 2023-05-01
    • 7

      EgressAsioNetworkingBatonTest
      CancelAsyncOperationsInterruptsOngoingOperations

      throws a HostUnreachable instead of the expected CallbackCanceled.

      https://buildbaron.corp.mongodb.com/ui/#/bfg/BFG-1866837
      "task-timed-out: run_unittests on enterprise-rhel-81-ppc64le-dynamic"

      The test failed in about 6 seconds but transport_test became hung and could not reach an exit.

      https://logkeeper2.build.10gen.cc/build/d0b074972226829a1394014bb7837932/test/17520ada6fbdab1e4d5f30553cde2ec3?raw=1

      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.388Z"},"s":"I",  "c":"TEST",     "id":23059,   "ctx":"main","msg":"Running","attr":{"test":"CancelAsyncOperationsInterruptsOngoingOperations","rep":1,"reps":1}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.403Z"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.403Z"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":41519,"ssl":"off"}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.404Z"},"s":"I",  "c":"TEST",     "id":6109502, "ctx":"thread34","msg":"connected","attr":{"port":41519}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.406Z"},"s":"W",  "c":"CONTROL",  "id":23830,   "ctx":"thread35","msg":"Set failpoint","attr":{"failPointName":"asioTransportLayerBlockBeforeOpportunisticRead","failPoint":{"mode":1,"data":{},"timesEntered":0}}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.507Z"},"s":"W",  "c":"CONTROL",  "id":23831,   "ctx":"thread35","msg":"Set failpoint","attr":{"failPointName":"asioTransportLayerBlockBeforeOpportunisticRead","failPoint":{"mode":0,"data":{},"timesEntered":1}}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.692Z"},"s":"E",  "c":"TEST",     "id":23070,   "ctx":"main","msg":"Throwing exception","attr":{"exception":"Expected ex.toStatus().code() == ErrorCodes::CallbackCanceled (HostUnreachable == CallbackCanceled) @src/mongo/transport/asio/asio_transport_layer_test.cpp:1282"}}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.693Z"},"s":"I",  "c":"TEST",     "id":6109500, "ctx":"main","msg":"connection: Tx stop request"}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.693Z"},"s":"I",  "c":"TEST",     "id":6109503, "ctx":"thread34","msg":"connection: Rx stop request"}
      [cpp_unit_test:transport_test] {"t":{"$date":"2023-04-02T06:39:11.693Z"},"s":"I",  "c":"TEST",     "id":6109501, "ctx":"main","msg":"connection: joined"}
      

      matt.diener@mongodb.com

        1. spawnhosts_comparison.mp4
          7.07 MB
          Billy Donahue

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: