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

SchedulerTest.* are broken on OSX and CentOS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.24.0
    • Fix Version/s: 0.24.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      OSX 10.10.5 (14F6a),
      Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)

      Description

      Running a plain configure and make check on OSX does currently lead to the following:

      [ RUN      ] SchedulerTest.Subscribe
      ../../src/tests/scheduler_tests.cpp:168: Failure
      Value of: event.get().type()
        Actual: HEARTBEAT
      Expected: Event::SUBSCRIBED
      Which is: SUBSCRIBED
      ../../src/tests/scheduler_tests.cpp:169: Failure
      Value of: event.get().subscribed().framework_id()
        Actual:
      Expected: id
      Which is: 20150813-222454-347252928-56290-60707-0000
      [  FAILED  ] SchedulerTest.Subscribe (183 ms)
      [ RUN      ] SchedulerTest.TaskRunning
      ../../src/tests/scheduler_tests.cpp:227: Failure
      Value of: event.get().type()
        Actual: HEARTBEAT
      Expected: Event::OFFERS
      Which is: OFFERS
      ../../src/tests/scheduler_tests.cpp:228: Failure
      Expected: (0) != (event.get().offers().offers().size()), actual: 0 vs 0
      [libprotobuf FATAL ../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/google/protobuf/repeated_field.h:824] CHECK failed: (index) < (size()):
      ../../src/tests/scheduler_tests.cpp:237: Failure
      Actual function call count doesn't match EXPECT_CALL(containerizer, update(_, _))...
               Expected: to be called at least once
                 Actual: never called - unsatisfied and active
      ../../src/tests/scheduler_tests.cpp:233: Failure
      Actual function call count doesn't match EXPECT_CALL(exec, launchTask(_, _))...
               Expected: to be called once
                 Actual: never called - unsatisfied and active
      ../../src/tests/scheduler_tests.cpp:230: Failure
      Actual function call count doesn't match EXPECT_CALL(exec, registered(_, _, _, _))...
               Expected: to be called once
                 Actual: never called - unsatisfied and active
      unknown file: Failure
      C++ exception with description "CHECK failed: (index) < (size()): " thrown in the test body.
      *** Aborted at 1439497494 (unix time) try "date -d @1439497494" if you are using GNU date ***
      PC: @     0x7fb2c0f20490 (unknown)
      *** SIGBUS (@0x7fb2c0f20490) received by PID 60707 (TID 0x7fff7a876300) stack trace: ***
          @     0x7fff8a77ef1a _sigtramp
          @     0x7fff532c9990 (unknown)
          @        0x10d3bcedb mesos::internal::tests::MesosTest::ShutdownSlaves()
          @        0x10d3bce75 mesos::internal::tests::MesosTest::Shutdown()
          @        0x10d3b7d47 mesos::internal::tests::MesosTest::TearDown()
          @        0x10dbc8283 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
          @        0x10dbafab7 testing::internal::HandleExceptionsInMethodIfSupported<>()
          @        0x10db6f8ba testing::Test::Run()
          @        0x10db70deb testing::TestInfo::Run()
          @        0x10db71ab7 testing::TestCase::Run()
          @        0x10db804b3 testing::internal::UnitTestImpl::RunAllTests()
          @        0x10dbc4fe3 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
          @        0x10dbb1ea7 testing::internal::HandleExceptionsInMethodIfSupported<>()
          @        0x10db800b0 testing::UnitTest::Run()
          @        0x10d10c8d1 RUN_ALL_TESTS()
          @        0x10d108b87 main
          @     0x7fff8da765c9 start
      Bus error: 10
      

      Results on CentOS look similar.

        Attachments

          Activity

            People

            • Assignee:
              vinodkone Vinod Kone
              Reporter:
              tillt Till Toenshoff
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: