From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21097: verify-store test failure on armhf-linux Date: Tue, 03 Nov 2015 23:41:16 +0100 Message-ID: <877flybt9v.fsf@gnu.org> References: <87k2tu3b10.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtkHF-0004rB-Ib for bug-guix@gnu.org; Tue, 03 Nov 2015 17:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtkHC-0001fX-C3 for bug-guix@gnu.org; Tue, 03 Nov 2015 17:42:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtkHC-0001fT-8W for bug-guix@gnu.org; Tue, 03 Nov 2015 17:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZtkHC-0007Yx-2Y for bug-guix@gnu.org; Tue, 03 Nov 2015 17:42:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k2tu3b10.fsf@netris.org> (Mark H. Weaver's message of "Mon, 20 Jul 2015 15:05:15 -0400") 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.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mark H Weaver Cc: 21097@debbugs.gnu.org Mark H Weaver skribis: > Test begin: > test-name: "verify-store" > source-file: "tests/store.scm" > source-line: 638 > source-form: (test-assert "verify-store" (let* ((text (random-text)) (f= ile1 (add-text-to-store %store "foo" text)) (file2 (add-text-to-store %stor= e "bar" (random-text) (list file1)))) (and (pk (quote verify1) (verify-stor= e %store)) (begin (delete-file file1) (not (pk (quote verify2) (verify-stor= e %store)))) (begin (call-with-output-file file1 (lambda (port) (display te= xt port))) (pk (quote verify3) (verify-store %store)))))) > Test end: > result-kind: fail > actual-value: #f > actual-error: (srfi-34 #) [...] > path `/tmp/nix-build-guix-0.8.2.72cd8ec.drv-0/source/test-tmp/store/pp8ls= 5jri3l8x8y24g1x3h6lkj0lr4gv-bash-light-4.3.39-guile-builder' disappeared, r= emoving from database... I=E2=80=99ve become convinced that this is due to parallelism: several guix-daemon processes run at the same time. In this case, I bet this process tries to remove an item from the ValidPaths table while another is trying to add it in the Refs table or something. In dc57d527 I added #:parallel-tests? #f for =E2=80=98guix-devel=E2=80=99. = Eventually we should fix the makefile to run this test alone, as is done for =E2=80=98guix-gc.sh=E2=80=99. Thanks, Ludo=E2=80=99.