[ https://issues.apache.org/jira/browse/MESOS-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696187#comment-14696187 ]
Vinod Kone edited comment on MESOS-3260 at 8/14/15 12:03 AM: ------------------------------------------------------------- commit 2a391e8036303f08aa42dc9c66c210940ec8d21f Author: Vinod Kone <vinodk...@gmail.com> Date: Thu Aug 13 16:17:52 2015 -0700 Fixed scheduler tests to work with heartbeats. Review: https://reviews.apache.org/r/37449 was (Author: vinodkone): commit f011b0a98e5a1c28f6c670102374f5317488fa03 Author: Vinod Kone <vinodk...@gmail.com> Date: Thu Aug 13 16:17:52 2015 -0700 Fixed scheduler tests to work with heartbeats. Review: https://reviews.apache.org/r/37449 > SchedulerTest.* are broken on OSX and CentOS > -------------------------------------------- > > Key: MESOS-3260 > URL: https://issues.apache.org/jira/browse/MESOS-3260 > Project: Mesos > Issue Type: Bug > Affects Versions: 0.24.0 > Environment: OSX 10.10.5 (14F6a), > Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) > Reporter: Till Toenshoff > Assignee: Vinod Kone > Priority: Blocker > Fix For: 0.24.0 > > > Running a plain configure and make check on OSX does currently lead to the > following: > {noformat} > [ 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 > {noformat} > Results on CentOS look similar. -- This message was sent by Atlassian JIRA (v6.3.4#6332)