* Problem on setting up the Cuirass as substitute server
@ 2020-11-26 15:26 Reza Alizadeh Majd
2020-11-27 11:57 ` Reza Alizadeh Majd
0 siblings, 1 reply; 3+ messages in thread
From: Reza Alizadeh Majd @ 2020-11-26 15:26 UTC (permalink / raw)
To: help-guix mailing list
Hi Guix,
Trying to setup Cuirass to build a series of packages, I followed the
instructions provided in following link:
https://guix.gnu.org/manual/en/html_node/Continuous-Integration.html
starting cuirass service on my machine, service starts with no error,
but when I check the web interface, list of specifications is empty.
--8<---------------cut here---------------start------------->8---
(define %cuirass-specs
#~(list
'((#:name . "my-manifest")
(#:load-path-inputs . ("guix"))
(#:package-path-inputs . ())
(#: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 . "guix")
(#:url . "git://git.savannah.gnu.org/guix.git")
(#:load-path . ".")
(#:branch . "master")
(#:no-compile? . #t))
((#:name . "config")
(#:url . "https://github.com/ramajd/guix-manifest.git")
(#:load-path . ".")
(#:branch . "master")
(#:no-compile? . #t)))))))
--8<---------------cut here---------------end--------------->8---
the manifest.scm file that I added for list of package for build:
--8<---------------cut here---------------start------------->8---
(specifications->manifest
'("hello"))
--8<---------------cut here---------------end--------------->8---
I also don't receive any errors in cuirass logs:
--8<---------------cut here---------------start------------->8---
WARNING: (guile-user): imported module (fibers) overrides core binding `sleep'
2020-11-26T18:52:10 performing database optimizations
2020-11-26T18:52:11 running Fibers on 4 kernel threads
2020-11-26T18:52:11 Enable SQL query logging.
2020-11-26T18:52:11 marking stale builds as "scheduled"...
WARNING: (cuirass watchdog): imported module (fibers) overrides core binding `sleep'
2020-11-26T18:52:11 retrieving list of pending builds...
2020-11-26T18:52:11 Updating metric builds-per-day (1606262400) to 0.
2020-11-26T18:52:11 heap: 11.93 MiB; threads: 16; file descriptors: 66
2020-11-26T18:52:11 Updating metric new-derivations-per-day (1606262400) to 0.
2020-11-26T18:52:11 canceling 0 stale builds
2020-11-26T18:52:11 restarting 0 pending builds
2020-11-26T18:52:11 building 0 derivations in batches of 200
2020-11-26T18:52:11 done with 0 derivations
2020-11-26T18:52:11 done with restarted builds
2020-11-26T18:52:11 Updating metric pending-builds (1606348800) to 0.
2020-11-26T18:52:11 next evaluation in 60 seconds
2020-11-26T18:52:11 Metrics update took 0.006027 seconds
2020-11-26T18:53:11 next evaluation in 60 seconds
--8<---------------cut here---------------end--------------->8---
can anyone help me on above configuration? did I miss anything about
specification definition?
Regards,
Reza
--
Reza Alizadeh Majd
PantherX Team
https://www.pantherx.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem on setting up the Cuirass as substitute server
2020-11-26 15:26 Problem on setting up the Cuirass as substitute server Reza Alizadeh Majd
@ 2020-11-27 11:57 ` Reza Alizadeh Majd
2020-12-20 21:09 ` Joshua Branson
0 siblings, 1 reply; 3+ messages in thread
From: Reza Alizadeh Majd @ 2020-11-27 11:57 UTC (permalink / raw)
To: help-guix mailing list
On Thu, 26 Nov 2020 18:56:50 +0330
Reza Alizadeh Majd <r.majd@pantherx.org> wrote:
> --8<---------------cut here---------------start------------->8---
> (define %cuirass-specs
> #~(list
> '((#:name . "my-manifest")
> (#:load-path-inputs . ("guix"))
> (#:package-path-inputs . ())
> (#: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 . "guix")
> (#:url . "git://git.savannah.gnu.org/guix.git")
> (#:load-path . ".")
> (#:branch . "master")
> (#:no-compile? . #t))
> ((#:name . "config")
> (#:url .
> "https://github.com/ramajd/guix-manifest.git") (#:load-path . ".")
> (#:branch . "master")
> (#:no-compile? . #t)))))))
> --8<---------------cut here---------------end--------------->8---
add the `(#:build-outputs . ())` to my specification definition, cuirass
added my specification to the list of it's build specs.
my current problem is that status of added jobs are `scheduled` and I
receive following message on cuirass logs:
--8<---------------cut here---------------start------------->8---
2020-11-27T15:14:19 evaluation 1 for 'my-manifest' completed
2020-11-27T15:14:19 building 2 jobs for 'my-manifest'
2020-11-27T15:14:19 Registering builds for evaluation 1.
2020-11-27T15:14:19 evaluation 1 registration took 0.001742 seconds
2020-11-27T15:14:19 evaluation 1 registered 2 new derivations
2020-11-27T15:14:19 building 2 derivations in batches of 200
2020-11-27T15:14:19 building batch of 200 derivations (0/2)
2020-11-27T15:14:20 done with 2 derivations
2020-11-27T15:14:20 outputs:
/gnu/store/220zbr30p8yj6yg9ndkk7a537x6f4vir-ungoogled-chromium-87.0.4280.66-0.1f7cdef
/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10
2020-11-27T15:14:20 success: 0, fail: 2
--8<---------------cut here---------------end--------------->8---
I assume this happened because that my server used available substitutes
from Guix substitute server, instead of building them by itself. is
that right?
if not, is there any further thing that I need to apply on my spec
definition?
Regards,
Reza
--
Reza Alizadeh Majd
PantherX Team
https://www.pantherx.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem on setting up the Cuirass as substitute server
2020-11-27 11:57 ` Reza Alizadeh Majd
@ 2020-12-20 21:09 ` Joshua Branson
0 siblings, 0 replies; 3+ messages in thread
From: Joshua Branson @ 2020-12-20 21:09 UTC (permalink / raw)
To: Reza Alizadeh Majd; +Cc: help-guix mailing list
Hey Reza,
I think that cuirass may eventually be replaced by the guix build
coordinator. I'm not certain if that helps you, but I figured I'd email
you something.
--
Joshua Branson
Sent from Emacs and Gnus
https://gnucode.me
https://video.hardlimit.com/accounts/joshua_branson/video-channels
https://propernaming.org
"You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-20 21:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 15:26 Problem on setting up the Cuirass as substitute server Reza Alizadeh Majd
2020-11-27 11:57 ` Reza Alizadeh Majd
2020-12-20 21:09 ` Joshua Branson
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.