From patchwork Mon May 14 18:57:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Willem Jan Withagen X-Patchwork-Id: 10399109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 71431603E2 for ; Mon, 14 May 2018 19:03:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A4F92853A for ; Mon, 14 May 2018 18:57:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EBFE2854A; Mon, 14 May 2018 18:57:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AECCC2853A for ; Mon, 14 May 2018 18:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752028AbeENS5z (ORCPT ); Mon, 14 May 2018 14:57:55 -0400 Received: from smtp.digiware.nl ([176.74.240.9]:42919 "EHLO smtp.digiware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbeENS5y (ORCPT ); Mon, 14 May 2018 14:57:54 -0400 Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 5B82B3DF4D; Mon, 14 May 2018 20:57:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cOCW0TpFIdhU; Mon, 14 May 2018 20:57:52 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id A52703DF3F; Mon, 14 May 2018 20:57:52 +0200 (CEST) Subject: Re: unittest_async_shared_mutex thows a fit.... To: Casey Bodley , Ceph Development References: <539de02b-e111-5b88-99b4-6fa4e10b6c7c@digiware.nl> From: Willem Jan Withagen Message-ID: <9bfa2a50-4903-2415-a14f-d1d303d404c3@digiware.nl> Date: Mon, 14 May 2018 20:57:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: nl Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 14-5-2018 17:50, Casey Bodley wrote: > > On 05/14/2018 11:30 AM, Willem Jan Withagen wrote: >> Hi, >> >> Anybody a suggestion as to why this started throwing errors?? >> All runs during my vacation failed on a compile error due to an missing >> include, but once I fixed that I get the thing below. >> >> Any option flags to get more data out of the run? >> >> Thanx >> --WjW >> >> wjw@cephdev:~/master % ./build/bin/unittest_async_shared_mutex >> Running main() from gmock_main.cc >> [==========] Running 11 tests from 1 test case. >> [----------] Global test environment set-up. >> [----------] 11 tests from SharedMutex >> [ RUN      ] SharedMutex.async_exclusive >> [       OK ] SharedMutex.async_exclusive (0 ms) >> [ RUN      ] SharedMutex.async_shared >> [       OK ] SharedMutex.async_shared (1 ms) >> [ RUN      ] SharedMutex.async_exclusive_while_shared >> [       OK ] SharedMutex.async_exclusive_while_shared (0 ms) >> [ RUN      ] SharedMutex.async_shared_while_exclusive >> [       OK ] SharedMutex.async_shared_while_exclusive (0 ms) >> [ RUN      ] SharedMutex.async_prioritize_exclusive >> Abort >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at  http://vger.kernel.org/majordomo-info.html > > Hi Willem, Hi Casey, > This is a new test that merged last week with > https://github.com/ceph/ceph/pull/21914. Yup, saw that with git blame... :) > It's working locally with > clang, but I haven't tested with libc++. Are you able to get a stack > trace? I'll try setting up a freebsd vm to reproduce. Let me know what you find. Need to do some business work first tonight, but the diff is only a mising include file to get things compiling again. --WjW > p.s. can you tell if the missing include is related to that pr as well? index f71928fd83..8dcdab612a 100644 --- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/src/common/async/shared_mutex.h +++ b/src/common/async/shared_mutex.h @@ -17,6 +17,7 @@ #include #include +#include #include // for std::shared_lock #include