From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6637F1F934 for ; Tue, 20 Apr 2021 21:37:16 +0000 (UTC) Received: by mail-qv1-xf30.google.com with SMTP id j3so19420789qvs.1 for ; Tue, 20 Apr 2021 14:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=BQrZnD3MDF6xV+dZBFYHhDyfBelV0QNfanenIY7COr8=; b=FBHXQ8aegSb71Y/UAAzgobmu05LisJXcHeaGFZb++Dic1OgW4BEMJRne1w4yCXuzKe nnksOJAcgMXdehc7WGNRmcR0tCdOx8xZ1r7H6dyMlxzDDS25pJPEzJReJ1NrrZdEbujZ XKE/ebKEaMTyXTBrQ/gRl8CpeR1s+AF/OI6sI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=BQrZnD3MDF6xV+dZBFYHhDyfBelV0QNfanenIY7COr8=; b=USkk/kkA2b5kgsaKo5CS9mKqC3a9YEU5HiNSSfAzw3RMdEdK8OmCKPkLcvQ02nSUd5 FxA4tmQxlsCPPSd0vYjoYk18FqFzsNV253osMVhDBIEUPjGzVyFgbNwNbBpUDnQb7+z3 N5Qflfn1tI6mj0L0FpAB9B+rDAb4Yt9a2a3EXz4I83p86GmX0nLKji7aNlXfZl+ITezP 32RR8fByVDW/ekpDehUE6+IeQtkw8vToO68ix0w6Z+gEdM3CDwvBqPE0GnzvemLmaVb4 b5BfzGYvTpCfwVvJi3+V1jCTfxTAMUbgtNvBJSkT0xlxLW8YIyscIh7DweFkEreJA80E tkxQ== X-Gm-Message-State: AOAM531ES2wX/PZSle98jQBgc/xFMKtjXJ3W7IuPXoM8Yz33w6KiYV2P sgqejsYKVDK2+TpnzL5hygngWg== X-Google-Smtp-Source: ABdhPJzaTsiMUQhN9AysyXDsvq1N4/GgzqG48JdvFApjDymJRf2AuGYnTtDzSesJutgYDy6x1MzDGw== X-Received: by 2002:ad4:444f:: with SMTP id l15mr29911209qvt.0.1618954634320; Tue, 20 Apr 2021 14:37:14 -0700 (PDT) Received: from nitro.local (bras-base-mtrlpq5031w-grc-32-216-209-220-18.dsl.bell.ca. [216.209.220.18]) by smtp.gmail.com with ESMTPSA id u126sm312799qkd.80.2021.04.20.14.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 14:37:13 -0700 (PDT) Date: Tue, 20 Apr 2021 17:37:12 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: t/lei-daemon.t failure when PERL_INLINE_DIRECTORY is set Message-ID: <20210420213712.qfpftr2r543cqg7l@nitro.local> Mail-Followup-To: Eric Wong , meta@public-inbox.org References: <20210420203318.onmonvswcnuryhuy@nitro.local> <20210420203854.GA28776@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210420203854.GA28776@dcvr> List-Id: On Tue, Apr 20, 2021 at 08:38:54PM +0000, Eric Wong wrote: > > t/lei-daemon.t ............... 18/? > > # Failed test 'connect error noted' > > # at t/lei-daemon.t line 80. > > # '' > > # doesn't match '(?^:\bconnect\()' > > # Looks like you failed 1 test of 34. > > t/lei-daemon.t ............... Dubious, test returned 1 (wstat 256, 0x100) > > > > I'll be happy to help troubleshoot things, since I don't know how easy it > > would be to reproduce this. > > I can't seem to reproduce it on my end with CentOS 7 and > libgit2-devel 0.26.8. Try setting TEST_LEI_ERR_LOUD=1 While poking around, I've discovered that it only fails when "make test" runs as root (don't judge -- this is in a throwaway lab VM): t/lei-daemon.t ............... 1/? # lei_err=/tmp/pi-lei-daemon-6667-ojwj/lei-daemon/xdg_run/lei/errors.log from previous run # phail # Failed test 'connect error noted' # at t/lei-daemon.t line 80. # '' # doesn't match '(?^:\bconnect\()' # Looks like you failed 1 test of 34. t/lei-daemon.t ............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/34 subtests When I run as a non-root user, it passes: t/lei-daemon.t ............... 1/? # lei_err=/tmp/pi-lei-daemon-11879-P3hC/lei-daemon/xdg_run/lei/errors.log from previous run # phail # lei_err=connect(/tmp/pi-lei-daemon-11879-P3hC/lei-daemon/xdg_run/lei/5.seq.sock): Permission denied at /home/mricon/public-inbox/blib/lib/PublicInbox/LEI.pm line 1073. # lei-daemon could not start, exited with $?=3328 # connect(/tmp/pi-lei-daemon-11879-P3hC/lei-daemon/xdg_run/lei/5.seq.sock): Permission denied (after attempted daemon start) # Falling back to (slow) one-shot mode t/lei-daemon.t ............... ok Hope that helps. -K