linux-libre-guix.tar.xz CI times out on aarch64-linux

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Baines
  • Richard Sent
Owner
unassigned
Submitted by
Richard Sent
Severity
normal

Debbugs page

R
R
Richard Sent wrote on 22 May 15:06 -0700
(address . bug-guix@gnu.org)(address . mail@cbaines.net)
878r01wlgf.fsf@freakingpenguin.com
Hi Guix!

On aarch64 platforms, the linux-libre-guix.tar.xz.drv build times out
[1].

This package is known to have a long build time [2].

Users can work around this by running the build locally with a (very,
very large) max-silent-time (~28800 seconds on my machine). Given the
impact of this issue (unable to build linux-libre on 64-bit Arm without
running a multi-hour build), I think it's worth revisiting if the
substitute server timeout should be increased again.

Alternatively, perhaps we could fetch the officially released
Linux-libre tarballs instead of computing them ourselves [3].


CC'ing Christopher Baines since this deals with substitutes.

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
C
C
Christopher Baines wrote on 26 May 11:26 -0700
(name . Richard Sent)(address . richard@freakingpenguin.com)(address . bug-guix@gnu.org)
87ttike8fp.fsf@cbaines.net
Richard Sent <richard@freakingpenguin.com> writes:

Toggle quote (20 lines)
> On aarch64 platforms, the linux-libre-guix.tar.xz.drv build times out
> [1].
>
> This package is known to have a long build time [2].
>
> Users can work around this by running the build locally with a (very,
> very large) max-silent-time (~28800 seconds on my machine). Given the
> impact of this issue (unable to build linux-libre on 64-bit Arm without
> running a multi-hour build), I think it's worth revisiting if the
> substitute server timeout should be increased again.
>
> Alternatively, perhaps we could fetch the officially released
> Linux-libre tarballs instead of computing them ourselves [3].
>
> [1]: https://ci.guix.gnu.org/build/4711550/log/raw
> [2]: https://mail.gnu.org/archive/html/guix-devel/2021-08/msg00077.html
> [3]: http://linux-libre.fsfla.org/pub/linux-libre/releases/
>
> CC'ing Christopher Baines since this deals with substitutes.

This derivation seems to have been built fine by the bordeaux build
farm:


This is the timeout configuration for the bordeaux ARM build machines:

(max-silent-time (* 12 3600))
(timeout (* 72 3600))


The ci.guix.gnu.org Honeycomb timeouts are different, but don't look too
short. Maybe this build happened on an Overdrive system though.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmZTfspfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xcwcw//ZmuvXoObkO/6nxFNA1Fg0IzGEwRsUM7O
XDEh9W7ZKXSOv2MiNh1GeuATiC9hvO23u5ttMBMByR9AhDJ1IUzbPMzpxxcACGZQ
kDosIsq5PEGP50BFX1zaLe1Q+aGNaT/m9tK5EuYYAXYKGZ3A7kHQAj1/Oq9ibj+i
1whiG+g3r4xhlpSihj5fjLiYFEHPMGF70mGsTeAZz+KT7d4aLq9PjWKa+jdCv5+m
HlxvsRW5kNAMdLkfPaJJ4MJr2TLdVj/FxQ7XjmVmjiO+KCUPb3x8g681evrAG0V/
TIoRo/f5hio4aGusQBadGbARP14qYB4SO/7xSvRmqT48hxZgNpXC1MDudbYvzhxK
pLmUeB+w4rKt1SzGfA3xukXzdKfVeCtoZoHj+2bsXeOKCDSBKRjoCuJ0iX3erCe4
z2CpJQ6McfmMQztcuNJ0x+RwrBUfOWAgCeF1E+WlsdRChiHCoyNIv4UsTVlvJtIv
/n37gRj9UiN+FLOkYBAj4VvUDUvhUS/qC0wte25P+aEh4o2OXZiLaSSrp43K5N1G
DkMmTwsvnfez4WOIA6+PKqQLbj5vMxJJFEIK5YHtPUOjFFbnw5nJmcncWcx4hQKA
mwy4gmAFrpa0zVCNWcXwOWAhFREzxUKM8a4vnyg7phYPIKDeBw0TWovefJJ4VDrp
52BoJBK7sAA=
=08nF
-----END PGP SIGNATURE-----

