bug#49781: Successful build on ci.guix not available as substitute

2021-07-30 Thread Ludovic Courtès
Hi!

I stumbled upon the case of a build that was successful on ci.guix but
that does not have a corresponding substitute:

  https://ci.guix.gnu.org/build/806609/details

and:

--8<---cut here---start->8---
$ wget -O- https://ci.guix.gnu.org/slm0x0j05vyl3vqbjhgc0nch6jca9fp3.narinfo
--2021-07-30 10:53:15--  
https://ci.guix.gnu.org/slm0x0j05vyl3vqbjhgc0nch6jca9fp3.narinfo
Ni solvigas ci.guix.gnu.org (ci.guix.gnu.org)... 141.80.181.40
Konektado al ci.guix.gnu.org (ci.guix.gnu.org)|141.80.181.40|:443... konektita.
HTTP peto sendita, ni atendas respondon... 404 Not Found
2021-07-30 10:53:15 ERARO 404: Not Found.
--8<---cut here---end--->8---

The store item vanished from berlin, though the .drv is still there:

--8<---cut here---start->8---
ludo@berlin ~$ ls 
/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824
ls: cannot access 
'/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824': No such 
file or directory
ludo@berlin ~$ guix gc --derivers 
/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824
/gnu/store/hrn9hj7v1img3il6afh3r036aczvwnyd-xnnpack-0.0-1.bbe8824.drv
ludo@berlin ~$ ls $(guix gc --derivers 
/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824)
/gnu/store/hrn9hj7v1img3il6afh3r036aczvwnyd-xnnpack-0.0-1.bbe8824.drv
--8<---cut here---end--->8---

It’s the first time I see this.  My understanding is that Cuirass makes
a GET request on ‘guix publish’ upon build completion.  Could there be a
race condition or something that can explain this?

Thanks,
Ludo’.





bug#49781: Successful build on ci.guix not available as substitute

2021-07-30 Thread Mathieu Othacehe


Hello Ludo,

> It’s the first time I see this.  My understanding is that Cuirass makes
> a GET request on ‘guix publish’ upon build completion.  Could there be a
> race condition or something that can explain this?

Your understanding is correct :). However, looking at the
cuirass-remote-server.log file, I found:

--8<---cut here---start->8---
2021-07-29T22:31:48 fetching 
'/gnu/store/hrn9hj7v1img3il6afh3r036aczvwnyd-xnnpack-0.0-1.bbe8824.drv' from 
http://141.80.167.185:5558
2021-07-29T22:31:48 Failed to add 
/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824 to store.
--8<---cut here---end--->8---

There are quite a few other "Failed to add" traces in the log, and they
all seem to involve the machine behind the .185 IP address.

Fetching the substitute manually from Berlin works:

--8<---cut here---start->8---
 wget 
http://141.80.167.185:5558/nar/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824
 --no-http-keep-alive
--8<---cut here---end--->8---

but using "ensure-path" fails this way:

--8<---cut here---start->8---
scheme@(guix-user)> (set-build-options* s "http://141.80.167.185:5558";)
$1 = #t
scheme@(guix-user)> (ensure-path s 
"/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824")
substitute: updating substitutes from 'http://141.80.167.185:5558'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
ERROR:
  1. &store-protocol-error:
  message: "path 
`/gnu/store/slm0x0j05vyl3vqbjhgc0nch6jca9fp3-xnnpack-0.0-1.bbe8824' does not 
exist and cannot be created"
  status: 1

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
--8<---cut here---end--->8---

Do you see any reason why ensure-path would fail while wget works?

Thanks,

Mathieu





bug#25913: bug#49333: [PATCH 0/2] Remove unreachable GNA upstream

2021-07-30 Thread Ludovic Courtès
Hello,

zimoun  skribis:

> These trivial patches allow to close the old report 25913 [1].
> Since there is no apparent new upstream, the sources are hosted only by
> Software Heritage.
>
> To verify all is correct,
>
>   tar xf $(guix build -S guile-dbi)
>   guix hash -r guile-dbi-2.1.6/
>   09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw
>
>   guix hash -r $(./pre-inst-env guix build -S guile-dbi)
>   09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw
>
> and
>
>   tar xf $(guix build -S guile-sqlite3)
>   guix hash -r guile-dbd-sqlite2-2.1.6/
>   1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb
>
>   guix hash -r $(./pre-inst-env guix build -S guile-dbd-sqlite3)
>   1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb

Finally applied, thanks!

Ludo’.