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

HttpAuthenticationTest.Unauthorized is flaky

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      [ RUN      ] HttpAuthenticationTest.Unauthorized
      libprocess: (35605)@127.0.1.1:40875 terminating due to Uninteresting mock function call - returning default value.
          Function call: authenticated(@0x7f412c016540 224-byte object <38-68 01-2C 41-7F 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 ... E0-75 01-2C 41-7F 00-00 03-00 00-00 00-00 00-00 00-00 80-3F 00-00 00-00 0B-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 78-A6 F9-3A 41-7F 00-00 00-00 00-00 02-00 00-00 7F-00 00-01 13-EB 00-00>, @0x7f411c614cd8 16-byte object <01-00 00-00 00-00 00-00 E8-66 91-01 00-00 00-00>)
          The mock function has no default action set, and its return type has no default value set.
      ../../../3rdparty/libprocess/src/tests/http_tests.cpp:1271: Failure
      Value of: (response).get().status
        Actual: "500 Internal Server Error"
      Expected: http::Unauthorized(vector<string>()).status
      Which is: "401 Unauthorized"
      terminate called after throwing an instance of 'testing::internal::GoogleTestFailureException'
        what():  ../../../3rdparty/libprocess/src/tests/http_tests.cpp:1271: Failure
      Value of: (response).get().status
        Actual: "500 Internal Server Error"
      Expected: http::Unauthorized(vector<string>()).status
      Which is: "401 Unauthorized"
      *** Aborted at 1449970589 (unix time) try "date -d @1449970589" if you are using GNU date ***
      PC: @     0x7f413a6e1267 (unknown)
      *** SIGABRT (@0x3e80000641e) received by PID 25630 (TID 0x7f413c81f7c0) from PID 25630; stack trace: ***
          @     0x7f413c206d10 (unknown)
          @     0x7f413a6e1267 (unknown)
          @     0x7f413a6e2eca (unknown)
          @     0x7f413aced06d (unknown)
          @     0x7f413aceaee6 (unknown)
          @     0x7f413aceaf31 (unknown)
          @     0x7f413aceb199 (unknown)
          @           0x73369d testing::internal::HandleExceptionsInMethodIfSupported<>()
          @           0x71a605 testing::UnitTest::Run()
          @           0x53e201 RUN_ALL_TESTS()
          @           0x53dfa2 main
          @     0x7f413a6cca40 (unknown)
          @           0x419599 _start
      Aborted (core dumped)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arojas Alexander Rojas
            jvanremoortere Joris Van Remoortere
            Benjamin Mahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment