From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 18:07:57 2015 Received: (at 21280) by debbugs.gnu.org; 24 Aug 2015 22:07:57 +0000 Received: from localhost ([127.0.0.1]:37286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTzuH-0003WW-Fa for submit@debbugs.gnu.org; Mon, 24 Aug 2015 18:07:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53961) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTzuF-0003WN-MK for 21280@debbugs.gnu.org; Mon, 24 Aug 2015 18:07:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTzuC-0000JH-Ah for 21280@debbugs.gnu.org; Mon, 24 Aug 2015 18:07:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTzuC-0000JD-7I; Mon, 24 Aug 2015 18:07:52 -0400 Received: from 80-110-35-42.static.surfer.at ([80.110.35.42]:55968 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZTzuA-0004Yn-9i; Mon, 24 Aug 2015 18:07:51 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#21280: test failures: nar, syscalls, containers References: <1439783007.1743108.357849649.18351DEC@webmail.messagingengine.com> <87si7gfejf.fsf@gnu.org> <1439949357.1343604.359857913.0408A579@webmail.messagingengine.com> <87614a50sk.fsf@gnu.org> <1440044072.3615090.360939601.63AA1D36@webmail.messagingengine.com> <87bne22s6v.fsf@gnu.org> <1440109544.937009.361720705.14632458@webmail.messagingengine.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Fructidor an 223 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 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-unknown-linux-gnu Date: Tue, 25 Aug 2015 00:07:44 +0200 In-Reply-To: <1440109544.937009.361720705.14632458@webmail.messagingengine.com> (Leo Famulari's message of "Thu, 20 Aug 2015 18:25:44 -0400") Message-ID: <878u90s5lb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 21280 Cc: 21280@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -6.4 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Leo Famulari skribis: > On Thu, Aug 20, 2015, at 06:02, Ludovic Court=C3=A8s wrote: [...] >> I suspect the =E2=80=98nlink=E2=80=99 count on directories work differen= tly on btrfs, or >> something like that. [...] > %%%% Starting test nar (Writing full log to "nar.log") > > ;;; (stat-output "./test-nar-7151" 1) > tests/nar.scm:203: FAIL write-file + restore-file > > ;;; (stat-output "./test-nar-7151" 1) > tests/nar.scm:220: FAIL write-file + restore-file with symlinks Indeed, that confirms what I thought. This looks like buggy or at least borderline behavior from Btrfs. However, it seems that this =E2=80=98nlink=E2=80=99 test can be sidestepped= altogether. Could you apply this last patch and run: make check TESTS=3Dtests/nar.scm again? If it works for you, I=E2=80=99ll just apply it. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/tests/nar.scm b/tests/nar.scm index b8e50c7..58adb95 100644 --- a/tests/nar.scm +++ b/tests/nar.scm @@ -121,7 +121,7 @@ (lambda (name stat errno result) (pk 'error name stat errno) #f) - (> (stat:nlink (stat output)) 2) + #t input lstat)) --=-=-=--