From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Reza Alizadeh Majd" Subject: Guix Cuirass - Continuous Integration - Crash Error Date: Mon, 03 Jun 2019 19:22:34 +0430 Message-ID: <9911e842-987e-48c4-8df0-8f1a6aa9086a@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXoKF-0005Zj-NH for help-guix@gnu.org; Mon, 03 Jun 2019 10:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXoKE-0006Ba-DG for help-guix@gnu.org; Mon, 03 Jun 2019 10:52:39 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:44073) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXoKD-000662-V4 for help-guix@gnu.org; Mon, 03 Jun 2019 10:52:38 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B0E8E719 for ; Mon, 3 Jun 2019 10:52:35 -0400 (EDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi Guix, I want to setup a CI build server using _Cuirass_ to build a series of custom packages for Guix. but I receive following error and cuirass-service crashes, could anyone help me on this? ``` 2019-06-03T18:50:59 fatal: uncaught exception 'git-error' in 'build' fiber! 2019-06-03T18:50:59 exception arguments: (#< code: -14 message: "the index is locked; this might be due to a concurrent or crashed process" class: 10>) In ice-9/boot-9.scm: 829:9 9 (catch _ _ # ?) 705:2 8 (call-with-prompt _ _ #) 705:2 7 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 6 (_ #(#(# # ?))) In srfi/srfi-1.scm: 640:9 5 (for-each # (((#:name . #) ?))) In ice-9/boot-9.scm: 751:25 4 (dispatch-exception 0 git-error (#< code: -?>)) In cuirass/utils.scm: 181:8 3 (_ _ #< code: -14 message: "the index is loc?>) 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: Git error: the index is locked; this might be due to a concurrent or crashed process ``` In case that it might be helpful, here is my `%cuirass-specs` definition: ``` (define %cuirass-specs #~(list '((#:name . "my-manifest") (#:load-path-inputs . ("guix")) (#:package-path-inputs . ("custom-packages")) (#:proc-input . "guix") (#:proc-file . "build-aux/cuirass/gnu-system.scm") (#:proc . cuirass-jobs) (#:proc-args . ((subset . "manifests") (systems . "x86_64-linux") (manifests . (("config" . "manifest.scm"))))) (#:inputs . (((#:name . "pantherx") (#:url . "https://user:pass@git.pantherx.org/development/guix-pantherx.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? #t))))))) . . . (service cuirass-service-type (cuirass-configuration (interval 10) (use-substitutes? #t) (port 8082) (host "0.0.0.0") (specifications %cuirass-specs))) ``` I also added `manifest.scm` file beside my system configuration file with following content: ``` (use-modules (px packages accounts)) (packages->manifest (list px-accounts)) ``` --- Best, Reza