Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7742

Race conditions in IOSwitchboard: listening on unix socket and premature closing of the connection.

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 58, Mesosphere Sprint 72, Mesosphere Sprint 73
    • 5

    Description

      Observed this on ASF CI and internal Mesosphere CI. Affected tests:

      AgentAPIStreamingTest.AttachInputToNestedContainerSession
      AgentAPITest.LaunchNestedContainerSession
      AgentAPITest.AttachContainerInputAuthorization/0
      AgentAPITest.LaunchNestedContainerSessionWithTTY/0
      AgentAPITest.LaunchNestedContainerSessionDisconnected/1
      

      This issue comes at least in three different flavours. Take AgentAPIStreamingTest.AttachInputToNestedContainerSession as an example.

      Flavour 1
      ../../src/tests/api_tests.cpp:6473
      Value of: (response).get().status
        Actual: "503 Service Unavailable"
      Expected: http::OK().status
      Which is: "200 OK"
          Body: ""
      
      Flavour 2
      ../../src/tests/api_tests.cpp:6473
      Value of: (response).get().status
        Actual: "500 Internal Server Error"
      Expected: http::OK().status
      Which is: "200 OK"
          Body: "Disconnected"
      
      Flavour 3
      /home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/CMake/label/mesos-ec2-ubuntu-16.04/mesos/src/tests/api_tests.cpp:6367
      Value of: (sessionResponse).get().status
        Actual: "500 Internal Server Error"
      Expected: http::OK().status
      Which is: "200 OK"
          Body: ""
      

      Attachments

        Issue Links

          Activity

            People

              abudnik Andrei Budnik
              vinodkone Vinod Kone
              Alex R Alex R
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: