See <https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/278/changes>
Changes: [benh] Updated the gtest filter in Environment constructor rather than in 'SetUp' in order to make sure the filter is properly set before invoking RUN_ALL_TESTS. Review: https://reviews.apache.org/r/9868 ------------------------------------------ [...truncated 4646 lines...] [ OK ] CoordinatorTest.FillInconsistent (0 ms) [ RUN ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother [ OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother (0 ms) [ RUN ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers [ OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers (0 ms) [----------] 19 tests from CoordinatorTest (39930 ms total) [----------] 2 tests from LogTest [ RUN ] LogTest.WriteRead [ OK ] LogTest.WriteRead (1456 ms) [ RUN ] LogTest.Position [ OK ] LogTest.Position (1271 ms) [----------] 2 tests from LogTest (2727 ms total) [----------] 1 test from MonitorTest [ RUN ] MonitorTest.WatchUnwatch [ OK ] MonitorTest.WatchUnwatch (1005 ms) [----------] 1 test from MonitorTest (1005 ms total) [----------] 27 tests from ResourcesTest [ RUN ] ResourcesTest.Parsing [ OK ] ResourcesTest.Parsing (0 ms) [ RUN ] ResourcesTest.Resources [ OK ] ResourcesTest.Resources (0 ms) [ RUN ] ResourcesTest.Printing [ OK ] ResourcesTest.Printing (0 ms) [ RUN ] ResourcesTest.InitializedIsEmpty [ OK ] ResourcesTest.InitializedIsEmpty (0 ms) [ RUN ] ResourcesTest.BadResourcesNotAllocatable [ OK ] ResourcesTest.BadResourcesNotAllocatable (0 ms) [ RUN ] ResourcesTest.ScalarEquals [ OK ] ResourcesTest.ScalarEquals (0 ms) [ RUN ] ResourcesTest.ScalarSubset [ OK ] ResourcesTest.ScalarSubset (0 ms) [ RUN ] ResourcesTest.ScalarAddition [ OK ] ResourcesTest.ScalarAddition (0 ms) [ RUN ] ResourcesTest.ScalarSubtraction [ OK ] ResourcesTest.ScalarSubtraction (0 ms) [ RUN ] ResourcesTest.RangesEquals [ OK ] ResourcesTest.RangesEquals (0 ms) [ RUN ] ResourcesTest.RangesSubset [ OK ] ResourcesTest.RangesSubset (0 ms) [ RUN ] ResourcesTest.RangesAddition [ OK ] ResourcesTest.RangesAddition (0 ms) [ RUN ] ResourcesTest.RangesAddition2 [ OK ] ResourcesTest.RangesAddition2 (0 ms) [ RUN ] ResourcesTest.RangesAdditon3 [ OK ] ResourcesTest.RangesAdditon3 (0 ms) [ RUN ] ResourcesTest.RangesAddition4 [ OK ] ResourcesTest.RangesAddition4 (0 ms) [ RUN ] ResourcesTest.RangesSubtraction [ OK ] ResourcesTest.RangesSubtraction (0 ms) [ RUN ] ResourcesTest.RangesSubtraction1 [ OK ] ResourcesTest.RangesSubtraction1 (0 ms) [ RUN ] ResourcesTest.RangesSubtraction2 [ OK ] ResourcesTest.RangesSubtraction2 (0 ms) [ RUN ] ResourcesTest.RangesSubtraction3 [ OK ] ResourcesTest.RangesSubtraction3 (0 ms) [ RUN ] ResourcesTest.RangesSubtraction4 [ OK ] ResourcesTest.RangesSubtraction4 (0 ms) [ RUN ] ResourcesTest.RangesSubtraction5 [ OK ] ResourcesTest.RangesSubtraction5 (0 ms) [ RUN ] ResourcesTest.RangesSubtraction6 [ OK ] ResourcesTest.RangesSubtraction6 (0 ms) [ RUN ] ResourcesTest.SetEquals [ OK ] ResourcesTest.SetEquals (0 ms) [ RUN ] ResourcesTest.SetSubset [ OK ] ResourcesTest.SetSubset (0 ms) [ RUN ] ResourcesTest.SetAddition [ OK ] ResourcesTest.SetAddition (0 ms) [ RUN ] ResourcesTest.SetSubtraction [ OK ] ResourcesTest.SetSubtraction (0 ms) [ RUN ] ResourcesTest.EmptyUnequal [ OK ] ResourcesTest.EmptyUnequal (0 ms) [----------] 27 tests from ResourcesTest (1 ms total) [----------] 2 tests from ExamplesTest [ RUN ] ExamplesTest.TestFramework [ OK ] ExamplesTest.TestFramework (6898 ms) [ RUN ] ExamplesTest.NoExecutorFramework [ OK ] ExamplesTest.NoExecutorFramework (2700 ms) [----------] 2 tests from ExamplesTest (9598 ms total) [----------] 8 tests from ConfiguratorTest [ RUN ] ConfiguratorTest.Environment [ OK ] ConfiguratorTest.Environment (8 ms) [ RUN ] ConfiguratorTest.DefaultOptions [ OK ] ConfiguratorTest.DefaultOptions (3 ms) [ RUN ] ConfiguratorTest.CommandLine [ OK ] ConfiguratorTest.CommandLine (1 ms) [ RUN ] ConfiguratorTest.ConfigFileWithConfDir [ OK ] ConfiguratorTest.ConfigFileWithConfDir (0 ms) [ RUN ] ConfiguratorTest.CommandLineConfFlag [ OK ] ConfiguratorTest.CommandLineConfFlag (8 ms) [ RUN ] ConfiguratorTest.LoadingPriorities [ OK ] ConfiguratorTest.LoadingPriorities (3 ms) [ RUN ] ConfiguratorTest.ConfigFileSpacesIgnored [ OK ] ConfiguratorTest.ConfigFileSpacesIgnored (2 ms) [ RUN ] ConfiguratorTest.MalformedConfigFile [ OK ] ConfiguratorTest.MalformedConfigFile (8 ms) [----------] 8 tests from ConfiguratorTest (33 ms total) [----------] 5 tests from Multihashmap [ RUN ] Multihashmap.Put [ OK ] Multihashmap.Put (0 ms) [ RUN ] Multihashmap.Remove [ OK ] Multihashmap.Remove (0 ms) [ RUN ] Multihashmap.Size [ OK ] Multihashmap.Size (0 ms) [ RUN ] Multihashmap.Iterator [ OK ] Multihashmap.Iterator (0 ms) [ RUN ] Multihashmap.Foreach [ OK ] Multihashmap.Foreach (0 ms) [----------] 5 tests from Multihashmap (0 ms total) [----------] 1 test from ProtobufIOTest [ RUN ] ProtobufIOTest.Basic [ OK ] ProtobufIOTest.Basic (663 ms) [----------] 1 test from ProtobufIOTest (663 ms total) [----------] 1 test from ZooKeeper [ RUN ] ZooKeeper.URL [ OK ] ZooKeeper.URL (0 ms) [----------] 1 test from ZooKeeper (0 ms total) [----------] 1 test from KillTreeTest [ RUN ] KillTreeTest.KillTree [ OK ] KillTreeTest.KillTree (161 ms) [----------] 1 test from KillTreeTest (161 ms total) [----------] 3 tests from ExceptionTest [ RUN ] ExceptionTest.DeactivateFrameworkOnAbort [ OK ] ExceptionTest.DeactivateFrameworkOnAbort (225 ms) [ RUN ] ExceptionTest.DisallowSchedulerActionsOnAbort [ OK ] ExceptionTest.DisallowSchedulerActionsOnAbort (319 ms) [ RUN ] ExceptionTest.DisallowSchedulerCallbacksOnAbort [ OK ] ExceptionTest.DisallowSchedulerCallbacksOnAbort (410 ms) [----------] 3 tests from ExceptionTest (955 ms total) [----------] 2 tests from AttributesTest [ RUN ] AttributesTest.Parsing [ OK ] AttributesTest.Parsing (0 ms) [ RUN ] AttributesTest.Equality [ OK ] AttributesTest.Equality (0 ms) [----------] 2 tests from AttributesTest (0 ms total) [----------] 1 test from MasterDetectorTest [ RUN ] MasterDetectorTest.File [ OK ] MasterDetectorTest.File (389 ms) [----------] 1 test from MasterDetectorTest (389 ms total) [----------] 1 test from SorterTest [ RUN ] SorterTest.DRFSorter [ OK ] SorterTest.DRFSorter (1 ms) [----------] 1 test from SorterTest (1 ms total) [----------] 1 test from DRFAllocatorTest [ RUN ] DRFAllocatorTest.DRFAllocatorProcess [ OK ] DRFAllocatorTest.DRFAllocatorProcess (1455 ms) [----------] 1 test from DRFAllocatorTest (1455 ms total) [----------] 9 tests from AllocatorTest/0, where TypeParam = mesos::internal::master::HierarchicalAllocatorProcess<mesos::internal::master::DRFSorter, mesos::internal::master::DRFSorter> [ RUN ] AllocatorTest/0.MockAllocator [ OK ] AllocatorTest/0.MockAllocator (360 ms) [ RUN ] AllocatorTest/0.ResourcesUnused GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: registered(0x2b7c3c031be0, @0x2b7c64003820 128-byte object <50-01 60-36 7C-2B 00-00 00-00 00-00 00-00 00-00 50-73 00-64 7C-2B 00-00 00-00 00-00 00-00 00-00 30-4C 00-64 7C-2B 00-00 60-38 00-64 7C-2B 00-00 00-00 00-00 00-00 00-00 04-00 00-00 00-00 00-00 00-00 00-00 00-00 A0-40 41-00 00-00 00-00 00-00 20-14 00-64 7C-2B 00-00 40-73 00-64 7C-2B 00-00 80-E6 9F-00 00-00 00-00 80-E6 9F-00 00-00 00-00 80-E6 9F-00 00-00 00-00 00-00 00-00 05-00 00-00>, @0x2b7c6400adc0 56-byte object <10-FF 5F-36 7C-2B 00-00 00-00 00-00 00-00 00-00 40-17 00-64 7C-2B 00-00 70-AD 00-64 7C-2B 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 03-00 00-00>, @0x2b7c6400b840 168-byte object <D0-02 60-36 7C-2B 00-00 00-00 00-00 00-00 00-00 60-16 00-64 7C-2B 00-00 80-73 00-64 7C-2B 00-00 78-B8 00-64 7C-2B 00-00 04-00 00-00 04-00 00-00 04-00 00-00 00-00 00-00 90-0D 00-64 7C-2B 00-00 ... 04-00 00-00 00-00 00-00 E0-CA 00-64 7C-2B 00-00 B8-A5 86-38 7C-2B 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 91-1F 00-00 00-00 00-00 03-00 00-00 00-00 00-00>) Stack trace: GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: launchTask(0x2b7c3c031be0, @0x2b7c4c035100 name: "TestTask" task_id { value: "0" } slave_id { value: "201303120800-160088899-56032-25474-0" } resources { name: "cpus" type: SCALAR scalar { value: 1 } } resources { name: "mem" type: SCALAR scalar { value: 512 } } executor { executor_id { value: "default" } command { value: ":" } } ) Stack trace: [ OK ] AllocatorTest/0.ResourcesUnused (826 ms) [ RUN ] AllocatorTest/0.OutOfOrderDispatch [ OK ] AllocatorTest/0.OutOfOrderDispatch (588 ms) [ RUN ] AllocatorTest/0.SchedulerFailover [ OK ] AllocatorTest/0.SchedulerFailover (1353 ms) [ RUN ] AllocatorTest/0.FrameworkExited [ OK ] AllocatorTest/0.FrameworkExited (1315 ms) [ RUN ] AllocatorTest/0.SlaveLost [ OK ] AllocatorTest/0.SlaveLost (770 ms) [ RUN ] AllocatorTest/0.SlaveAdded [ OK ] AllocatorTest/0.SlaveAdded (2388 ms) [ RUN ] AllocatorTest/0.TaskFinished ../../src/tests/allocator_tests.cpp:1160: Failure Mock function called more times than expected - returning directly. Function call: resourcesChanged(@0x2b7c4c02e758 201303120800-160088899-56032-25474-0000, @0x2b7c4c02e738 default, @0x2b7c4c02e700 { cpus=1, mem=256 }) Expected: to be called twice Actual: called 3 times - over-saturated and active F0312 08:00:24.401162 25507 monitor.cpp:198] Check failed: !statistics.isDiscarded() *** Check failure stack trace: *** @ 0x2b7c361d124d google::LogMessage::Fail() @ 0x2b7c361d39df google::LogMessage::SendToLog() @ 0x2b7c361d0e4b google::LogMessage::Flush() @ 0x2b7c361d426d google::LogMessageFatal::~LogMessageFatal() @ 0x2b7c35f28b38 mesos::internal::slave::ResourceMonitorProcess::_collect() @ 0x2b7c35f2de5d std::tr1::_Function_handler<>::_M_invoke() @ 0x2b7c360ddc7d std::tr1::function<>::operator()() @ 0x2b7c360c41c5 process::ProcessBase::visit() @ 0x2b7c360cb34c process::DispatchEvent::visit() @ 0x2b7c360c198a process::ProcessManager::resume() @ 0x2b7c360b8ea7 process::schedule() @ 0x2b7c37071e9a start_thread @ 0x2b7c3737acbd (unknown) /bin/bash: line 5: 25474 Aborted ${dir}$tst FAIL: mesos-tests ================== 1 of 1 test failed ================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/ws/build/src'> make[2]: *** [check-am] Error 2 make[2]: Leaving directory `<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/ws/build/src'> make[1]: *** [check] Error 2 make[1]: Leaving directory `<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/ws/build/src'> make: *** [check-recursive] Error 1 Build step 'Execute shell' marked build as failure
