From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id EDBB81F406; Wed, 16 May 2018 05:12:06 +0000 (UTC) Date: Wed, 16 May 2018 05:12:06 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: [PATCH 0/4] test fixes for latest CPAN modules Message-ID: <20180516051206.GA16155@dcvr> References: <20180511192018.6432-1-e@80x24.org> <20180511193801.GA1940@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: Konstantin Ryabitsev wrote: > On 05/11/18 15:38, Eric Wong wrote: > > Which Xapian (both Perl bindings and libxapian*.so) are you running? > > [root@pdx-tst-mricon-1 share]# rpm -q xapian-core > xapian-core-1.2.22-1.el7.x86_64 Ah, took me a while to realize what was going on :x The Xapian files processes were lacking O_CLOEXEC and FD_CLOEXEC usage and this was a problem in Xapian >= 1.2.21 && <= 1.2.24 Relevant Xapian commit should be e953a10dc4f0cc8e604fd2082c87b638c6a3382b ("Set CLOEXEC on the lock file fd and pipe") I suspect the following patch works around the problem with or without parallel=0 --- a/t/v2mirror.t +++ b/t/v2mirror.t @@ -50,7 +50,7 @@ for my $i (1..9) { $mime->header_set('Subject', "subject = $i"); ok($v2w->add($mime), "add msg $i OK"); } -$v2w->barrier; +$v2w->done; my %opts = ( LocalAddr => '127.0.0.1', Can you confirm? I don't have 1.2.22 handy anymore, but I reported this problem and got Olly to fix it back in 2016. Thanks.