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

Klaus Ma commented on MESOS-4413:
---------------------------------

The gtest was crashed. Refer to the following stack trace.

{code}
Klauss-MacBook-Pro:build klaus$ lldb -c /cores/core.6757 
(lldb) target create --core "/cores/core.6757"
warning: (x86_64) /cores/core.6757 load command 126 LC_SEGMENT_64 has a fileoff 
+ filesize (0x2bbd4000) that extends beyond the end of the file (0x2bbd3000), 
the segment will be truncated to match
Core file '/cores/core.6757' (x86_64) was loaded.
(lldb) bt
* thread #1: tid = 0x0000, 0x00007fff98c029fe libsystem_kernel.dylib`write + 
10, stop reason = signal SIGSTOP
  * frame #0: 0x00007fff98c029fe libsystem_kernel.dylib`write + 10
    frame #1: 0x000000010cb60046 libprocess-tests`::write() + 806 at 
write.hpp:38
    frame #2: 0x000000010cb4fa60 libprocess-tests`::TestBody() + 6784 at 
io_tests.cpp:166
    frame #3: 0x000000010cf7b373 
libprocess-tests`::HandleSehExceptionsInMethodIfSupported<testing::Test, 
void>() + 131 at gtest.cc:2078
    frame #4: 0x000000010cf604b7 
libprocess-tests`::HandleExceptionsInMethodIfSupported<testing::Test, void>() + 
119 at gtest.cc:2114
    frame #5: 0x000000010cf204f5 libprocess-tests`::Run() + 197 at gtest.cc:2150
    frame #6: 0x000000010cf21a3b libprocess-tests`::Run() + 219 at gtest.cc:2326
    frame #7: 0x000000010cf226d7 libprocess-tests`::Run() + 231 at gtest.cc:2444
    frame #8: 0x000000010cf30eb3 libprocess-tests`::RunAllTests() + 915 at 
gtest.cc:4315
    frame #9: 0x000000010cf7f303 
libprocess-tests`::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>() + 131 at gtest.cc:2078
    frame #10: 0x000000010cf62b27 
libprocess-tests`::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>() + 119 at gtest.cc:2114
    frame #11: 0x000000010cf30ab0 libprocess-tests`::Run() + 416 at 
gtest.cc:3926
    frame #12: 0x000000010cb848c1 libprocess-tests`::RUN_ALL_TESTS() + 17 at 
gtest.h:2288
    frame #13: 0x000000010cb8445c libprocess-tests`main + 268 at main.cpp:62
    frame #14: 0x00007fff8d4a75ad libdyld.dylib`start + 1
    frame #15: 0x00007fff8d4a75ad libdyld.dylib`start + 1
(lldb) thread info

{code}

