all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 33515@debbugs.gnu.org
Subject: [bug#33515] [PATCH 0/5] Cuirass/Hydra: evaluate jobs in an inferior
Date: Thu, 27 Dec 2018 23:21:18 -0500	[thread overview]
Message-ID: <87bm56waau.fsf@netris.org> (raw)
In-Reply-To: <87bm56aniw.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 27 Dec 2018 18:27:03 +0100")

Hi Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> This patch set changes the way we compute continuous integration jobs:
>> instead of letting Guile auto-compile all of Guix from its checkout,
>> we first build Guix in the same way as ‘guix pull’, open an inferior
>> to that Guix, and run the job evaluation code in that inferior.
>>
>> I think it’s cleaner and it should be faster and less resource-hungry
>> than the current approach.
>>
>> The build-aux/hydra/gnu-system.scm file will now rely on the
>> (guix channels) and (guix inferior) with the new ‘checkout->channel-instance’
>> and ‘inferior-eval-with-store’ procedures, which means that Cuirass
>> (and Hydra) will need to be using a recent Guix to be able to perform
>> the evaluation.  Apart from that ‘gnu-system.scm’ is rather decoupled
>> from the Guix APIs.
>
> I’ve pushed the patches to the ‘wip-ci-inferior’ branch and created
> these two jobsets:
>
>   https://berlin.guixsd.org/jobset/wip-ci-inferior
>   https://hydra.gnu.org/jobset/gnu/wip-ci-inferior
>
> Evaluation with Cuirass on berlin went fine.
>
> I suspect evaluation on hydra will fail though, because it’s probably
> running an older Guix version; we’ll have to upgrade there.  Mark, would
> you like to take a look?

Indeed, the evaluation eventually failed on hydra.gnu.org.  I then
upgraded 'guix' in both root's and hydra's profiles to the latest
version and tried again.  This time it failed almost immediately, with
the following error:

--8<---------------cut here---------------start------------->8---
evaluator hydra-eval-guile-jobs
hydra-eval-guile-jobs returned exit code 1:
adding `/gnu/store/y4m61z51s28kmiff2hzbr7xm6f4lsk80-git-export' to the load path
Backtrace:
In ice-9/eval.scm:
   293:34 19 (_ #<module (#{ g257}#) 2949a00>)
In ice-9/boot-9.scm:
   2862:4 18 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2875:24 17 (_)
   222:17 16 (map1 (((guix git)) ((guix records)) ((guix gexp)) (#) ?))
  2788:17 15 (resolve-interface (guix git) #:select _ #:hide _ # _ # ?)
  2714:10 14 (_ (guix git) _ _ #:ensure _)
  2982:16 13 (try-module-autoload _ _)
   2312:4 12 (save-module-excursion #<procedure 472d510 at ice-9/boo?>)
  3002:22 11 (_)
In unknown file:
          10 (primitive-load-path "guix/git" #<procedure 4749f20 at ?>)
In ice-9/eval.scm:
   721:20  9 (primitive-eval (define-module (guix git) #:use-module ?))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((define-module (guix git) # # ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/eval.scm:
   293:34  5 (_ #<module (#{ g258}#) 2949780>)
In ice-9/boot-9.scm:
   2862:4  4 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2875:24  3 (_)
   222:17  2 (map1 (((git)) ((git object)) ((guix i18n)) ((guix ?)) ?))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (git)

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
--8<---------------cut here---------------end--------------->8---

For now, I rolled back both of the profiles that I updated.

This looks similar to the errors I encountered when trying to update
'guix' on the armhf build slaves, although the module it failed to load
in that case was different.  In both cases, the wrapper for 'guix' is
failing to populate the GUILE_LOAD_PATH with all of the needed modules.

       Mark

  reply	other threads:[~2018-12-28  4:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 16:37 [bug#33515] [PATCH 0/5] Cuirass/Hydra: evaluate jobs in an inferior Ludovic Courtès
2018-11-26 16:45 ` [bug#33515] [PATCH 1/5] inferior: Add 'inferior-eval-with-store' Ludovic Courtès
2018-11-26 16:45   ` [bug#33515] [PATCH 2/5] hydra: Move job definitions to (gnu ci) Ludovic Courtès
2018-11-26 16:45   ` [bug#33515] [PATCH 3/5] hydra: evaluate: Add the checkout to the store Ludovic Courtès
2018-11-26 16:45   ` [bug#33515] [PATCH 4/5] channels: Add 'checkout->channel-instance' Ludovic Courtès
2018-11-26 16:45   ` [bug#33515] [PATCH 5/5] hydra: Compute jobs in an inferior Ludovic Courtès
2018-11-28  9:51 ` [bug#33515] [PATCH 0/5] Cuirass/Hydra: evaluate " Ludovic Courtès
2018-12-27 17:27 ` Ludovic Courtès
2018-12-28  4:21   ` Mark H Weaver [this message]
2018-12-28 23:19     ` Ludovic Courtès
2019-01-06 20:44       ` bug#33515: " Ludovic Courtès

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=87bm56waau.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=33515@debbugs.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.