From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qH45DuZOXGBItgAAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 09:50:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OCbKCeZOXGBZbwAAB5/wlQ (envelope-from ) for ; Thu, 25 Mar 2021 08:50:46 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DD781691D for ; Thu, 25 Mar 2021 09:50:45 +0100 (CET) Received: from localhost ([::1]:47848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPLhT-00073q-68 for larch@yhetil.org; Thu, 25 Mar 2021 04:50:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPLgo-00073Z-Jt for bug-guix@gnu.org; Thu, 25 Mar 2021 04:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPLgo-0005sq-5X for bug-guix@gnu.org; Thu, 25 Mar 2021 04:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPLgo-00045A-2F for bug-guix@gnu.org; Thu, 25 Mar 2021 04:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47379: "statfs" test in tests/syscall.scm fails with BTRFS file systems. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Mar 2021 08:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47379 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47379@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161666219315671 (code B ref -1); Thu, 25 Mar 2021 08:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Mar 2021 08:49:53 +0000 Received: from localhost ([127.0.0.1]:37092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPLgf-00044h-1g for submit@debbugs.gnu.org; Thu, 25 Mar 2021 04:49:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:49442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPLgd-00044Z-7M for submit@debbugs.gnu.org; Thu, 25 Mar 2021 04:49:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPLga-00071Q-ST for bug-guix@gnu.org; Thu, 25 Mar 2021 04:49:48 -0400 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:49492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPLgO-0005fB-IA for bug-guix@gnu.org; Thu, 25 Mar 2021 04:49:48 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id kYpU2400B0mfAB401YpUF5; Thu, 25 Mar 2021 09:49:28 +0100 Message-ID: From: Maxime Devos Date: Thu, 25 Mar 2021 09:49:08 +0100 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-/Z7w7HBDKVLRbO9DQiY1" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1616662168; bh=y9qFR8o4ZuVsZ7PTOQ2wAvK9r5QpLWc7HfdW1pyvkIM=; h=Subject:From:To:Date; b=GK4JZMaszVd1yYNYtxHeVQas6ui34Oh4xEGFbEXhQgUEEOYDap0oaw+1lvlCp2YB4 UU/pD280zbo5CMshf5t7Jf+HR6fbCpc19Ng+UCyDLUtaRi8WdU4JSdolNgdzTLoceM c1afpL8LGjoxQPIiiGKdOLbHDn1ErxXJbhd4Ba5hTpq7RRRLbE3vgd2KlfowkNnD/l FPix3L5RieQcDf0Idg0JSj8iPEDYMernfK/bZ1US4IjpVyZ8bWR5xbQWTQxwxRnCMN d91742rv0d8xABmFdOPTPByiNQ7D3E9P0gJtgVpx3aWZ3hRBdlOQ2yrZqnpDv4hnpL CXWSXrkP7zydQ== Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616662245; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=y9qFR8o4ZuVsZ7PTOQ2wAvK9r5QpLWc7HfdW1pyvkIM=; b=rtze4Z1/VUn9/N4ilqL233lBBf3wJykXZadCsJhHpg/Md9kyYua36TuTIb1+nNfNqDBTP0 9zXOJaOdgduFeIUUlIfb+GpCBxKf9C/XLVCL86QdonzA4bnzQhT89H50LZlhZCasHHYNC0 KJGIy1/wOVOHoS6MmXSj5LBoxOHoiiCDtJngJmVKVTE6TteYNVbOst8QLU4WpJXqyu9aVN yNmbf6OaSrml9gwVdkzs5GGnXmRYQQjkxReZuDydg4QZNSAiF8Ukq7URAndgPONVrQWsb3 b2IBFCtLZzAgyI2vXL352t4uJ9uGVecTCr0STVCJ91AtASKJgTOK/cCtRrftwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616662245; a=rsa-sha256; cv=none; b=P9Hj2YGoEqTpyhySJdw+QVJq22L1koR1qrgDA2UF/ScY9INk52bqugZsOdzZpxpeg/UHGs 7Zgqe11e8as8ML7UPa0i7uzqYfhvuIQ19Px80PMh4ojktdRxH7Elvo7T0doG6Xr0s3uRyB 4FgNhKqzm0pDDiHc24pm0HjnPCX0BEkVZFVK9XFwh32Erm8nvqZYypVAlTQNaxxl8TUTwA G7jFzrMIbkH90lR+CbSwUR/lPeoWPAI0cfKkbbIF80ItJ2AL4eFhrXEnRscnad7YYjRKwO O8ZibWqkMoaLRlN64rF7cBdMzN3tkIVufK7RyNGBLuYrXmoUSxCiV6GGt1udGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=GK4JZMas; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=GK4JZMas; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 7DD781691D X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: TZijNETxsDnX --=-/Z7w7HBDKVLRbO9DQiY1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Guix, Version: guix (GNU Guix) 1155a88308df7649fe74bd5bb8279a4d103ce386 The following test fails: (start snip) test-name: statfs location: $HOME/guix/git/guix/tests/syscalls.scm:123 source: + (test-assert + "statfs" + (let ((fs (statfs "/"))) + (and (file-system? fs) + (> (file-system-block-size fs) 0) + (>=3D (file-system-blocks-available fs) 0) + (>=3D (file-system-blocks-free fs) + (file-system-blocks-available fs))))) actual-value: #f result: FAIL (end snip) Evaluating (statfs "/") from a REPL gives: scheme@(guix-user)> ((@ (guix build syscalls) statfs) "/") $2 =3D #< type: 2435016766 block-size: 4096 blocks: 244189696 = blocks-free: 178549974 blocks-available: 178571318 files: 0 free- files: 0 identifier: (1111009624 2088757363) name-length: 255 fragment-size= : 4096 mount-flags: 1056 spare: (0 0 0 0)> It seems the following does not hold on my system: + (>=3D (file-system-blocks-free fs) + (file-system-blocks-available fs)) Greetings, Maxime --=-/Z7w7HBDKVLRbO9DQiY1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYFxOhRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7q3jAP9t1MfAlsfVdokHsacdWRJ8/sHI 1T7pLiABPG/0BlVuzgEAwfwRx/EgRSaW7vSBWVhlkD6CF0KexGBhpw1BTk7EJQQ= =BvGb -----END PGP SIGNATURE----- --=-/Z7w7HBDKVLRbO9DQiY1--