Ian Downes created MESOS-3000:
---------------------------------
Summary: 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)