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 aACpOfq6116WPgAA0tVLHw (envelope-from ) for ; Wed, 03 Jun 2020 15:00:10 +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 gPGtNfq6115vVgAA1q6Kng (envelope-from ) for ; Wed, 03 Jun 2020 15:00:10 +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 0DFE194066A for ; Wed, 3 Jun 2020 15:00:10 +0000 (UTC) Received: from localhost ([::1]:44152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgUsB-0005Mz-LK for larch@yhetil.org; Wed, 03 Jun 2020 11:00:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgUpD-0007bx-4h for bug-guix@gnu.org; Wed, 03 Jun 2020 10:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgUpC-00013z-Q5 for bug-guix@gnu.org; Wed, 03 Jun 2020 10:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgUpB-0008J5-Vb for bug-guix@gnu.org; Wed, 03 Jun 2020 10:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41237: guix deploy hangs when a file-system-device is set to a UUID Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 03 Jun 2020 14:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41237 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brice Waegeneire Received: via spool by 41237-submit@debbugs.gnu.org id=B41237.159119619631897 (code B ref 41237); Wed, 03 Jun 2020 14:57:01 +0000 Received: (at 41237) by debbugs.gnu.org; 3 Jun 2020 14:56:36 +0000 Received: from localhost ([127.0.0.1]:44355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUof-0008IH-Jj for submit@debbugs.gnu.org; Wed, 03 Jun 2020 10:56:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgUoe-0008I5-1M for 41237@debbugs.gnu.org; Wed, 03 Jun 2020 10:56:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42896) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgUoY-00010f-2g; Wed, 03 Jun 2020 10:56:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41490 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgUoX-0000dt-HL; Wed, 03 Jun 2020 10:56:21 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <6d23266f90b7bd2bd8a0f6fceb4bac3d@waegenei.re> <877dxakwpu.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Prairial an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 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-pc-linux-gnu Date: Wed, 03 Jun 2020 16:56:19 +0200 In-Reply-To: (Brice Waegeneire's message of "Wed, 03 Jun 2020 09:51:36 +0000") Message-ID: <878sh4nqp8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41237@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.01 X-TUID: ChJ04WeYYhZ0 Hi Brice, Brice Waegeneire skribis: > When manually executing the second 'remote-assertion.scm' file, the one > containing the 'find-partition-by-uuid-bit', it hangs indefinitely, I=20 > have > attached it's strace to this email. > > $ cat /gnu/store/wzvn8r2z7lnf5mqzagxzcb64wr69kgk4-remote-assertion.scm > (eval-when (expand load eval) (let ((extensions (quote ())) (prepend=20 > (lambda (items lst) (let loop ((items items) (lst lst)) (if (null?=20 > items) lst (loop (cdr items) (cons (car items) (delete (car items)=20 > lst)))))))) (set! %load-path (prepend (cons=20 > "/gnu/store/7jpv8kkq13k9xjazrkpq3cm1vz4m5arv-module-import" (map (lambda= =20 > (extension) (string-append extension "/share/guile/site/"=20 > (effective-version))) extensions)) %load-path)) (set!=20 > %load-compiled-path (prepend (cons=20 > "/gnu/store/gac0pvsnc0zvsfxizfqjgg9lig8sf200-module-import-compiled"=20 > (map (lambda (extension) (string-append extension "/lib/guile/"=20 > (effective-version) "/site-ccache")) extensions))=20 > %load-compiled-path))))(begin (use-modules (gnu build file-systems) (gnu= =20 > system uuid)) (define uuid (string->uuid "B5DE-B0B9"))=20 > (find-partition-by-uuid uuid)) > # strace -o /tmp/^Crace3.txt guile=20 > /gnu/store/wzvn8r2z7lnf5mqzagxzcb64wr69kgk4-remote-assertion.scm It seems to be doing what we expect initially: > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 32768, SEEK_SET) =3D 32768 > read(9, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= "..., 4096) =3D 4096 > close(9) =3D 0 > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 1024, SEEK_SET) =3D 1024 > read(9, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= "..., 4096) =3D 4096 > close(9) =3D 0 > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 65536, SEEK_SET) =3D 65536 > read(9, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= "..., 4096) =3D 4096 > close(9) =3D 0 > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > mmap(0x7f1806869000, 1576960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONY= MOUS, -1, 0) =3D 0x7f180662d000 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 0, SEEK_SET) =3D 0 > read(9, "\353X\220mkfs.fat\0\2\10 \0\2\0\0\0\0\370\0\0?\0\377\0\0\10\0\0"= ..., 4096) =3D 4096 > close(9) =3D 0 > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 0, SEEK_SET) =3D 0 > read(9, "\353X\220mkfs.fat\0\2\10 \0\2\0\0\0\0\370\0\0?\0\377\0\0\10\0\0"= ..., 4096) =3D 4096 > close(9) =3D 0 > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 32768, SEEK_SET) =3D 32768 > read(9, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= "..., 4096) =3D 4096 > close(9) =3D 0 > openat(AT_FDCWD, "/dev/sda1", O_RDONLY) =3D 9 [...] > fstat(9, {st_mode=3DS_IFBLK|0660, st_rdev=3Dmakedev(0x8, 0x1), ...}) =3D 0 > lseek(9, 0, SEEK_CUR) =3D 0 > lseek(9, 1024, SEEK_SET) =3D 1024 > read(9, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= "..., 4096) =3D 4096 > close(9) =3D 0 And then it seems to enter an endless loop: > write(6, "\0", 1) =3D 1 > clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=3D0, tv_nsec=3D104694235}= ) =3D 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) =3D 0 > futex(0x7f180a6c5f68, FUTEX_WAKE_PRIVATE, 2147483647) =3D 3 > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 1 > futex(0x7f180a6c5f54, FUTEX_WAIT_PRIVATE, 3, NULL) =3D -1 EAGAIN (Resourc= e temporarily unavailable) > futex(0x7f180a6c5f60, FUTEX_WAKE_PRIVATE, 1) =3D 1 > futex(0x7f180a6c5f68, FUTEX_WAKE_PRIVATE, 2147483647) =3D 2 > futex(0x7f180a6c5f6c, FUTEX_WAKE_PRIVATE, 2147483647) =3D 3 > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 1 > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 0 > futex(0x7f180a6c5f6c, FUTEX_WAKE_PRIVATE, 2147483647) =3D 3 > clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=3D0, tv_nsec=3D111569830}= ) =3D 0 > clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=3D0, tv_nsec=3D114489967}= ) =3D 0 > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) =3D 0 [...] > madvise(0x7f1806e01000, 12288, MADV_DONTNEED) =3D 0 > futex(0x7f180a6c5f68, FUTEX_WAIT_PRIVATE, 0, NULL) =3D -1 EAGAIN (Resourc= e temporarily unavailable) > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 0 > futex(0x7f180a6c5f6c, FUTEX_WAIT_PRIVATE, 0, NULL) =3D -1 EAGAIN (Resourc= e temporarily unavailable) > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 0 > futex(0x7f180a6c5f68, FUTEX_WAIT_PRIVATE, 0, NULL) =3D 0 > futex(0x7f180a6c5f50, FUTEX_WAKE_PRIVATE, 2147483647) =3D 1 > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 0 > futex(0x7f180a6c5b40, FUTEX_WAKE_PRIVATE, 1) =3D 0 > futex(0x7f180a6c5f6c, FUTEX_WAKE_PRIVATE, 2147483647) =3D 3 > clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=3D14, tv_nsec=3D400254621= }) =3D 0 > --- SIGINT {si_signo=3DSIGINT, si_code=3DSI_KERNEL} --- > +++ killed by SIGINT +++ Could you try running this at the REPL: (load "/gnu/store/wzvn8r2z7lnf5mqzagxzcb64wr69kgk4-remote-assertion.scm") and then hit C-c and type =E2=80=9C,bt=E2=80=9D to get a backtrace? Thanks, Ludo=E2=80=99.