[ 
https://issues.apache.org/jira/browse/MESOS-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625714#comment-14625714
 ] 

Klaus Ma commented on MESOS-3000:
---------------------------------

Re-run the test with the latest code, the phenomenon similar; i'll check what's 
happened to "setns-test-helper", it seems it's exit with exception.

Refer to the following for the detail output:
==========================================================

klaus@klaus-OptiPlex-780:~/mesos$ sudo MESOS_VERBOSE=1 ./bin/mesos-tests.sh 
--gtest_filter=NsTest.ROOT_setns
Source directory: /home/klaus/mesos
Build directory: /home/klaus/mesos
-------------------------------------------------------------
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/sys/fs/cgroup/blkio, /sys/fs/cgroup/cpu, /sys/fs/cgroup/cpuacct, 
/sys/fs/cgroup/cpuset, /sys/fs/cgroup/devices, /sys/fs/cgroup/freezer, 
/sys/fs/cgroup/hugetlb, /sys/fs/cgroup/memory, /sys/fs/cgroup/perf_event, 
/sys/fs/cgroup/systemd
We'll disable the CgroupsNoHierarchyTest test fixture for now.
-------------------------------------------------------------
/bin/nc
Note: Google Test filter = 
NsTest.ROOT_setns-CgroupsNoHierarchyTest.ROOT_CGROUPS_NOHIERARCHY_MountUnmountHierarchy:SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddAndUpdateSlave/0:SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddAndUpdateSlave/1:SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddAndUpdateSlave/2:SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddAndUpdateSlave/3:SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddAndUpdateSlave/4:SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddAndUpdateSlave/5:SlaveCount/Registrar_BENCHMARK_Test.Performance/0:SlaveCount/Registrar_BENCHMARK_Test.Performance/1:SlaveCount/Registrar_BENCHMARK_Test.Performance/2:SlaveCount/Registrar_BENCHMARK_Test.Performance/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from NsTest
[ RUN      ] NsTest.ROOT_setns
tests/ns_tests.cpp:125: Failure
Value of: status.get().get()
  Actual: 256
Expected: 0
[  FAILED  ] NsTest.ROOT_setns (73 ms)
[----------] 1 test from NsTest (73 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (83 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] NsTest.ROOT_setns

 1 FAILED TEST
  YOU HAVE 10 DISABLED TESTS

Thanks
Klaus

> Failing test - NsTest.ROOT_setns
> --------------------------------
>
>                 Key: MESOS-3000
>                 URL: https://issues.apache.org/jira/browse/MESOS-3000
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Ian Downes
>            Priority: Blocker
>
> Appears to be the same issue plaguing MESOS-2199
> {noformat}
> [root@hostname build]# MESOS_VERBOSE=1 ./bin/mesos-tests.sh 
> --gtest_filter=NsTest.ROOT_setns
> ...
> [==========] Running 1 test from 1 test case.
> [----------] Global test environment set-up.
> [----------] 1 test from NsTest
> [ RUN      ] NsTest.ROOT_setns
> ABORT: (../../../3rdparty/libprocess/src/subprocess.cpp:163): Failed to 
> os::execvpe in childMain: Permission denied*** Aborted at 1436292540 (unix 
> time) try "date -d @1436292540" if you are using GNU date ***
> PC: @     0x7f7a1229e625 __GI_raise
> *** SIGABRT (@0xfffe00000001) received by PID 1 (TID 0x7f7a19afc820) from PID 
> 1; stack trace: ***
>     @     0x7f7a13421710 (unknown)
>     @     0x7f7a1229e625 __GI_raise
>     @     0x7f7a1229fe05 __GI_abort
>     @           0x860ba1 (unknown)
>     @           0x860bcf (unknown)
>     @     0x7f7a1826f118 (unknown)
>     @     0x7f7a18274594 (unknown)
>     @     0x7f7a18273b88 (unknown)
>     @     0x7f7a18273098 (unknown)
>     @          0x1180720 (unknown)
>     @          0x117a5d7 (unknown)
>     @     0x7f7a123548fd clone
> ../../src/tests/ns_tests.cpp:121: Failure
> Failed to wait 15secs for status
> [  FAILED  ] NsTest.ROOT_setns (15004 ms)
> [----------] 1 test from NsTest (15004 ms total)
> [----------] Global test environment tear-down
> ../../src/tests/environment.cpp:441: Failure
> Failed
> Tests completed with child processes remaining:
> -+- 40531 /home/idownes/workspace/mesos/build/src/.libs/lt-mesos-tests 
> --gtest_filter=NsTest.ROOT_setns
>  \--- 40565 /home/idownes/workspace/mesos/build/src/.libs/lt-mesos-tests 
> --gtest_filter=NsTest.ROOT_setns
> [==========] 1 test from 1 test case ran. (15034 ms total)
> [  PASSED  ] 0 tests.
> [  FAILED  ] 1 test, listed below:
> [  FAILED  ] NsTest.ROOT_setns
> {noformat}
> Relevant strace for the forked child:
> {noformat}
> ...
> getpid()                                = 1
> dup2(6, 0) = 0
> dup2(7, 1) = 1
> dup2(8, 2) = 2
> close(6) = 0
> close(7) = 0
> close(8) = 0
> execve("/home/idownes/workspace/mesos/build/src/setns-test-helper", 
> ["setns-test-helper", "SetnsTestHelper"], [/* 24 vars */]) = -1 EACCES 
> (Permission denied)
> write(2, "ABORT: (../../../3rdparty/libpro"..., 62) = 62
> write(2, "Failed to os::execvpe in childMa"..., 53) = 53
> ...
> {noformat}
> Binary that it's trying to exec:
> {noformat}
> [root@hostname build]# stat 
> /home/idownes/workspace/mesos/build/src/setns-test-helper
>   File: `/home/idownes/workspace/mesos/build/src/setns-test-helper'
>   Size: 7948            Blocks: 16         IO Block: 4096   regular file
> Device: 801h/2049d      Inode: 22949249    Links: 1
> Access: (0755/-rwxr-xr-x)  Uid: (13118/ idownes)   Gid: ( 1500/employee)
> Access: 2015-07-07 17:58:09.569861237 +0000
> Modify: 2015-07-07 17:58:09.573861290 +0000
> Change: 2015-07-07 17:58:09.573861290 +0000
> [root@hostname build]# 
> /home/idownes/workspace/mesos/build/src/setns-test-helper
> Usage: /home/idownes/workspace/mesos/build/src/.libs/lt-setns-test-helper 
> <subcommand> [OPTIONS]
> Available subcommands:
>     help
>     SetnsTestHelper
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to