From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#32779: Cuirass: Crash and unable to restart when an input is unreachable Date: Thu, 20 Sep 2018 10:28:21 +0200 Message-ID: <877ejgd13u.fsf@lassieur.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]:50886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2uKf-0001lV-Ql for bug-guix@gnu.org; Thu, 20 Sep 2018 04:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2uKc-0007P6-CF for bug-guix@gnu.org; Thu, 20 Sep 2018 04:29:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g2uKc-0007P0-2P for bug-guix@gnu.org; Thu, 20 Sep 2018 04:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g2uKb-0002gh-Ut for bug-guix@gnu.org; Thu, 20 Sep 2018 04:29:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2uK4-0001jq-A5 for bug-guix@gnu.org; Thu, 20 Sep 2018 04:28:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2uK1-0006sW-2Z for bug-guix@gnu.org; Thu, 20 Sep 2018 04:28:28 -0400 Received: from mail.lassieur.org ([83.152.10.219]:56940) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g2uK0-0006rT-OY for bug-guix@gnu.org; Thu, 20 Sep 2018 04:28:24 -0400 Received: from newt (smtp.parrot.biz [62.23.167.188]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 20e5d769 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Thu, 20 Sep 2018 08:27:18 +0000 (UTC) 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" To: 32779@debbugs.gnu.org Hi, Cuirass is unable to recover from this crash, which happens when 'github.com' (which is one of my inputs) is unreachable. The Shepherd can't restart it (because 'github.com' is still unreachable) so it disables it. --8<---------------cut here---------------start------------->8--- 2018-09-20T01:23:31 running Fibers on 4 kernel threads 2018-09-20T01:23:31 marking stale builds as "scheduled"... 2018-09-20T01:23:31 listening on 0.0.0.0:8081 2018-09-20T01:23:31 retrieving list of pending builds... 2018-09-20T01:23:31 heap: 11.68 MiB; threads: 10; file descriptors: 48 2018-09-20T01:23:31 canceling 0 stale builds 2018-09-20T01:23:31 restarting 0 pending builds 2018-09-20T01:23:31 building 0 derivations in batches of 200 2018-09-20T01:23:31 done with 0 derivations 2018-09-20T01:23:31 done with restarted builds 2018-09-20T01:23:31 fetching input 'packages' of spec 'guix-manifest-clem' 2018-09-20T01:23:31 fetching input 'clem-conf' of spec 'guix-manifest-clem' 2018-09-20T01:23:31 fetching input 'guix-clem' of spec 'guix-manifest-clem' 2018-09-20T01:23:31 fetching input 'mathieu-conf' of spec 'guix-manifest-cl= em' 2018-09-20T01:23:31 fatal: uncaught exception 'git-error' in 'build' fiber! 2018-09-20T01:23:31 exception arguments: (#< code: -1 message: "= failed to resolve address for github.com: Name or service not known" class:= 12>) In ice-9/boot-9.scm: 829:9 9 (catch #t # ?) 705:2 8 (call-with-prompt ("break") # ?) 705:2 7 (call-with-prompt ("continue") # ?) In ice-9/eval.scm: 619:8 6 (_ #(#(# # ?))) In srfi/srfi-1.scm: 640:9 5 (for-each # (((# . "gu?") ?) ?)) In ice-9/boot-9.scm: 751:25 4 (dispatch-exception 0 git-error (#< code: -?>)) In cuirass/utils.scm: 181:8 3 (_ _ #< code: -1 message: "failed to resolve?>) In ice-9/boot-9.scm: 829:9 2 (catch #t # ?) In cuirass/utils.scm: 182:22 1 (_) In unknown file: 0 (make-stack #t) ERROR: In procedure make-stack: Throw to key `git-error' with args `(#< code: -1 message: "faile= d to resolve address for github.com: Name or service not known" class: 12>)= '. --8<---------------cut here---------------end--------------->8--- Cl=C3=A9ment