> libprocess tests is flaky
> -------------------------
>
>                 Key: MESOS-4413
>                 URL: https://issues.apache.org/jira/browse/MESOS-4413
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>         Environment: Darwin Klauss-MacBook-Pro.local 15.2.0 Darwin Kernel 
> Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; 
> root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
>            Reporter: Klaus Ma
>
> {code}
> ./libprocess-tests
> [==========] Running 155 tests from 23 test cases.
> [----------] Global test environment set-up.
> [----------] 3 tests from CollectTest
> [ RUN      ] CollectTest.Ready
> [       OK ] CollectTest.Ready (1 ms)
> [ RUN      ] CollectTest.Failure
> [       OK ] CollectTest.Failure (1 ms)
> [ RUN      ] CollectTest.DiscardPropagation
> [       OK ] CollectTest.DiscardPropagation (1 ms)
> [----------] 3 tests from CollectTest (3 ms total)
> [----------] 4 tests from AwaitTest
> [ RUN      ] AwaitTest.Success
> [       OK ] AwaitTest.Success (0 ms)
> [ RUN      ] AwaitTest.Failure
> [       OK ] AwaitTest.Failure (1 ms)
> [ RUN      ] AwaitTest.Discarded
> [       OK ] AwaitTest.Discarded (0 ms)
> [ RUN      ] AwaitTest.DiscardPropagation
> [       OK ] AwaitTest.DiscardPropagation (0 ms)
> [----------] 4 tests from AwaitTest (1 ms total)
> [----------] 6 tests from DecoderTest
> [ RUN      ] DecoderTest.Request
> [       OK ] DecoderTest.Request (1 ms)
> [ RUN      ] DecoderTest.RequestHeaderContinuation
> [       OK ] DecoderTest.RequestHeaderContinuation (0 ms)
> [ RUN      ] DecoderTest.RequestHeaderCaseInsensitive
> [       OK ] DecoderTest.RequestHeaderCaseInsensitive (0 ms)
> [ RUN      ] DecoderTest.Response
> [       OK ] DecoderTest.Response (0 ms)
> [ RUN      ] DecoderTest.StreamingResponse
> [       OK ] DecoderTest.StreamingResponse (0 ms)
> [ RUN      ] DecoderTest.StreamingResponseFailure
> [       OK ] DecoderTest.StreamingResponseFailure (0 ms)
> [----------] 6 tests from DecoderTest (1 ms total)
> [----------] 2 tests from EncoderTest
> [ RUN      ] EncoderTest.Response
> [       OK ] EncoderTest.Response (0 ms)
> [ RUN      ] EncoderTest.AcceptableEncodings
> [       OK ] EncoderTest.AcceptableEncodings (1 ms)
> [----------] 2 tests from EncoderTest (1 ms total)
> [----------] 1 test from FutureTest
> [ RUN      ] FutureTest.ArrowOperator
> [       OK ] FutureTest.ArrowOperator (0 ms)
> [----------] 1 test from FutureTest (0 ms total)
> [----------] 17 tests from HTTPTest
> [ RUN      ] HTTPTest.Auth
> [       OK ] HTTPTest.Auth (5 ms)
> [ RUN      ] HTTPTest.Endpoints
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> E0116 15:26:53.831742 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 9: Socket is not connected
> [       OK ] HTTPTest.Endpoints (3 ms)
> [ RUN      ] HTTPTest.PipeEOF
> [       OK ] HTTPTest.PipeEOF (0 ms)
> [ RUN      ] HTTPTest.PipeFailure
> [       OK ] HTTPTest.PipeFailure (1 ms)
> [ RUN      ] HTTPTest.PipeReaderCloses
> [       OK ] HTTPTest.PipeReaderCloses (0 ms)
> [ RUN      ] HTTPTest.Encode
> [       OK ] HTTPTest.Encode (0 ms)
> [ RUN      ] HTTPTest.PathParse
> [       OK ] HTTPTest.PathParse (0 ms)
> [ RUN      ] HTTPTest.Get
> [       OK ] HTTPTest.Get (3 ms)
> [ RUN      ] HTTPTest.NestedGet
> [       OK ] HTTPTest.NestedGet (4 ms)
> [ RUN      ] HTTPTest.StreamingGetComplete
> [       OK ] HTTPTest.StreamingGetComplete (3 ms)
> [ RUN      ] HTTPTest.StreamingGetFailure
> [       OK ] HTTPTest.StreamingGetFailure (3 ms)
> [ RUN      ] HTTPTest.PipeEquality
> [       OK ] HTTPTest.PipeEquality (0 ms)
> [ RUN      ] HTTPTest.Post
> [       OK ] HTTPTest.Post (3 ms)
> [ RUN      ] HTTPTest.Delete
> [       OK ] HTTPTest.Delete (1 ms)
> [ RUN      ] HTTPTest.QueryEncodeDecode
> [       OK ] HTTPTest.QueryEncodeDecode (1 ms)
> [ RUN      ] HTTPTest.CaseInsensitiveHeaders
> [       OK ] HTTPTest.CaseInsensitiveHeaders (0 ms)
> [ RUN      ] HTTPTest.Accepts
> [       OK ] HTTPTest.Accepts (0 ms)
> [----------] 17 tests from HTTPTest (28 ms total)
> [----------] 6 tests from HTTPConnectionTest
> [ RUN      ] HTTPConnectionTest.Serial
> E0116 15:26:53.856267 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 9: Socket is not connected
> [       OK ] HTTPConnectionTest.Serial (5 ms)
> [ RUN      ] HTTPConnectionTest.Pipeline
> E0116 15:26:53.861946 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 9: Socket is not connected
> [       OK ] HTTPConnectionTest.Pipeline (6 ms)
> [ RUN      ] HTTPConnectionTest.ClosingRequest
> [       OK ] HTTPConnectionTest.ClosingRequest (4 ms)
> [ RUN      ] HTTPConnectionTest.ClosingResponse
> [       OK ] HTTPConnectionTest.ClosingResponse (4 ms)
> [ RUN      ] HTTPConnectionTest.ReferenceCounting
> E0116 15:26:53.871278 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 9: Socket is not connected
> [       OK ] HTTPConnectionTest.ReferenceCounting (1 ms)
> [ RUN      ] HTTPConnectionTest.Equality
> E0116 15:26:53.873129 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 9: Socket is not connected
> E0116 15:26:53.873286 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 11: Socket is not connected
> [       OK ] HTTPConnectionTest.Equality (2 ms)
> [----------] 6 tests from HTTPConnectionTest (22 ms total)
> [----------] 2 tests from URLTest
> [ RUN      ] URLTest.Stringification
> [       OK ] URLTest.Stringification (0 ms)
> [ RUN      ] URLTest.ParseUrls
> [       OK ] URLTest.ParseUrls (0 ms)
> [----------] 2 tests from URLTest (0 ms total)
> [----------] 6 tests from HttpAuthenticationTest
> [ RUN      ] HttpAuthenticationTest.NoAuthenticator
> [       OK ] HttpAuthenticationTest.NoAuthenticator (2 ms)
> [ RUN      ] HttpAuthenticationTest.Unauthorized
> [       OK ] HttpAuthenticationTest.Unauthorized (3 ms)
> [ RUN      ] HttpAuthenticationTest.Forbidden
> [       OK ] HttpAuthenticationTest.Forbidden (2 ms)
> [ RUN      ] HttpAuthenticationTest.Authenticated
> [       OK ] HttpAuthenticationTest.Authenticated (3 ms)
> [ RUN      ] HttpAuthenticationTest.Pipelining
> E0116 15:26:53.885918 4820992 process.cpp:1966] Failed to shutdown socket 
> with fd 9: Socket is not connected
> [       OK ] HttpAuthenticationTest.Pipelining (3 ms)
> [ RUN      ] HttpAuthenticationTest.Basic
> [       OK ] HttpAuthenticationTest.Basic (7 ms)
> [----------] 6 tests from HttpAuthenticationTest (20 ms total)
> [----------] 6 tests from IOTest
> [ RUN      ] IOTest.Poll
> [       OK ] IOTest.Poll (0 ms)
> [ RUN      ] IOTest.Read
> [       OK ] IOTest.Read (1 ms)
> [ RUN      ] IOTest.BufferedRead
> make[5]: *** [check-local] Illegal instruction: 4
> make[4]: *** [check-am] Error 2
> make[3]: *** [check-recursive] Error 1
> make[2]: *** [check-recursive] Error 1
> make[1]: *** [check] Error 2
> make: *** [check-recursive] Error 1
> {code}



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

Reply via email to