Anindya Sinha created MESOS-7462: ------------------------------------ Summary: Flaky test HierarchicalAllocatorTest.NestedRoleDRF Key: MESOS-7462 URL: https://issues.apache.org/jira/browse/MESOS-7462 Project: Mesos Issue Type: Bug Components: allocation Environment: Top of tree @ ref 400d241e5b64586f6bc2f898f14261441e247766 Reporter: Anindya Sinha Priority: Minor
make -j16 check fails the following test occasionally. Here is the verbose log from a repeated run: [anindya_sinha@Anindyas-MBP build]$ ./bin/mesos-tests.sh --gtest_filter="HierarchicalAllocatorTest.NestedRoleDRF" --verbose --gtest_repeat=1000 --gtest_break_on_failure . ... Repeating all tests (iteration 255) . . . ... [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from HierarchicalAllocatorTest [ RUN ] HierarchicalAllocatorTest.NestedRoleDRF I0505 09:42:14.000389 230612992 hierarchical.cpp:525] Added agent agent1 (agent1) with cpus(*):2; mem(*):1024 (allocated: {}) I0505 09:42:14.000564 230612992 hierarchical.cpp:273] Added framework framework1 I0505 09:42:14.001092 231686144 hierarchical.cpp:525] Added agent agent2 (agent2) with cpus(*):1; mem(*):512 (allocated: {}) I0505 09:42:14.001220 231686144 hierarchical.cpp:273] Added framework framework2 I0505 09:42:14.001605 231686144 hierarchical.cpp:273] Added framework framework3 ../../src/tests/hierarchical_allocator_tests.cpp:771: Failure Value of: (allocations.get()).get() Actual: FrameworkID: framework2 Resource Allocation: { a/c: { agent2: cpus(*)(allocated: a/c):1; mem(*)(allocated: a/c):512 } } Expected: expected Which is: FrameworkID: framework3 Resource Allocation: { d/e: { agent2: cpus(*)(allocated: d/e):1; mem(*)(allocated: d/e):512 } } *** Aborted at 1494002534 (unix time) try "date -d @1494002534" if you are using GNU date *** PC: @ 0x11034d3c0 testing::UnitTest::AddTestPartResult() *** SIGSEGV (@0x0) received by PID 46510 (TID 0x7fffcf6e93c0) stack trace: *** @ 0x7fffc69deb3a _sigtramp @ 0x18 (unknown) @ 0x11034cbc7 testing::internal::AssertHelper::operator=() @ 0x10ef94d7e mesos::internal::tests::HierarchicalAllocatorTest_NestedRoleDRF_Test::TestBody() @ 0x1103ae36a testing::internal::HandleSehExceptionsInMethodIfSupported<>() @ 0x11035f027 testing::internal::HandleExceptionsInMethodIfSupported<>() @ 0x11035eed5 testing::Test::Run() @ 0x110360ac8 testing::TestInfo::Run() @ 0x110362017 testing::TestCase::Run() @ 0x110371edc testing::internal::UnitTestImpl::RunAllTests() @ 0x1103b076a testing::internal::HandleSehExceptionsInMethodIfSupported<>() @ 0x110371907 testing::internal::HandleExceptionsInMethodIfSupported<>() @ 0x1103717d8 testing::UnitTest::Run() @ 0x10f28aae1 RUN_ALL_TESTS() @ 0x10f28664d main @ 0x7fffc67cf235 start Segmentation fault: 11 -- This message was sent by Atlassian JIRA (v6.3.15#6346)