Cuirass(?) produces less than useful ‘build’ log files

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Maxim Cournoyer
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Tobias Geerinckx-Rice
Severity
normal
Merged with
T
T
Tobias Geerinckx-Rice wrote on 15 Jun 2022 00:29
(address . bug-guix@gnu.org)
87r13qx4fu@nckx
Hi Guix!

It seems that build logs are not copied over from build nodes,
leading to amusing (but alas quite useless) output like:

~ λ curl $(guix build zstd --log-file)
substitute: updating substitutes from
'http://141.80.167.131'... 100.0%
fetching path
`/gnu/store/rx8ja2y7xfrq19x8hr7ly8sq661bwpaw-zstd-1.5.0.drv'...
@ substituter-started
/gnu/store/rx8ja2y7xfrq19x8hr7ly8sq661bwpaw-zstd-1.5.0.drv
substitute
Downloading
zstd-1.5.0.drv 280KiB/s 00:00 |
1KiB transferred

@ substituter-succeeded
/gnu/store/rx8ja2y7xfrq19x8hr7ly8sq661bwpaw-zstd-1.5.0.drv
substitute: updating substitutes from
'http://141.80.167.131'... 100.0%
substitute: updating substitutes from
'http://141.80.167.131'... 100.0%
fetching path
`/gnu/store/wa5pngf2lywgi8vd8k9b1k13wp2acvi4-zstd-1.5.0-static'...
@ substituter-started
/gnu/store/wa5pngf2lywgi8vd8k9b1k13wp2acvi4-zstd-1.5.0-static
substitute
fetching path
`/gnu/store/bn6pk5zjjdpdfzb6yfr5psi9pji9w51n-zstd-1.5.0'...
@ substituter-started
/gnu/store/bn6pk5zjjdpdfzb6yfr5psi9pji9w51n-zstd-1.5.0 substitute
Downloading
zstd-1.5.0-static 1.4MiB/s 00:00 |
64KiB transferredDownloading
zstd-1.5.0 476KiB 4.5MiB/s 00:00
[##################] 100.0%

@ substituter-succeeded
/gnu/store/bn6pk5zjjdpdfzb6yfr5psi9pji9w51n-zstd-1.5.0
zstd-1.5.0-static 1.3MiB/s 00:00 |
405KiB transferred

@ substituter-succeeded
/gnu/store/wa5pngf2lywgi8vd8k9b1k13wp2acvi4-zstd-1.5.0-static
~ λ

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYqkMRQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15BpUBAI0jTv22r+Ss8NyBXFMnfduIMiOZGn7m/nFcIyHk
QLYcAQCysdbZZxAWpzlinRE9rPMHMOw7WQeoipA7jhtz6yjYDA==
=sW+V
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 15 Jun 2022 22:47
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 55985@debbugs.gnu.org)
87h74lpsbs.fsf@gnu.org
Hi,

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

Toggle quote (7 lines)
> Hi Guix!
>
> It seems that build logs are not copied over from build nodes, leading
> to amusing (but alas quite useless) output like:
>
> ~ λ curl $(guix build zstd --log-file)

What you have here *is* the log as Cuirass saw it, but…

Toggle quote (8 lines)
> transferredDownloading
> http://141.80.167.131/nar/lzip/bn6pk5zjjdpdfzb6yfr5psi9pji9w51n-zstd-1.5.0...
> zstd-1.5.0 476KiB 4.5MiB/s 00:00
> [##################] 100.0%
>
> @ substituter-succeeded
> /gnu/store/bn6pk5zjjdpdfzb6yfr5psi9pji9w51n-zstd-1.5.0

It turns out zstd, in this case, was already built on the node it got it
from, so the log just shows that.

I admit this is suboptimal. From the perspective of Cuirass though, it
looks like “business as usual”, and it cannot really be distinguished
from a situation where the thing actually got built.

Ludo’.
M
M
Maxim Cournoyer wrote on 17 Aug 2023 04:26
control message for bug #51728
(address . control@debbugs.gnu.org)
87msyqh0a1.fsf@gmail.com
merge 51728 55985
quit
?