all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Reza Alizadeh Majd" <r.majd@pantherx.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Guix Cuirass - Continuous Integration - Crash Error
Date: Wed, 12 Jun 2019 10:39:16 +0430	[thread overview]
Message-ID: <cd7d03b1-1c64-43ca-8996-3eba54f26e22@www.fastmail.com> (raw)
In-Reply-To: <9911e842-987e-48c4-8df0-8f1a6aa9086a@www.fastmail.com>

Hi Ludo, 

If you had time, could you please have a look at this issue? maybe you have an idea about this that. 

I really need to setup a custom build server for Guix, since our custom package definitions are increasing, and it's not efficient to build every package from source for each user. 

Thanks, 
Reza



On Mon, Jun 3, 2019, at 7:23 PM, Reza Alizadeh Majd wrote:
> 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: (#<<git-error> 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 _ _ #<procedure 2da2560 at cuirass/utils.scm:17?> ?)
>     705:2  8 (call-with-prompt _ _ #<procedure 2da2240 at ice-9/eval?>)
>     705:2  7 (call-with-prompt _ _ #<procedure 2dab940 at ice-9/eval?>)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guile-user) 236e140> #<variable?> ?)))
> In srfi/srfi-1.scm:
>     640:9  5 (for-each #<procedure process (spec)> (((#:name . #) ?)))
> In ice-9/boot-9.scm:
>    751:25  4 (dispatch-exception 0 git-error (#<<git-error> code: -?>))
> In cuirass/utils.scm:
>     181:8  3 (_ _ #<<git-error> code: -14 message: "the index is loc?>)
> In ice-9/boot-9.scm:
>     829:9  2 (catch #t #<procedure 2dd44e0 at cuirass/utils.scm:181?> ?)
> 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
> 
> 
>

  parent reply	other threads:[~2019-06-12  6:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03 14:52 Guix Cuirass - Continuous Integration - Crash Error Reza Alizadeh Majd
2019-06-05  9:59 ` Ricardo Wurmus
2019-06-08  5:12   ` Reza Alizadeh Majd
2019-06-08  6:58     ` Ricardo Wurmus
2019-06-09  5:29       ` Reza Alizadeh Majd
2019-06-12  6:09 ` Reza Alizadeh Majd [this message]
2019-06-12  6:51   ` Ricardo Wurmus
2019-06-12 14:50     ` Reza Alizadeh Majd
2019-06-16 14:13       ` Reza Alizadeh Majd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd7d03b1-1c64-43ca-8996-3eba54f26e22@www.fastmail.com \
    --to=r.majd@pantherx.org \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.