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: AS51083 80.67.180.0/24 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mermet.sourcephile.fr (revolt129.abo.ilico.org [80.67.180.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 6976B1F852 for ; Sun, 27 Feb 2022 08:04:25 +0000 (UTC) Date: Sun, 27 Feb 2022 09:04:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourcephile.fr; s=20200101; t=1645949062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cHbc8MXC7YnL4/DnC7mfaVqcTTA/amFHa4JHwRv8nSI=; b=ycriwNWue+hg8xoWlFpyojz0TD5xY5RumT8UNZQUncrEEDtOf7lYk5+SZ3q/CZp4bOE2gL 0PNcnsm35dlK4oW+wsIqW3FZny8FXKcT4pOocZ1+CCrL0qAKCBFCpdsCPxik6Suv0prfk+ oFOvkWyTF2ktzKCrWVIgDJjbf4cuqCVYVnMtd61Gsv3ZGIReBIbPqZbB6Pt62gV7X53QZ1 vt5351uVvRaV7jyT7tkmdHq5dGD+av4xwa1/59z6ijeuheWQFy2knyMRRjttcPcP6BnzgN GMWAcr452H4TtoasaT2QJzFM8z1sAoGkts+imN09UEOoTvWBtD0XS8sFfuUIZ6bYGGCoNn q6gnuXiv4ooW6CSCW6PhfIPfV0mgcRZ4WUF6k6TGMFJv4X0vURbPDVIgry1f0idneFogyT Q4fRRrx33JA6HbEUhZs4nnFOlz4wVvCjDLtrCaVqjM/vAC4mOo0aZk5TMID/cfLK4/gpCs sIdaPPceKOWzuFS4g3Yq4MU+sVhcVxnSOMcYy71d+6mbQlQeaaG5WTo3w5WsgS4mpJF3vb xfE0VW8jWMi2g6wBcKv00vRV3Ymy+gt8bCAdKhcqAVoDoE1r2TqJGjmAE+aMLLR+sByFW7 IkcpxG6e5YlTPkxSTECjDxDC2GDBEV9pwzEMY1EATmXAciqnKQfK0= From: Julien Moutinho To: Dominique Martinet Cc: Eric Wong , meta@public-inbox.org Subject: Re: [PATCH] t/lei-sigpipe: attempt to improve diagnostics for stuck test Message-ID: <20220227080422.gyqowrxomzu6gyin@sourcephile.fr> References: <20211208010730.f47xxgzj53nwgvja@sourcephile.fr> <20211208040836.GA27368@dcvr> <20211209013743.okzgim7bbrpahks7@sourcephile.fr> <20220217210233.GA31923@dcvr> <20220220013853.4vtvnyvpaichgpkm@sourcephile.fr> <20220222064424.GA11876@dcvr> <20220227041533.5dvcuuaffjhzrhuw@sourcephile.fr> <20220227064144.wo3flsc2xboks6sg@sourcephile.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: List-Id: Le dim. 27 f=C3=A9vr. 2022 16h23 +0900, Dominique Martinet a =C3=A9crit=C2= =A0: > I guess we can now open a nix issue asking to reset signal handlers > after fork, before executing its builder?... Well spotted Dominique, thanks! Turns out this is actually systemd which ignores SIGPIPE. I'm able to pass t/lei-sigpipe.t when my `nix build` connects to a nix-daemon run manually outside systemd. There is already a 3yo issue on nix's tracker for that: https://github.com/NixOS/nix/issues/2803 suggesting to add to nix-daemon.service: > [Service] > IgnoreSIGPIPE=3Dno And that indeed also makes t/lei-sigpipe.t succeed. In the meantime I'll disable t/lei-sigpipe.t to finally get public-inbox added to Nixpkgs. Thank you Dominique and Eric!