Hi, @Qian Zhang. I think ``` # ./src/test-framework --master=127.0.0.1:5050 ``` works as normal.
For the `make check`, I think the failed test case is because your machine don't install some test dependency, it should not affect your normal use. On Mon, Jun 1, 2015 at 11:20 PM, Qian Zhang <[email protected]> wrote: > Hi, > > I followed the exact steps in http://mesos.apache.org/gettingstarted/ to > try Mesos, what I am using is a RHEL 6.5 x86_64 virtual machine. But "make > check" failed: > [----------] 1 test from PerfEventIsolatorTest > [ RUN ] PerfEventIsolatorTest.ROOT_CGROUPS_Sample > F0601 22:45:27.851017 12655 isolator_tests.cpp:710] CHECK_SOME(isolator): > Perf is not supported > *** Check failure stack trace: *** > @ 0x7ffe4fa7dd60 google::LogMessage::Fail() > @ 0x7ffe4fa7dcb9 google::LogMessage::SendToLog() > @ 0x7ffe4fa7d697 google::LogMessage::Flush() > @ 0x7ffe4fa8061f google::LogMessageFatal::~LogMessageFatal() > @ 0x97fe94 _CheckFatal::~_CheckFatal() > @ 0xbf7829 > > mesos::internal::tests::PerfEventIsolatorTest_ROOT_CGROUPS_Sample_Test::TestBody() > @ 0x10e5fa5 > testing::internal::HandleSehExceptionsInMethodIfSupported<>() > @ 0x10e0abe > testing::internal::HandleExceptionsInMethodIfSupported<>() > @ 0x10c783e testing::Test::Run() > @ 0x10c8078 testing::TestInfo::Run() > @ 0x10c86ac testing::TestCase::Run() > @ 0x10cda39 testing::internal::UnitTestImpl::RunAllTests() > @ 0x10e71f9 > testing::internal::HandleSehExceptionsInMethodIfSupported<>() > @ 0x10e1899 > testing::internal::HandleExceptionsInMethodIfSupported<>() > @ 0x10cc5c1 testing::UnitTest::Run() > @ 0xc9fe96 main > @ 0x7ffe4bb21d1d __libc_start_main > @ 0x85ba69 (unknown) > I0601 22:45:29.976155 14327 exec.cpp:450] Slave exited, but framework has > checkpointing enabled. Waiting 15mins to reconnect with slave > 20150601-224223-2574952640-39385-12655-S0 > make[3]: *** [check-local] Aborted (core dumped) > make[3]: Leaving directory `/root/mesos-0.22.1/build/src' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory `/root/mesos-0.22.1/build/src' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/root/mesos-0.22.1/build/src' > make: *** [check-recursive] Error 1 > [root@mesos build]# echo $? > 2 > > > And the example C++ framework also failed: > # ./src/test-framework --master=127.0.0.1:5050 > I0601 23:02:44.646636 14828 sched.cpp:157] Version: 0.22.1 > I0601 23:02:44.662256 14849 sched.cpp:254] New master detected at > [email protected]:5050 > I0601 23:02:44.664237 14849 sched.cpp:264] No credentials provided. > Attempting to register without authentication > I0601 23:02:44.670964 14853 sched.cpp:448] Framework registered with > 20150601-225015-16777343-5050-14668-0000 > Registered! > Received offer 20150601-225015-16777343-5050-14668-O0 with cpus(*):4; > mem(*):2806; disk(*):40810; ports(*):[31000-32000] > Launching task 0 using offer 20150601-225015-16777343-5050-14668-O0 > Launching task 1 using offer 20150601-225015-16777343-5050-14668-O0 > Launching task 2 using offer 20150601-225015-16777343-5050-14668-O0 > Launching task 3 using offer 20150601-225015-16777343-5050-14668-O0 > Task 0 is in state TASK_LOST > Aborting because task 0 is in unexpected state TASK_LOST with reason 1 > from source 1 with message 'Executor terminated' > I0601 23:02:44.880982 14848 sched.cpp:1623] Asked to abort the driver > I0601 23:02:44.881239 14848 sched.cpp:856] Aborting framework > '20150601-225015-16777343-5050-14668-0000' > I0601 23:02:44.881921 14828 sched.cpp:1589] Asked to stop the driver > > > > Any help will be appreciated, thanks! > > -- Best Regards, Haosdent Huang

