[cuirass] [feature] Mention which builder machine was used

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 17 Sep 2023 21:17
(name . bug-guix)(address . bug-guix@gnu.org)
878r948v9m.fsf@gmail.com
Hello,

When investigating a build failure, it can be useful to see the logs of
the machine that built the package (to determine whether it ran out of
memory, say), but currently the build logs or even the derivation page
on Cuirass doesn't track such information: it's not visible in the web
interface and not mentioned either in the build log.

We should add it to both places, ideally.

--
Thanks,
Maxim
L
L
Ludovic Courtès wrote on 22 Sep 2023 10:21
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 66059-done@debbugs.gnu.org)
87cyyabotk.fsf@gnu.org
Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

Toggle quote (6 lines)
> When investigating a build failure, it can be useful to see the logs of
> the machine that built the package (to determine whether it ran out of
> memory, say), but currently the build logs or even the derivation page
> on Cuirass doesn't track such information: it's not visible in the web
> interface and not mentioned either in the build log.

Fixed, on the build page (we can’t really do that on the build log):


It was easy to do because Cuirass already keeps track of that.

However, Cuirass keeps track of the “worker” that was used, not the
machine. A “worker” is essentially a fiber in the ‘cuirass
remote-worker’ process, with a temporary random name; when the worker
goes away, we become unable to map it back to the machine it belonged to
(I think). Which means we’ll lose that info eventually.

(Now the whole point of normalized build environments is that knowing
which machine was used should rarely matter.)

Thanks,
Ludo’.
Closed
?