From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40650: =?UTF-8?Q?=E2=80=98scandir*=E2=80=99?= test failure Date: Sun, 19 Apr 2020 13:01:11 +0200 Message-ID: <878sir4u4o.fsf@gnu.org> References: <87pnc8wgnq.fsf@yucca> <87d087kem6.fsf@gnu.org> <87o8rr1h02.fsf@ponder> <87mu7abinc.fsf@gnu.org> <87sgh14v6y.fsf@yucca> <87ftd0604z.fsf_-_@gnu.org> <87eeskeect.fsf@ponder> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59854) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ7i7-00081j-3z for bug-guix@gnu.org; Sun, 19 Apr 2020 07:02:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQ7i6-0004Ew-QM for bug-guix@gnu.org; Sun, 19 Apr 2020 07:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQ7i6-0004DA-D8 for bug-guix@gnu.org; Sun, 19 Apr 2020 07:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQ7i6-0000fL-Ai for bug-guix@gnu.org; Sun, 19 Apr 2020 07:02:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87eeskeect.fsf@ponder> (Vagrant Cascadian's message of "Sat, 18 Apr 2020 13:19:30 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Vagrant Cascadian Cc: 40650@debbugs.gnu.org Hello, Vagrant Cascadian skribis: > On 2020-04-18, Ludovic Court=C3=A8s wrote: >> Vagrant Cascadian skribis: >> >>> test-name: scandir*, properties >>> location: /build/guix-YPdZIs/guix-1.1.0/tests/syscalls.scm:257 >>> source: > ... >> Looking at this test, the only way =E2=80=98every=E2=80=99 could return = #f is (1) if >> =E2=80=98lstat=E2=80=99 returns a different inode number, or (2) if =E2= =80=98lstat=E2=80=99 returns a >> different file type than the one for =E2=80=98scandir*=E2=80=99. > > My debian package builds are done using a overlay fs(with tmpfs on top, > and ext4 below), which might explain inode discrepancies... this sort of > thing is not uncommon in Debian package building environments. > > If that's indeed triggering the issue, maybe it needs some sort of > workaround or a way to detect if it should skip the test? Oh, I see. We would need to see exactly what the discrepancy is (is it the inode number? for all the entries?), and from there we can come up with a way to adjust the test or skip it. Thanks, Ludo=E2=80=99.