+ian Looks like these cgroups tests are no longer being disabled at runtime when we are running as non-root? If thats the case it is a regression and need to be fixed because we don't root perms on apache jenkins.
@vinodkone On Tue, Feb 11, 2014 at 9:13 PM, Apache Jenkins Server < [email protected]> wrote: > See < > https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/1888/changes > > > > Changes: > > [vinod] Fixed build error in make check on src/tests/isolator_tests.cpp. > > ------------------------------------------ > [...truncated 18886 lines...] > I0212 05:13:06.390861 23385 master.cpp:818] Received registration request > from scheduler(101)@140.211.11.27:58984 > I0212 05:13:06.390993 23385 master.cpp:836] Registering framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 at scheduler(101)@ > 140.211.11.27:58984 > I0212 05:13:06.391161 23383 sched.cpp:391] Framework registered with > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.391187 23383 sched.cpp:405] Scheduler::registered took > 9192ns > I0212 05:13:06.391401 23372 hierarchical_allocator_process.hpp:332] Added > framework 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.391455 23372 hierarchical_allocator_process.hpp:752] > Offering cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] on > slave 2014-02-12-05:13:06-453759884-58984-23279-0 to framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.391584 23372 hierarchical_allocator_process.hpp:688] > Performed allocation for 1 slaves in 160207ns > I0212 05:13:06.391667 23375 master.hpp:439] Adding offer > 2014-02-12-05:13:06-453759884-58984-23279-0 with resources cpus(*):2; > mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave > 2014-02-12-05:13:06-453759884-58984-23279-0 (hemera.apache.org) > I0212 05:13:06.391726 23375 master.cpp:2278] Sending 1 offers to framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.391876 23373 sched.cpp:525] Scheduler::resourceOffers took > 26384ns > I0212 05:13:06.392393 23389 sched.cpp:898] Attempting to launch task 2 > with an unknown offer 2014-02-12-05:13:06-453759884-58984-23279-0 > I0212 05:13:06.392658 23380 master.hpp:449] Removing offer > 2014-02-12-05:13:06-453759884-58984-23279-0 with resources cpus(*):2; > mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave > 2014-02-12-05:13:06-453759884-58984-23279-0 (hemera.apache.org) > I0212 05:13:06.392726 23380 master.cpp:1574] Processing reply for offers: > [ 2014-02-12-05:13:06-453759884-58984-23279-0 ] on slave > 2014-02-12-05:13:06-453759884-58984-23279-0 (hemera.apache.org) for > framework 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.392802 23380 master.hpp:411] Adding task 1 with resources > cpus(*):1; mem(*):512 on slave 2014-02-12-05:13:06-453759884-58984-23279-0 ( > hemera.apache.org) > I0212 05:13:06.392834 23380 master.cpp:2447] Launching task 1 of framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 with resources cpus(*):1; > mem(*):512 on slave 2014-02-12-05:13:06-453759884-58984-23279-0 ( > hemera.apache.org) > I0212 05:13:06.392948 23379 slave.cpp:625] Got assigned task 1 for > framework 2014-02-12-05:13:06-453759884-58984-23279-0000 > W0212 05:13:06.393010 23380 master.cpp:1608] Failed to validate task 2 : > Task has invalid ExecutorInfo (existing ExecutorInfo with same ExecutorID > is not compatible). > ------------------------------------------------------------ > Existing ExecutorInfo: > executor_id { > value: "default" > } > command { > value: "exit 1" > } > framework_id { > value: "2014-02-12-05:13:06-453759884-58984-23279-0000" > } > > ------------------------------------------------------------ > Task's ExecutorInfo: > executor_id { > value: "default" > } > command { > value: "exit 2" > } > framework_id { > value: "2014-02-12-05:13:06-453759884-58984-23279-0000" > } > > ------------------------------------------------------------ > I0212 05:13:06.393178 23379 slave.cpp:734] Launching task 1 for framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.396800 23380 master.cpp:1618] Sending status update > TASK_LOST (UUID: 4b8ae1ff-d654-486a-8120-46121cc1c8ed) for task 2 of > framework 2014-02-12-05:13:06-453759884-58984-23279-0000 for invalid task > I0212 05:13:06.396955 23369 sched.cpp:616] Scheduler::statusUpdate took > 12710ns > I0212 05:13:06.397055 23380 hierarchical_allocator_process.hpp:547] > Framework 2014-02-12-05:13:06-453759884-58984-23279-0000 left cpus(*):1; > mem(*):512; disk(*):1024; ports(*):[31000-32000] unused on slave > 2014-02-12-05:13:06-453759884-58984-23279-0 > I0212 05:13:06.397164 23380 hierarchical_allocator_process.hpp:590] > Framework 2014-02-12-05:13:06-453759884-58984-23279-0000 filtered slave > 2014-02-12-05:13:06-453759884-58984-23279-0 for 5secs > I0212 05:13:06.403065 23379 exec.cpp:131] Version: 0.18.0 > I0212 05:13:06.403214 23369 exec.cpp:181] Executor started at: > executor(37)@140.211.11.27:58984 with pid 23279 > I0212 05:13:06.403219 23379 slave.cpp:844] Queuing task '1' for executor > default of framework '2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.403364 23379 slave.cpp:358] Successfully attached file > '/tmp/MultipleExecutorsTest_TasksExecutorInfoDiffers_YNqnva/slaves/2014-02-12-05:13:06-453759884-58984-23279-0/frameworks/2014-02-12-05:13:06-453759884-58984-23279-0000/executors/default/runs/4167543b-f737-4d3b-8fa6-278b73f4bbdf' > I0212 05:13:06.403406 23379 slave.cpp:1989] Monitoring executor 'default' > of framework '2014-02-12-05:13:06-453759884-58984-23279-0000' in container > '4167543b-f737-4d3b-8fa6-278b73f4bbdf' > I0212 05:13:06.403625 23379 slave.cpp:1316] Got registration for executor > 'default' of framework 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.403810 23379 slave.cpp:1434] Flushing queued task 1 for > executor 'default' of framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.403867 23383 exec.cpp:205] Executor registered on slave > 2014-02-12-05:13:06-453759884-58984-23279-0 > I0212 05:13:06.405926 23383 exec.cpp:217] Executor::registered took 15714ns > I0212 05:13:06.405992 23383 exec.cpp:292] Executor asked to run task '1' > I0212 05:13:06.406031 23383 exec.cpp:301] Executor::launchTask took 28274ns > I0212 05:13:06.406245 23279 master.cpp:587] Master terminating > I0212 05:13:06.406282 23387 sched.cpp:727] Stopping framework > '2014-02-12-05:13:06-453759884-58984-23279-0000' > I0212 05:13:06.406288 23279 master.cpp:247] Shutting down master > I0212 05:13:06.406416 23279 master.hpp:429] Removing task 1 with resources > cpus(*):1; mem(*):512 on slave 2014-02-12-05:13:06-453759884-58984-23279-0 ( > hemera.apache.org) > I0212 05:13:06.406416 23369 slave.cpp:1844] [email protected]:58984exited > W0212 05:13:06.406544 23369 slave.cpp:1847] Master disconnected! Waiting > for a new master to be elected > I0212 05:13:06.406739 23279 master.cpp:290] Removing slave > 2014-02-12-05:13:06-453759884-58984-23279-0 (hemera.apache.org) > I0212 05:13:06.406802 23367 hierarchical_allocator_process.hpp:637] > Recovered cpus(*):1; mem(*):512 (total allocatable: cpus(*):2; mem(*):1024; > disk(*):1024; ports(*):[31000-32000]) on slave > 2014-02-12-05:13:06-453759884-58984-23279-0 from framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.441829 23279 slave.cpp:287] Slave terminating > I0212 05:13:06.441854 23279 slave.cpp:1027] Asked to shut down framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 by @0.0.0.0:0 > I0212 05:13:06.441866 23279 slave.cpp:1052] Shutting down framework > 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.441879 23279 slave.cpp:2332] Shutting down executor > 'default' of framework 2014-02-12-05:13:06-453759884-58984-23279-0000 > I0212 05:13:06.442039 23373 exec.cpp:378] Executor asked to shutdown > I0212 05:13:06.442072 23373 exec.cpp:393] Executor::shutdown took 8892ns > [ OK ] MultipleExecutorsTest.TasksExecutorInfoDiffers (70 ms) > [----------] 1 test from MultipleExecutorsTest (70 ms total) > > [----------] 34 tests from ResourcesTest > [ RUN ] ResourcesTest.Parsing > [ OK ] ResourcesTest.Parsing (0 ms) > [ RUN ] ResourcesTest.ParsingWithRoles > [ OK ] ResourcesTest.ParsingWithRoles (0 ms) > [ RUN ] ResourcesTest.ParseError > [ OK ] ResourcesTest.ParseError (0 ms) > [ RUN ] ResourcesTest.Resources > [ OK ] ResourcesTest.Resources (1 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.ScalarSubset2 > [ OK ] ResourcesTest.ScalarSubset2 (0 ms) > [ RUN ] ResourcesTest.ScalarAddition > [ OK ] ResourcesTest.ScalarAddition (0 ms) > [ RUN ] ResourcesTest.ScalarAddition2 > [ OK ] ResourcesTest.ScalarAddition2 (0 ms) > [ RUN ] ResourcesTest.ScalarSubtraction > [ OK ] ResourcesTest.ScalarSubtraction (0 ms) > [ RUN ] ResourcesTest.ScalarSubtraction2 > [ OK ] ResourcesTest.ScalarSubtraction2 (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 (1 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) > [ RUN ] ResourcesTest.FlattenRoles > [ OK ] ResourcesTest.FlattenRoles (0 ms) > [ RUN ] ResourcesTest.Find > [ OK ] ResourcesTest.Find (1 ms) > [----------] 34 tests from ResourcesTest (3 ms total) > > [----------] 3 tests from SASL > [ RUN ] SASL.success > I0212 05:13:06.445623 23382 authenticatee.hpp:124] Creating new client > SASL connection > I0212 05:13:06.446563 23374 authenticator.hpp:140] Creating new server > SASL connection > I0212 05:13:06.447540 23377 authenticatee.hpp:212] Received SASL > authentication mechanisms: CRAM-MD5 > I0212 05:13:06.447573 23377 authenticatee.hpp:238] Attempting to > authenticate with mechanism 'CRAM-MD5' > I0212 05:13:06.447681 23377 authenticator.hpp:243] Received SASL > authentication start > I0212 05:13:06.447798 23377 authenticator.hpp:325] Authentication requires > more steps > I0212 05:13:06.447926 23377 authenticatee.hpp:258] Received SASL > authentication step > I0212 05:13:06.448007 23377 authenticator.hpp:271] Received SASL > authentication step > I0212 05:13:06.448040 23377 auxprop.cpp:81] Request to lookup properties > for user: 'benh' realm: 'hemera.apache.org' server FQDN: ' > hemera.apache.org' SASL_AUXPROP_VERIFY_AGAINST_HASH: false > SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false > I0212 05:13:06.448055 23377 auxprop.cpp:153] Looking up auxiliary property > '*userPassword' > I0212 05:13:06.448076 23377 auxprop.cpp:153] Looking up auxiliary property > '*cmusaslsecretCRAM-MD5' > I0212 05:13:06.448089 23377 auxprop.cpp:81] Request to lookup properties > for user: 'benh' realm: 'hemera.apache.org' server FQDN: ' > hemera.apache.org' SASL_AUXPROP_VERIFY_AGAINST_HASH: false > SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true > I0212 05:13:06.448110 23377 auxprop.cpp:103] Skipping auxiliary property > '*userPassword' since SASL_AUXPROP_AUTHZID == true > I0212 05:13:06.448123 23377 auxprop.cpp:103] Skipping auxiliary property > '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true > I0212 05:13:06.448144 23377 authenticator.hpp:317] Authentication success > I0212 05:13:06.448827 23381 authenticatee.hpp:298] Authentication success > [ OK ] SASL.success (5 ms) > [ RUN ] SASL.failed1 > I0212 05:13:06.451129 23376 authenticatee.hpp:124] Creating new client > SASL connection > I0212 05:13:06.452395 23376 authenticator.hpp:140] Creating new server > SASL connection > I0212 05:13:06.452823 23373 authenticatee.hpp:212] Received SASL > authentication mechanisms: CRAM-MD5 > I0212 05:13:06.452847 23373 authenticatee.hpp:238] Attempting to > authenticate with mechanism 'CRAM-MD5' > I0212 05:13:06.452931 23377 authenticator.hpp:243] Received SASL > authentication start > I0212 05:13:06.453129 23377 authenticator.hpp:325] Authentication requires > more steps > I0212 05:13:06.453446 23374 authenticatee.hpp:258] Received SASL > authentication step > I0212 05:13:06.453614 23376 authenticator.hpp:271] Received SASL > authentication step > I0212 05:13:06.453641 23376 auxprop.cpp:81] Request to lookup properties > for user: 'benh' realm: 'hemera.apache.org' server FQDN: ' > hemera.apache.org' SASL_AUXPROP_VERIFY_AGAINST_HASH: false > SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false > I0212 05:13:06.453649 23376 auxprop.cpp:153] Looking up auxiliary property > '*userPassword' > I0212 05:13:06.453661 23376 auxprop.cpp:153] Looking up auxiliary property > '*cmusaslsecretCRAM-MD5' > I0212 05:13:06.453671 23376 auxprop.cpp:81] Request to lookup properties > for user: 'benh' realm: 'hemera.apache.org' server FQDN: ' > hemera.apache.org' SASL_AUXPROP_VERIFY_AGAINST_HASH: false > SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true > I0212 05:13:06.453680 23376 auxprop.cpp:103] Skipping auxiliary property > '*userPassword' since SASL_AUXPROP_AUTHZID == true > I0212 05:13:06.453685 23376 auxprop.cpp:103] Skipping auxiliary property > '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true > W0212 05:13:06.453702 23376 authenticator.hpp:331] Authentication failure: > authentication failure > [ OK ] SASL.failed1 (4 ms) > [ RUN ] SASL.failed2 > I0212 05:13:06.454721 23387 authenticatee.hpp:124] Creating new client > SASL connection > I0212 05:13:06.455508 23383 authenticator.hpp:140] Creating new server > SASL connection > I0212 05:13:06.455739 23384 authenticatee.hpp:212] Received SASL > authentication mechanisms: CRAM-MD5 > I0212 05:13:06.455822 23384 authenticatee.hpp:238] Attempting to > authenticate with mechanism 'CRAM-MD5' > I0212 05:13:06.456053 23378 authenticator.hpp:243] Received SASL > authentication start > I0212 05:13:06.456142 23378 authenticator.hpp:325] Authentication requires > more steps > I0212 05:13:06.456183 23378 authenticatee.hpp:258] Received SASL > authentication step > I0212 05:13:06.456226 23378 authenticator.hpp:271] Received SASL > authentication step > I0212 05:13:06.456265 23378 auxprop.cpp:81] Request to lookup properties > for user: 'benh' realm: 'hemera.apache.org' server FQDN: ' > hemera.apache.org' SASL_AUXPROP_VERIFY_AGAINST_HASH: false > SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false > I0212 05:13:06.456275 23378 auxprop.cpp:153] Looking up auxiliary property > '*userPassword' > I0212 05:13:06.456282 23378 auxprop.cpp:153] Looking up auxiliary property > '*cmusaslsecretCRAM-MD5' > I0212 05:13:06.456290 23378 auxprop.cpp:81] Request to lookup properties > for user: 'benh' realm: 'hemera.apache.org' server FQDN: ' > hemera.apache.org' SASL_AUXPROP_VERIFY_AGAINST_HASH: false > SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true > I0212 05:13:06.456296 23378 auxprop.cpp:103] Skipping auxiliary property > '*userPassword' since SASL_AUXPROP_AUTHZID == true > I0212 05:13:06.456302 23378 auxprop.cpp:103] Skipping auxiliary property > '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true > W0212 05:13:06.456310 23378 authenticator.hpp:331] Authentication failure: > user not found > [ OK ] SASL.failed2 (3 ms) > [----------] 3 tests from SASL (12 ms total) > > [----------] 2 tests from SlaveStateTest > [ RUN ] SlaveStateTest.CheckpointProtobuf > Using temporary directory '/tmp/SlaveStateTest_CheckpointProtobuf_fKQnFc' > [ OK ] SlaveStateTest.CheckpointProtobuf (1 ms) > [ RUN ] SlaveStateTest.CheckpointString > Using temporary directory '/tmp/SlaveStateTest_CheckpointString_rIpsPe' > [ OK ] SlaveStateTest.CheckpointString (0 ms) > [----------] 2 tests from SlaveStateTest (1 ms total) > > [----------] 23 tests from SlaveRecoveryTest/0, where TypeParam = > mesos::internal::slave::MesosContainerizer > [ RUN ] SlaveRecoveryTest/0.RecoverSlaveState > ../../src/tests/mesos.cpp:336: Failure > cgroups::mount(hierarchy, subsystem): Failed to mount 'freezer' at > '/tmp/mesos_test_cgroup/freezer': Operation not permitted > ------------------------------------------------------------- > We cannot run any cgroups tests that require > a hierarchy with subsystem 'freezer' > because we failed to find an existing hierarchy > or create a new one (tried '/tmp/mesos_test_cgroup/freezer'). > You can either remove all existing > hierarchies, or disable this test case > (i.e., --gtest_filter=-SlaveRecoveryTest/0.*). > ------------------------------------------------------------- > F0212 05:13:06.459239 23279 mesos.cpp:362] CHECK_SOME(cgroups): > '/tmp/mesos_test_cgroup/freezer' is not a valid hierarchy > *** Check failure stack trace: *** > @ 0x2b2f61676f1d google::LogMessage::Fail() > @ 0x2b2f6167901f google::LogMessage::SendToLog() > @ 0x2b2f61676b0c google::LogMessage::Flush() > @ 0x2b2f616798bd google::LogMessageFatal::~LogMessageFatal() > @ 0x4d8add _CheckSome::~_CheckSome() > @ 0x6fceb4 > mesos::internal::tests::ContainerizerTest<>::TearDown() > @ 0x851fbd > testing::internal::HandleExceptionsInMethodIfSupported<>() > @ 0x84a1f3 testing::Test::Run() > @ 0x84a326 testing::TestInfo::Run() > @ 0x84a467 testing::TestCase::Run() > @ 0x84a7be testing::internal::UnitTestImpl::RunAllTests() > @ 0x851b3d > testing::internal::HandleExceptionsInMethodIfSupported<>() > @ 0x84989e testing::UnitTest::Run() > @ 0x4b2d2b main > @ 0x2b2f62a3d76d (unknown) > @ 0x4bbb81 (unknown) > make[3]: *** [check-local] Aborted (core dumped) > make[3]: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/build/src' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/build/src' > make[1]: *** [check] Error 2 > make[1]: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/build/src' > make: *** [check-recursive] Error 1 > Build step 'Execute shell' marked build as failure >
