You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2017/01/10 00:07:58 UTC

[jira] [Commented] (MESOS-6759) IOSwitchboardServerTest.AttachOutput has CHECK failure if run it multiple times.

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

Jie Yu commented on MESOS-6759:
-------------------------------

commit 87d7230171ec7a3ad2d232fbffc5bfc94f9cd68c
Author: Greg Mann <gr...@mesosphere.io>
Date:   Mon Jan 9 16:06:11 2017 -0800

    Fixed an FD leak in the IO switchboard.

    Previously, the IO switchboard could leak file descriptors
    because it held a reference to its server socket within the
    socket's accept loop. This patch explicitly discards the
    future containing this reference to eliminate the leak.

    Review: https://reviews.apache.org/r/55355/

> IOSwitchboardServerTest.AttachOutput has CHECK failure if run it multiple times.
> --------------------------------------------------------------------------------
>
>                 Key: MESOS-6759
>                 URL: https://issues.apache.org/jira/browse/MESOS-6759
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>            Priority: Blocker
>
> I can easily repo this issue on my dev centos7 box with the following command:
> {noformat}
> GLOG_v=1 bin/mesos-tests.sh --gtest_filter=IOSwitchboardServerTest.AttachOutput --verbose --gtest_repeat=2
> ....
> [==========] Running 1 test from 1 test case.
> [----------] Global test environment set-up.
> [----------] 1 test from IOSwitchboardServerTest
> [ RUN      ] IOSwitchboardServerTest.AttachOutput
> I1208 10:46:31.574084 41813 poll_socket.cpp:209] Socket error while sending: Broken pipe
> /home/jie/workspace/mesos/src/tests/containerizer/io_switchboard_tests.cpp:265: Failure
> (response).failure(): Disconnected
> /home/jie/workspace/mesos/src/tests/containerizer/io_switchboard_tests.cpp:266: Failure
> (response).failure(): Disconnected
> F1208 10:46:31.574919 41751 future.hpp:1137] Check failed: !isFailed() Future::get() but state == FAILED: Disconnected
> *** Check failure stack trace: ***
>     @     0x7fc3f35a633a  google::LogMessage::Fail()
>     @     0x7fc3f35a6299  google::LogMessage::SendToLog()
>     @     0x7fc3f35a5caa  google::LogMessage::Flush()
>     @     0x7fc3f35a89de  google::LogMessageFatal::~LogMessageFatal()
>     @           0xb6a352  process::Future<>::get()
>     @          0x1a050fe  mesos::internal::tests::IOSwitchboardServerTest_AttachOutput_Test::TestBody()
>     @          0x1c54ce2  testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @          0x1c4fe00  testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @          0x1c31491  testing::Test::Run()
>     @          0x1c31c14  testing::TestInfo::Run()
>     @          0x1c3225a  testing::TestCase::Run()
>     @          0x1c38b34  testing::internal::UnitTestImpl::RunAllTests()
>     @          0x1c55907  testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @          0x1c50948  testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @          0x1c3787a  testing::UnitTest::Run()
>     @          0x11cc653  RUN_ALL_TESTS()
>     @          0x11cc209  main
>     @     0x7fc3ecb61b15  __libc_start_main
>     @           0xab5e89  (unknown)
> Aborted (core dumped)
> {noformat}



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