Greg Mann created MESOS-3582:
--------------------------------

             Summary: ExamplesTest.JavaFramework fails as root
                 Key: MESOS-3582
                 URL: https://issues.apache.org/jira/browse/MESOS-3582
             Project: Mesos
          Issue Type: Bug
         Environment: OSX 10.10.5
            Reporter: Greg Mann


So far, I've observed this in OSX 10.10.5. Running ExamplesTest.JavaFramework 
as a non-root user will succeed, but running as root fails:

{code}
I1005 08:03:19.835351 844853248 registrar.cpp:486] Successfully updated the 
'registry' in 9.180928ms
I1005 08:03:19.835484 846462976 log.cpp:704] Attempting to truncate the log to 7
I1005 08:03:19.835582 845389824 coordinator.cpp:341] Coordinator attempting to 
write TRUNCATE action at position 8
I1005 08:03:19.835866 844316672 hierarchical.hpp:675] Added slave 
c7287e35-1674-4826-99f7-89934a2fd33d-S2 (192.168.99.1) with cpus(*):2; 
mem(*):10240; disk(*):470816; ports(*):[31000-32000] (allocated: )
I1005 08:03:19.835875 843780096 master.cpp:3930] Registered slave 
c7287e35-1674-4826-99f7-89934a2fd33d-S2 at slave(2)@192.168.99.1:58825 
(192.168.99.1) with cpus(*):2; mem(*):10240; disk(*):470816; 
ports(*):[31000-32000]
I1005 08:03:19.835901 842706944 slave.cpp:880] Registered with master 
[email protected]:58825; given slave ID 
c7287e35-1674-4826-99f7-89934a2fd33d-S2
I1005 08:03:19.836043 844316672 status_update_manager.cpp:183] Resuming sending 
status updates
I1005 08:03:19.836163 845389824 replica.cpp:511] Replica received write request 
for position 8
I1005 08:03:19.836297 845389824 leveldb.cpp:343] Persisting action (16 bytes) 
to leveldb took 117us
I1005 08:03:19.836320 845389824 replica.cpp:679] Persisted action at 8
I1005 08:03:19.836422 842706944 slave.cpp:939] Forwarding total oversubscribed 
resources 
I1005 08:03:19.836591 843780096 master.cpp:4272] Received update of slave 
c7287e35-1674-4826-99f7-89934a2fd33d-S2 at slave(2)@192.168.99.1:58825 
(192.168.99.1) with total oversubscribed resources 
I1005 08:03:19.836742 843780096 replica.cpp:658] Replica received learned 
notice for position 8
I1005 08:03:19.836753 845926400 hierarchical.hpp:735] Slave 
c7287e35-1674-4826-99f7-89934a2fd33d-S2 (192.168.99.1) updated with 
oversubscribed resources  (total: cpus(*):2; mem(*):10240; disk(*):470816; 
ports(*):[31000-32000], allocated: )
I1005 08:03:19.836858 843780096 leveldb.cpp:343] Persisting action (18 bytes) 
to leveldb took 107us
I1005 08:03:19.836892 843780096 leveldb.cpp:401] Deleting ~2 keys from leveldb 
took 20us
I1005 08:03:19.836906 843780096 replica.cpp:679] Persisted action at 8
I1005 08:03:19.836916 843780096 replica.cpp:664] Replica learned TRUNCATE 
action at position 8
W1005 08:03:23.991794 844316672 sched.cpp:429] Authentication timed out
I1005 08:03:23.992071 844316672 sched.cpp:387] Failed to authenticate with 
master [email protected]:58825: Authentication discarded
I1005 08:03:23.992141 844316672 sched.cpp:318] Authenticating with master 
[email protected]:58825
I1005 08:03:23.992162 844316672 sched.cpp:325] Using default CRAM-MD5 
authenticatee
I1005 08:03:23.992350 845926400 authenticatee.cpp:115] Creating new client SASL 
connection
I1005 08:03:23.992614 843243520 master.cpp:5138] Authenticating 
[email protected]:58825
I1005 08:03:23.993170 844853248 authenticator.cpp:92] Creating new server SASL 
connection
I1005 08:03:23.993396 842706944 authenticatee.cpp:206] Received SASL 
authentication mechanisms: CRAM-MD5
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fff8bd0dfb2, pid=2009, tid=19715
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode bsd-amd64 
compressed oops)
# Problematic frame:
# C  [libsystem_c.dylib+0xfb2]  strlen+0x12
#
# Failed to write core dump. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/gmann/src/mesos/build/src/examples/java/hs_err_pid2009.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
../../src/tests/script.cpp:83: Failure
Failed
java_framework_test.sh terminated with signal Abort trap: 6
[  FAILED  ] ExamplesTest.JavaFramework (14506 ms)
[----------] 1 test from ExamplesTest (14506 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (14518 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ExamplesTest.JavaFramework
{code}



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

Reply via email to