From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 09 05:28:16 2021 Received: (at submit) by debbugs.gnu.org; 9 Jul 2021 09:28:16 +0000 Received: from localhost ([127.0.0.1]:58362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1mnw-0004BB-IH for submit@debbugs.gnu.org; Fri, 09 Jul 2021 05:28:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:48950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1mnt-0004B3-B8 for submit@debbugs.gnu.org; Fri, 09 Jul 2021 05:28:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1mnt-0002ki-0a for bug-guix@gnu.org; Fri, 09 Jul 2021 05:28:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44738) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1mns-00059Y-Q4 for bug-guix@gnu.org; Fri, 09 Jul 2021 05:28:12 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36680 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1mns-0004OK-IH for bug-guix@gnu.org; Fri, 09 Jul 2021 05:28:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: [core-updates] Coreutils test failures on emulated ARMv7/AArch64 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Messidor an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 09 Jul 2021 11:28:10 +0200 Message-ID: <87fswnj0ph.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) As can be seen in , the Coreutils test suite fails on emulated hardware because argv[0] is an absolute file name whereas the test suite expects it to be a basename: --8<---------------cut here---------------start------------->8--- @ build-started /gnu/store/hz81434lpq9fgsmngcad9abj72qfzqmy-coreutils-8.32.= drv - aarch64-linux /var/log/guix/drvs/hz//81434lpq9fgsmngcad9abj72qfzqmy-c= oreutils-8.32.drv.bz2 108927 [...] --- exp 2021-07-09 03:15:37.591279933 +0000 +++ err 2021-07-09 03:15:37.631279816 +0000 @@ -1,4 +1,4 @@ -tail: cannot fstat 'standard input' -tail: error reading 'standard input' -tail: no files remaining -tail: - +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: cannot fst= at 'standard input' +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: error read= ing 'standard input' +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: no files r= emaining +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: - + fail=3D1 + tty -s ./tests/tail-2/follow-stdin.sh: line 72: /dev/tty: No such device or address + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=3D1 + cleanup_ + kill 23630 + test '' =3D yes + cd /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32 + chmod -R u+rwx /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-fol= low-stdin.sh.5esc + rm -rf /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-follow-stdi= n.sh.5esc + exit 1 FAIL tests/tail-2/follow-stdin.sh (exit status: 1) --8<---------------cut here---------------end--------------->8--- To be continued=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 09 19:37:33 2021 Received: (at 49485) by debbugs.gnu.org; 9 Jul 2021 23:37:33 +0000 Received: from localhost ([127.0.0.1]:59933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m203o-0006ac-SJ for submit@debbugs.gnu.org; Fri, 09 Jul 2021 19:37:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m203n-0006aP-RB for 49485@debbugs.gnu.org; Fri, 09 Jul 2021 19:37:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43222) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m203i-0002HL-KB for 49485@debbugs.gnu.org; Fri, 09 Jul 2021 19:37:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42868 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m203i-0002am-CL for 49485@debbugs.gnu.org; Fri, 09 Jul 2021 19:37:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 49485@debbugs.gnu.org Subject: Re: bug#49485: [core-updates] Coreutils test failures on emulated ARMv7/AArch64 References: <87fswnj0ph.fsf@inria.fr> Date: Sat, 10 Jul 2021 01:37:24 +0200 In-Reply-To: <87fswnj0ph.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Fri, 09 Jul 2021 11:28:10 +0200") Message-ID: <87czrrf497.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49485 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > As can be seen in , the > Coreutils test suite fails on emulated hardware because argv[0] is an > absolute file name whereas the test suite expects it to be a basename: [...] > -tail: cannot fstat 'standard input' > -tail: error reading 'standard input' > -tail: no files remaining > -tail: - > +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: cannot f= stat 'standard input' > +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: error re= ading 'standard input' > +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: no files= remaining > +/tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/./src/tail: - Reading =E2=80=98binfmt-misc.rst=E2=80=99 in the Linux Documentation/ direc= tory, this is expected: by default, when using binfmt_misc, argv[0] is replaced by the absolute file name of the executable. The =E2=80=9CP=E2=80=9D flag fixes that and QEMU 6.0.0 does the right thing= when that flag is used, so commit 2ea2bca1ddb1e3ba9d843ff7544c22925de7f6d7 adds the =E2=80=9CP=E2=80=9D flag by default. Then I reconfigured the build nodes behind ci.guix with: guix time-machine --commit=3D2ea2bca1ddb1e3ba9d843ff7544c22925de7f6d7 \ -- deploy berlin-nodes.scm -L modules followed by: for i in $(seq 159 2 185); do ssh root@141.80.167.$i herd restart qemu-bi= nfmt; done So normally, builds at ci.guix corresponding to core-updates commit c823b958256ba1db6cf896400fae218e4261266e and later should be done with the =E2=80=9CP=E2=80=9D flag. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 09:07:40 2021 Received: (at 49485-done) by debbugs.gnu.org; 10 Jul 2021 13:07:41 +0000 Received: from localhost ([127.0.0.1]:60283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Cho-0002cs-MO for submit@debbugs.gnu.org; Sat, 10 Jul 2021 09:07:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Chm-0002cf-B3 for 49485-done@debbugs.gnu.org; Sat, 10 Jul 2021 09:07:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60982) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2Chh-00052g-5i for 49485-done@debbugs.gnu.org; Sat, 10 Jul 2021 09:07:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42876 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2Chg-000331-Ta for 49485-done@debbugs.gnu.org; Sat, 10 Jul 2021 09:07:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 49485-done@debbugs.gnu.org Subject: Re: bug#49485: [core-updates] Coreutils test failures on emulated ARMv7/AArch64 References: <87fswnj0ph.fsf@inria.fr> <87czrrf497.fsf@gnu.org> Date: Sat, 10 Jul 2021 15:07:30 +0200 In-Reply-To: <87czrrf497.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 10 Jul 2021 01:37:24 +0200") Message-ID: <87lf6ee2r1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49485-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Ludovic Court=C3=A8s skribis: > followed by: > > for i in $(seq 159 2 185); do ssh root@141.80.167.$i herd restart qemu-= binfmt; done > > So normally, builds at ci.guix corresponding to core-updates commit > c823b958256ba1db6cf896400fae218e4261266e and later should be done with > the =E2=80=9CP=E2=80=9D flag. It was not that easy=E2=80=A6 I had to reboot the machines because =E2=80= =9CP=E2=80=9D flag handling in QEMU requires Linux 5.12.0=C2=B9 and those machines were running 5.10 (qemu binfmt with =E2=80=9CP=E2=80=9D would silently fail, for some re= ason). Anyway, it eventually succeeded, yay! https://ci.guix.gnu.org/build/660330/details (aarch64-linux) Ludo=E2=80=99. =C2=B9 https://wiki.qemu.org/ChangeLog/6.0#binfmt_misc From unknown Fri Aug 15 16:24:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 08 Aug 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator