Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20535200C04 for ; Tue, 10 Jan 2017 01:08:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1F053160B4C; Tue, 10 Jan 2017 00:08:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69FE8160B3E for ; Tue, 10 Jan 2017 01:07:59 +0100 (CET) Received: (qmail 22872 invoked by uid 500); 10 Jan 2017 00:07:58 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 22849 invoked by uid 99); 10 Jan 2017 00:07:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 00:07:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6B2E22C022B for ; Tue, 10 Jan 2017 00:07:58 +0000 (UTC) Date: Tue, 10 Jan 2017 00:07:58 +0000 (UTC) From: "Jie Yu (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-6759) IOSwitchboardServerTest.AttachOutput has CHECK failure if run it multiple times. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 Jan 2017 00:08:00 -0000 [ 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 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)