From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050:0:465::101]) by sourceware.org (Postfix) with ESMTPS id 7D2883858D28; Tue, 17 Jan 2023 23:21:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7D2883858D28 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4NxPzD4C2zz9tN9; Wed, 18 Jan 2023 00:21:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1673997688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=NtrJhyFhwdvUO4Zl8VSMdB3Dzr0QHTlk3h5EM3EFY/8=; b=ZNMpXy+M3zxowuONgRO/P43mtlwfB4D6pJNpoUlKZDNnMGMxBCoja/53fUKK5MwCC/0t4o Gozy7CJ+oBWhoAMfZ2nEVZhxM7fzYtc5RuhYrJJCiPyQAsXDo4cxkh7ofjYlsOdYa8Ykjv 7fVqX7dKfGgucxe5Vu+GUVgY+VITALe06246bZzFx25WwBPB01WUthAuNP30BztSjHVFMA 9yxjbJsU2uLzNDPfdywVAINBk8Ow8Q3B6woWo0tbl2eCigNgt/zAS1GSpvhBmRQL7DlseF 6ZLjPKfW9sVtivL//0/NtFFbEhLQDSmU28cU/syO9c3oyt/c7CtbnEdJKXhxRA== From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: bunsen@sourceware.org, builder@sourceware.org Subject: Automake dist-check and log extraction: runtest --outdir Date: Wed, 18 Jan 2023 00:00:04 +0100 Message-ID: <86sfg8iw7d.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4NxPzD4C2zz9tN9 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_INFOUSMEBIZ,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi there, The make_distcheck_test_suite_step uses a logfiles=3D keyword arg, which in turn uses inotify (presumably) to watch a file for a logfile creatd on it, and to collect info from it. To my awareness, this has not failed Sourceware yet - however, it is a fragile mechanism. DejaGnu provides a way for the directory in which log and sum files are stored to be altered, see --outdir in https://www.gnu.org/software/dejagnu/manual/Invoking-runtest.html This variable is modifiable both through flags passed to runtest and via Tcl, see https://gnu.org/s/dejagnu/manual/Command-line-option-variables.html To test this, I made an adjustment to my ~/.dejagnurc, and ran the GNU poke testsuite: $ cat ~/.dejagnurc=20 set outdir "/tmp/outtest" $ make -j17 distcheck ... This, indeed, resulted in a poke.log and poke.sum in the /tmp/outtest directory. I believe we should replace the inotify-based mechanism with this method of redirecting logs. What do you think? And, apologies about the lack of patch - I won't be free for any involved effort at least until the weekend. Thanks in advance, have a lovely night. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCY8ctdl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTwJwA/joBXaVgZM3G72gbeC9r6wDKZIbbBPihgEHl NeVnWsQ/AQD3dxp4FF1vbKdCZs5QIVhYnt7gAm32VaM/uOiOwzRbBw== =ixkc -----END PGP SIGNATURE----- --=-=-=--