R
R
Richard Sent wrote on 26 May 11:34 -0700
(name . Christopher Baines)(address . mail@cbaines.net)(address . bug-guix@gnu.org)
87wmngs9q4.fsf@freakingpenguin.com
Christopher Baines <mail@cbaines.net> writes:

Toggle quote (5 lines)
> This derivation seems to have been built fine by the bordeaux build
> farm:
>
> https://data.guix.gnu.org/gnu/store/ny56fdcig9cd9bd3pssmlraz2c1q10q8-linux-libre-6.8.10-guix.tar.xz.drv

You're right. It looks like the derivation itself built fine based on
that, but something seems off when the nar is sent. Assuming I
understand the following correctly:

Toggle snippet (16 lines)
~/code/cloned/guix/guix $ guix build linux-libre --system=aarch64-linux
substitute: updating substitutes from 'http://10.1.2.2:80'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/v471590wpsw1fcnqrrr9bwh52skbb5rn-linux-libre-6.8.10.drv
/gnu/store/1wi10rg7236ck8k5vdrdfap5l7a9s9z0-linux-libre-6.8.10-guix.tar.xz.drv
143.1 MB will be downloaded:
/gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz
substituting /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz...
downloading from https://bordeaux.guix.gnu.org/nar/none/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz ...
linux-libre-6.8.10-guix.tar.xz 136.5MiB 23.9MiB/s 00:06 ▕█████████████████▋▏ 98.0%guix substitute: error: corrupt input while restoring '/gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz' from #<input: string 7f9644c23b60>
substitution of /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz failed
guix build: error: some substitutes for the outputs of derivation `/gnu/store/ny56fdcig9cd9bd3pssmlraz2c1q10q8-linux-libre-6.8.10-guix.tar.xz.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source

Even though the derivation was built, the substitution fails.

Just for fun, here's the output on a ARM64-native system:

Toggle snippet (24 lines)
root@caustic ~# guix build linux-libre
substitute: updating substitutes from 'http://10.1.2.2:80'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/v471590wpsw1fcnqrrr9bwh52skbb5rn-linux-libre-6.8.10.drv
/gnu/store/1wi10rg7236ck8k5vdrdfap5l7a9s9z0-linux-libre-6.8.10-guix.tar.xz.drv
143.1 MB will be downloaded:
/gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz
substituting /gnu/store/0jfsx4hljddyand45z7i77ynpvr0mhb5-module-import-compiled...
downloading from http://10.1.2.2/nar/zstd/0jfsx4hljddyand45z7i77ynpvr0mhb5-module-import-compiled ...
module-import-compiled 4.2MiB/s 00:00 | 244KiB transferred

substituting /gnu/store/fwqy5d6xyar9x5yksny79r2d519s25cx-100gnu+freedo.patch...
downloading from http://10.1.2.2/nar/zstd/fwqy5d6xyar9x5yksny79r2d519s25cx-100gnu%2Bfreedo.patch ...
100gnu%2Bfreedo.patch 1.8MiB/s 00:00 | 46KiB transferred

substituting /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz...
downloading from https://bordeaux.guix.gnu.org/nar/none/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz ...
linux-libre-6.8.10-guix.tar.xz 136.5MiB 1.7MiB/s 01:21 ▕█████████████████▉▏ 99.9%guix substitute: error: corrupt input while restoring '/gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz' from #<input: string ffff7daf3460>
substitution of /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz failed
guix build: error: corrupt input while restoring archive from #<closed: file ffff977abb60>

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
C
C
Christopher Baines wrote on 26 May 11:46 -0700
(name . Richard Sent)(address . richard@freakingpenguin.com)(address . bug-guix@gnu.org)
87o78se7is.fsf@cbaines.net
Richard Sent <richard@freakingpenguin.com> writes:

Toggle quote (30 lines)
> Christopher Baines <mail@cbaines.net> writes:
>
>> This derivation seems to have been built fine by the bordeaux build
>> farm:
>>
>> https://data.guix.gnu.org/gnu/store/ny56fdcig9cd9bd3pssmlraz2c1q10q8-linux-libre-6.8.10-guix.tar.xz.drv
>
> You're right. It looks like the derivation itself built fine based on
> that, but something seems off when the nar is sent. Assuming I
> understand the following correctly:
>
> --8<---------------cut here---------------start------------->8---
> ~/code/cloned/guix/guix $ guix build linux-libre --system=aarch64-linux
> substitute: updating substitutes from 'http://10.1.2.2:80'... 100.0%
> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> The following derivations will be built:
> /gnu/store/v471590wpsw1fcnqrrr9bwh52skbb5rn-linux-libre-6.8.10.drv
> /gnu/store/1wi10rg7236ck8k5vdrdfap5l7a9s9z0-linux-libre-6.8.10-guix.tar.xz.drv
> 143.1 MB will be downloaded:
> /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz
> substituting /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz...
> downloading from https://bordeaux.guix.gnu.org/nar/none/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz ...
> linux-libre-6.8.10-guix.tar.xz 136.5MiB 23.9MiB/s 00:06 ▕█████████████████▋▏ 98.0%guix substitute: error: corrupt input while restoring '/gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz' from #<input: string 7f9644c23b60>
> substitution of /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz failed
> guix build: error: some substitutes for the outputs of derivation `/gnu/store/ny56fdcig9cd9bd3pssmlraz2c1q10q8-linux-libre-6.8.10-guix.tar.xz.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
> --8<---------------cut here---------------end--------------->8---
>
> Even though the derivation was built, the substitution fails.

