From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CKc1G2Rq8l80PQAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 01:07:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oHkLF2Rq8l8WBgAA1q6Kng (envelope-from ) for ; Mon, 04 Jan 2021 01:07:48 +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 0AD08940481 for ; Mon, 4 Jan 2021 01:07:48 +0000 (UTC) Received: from localhost ([::1]:58596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwELa-0001TA-Qp for larch@yhetil.org; Sun, 03 Jan 2021 20:07:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwEJu-0000Lw-Np for bug-guix@gnu.org; Sun, 03 Jan 2021 20:06:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwEJu-0000tt-GQ for bug-guix@gnu.org; Sun, 03 Jan 2021 20:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwEJu-0003dh-Ba for bug-guix@gnu.org; Sun, 03 Jan 2021 20:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#41654: test-name: verify-store + check-contents failing on guix-1.2.0rc2-1.0d4b1af Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Jan 2021 01:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41654 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 41654@debbugs.gnu.org Received: via spool by 41654-submit@debbugs.gnu.org id=B41654.160972233013939 (code B ref 41654); Mon, 04 Jan 2021 01:06:02 +0000 Received: (at 41654) by debbugs.gnu.org; 4 Jan 2021 01:05:30 +0000 Received: from localhost ([127.0.0.1]:38996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwEJO-0003cl-Lc for submit@debbugs.gnu.org; Sun, 03 Jan 2021 20:05:30 -0500 Received: from smtpout2.vodafonemail.de ([145.253.239.133]:34262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwEJM-0003cW-Ih for 41654@debbugs.gnu.org; Sun, 03 Jan 2021 20:05:29 -0500 Received: from smtp.vodafone.de (unknown [10.2.0.35]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 3E55B123CDC; Mon, 4 Jan 2021 02:05:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-smtpout-mb-15sep; t=1609722322; bh=yewYkbt6bjzs1wE018mnMS7A18IX3aJTJtfqN/GyVWU=; h=Subject:From:In-Reply-To:Date:References:To; b=B+W70iA5+B/yfhQjJtkIcyufKuALriSHResxkROzYlbKmQM5T7Z+9V20teFbHGwv7 alGYHGH9NeIE5v6GaFIKzWtmGYAHWEvXra5EBY+zIEsDmM7+9R64/CgictO9cI6xvr naDObqunApD1MXT9qedV4v7YEXwylDo9XBGDv2oo= Received: from macbook-pro.kuh-wiese.my-router.de (dslb-002-206-141-230.002.206.pools.vodafone-ip.de [2.206.141.230]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 09D7414024B; Mon, 4 Jan 2021 01:05:22 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Stefan In-Reply-To: <708455FD-2A6C-4E6C-8F2C-D2E5549F5886@vodafonemail.de> Date: Mon, 4 Jan 2021 02:05:21 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0DF2D52E-2544-45E3-BB0B-F2B441EBED03@vodafonemail.de> <708455FD-2A6C-4E6C-8F2C-D2E5549F5886@vodafonemail.de> X-Mailer: Apple Mail (2.3124) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 2215 X-purgate-ID: 155817::1609722322-0000239E-4D1909B9/0/0 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 X-Migadu-Spam-Score: 0.67 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=vodafonemail.de header.s=vfde-smtpout-mb-15sep header.b=B+W70iA5; dmarc=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: 0AD08940481 X-Spam-Score: 0.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: PRN4d0LCc8NK Hi! Today I thought that it should be possible to work around this bug on my = aarch64 system by mounting /tmp as a tmpfs, backed by swap on a small SD = card, to prevent any issues due to my NFS root. This worked for the = trap-cleanup-issue. But to my surprise this didn=E2=80=99t work out for = the =E2=80=9Cdtmp/=E2=80=9D error. I was wondering, if using /tmp as a tmpfs on my virtual x86_64 system = would make the test fail there as well. So I did=20 sudo mount -t tmpfs -o size=3D768M tmpfs /tmp guix build --check --no-grafts guix@1.2.0-8.7624ebb But there it was passing. This is the interesting part from the log of the aarch64 system: test-name: verify-store + check-contents location: = /tmp/guix-build-guix-1.2.0-8.7624ebb.drv-0/source/tests/store.scm:1156 source: + (test-assert + "verify-store + check-contents" + (with-store + s + (let* ((text (random-text)) + (drv (build-expression->derivation + s + "corrupt" + `(let ((out (assoc-ref %outputs "out"))) + (call-with-output-file + out + (lambda (port) (display ,text port))) + #t) + #:guile-for-build + (package-derivation + s + %bootstrap-guile + (%current-system)))) + (file (derivation->output-path drv))) + (with-derivation-substitute + drv + text + (and (build-derivations s (list drv)) + (verify-store s #:check-contents? #t) + (begin + (chmod file 420) + (call-with-output-file + file + (lambda (port) (display "corrupt!" port))) + #t) + (not (verify-store s #:check-contents? #t)) + (delete-paths s (list file))))))) actual-value: #f actual-error: + (%exception + #<&store-protocol-error message: "path = `dtmp/guix-tests/store/rn6xq5kaipp8aanhcnz2hvyfmr3y2laa-mirrors' is not = in the store" status: 1>) result: FAIL Bye Stefan=