From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 14 20:14:04 2021 Received: (at 46942) by debbugs.gnu.org; 15 Mar 2021 00:14:04 +0000 Received: from localhost ([127.0.0.1]:34503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLarz-0007Zx-RK for submit@debbugs.gnu.org; Sun, 14 Mar 2021 20:14:04 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]:54100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLarx-0007Z9-Cj for 46942@debbugs.gnu.org; Sun, 14 Mar 2021 20:14:02 -0400 Date: Mon, 15 Mar 2021 00:13:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1615767234; bh=hEU7Mz4fbyhq+s22duhAPebBajWAQSJHuYGODRLGyu0=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=usIq7KhiiydN8b9t0GdKZz1h7cM4d/NJri7HiHf3AUXPvR811O43QRWMFOmU0aCf9 ZUmr7aba9BMWU7pQAVofxxpxZM36u+KScMGabzo/NfNinKly+UylMcbm1xWRkmAgHK jV8CWptA+UYcT+55QRh/938q0EFGjqeVUapP/YiQ= To: zimoun From: raid5atemyhomework Subject: Re: bug#46942: ci.guix.gnu.org is slow from my system Message-ID: In-Reply-To: <864khpru3j.fsf@gmail.com> References: <86a6rh7oyr.fsf@gmail.com> <86r1ktsaw3.fsf@gmail.com> <8bR3l7i5BPTQzCRF0BRGqsXMNe-DIM0QlFFj7qG-SJd7Z-KgPdvdlM5ZkhFlX8GVqQSocUgx9WCBthzbVrgZ5c2zMBegDmhCj-_1rjQ_oiY=@protonmail.com> <864khpru3j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46942 Cc: "pengmeiyu@riseup.net" , "46942@debbugs.gnu.org" <46942@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: raid5atemyhomework Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello all, Unfortunately, it seems that the SJTU server is somewhat unreliable, I some= times get random failures in various parts talking to the substitute server= , complaining of strange responses from the server: ``` Backtrace: In guix/ui.scm: 2164:12 19 (run-guix-command _ . _) In guix/scripts/substitute.scm: 652:2 18 (guix-substitute . _) In unknown file: 17 (with-continuation-barrier #) In ice-9/boot-9.scm: 1736:10 16 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 15 (apply-smob/0 #) In ice-9/boot-9.scm: 1736:10 14 (with-exception-handler _ _ #:unwind? _ # _) 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) 1731:15 12 (with-exception-handler # =E2=80=A6) In guix/scripts/substitute.scm: 701:17 11 (_) 410:7 10 (process-substitution _ "/gnu/store/yfzsz94qy92c7m9w0j= =E2=80=A6" =E2=80=A6) In ice-9/boot-9.scm: 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/substitute.scm: 419:9 8 (_) In ice-9/boot-9.scm: 1731:15 7 (with-exception-handler # =E2=80=A6) 1669:16 6 (raise-exception _ #:continuable? _) 1667:16 5 (raise-exception _ #:continuable? _) 1669:16 4 (raise-exception _ #:continuable? _) 1764:13 3 (_ #<&compound-exception components: (#<&error> #<&irri= =E2=80=A6>) 1669:16 2 (raise-exception _ #:continuable? _) 1667:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'. Backtrace: In ice-9/boot-9.scm: 1736:10 4 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 3 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 2 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 1 (_ #(#(#))) In guix/ui.scm: 2164:12 0 (run-guix-command _ . _) guix/ui.scm:2164:12: In procedure run-guix-command: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'. substitution of /gnu/store/yfzsz94qy92c7m9w0jbll7slc2pcap45-guix-packages-b= ase failed guix pull: error: corrupt input while restoring archive from # ``` I configured `guix-daemon` to have two substitute URLs: SJTUG, and the offi= cial Cuirass in Berlin. My expectation is that if the SJTUG server fails, = it should fall back on using the Cuirass server. So my problems are two-fold: * Apparently the SJTUG mirror sometimes acts in ways that aren't quite how = Guix expects it. Either SJTUG or Guix has to be fixed so they talk in comp= atible manners. * Multiple Substitute URLs are not useful for the mirroring configuration w= here one server is temporarily unable to properly serve; further servers ar= e not checked. I'm still not satisfied with this solution overall. Yes it's fast but it's= imperfect. I recently had to rebuild an OS (because I was dumb; the Guix language for = shepherd services can easily lead you deadlocking shepherd itself) and had = supreme difficulty reinstalling, because the Berlin server was too slow (wo= uld have taken ~10hours downloading everything) while the SJTUG server was = unreliable and would consistently break the automated install. I had to `g= uix system build --fallback` separately and *then* `guix system init` manua= lly. Thanks raid5atemyhomework