Yeah, something's up here specifically with the bordeaux build farm,
feel free to open a new issue.

You can tell something is wrong just by looking at the narinfo:


Given there's no compression here, the file size should be the same as
the nar size, but it's not, it's missing a few bytes.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmZTg2tfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xd6gQ//b4VOYvqbFMoO9C+6DaJhpcP+TxAYcl09
Ko2TKu1E/FgmVtYC2/P8EGhHkIikTNjsVEWLEPMvisCpYzBjrfTsxcDbhSVXl5TA
3UtOhgFNnVeP/09maUlUG3TKIq3cipo8XMvh6eEiB60fKCxYJ5GHIDztVlmpdjt6
1EIoryZty9qKO9ePGgrIL27uQs2z6ypnjdjIgJ7gcK79Pi2CkX7/RPAqAjbYnvIc
69NzyU+fokBV2s3BoNAQq7+T6XGFbDEF1ws8BLT7ffvMgM82zCRp5CJUo/J6ynnD
5hyYvgrEvAOgUHd9kBGzbuNcXKBk/TWAY/8NqAb18/dr78dhJIVvlxX8M/J6WxpE
XDtJ2bzHT5Ud6WjXZ9NqTxE6yAE242BpZA89oR8/PcU0ag9ndHViXaYccohMb8cX
D3/fFf31wb+IUsHVV6XvB+zLeUhEVUfNJ1+B3uelkMlBOLpD8QTWZcWBd7zbbFab
cLQcPQOcJ3s8dPWhhOLbfwu/o55+ExIvZdH4J1p9ZqSz/Ka62lutTgrTFdFiGq4/
TLFZFJjeZSaEL51h1628uqO0tLw5b34ptlnBSo99KTXkrfZNlZpp8kRdOzZsaB/c
R4GoF64AkhqphJThFuU0ede7QdfYiD4G3A4Y4K3uvZjlRo4YA66Ekxjl5lO/G2Ze
rtAaa3uT3gE=
=eZyC
-----END PGP SIGNATURE-----

R
R
Richard Sent wrote on 26 May 14:15 -0700
(name . Christopher Baines)(address . mail@cbaines.net)(address . bug-guix@gnu.org)
87jzjgs2ae.fsf@freakingpenguin.com
New issue opened at https://issues.guix.gnu.org/71214.I'l close this
one. Thanks!

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
R
R
Richard Sent wrote on 26 May 14:16 -0700
control message for bug #71133
(address . control@debbugs.gnu.org)
87ikz0s28h.fsf@freakingpenguin.com
tags 71133 notabug
close 71133
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 71133@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71133
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch