GNU bug report logs

#56319 "write_wait_fd: unimplemented" error from 'guix substitute'

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#56319; Package guix. (Thu, 30 Jun 2022 08:21:01 GMT) (full text, mbox, link).


Acknowledgement sent to Jacob Hrbek <kreyren@rixotstudio.cz>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Thu, 30 Jun 2022 08:21:01 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Jacob Hrbek <kreyren@rixotstudio.cz>
To: bug-guix@gnu.org
Subject: 'guix system' failure due to substitute being temporarily 404 -> Implement a retry attempts?
Date: Thu, 30 Jun 2022 08:19:49 +0000
[Message part 1 (text/plain, inline)]
Seems that the substitute server went down just as i was doing `guix 
system reconfigure /path/to/config.scm` which produced a failure thus 
proposing to implement a retry attempts and if those fail to force build 
locally to make this process more reliable in mission critical environment

substitute: updating substitutes from 
'https://substitutes.domain.tld'...   0.0%Backtrace:
substitute: In ice-9/boot-9.scm:
substitute:   1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
substitute: In unknown file:
substitute:           16 (apply-smob/0 #<thunk 7f93f45d22e0>)
substitute: In ice-9/boot-9.scm:
substitute:     724:2 15 (call-with-prompt _ _ #<procedure 
default-prompt-handle…>)
substitute: In ice-9/eval.scm:
substitute:     619:8 14 (_ #(#(#<directory (guile-user) 7f93f45d7c80>)))
substitute: In guix/ui.scm:
substitute:    2230:7 13 (run-guix . _)
substitute:   2193:10 12 (run-guix-command _ . _)
substitute: In ice-9/boot-9.scm:
substitute:   1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
substitute:   1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
substitute: In guix/scripts/substitute.scm:
substitute:    757:18  9 (_)
substitute:    348:26  8 (process-query #<output: file 4> _ #:cache-urls 
_ #:acl _)
substitute: In guix/substitutes.scm:
substitute:    365:27  7 (lookup-narinfos/diverse _ _ #<procedure 
7f93f229df40 …> …)
substitute:    322:31  6 (lookup-narinfos 
"https://substitutes.domain.tld" _ # _ …)
substitute:    245:26  5 (fetch-narinfos _ _ #:open-connection _ # _)
substitute: In ice-9/boot-9.scm:
substitute:   1685:16  4 (raise-exception _ #:continuable? _)
substitute:   1685:16  3 (raise-exception _ #:continuable? _)
substitute:   1780:13  2 (_ #<&compound-exception components: (#<&error> 
#<&orig…>)
substitute:   1685:16  1 (raise-exception _ #:continuable? _)
substitute:   1685:16  0 (raise-exception _ #:continuable? _)
substitute:
substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
substitute: In procedure write_wait_fd: unimplemented
guix system: error: 
`/gnu/store/5hzz6px2jp2kx8fnvfg80m6f6al3y190-guix-1.3.0-27.598f728/bin/guix 
substitute' died unexpectedly

-- 
-- Jacob Hrbek #StandWithUkraine

[publickey - kreyren@rixotstudio.cz - 1677db82.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Merged 56319 56320. Request was from Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> to control@debbugs.gnu.org. (Thu, 30 Jun 2022 09:10:03 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#56319; Package guix. (Fri, 01 Jul 2022 14:23:02 GMT) (full text, mbox, link).


Message #10 received at 56319@debbugs.gnu.org (full text, mbox, reply):

From: Maxime Devos <maxime.devos@student.kuleuven.be>
To: "control@debbugs.gnu.org" <control@debbugs.gnu.org>, "56319@debbugs.gnu.org" <56319@debbugs.gnu.org>
Subject: Re: 'guix system' failure due to substitute being temporarily 404 -> Implement a retry attempts?
Date: Fri, 1 Jul 2022 14:22:29 +0000
merge 56005 56320 56319
thanks

This doesn't look Guix System-specific to me and looks to have the same issue (i.e., something about write_wait_fd) as
<https://issues.guix.gnu.org/56005>, so merging into 56005.

Also, is the substitute server being down a hypothesis for the error but not actually known to actually have hapend, or something you have noticed the substitute server being down via other methods and believe it to be a plausible hypothesis for the error cause?

In all cases, I believe write_wait_fd: unimplemented to be a bug that needs to be investigated for the root cause and fixed, not something to accumulate work-arounds for and ignore by automatic retries.

Greetings,
Maxime.





Merged 56005 56319 56320. Request was from Maxime Devos <maxime.devos@student.kuleuven.be> to control@debbugs.gnu.org. (Fri, 01 Jul 2022 14:23:02 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Sun, 03 Jul 2022 20:57:01 GMT) (full text, mbox, link).


bug closed, send any further explanations to 56319@debbugs.gnu.org and Jacob Hrbek <kreyren@rixotstudio.cz> Request was from Maxim Cournoyer <maxim.cournoyer@gmail.com> to control@debbugs.gnu.org. (Wed, 13 Jul 2022 12:48:01 GMT) (full text, mbox, link).


Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Tue, 19 Jul 2022 19:51:02 GMT) (full text, mbox, link).


Added indication that bug 56319 blocks57983 Request was from Mathieu Othacehe <mathieu@meije.mail-host-address-is-not-set> to control@debbugs.gnu.org. (Thu, 22 Sep 2022 14:37:02 GMT) (full text, mbox, link).


Changed bug title to '"write_wait_fd: unimplemented" error from 'guix substitute'' from ''guix system' failure due to substitute being temporarily 404 -> Implement a retry attempts?' Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Mon, 14 Nov 2022 16:35:01 GMT) (full text, mbox, link).


Merged 56005 56319 56320. Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Tue, 23 May 2023 12:42:02 GMT) (full text, mbox, link).


Merged 56005 56319 56320. Request was from Maxim Cournoyer <maxim.cournoyer@gmail.com> to control@debbugs.gnu.org. (Tue, 29 Aug 2023 20:28:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Apr 16 02:09:25 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.