From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Jun 2021 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48903@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16230790399059 (code B ref -1); Mon, 07 Jun 2021 15:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jun 2021 15:17:19 +0000 Received: from localhost ([127.0.0.1]:56503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqH0A-0002M3-Up for submit@debbugs.gnu.org; Mon, 07 Jun 2021 11:17:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:35666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqH08-0002Lv-EV for submit@debbugs.gnu.org; Mon, 07 Jun 2021 11:17:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqH08-0007gv-64 for bug-guix@gnu.org; Mon, 07 Jun 2021 11:17:16 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:41682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqH05-0003Hc-QA for bug-guix@gnu.org; Mon, 07 Jun 2021 11:17:15 -0400 Received: by mail-qt1-x833.google.com with SMTP id t20so12834445qtx.8 for ; Mon, 07 Jun 2021 08:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=dXnMkZOwY6K2KrD+y96s0Zg7a3qfAIhiBiw1D99kpsw=; b=GLcoo4r2eWkS2trOvSWAZtk2MojuX2PYp8+h32BZ8Ug6HbYCyJuY7Zc6T/G40Oa8Et 0mZ+PijIrF61kI9S3MLNABLaFU6N6ShpRX6mx13qczC5nPtmEkLEcp4noJ4X8nwlkHXj gMSGYmug3Vct9I11M+DT923nAMdFyPUTgSzUZ3ZhMQczlWRMgnC3FccIlSHokTtpYpgP tTVM67fHMRabgs65FA4erHGwRKn6p8OkZ5P7243iyIwzG4WHBh2bQacQOlNKbQSnUmMM dBYOzbiOKvRqd1a23GslHlBfK6SeZ/51JjEWeHUNOEhw28hbl43scErH/0ODrPN5U+PZ APgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=dXnMkZOwY6K2KrD+y96s0Zg7a3qfAIhiBiw1D99kpsw=; b=csJKBVlLVihBZ1rWMwMQrvhmqFwltorTfeTLIQ42gSUIh9zJ9orxGxaKbq0Wjnw34h XhoX8OSFU4oglxR9JWwTbsQnrFZrZbeNRmCuiE8Rh/G2b3EeeWirfzp7VyUFJ6P836xk Wkr4Qbev2rGUikQ2rbZyeblMbUyzb0N573KDKJ0tDkkUdAh3OMqjyRE1z4uDoOdmcSKA gX74FaeIj9XlvVQa4FZhRGCBuFIybvl0W9tk+6Nt9goDZETuKntDKit5kOuiuT6Vkdh8 EvhuyitEDafPTvFvSJaEGpDXZ7jq5keP0Hu524zyH/ykKrVAaRTDUvSSPP3Tu0uNs7Tu pRGg== X-Gm-Message-State: AOAM5319ZU6Ok6KjYOzE6f8pEiRq5OmLYjvm5TbQL2J0Mx/lgBgjh6kO HEpA2QnzavtCaoR6ZMPjuMu/bxvdpec= X-Google-Smtp-Source: ABdhPJwQSJRrvW0NsWzw6auxJu7AGejnhBiTxpk3jU3j1/50X3nESvyDHsS+h94z1XzOTmuAiVtZIg== X-Received: by 2002:a05:620a:1185:: with SMTP id b5mr6046434qkk.328.1623078607710; Mon, 07 Jun 2021 08:10:07 -0700 (PDT) Received: from hurd (dsl-153-212.b2b2c.ca. [66.158.153.212]) by smtp.gmail.com with ESMTPSA id l13sm8473379qtk.50.2021.06.07.08.10.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 08:10:06 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 07 Jun 2021 11:10:06 -0400 Message-ID: <87bl8hvhgx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hello, Using Guix from the master branch at commit b2122b07dc24007263b92247cc479713c2101390, with a system reconfigured on the 2nd of June (Guix commit bb325c5611553a6db21ee7499ac07d5757d24fc3): --8<---------------cut here---------------start------------->8--- Generation 216 Jun 02 2021 10:14:19 (current) file name: /var/guix/profiles/system-216-link canonical file name: /gnu/store/apjg70083nc5xj816y0ff3r8ir9gh5py-system label: GNU with Linux-Libre 5.11.20 bootloader: grub root device: /dev/mapper/cryptroot kernel: /gnu/store/ghijd80qabdyf0p6jcich9ggnpwrbwxw-linux-libre-5.11.20/bzImage channels: sfl-packages: repository URL: https://gitlab.com/Apteryks/sfl-guix-channel branch: master commit: 37d017573350b64f8a8c992530153f42806b6a6f guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: bb325c5611553a6db21ee7499ac07d5757d24fc3 configuration file: /gnu/store/qvhl7ya2xn4gr9mn29hg93p1dcbdlyfy-configuration.scm --8<---------------cut here---------------end--------------->8--- with the guix-daemon running being: --8<---------------cut here---------------start------------->8--- /gnu/store/9zh3bg8d4y08jnkqyrk6xczahiahhcy4-guix-1.3.0-1.771b866/bin/guix-daemon 29920 guixbuild --max-silent-time 0 --timeout 0 --log-compression none --discover=no --substitute-urls http://127.0.0.1:8080 https://ci.guix.gnu.org --max-jobs=4 --8<---------------cut here---------------end--------------->8--- Attempting to update my profile keeps failing with: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix package -m ~/stow/guix/manifest.scm -L ~/src/sfl-guix-channel/ --substitute-urls=https://ci.guix.gnu.org --no-offload ;;; note: source file /home/maxim/src/guix-master/gnu/packages/networking.scm ;;; newer than compiled /home/maxim/src/guix-master/gnu/packages/networking.go ;;; note: source file /home/maxim/src/guix-master/gnu/packages/networking.scm ;;; newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/networking.go The following packages will be installed: acpi 1.7 adb 7.1.2_r36 adwaita-icon-theme 3.34.3 alsa-utils 1.2.4 [...] xrandr 1.5.1 xrdb 1.2.0 xsetroot 1.1.2 yelp 3.32.2 122.8 MB will be downloaded libreoffice-6.4.7.2 117.1MiB 344KiB/s 03:04 [######### ] 52.7%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 failed guix package: error: some substitutes for the outputs of derivation `/gnu/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source --8<---------------cut here---------------end--------------->8--- I'm attaching my (large!) profile manifest. It depends on the https://gitlab.com/Apteryks/sfl-guix-channel channel, which just adds 3 Python packages. You could comment out the "sflvault-client" package from the manifest to lift that requirement. Thanks, Maxim --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=manifest.scm (use-modules (gnu packages) (gnu packages emacs) (guix build-system emacs) (guix profiles)) (concatenate-manifests (list ;;; Emacs packages. (specifications->manifest '("emacs" "emacs-auctex" "emacs-bash-completion" "emacs-bbdb" "emacs-cmake-mode" "emacs-company" "emacs-company-quickhelp" "emacs-counsel" "emacs-counsel-bbdb" "emacs-csv-mode" "emacs-debbugs" "emacs-diff-hl" "emacs-el-mock" "emacs-elpy" "emacs-emms" "emacs-ggtags" "emacs-go-mode" "emacs-grep-a-lot" "emacs-groovy-modes" "emacs-guix" "emacs-htmlize" "emacs-ivy" "emacs-magit" "emacs-markdown-mode" "emacs-nix-mode" "emacs-org" "emacs-org-reveal" "emacs-paredit" "emacs-php-mode" "emacs-pdf-tools" "emacs-qml-mode" "emacs-realgud" "emacs-rpm-spec-mode" "emacs-sr-speedbar" "emacs-string-inflection" "emacs-swiper" "emacs-w3m" "emacs-ws-butler" "emacs-yaml-mode" "emacs-yasnippet" "emacs-yasnippet-snippets")) ;; Other software. (specifications->manifest '("adb" "acpi" "adwaita-icon-theme" "alsa-utils" "anthy" "arc-icon-theme" "arc-theme" "aspell" "aspell-dict-en" "aspell-dict-fr" "autoconf" "automake" "autossh" "bash" "bc" "beep" "bind:utils" ;for 'dig' "bluez" "bridge-utils" "cheese" "compsize" "cqfd" "cryptsetup" "curl" "dbus" "dconf" "ddcutil" "diffoscope" "docker-cli" "dosfstools" "evince" "file" "font-adobe-source-han-sans" "font-dejavu" "font-google-roboto" "font-hack" "gcc-toolchain" "gdb" "geeqie" "ghostscript-with-x" "gimp" "git" "git:send-email" "glibc-locales" "global" "gnome-bluetooth" "gnome-boxes" "gnu-standards" "gnucash" "gnucash:doc" "gnupg" "graphviz" "grub" ;for the manual "gtk-engines" "guile" "guile-lib" "guile-readline" "guile-sqlite3" "guile-ssh" "hackneyed-x11-cursors" "hicolor-icon-theme" "hunspell" "hunspell-dict-fr" "ibus" "ibus-anthy" "icecat" "imagemagick" "inetutils" "inkscape" "iotop" "jack" "jami-gnome" "jami-qt" "nethogs" ;pre-process bandwith monitoring "jnettop" ;bandwidth monitoring "keepassxc" "libjpeg" "libmtp" "libpcap" "libreoffice" "libssh" "libx11" "linphone-desktop" "lm-sensors" "lsof" "ltrace" "lvm2" ;for dmsetup "maim" ;take screenshots "make" "man-pages" "mesa-utils" "moreutils" "mpv" "mtr" "ncftp" ;for gnupload "nmap" "openssh" "openvpn" "parted" "pavucontrol" "perl" "pinentry" "pkg-config" "poppler" "pulseaudio" "pv" "python" "python-wrapper" "qemu" "recutils" "rofi" "rsync" "rtorrent" "screen" "setxkbmap" "shepherd" "sicp" "smartmontools" "spacefm" "stow" "strace" "sysstat" ;for iostat "tcpdump" "the-silver-searcher" ;ag "time" ;aliased to time+ "transmission" "transmission:gui" "tree" "unzip" "vinagre" "vorbis-tools" "weechat" "wget" "workrave" "wpa-supplicant" "xclip" "xdpyinfo" "xdg-utils" "xev" "xmodmap" "xournal" "xrandr" "xrdb" "xsetroot" "yelp" "gxtuner" "shellcheck" "wireguard-tools" "wireshark")) ;; SFL stuff -- todo extract in separate manifest (specifications->manifest '("ansible" "docker-compose" "emacs-adoc-mode" "emacs-clang-format" "emacs-clang-rename" "emacs-feature-mode" "picocom" "python-git-review" "sflvault-client" "sshpass" "ungoogled-chromium" "ddrescue")))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 07 11:38:46 2021 Received: (at control) by debbugs.gnu.org; 7 Jun 2021 15:38:47 +0000 Received: from localhost ([127.0.0.1]:56519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqHKw-0002sh-Qw for submit@debbugs.gnu.org; Mon, 07 Jun 2021 11:38:46 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:3518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqHKv-0002sS-V7 for control@debbugs.gnu.org; Mon, 07 Jun 2021 11:38:46 -0400 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AIqZQDqwpM5mH6b9PDPB3KrPwSL1zdoMgy1kn?= =?us-ascii?q?xilNoHtuEvBwTPrOoB1173TJYVoqNE3JSri7VpVoP0m3yXcd2+B4AV7IZmbbUQ?= =?us-ascii?q?WTQb1f0Q=3D=3D?= X-IronPort-AV: E=Sophos;i="5.83,255,1616454000"; d="scan'208";a="383716807" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 17:38:39 +0200 Date: Mon, 07 Jun 2021 17:38:38 +0200 Message-Id: <87zgw1it1d.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #48903 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) severity 48903 important quit From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 08 Jun 2021 09:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 48903@debbugs.gnu.org Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162314288621177 (code B ref 48903); Tue, 08 Jun 2021 09:02:02 +0000 Received: (at 48903) by debbugs.gnu.org; 8 Jun 2021 09:01:26 +0000 Received: from localhost ([127.0.0.1]:57379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqXbx-0005VB-H8 for submit@debbugs.gnu.org; Tue, 08 Jun 2021 05:01:25 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:53560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqXbv-0005SH-En for 48903@debbugs.gnu.org; Tue, 08 Jun 2021 05:01:23 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id EZ1L250030mfAB401Z1NVM; Tue, 08 Jun 2021 11:01:22 +0200 Message-ID: From: Maxime Devos In-Reply-To: <87bl8hvhgx.fsf@gmail.com> References: <87bl8hvhgx.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-0FuzQJTducgDFV4myvcz" Date: Mon, 07 Jun 2021 19:46:01 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.34.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623142882; bh=fTWpx6O06w3jWRHmjKwtLc1dm1UiLxGexVlKIKxYg9M=; h=Subject:From:To:In-Reply-To:References:Date; b=UP3lm++jCkg70aGFvhZSvQLB9mYMeWaVvfNhA4gsyLXZb2xJ4+CuZu8qPty8tJ+NM eCa/Kq/uQI72c5qrXoNmJsJfI9htyjQb1L7dv/4kH1dG/auabUuY3ecaACetrfeNNa L8ZYPdisri160pwIqeSVx6JBPyfzshY8dK6fTcH9pu9v/SDz7y5U1+tnswMUPy5ENy xFO5aQ7NDbhKUqQT0MRI9D5oqERhZtz1of/fYN23UIfwHRUpX9zkM8X9XzwJ1xXYkS aoTNI17Lj3xcInq7IQEaA3VgC49BqZCzp3fWabvdTsrv2kw2slOrZRs2Tmea31qzuL EetKKvG6DkDnw== X-Spam-Score: 0.1 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --=-0FuzQJTducgDFV4myvcz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > 122.8 MB will be downloaded > libreoffice-6.4.7.2 117.1MiB 344KiB/s = 03:04 [######### ] 52.7%guix substitute: error: TLS error in proce= dure 'read_from_session_record_port': Error decoding the received TLS packe= t. > substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6= .4.7.2 failed > guix package: error: some substitutes for the outputs of derivation `/gnu= /store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (us= ually happens due to networking issues); try `--fallback' to build derivati= on from source > --8<---------------cut here---------------end--------------->8--- >=20 I often have the same problem when I do "guix package -u". (Same error message, same package libreoffice, same derivation) (Usually libreoffice, sometimes with other packages as well.) I don't know the cause though. --=-0FuzQJTducgDFV4myvcz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYL5bThccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vdfAQDP7hYYsVYbCvm3aiDP7R0lxdSJ hfH67m16fdVsGntpVgD/eOHTlj3H8LvnAZFI1ncxWKCNlbPIg8uMcgxKBa2hrwM= =4APP -----END PGP SIGNATURE----- --=-0FuzQJTducgDFV4myvcz-- From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Jun 2021 15:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 48903@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.16234241862888 (code B ref 48903); Fri, 11 Jun 2021 15:10:01 +0000 Received: (at 48903) by debbugs.gnu.org; 11 Jun 2021 15:09:46 +0000 Received: from localhost ([127.0.0.1]:39813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrin4-0000kU-EQ for submit@debbugs.gnu.org; Fri, 11 Jun 2021 11:09:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrin2-0000kI-Fh for 48903@debbugs.gnu.org; Fri, 11 Jun 2021 11:09:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58442) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrimw-0004jM-Tv; Fri, 11 Jun 2021 11:09:38 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50108 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrimw-0002fn-Md; Fri, 11 Jun 2021 11:09:38 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bl8hvhgx.fsf@gmail.com> Date: Fri, 11 Jun 2021 17:09:36 +0200 In-Reply-To: (Maxime Devos's message of "Mon, 07 Jun 2021 19:46:01 +0200") Message-ID: <87wnr05tfz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Maxim{,e}! Maxime Devos skribis: >> 122.8 MB will be downloaded >> libreoffice-6.4.7.2 117.1MiB 344KiB/s= 03:04 [######### ] 52.7%guix substitute: error: TLS error in proc= edure 'read_from_session_record_port': Error decoding the received TLS pack= et. >> substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-= 6.4.7.2 failed >> guix package: error: some substitutes for the outputs of derivation `/gn= u/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (u= sually happens due to networking issues); try `--fallback' to build derivat= ion from source >> --8<---------------cut here---------------end--------------->8--- >>=20 > > I often have the same problem when I do "guix package -u". > (Same error message, same package libreoffice, same derivation) > (Usually libreoffice, sometimes with other packages as well.) As a first step, can you reproduce the bug like this: while echo substitute /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreof= fice-6.4.7.2 /tmp/t | guix substitute --substitute ; do chmod -R +w /tmp/t = && rm -rf /tmp/t; done ? FWIW, I can=E2=80=99t seem to reproduce it with: --8<---------------cut here---------------start------------->8--- $ guix describe=20 Generacio 185 Jun 07 2021 15:07:46 (nuna) guix e3611cc repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: e3611cc412e7b1c750a56d17fb1b7cde684baa3f --8<---------------cut here---------------end--------------->8--- TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 03:48:23 2021 Received: (at control) by debbugs.gnu.org; 18 Jun 2021 07:48:23 +0000 Received: from localhost ([127.0.0.1]:55684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lu9El-0007MM-NV for submit@debbugs.gnu.org; Fri, 18 Jun 2021 03:48:23 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:61455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lu9Ek-0007Lu-LF for control@debbugs.gnu.org; Fri, 18 Jun 2021 03:48:22 -0400 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AAXTKN6lK7WdkCvC8PPHOZkZ7ImLpDfJI3DAb?= =?us-ascii?q?v31ZSRFFG/Fw8PrPoB3B737JYVkqM03I9ertBEFSKUmzyXcK2+Ms1N6ZNWHbUQ?= =?us-ascii?q?CTQ72Kg7GO/wHd?= X-IronPort-AV: E=Sophos;i="5.83,283,1616454000"; d="scan'208";a="515353580" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2021 09:47:41 +0200 Date: Fri, 18 Jun 2021 09:47:41 +0200 Message-Id: <87zgvnlile.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #48903 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) merge 48903 49071 quit From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Jun 2021 13:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162497301120271 (code B ref 48903); Tue, 29 Jun 2021 13:24:03 +0000 Received: (at 48903) by debbugs.gnu.org; 29 Jun 2021 13:23:31 +0000 Received: from localhost ([127.0.0.1]:53918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyDi6-0005Gt-UF for submit@debbugs.gnu.org; Tue, 29 Jun 2021 09:23:31 -0400 Received: from mail-qv1-f46.google.com ([209.85.219.46]:46033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyDi2-0005GP-85 for 48903@debbugs.gnu.org; Tue, 29 Jun 2021 09:23:26 -0400 Received: by mail-qv1-f46.google.com with SMTP id v17so820389qvw.12 for <48903@debbugs.gnu.org>; Tue, 29 Jun 2021 06:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Zj9zdUxFtuytKuJ/vMye1LHsz75Fh/e2KbHIJt/tDQY=; b=dwdkQYmTfNaeJViaJF5MToGahhP8o3amIUe5IaTe95TCbwW8bIS6t1Zx65kUd8G235 JqxflH8i88eCwXTE6RsuT/gMyjcF8Nyqgmnfhl79lfmxcAl2CKdRe1i8FqZGKNQxlP3w 4RFuXNBtdMVHey548si6NF0mo5Enqd8B3wsPNgHLSkRNTn3G6m1u3cKH17sR/x+bxvzG 4ZZIFP6CvqniZt40tp4jml+l+oau9ig/91h9TaiHGl+Rf+HNIMTR521bbXdFrsNkoPab uujHY0L7MZKDPDV9SFl9n6q+EscRUJah4jQlS0nCFfrVnsWDTJawAQdhDD5nlDQu1S2G ljDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Zj9zdUxFtuytKuJ/vMye1LHsz75Fh/e2KbHIJt/tDQY=; b=MRFqMJo5lJyrno4Qp00MiExbCx9HtwQg/TZALWrUOA5De7G7IOtEFG1tEgQmylJOQv cBG+WFb0XPd4yNfDfA95upvGKI8SCaeoIUm357/gDIepBcG7iyDyJ/u5nNTXC/tCg1HK yNE6342cJ9nT8z8uOE0tzBTCq8q7zLX5ks3mJrrVN1DVB/0RgnpPkWKLMJxBrYpP0bup yx+teMz2vs28FoVFpSxjjzFt+7wnbvszEej+8Ru9ZZgnE/cGXAf3gmnkm8Ip+cRWMnFv hjDVrdz0/aH0ne8q/EoHaUDtv3awByEYGwz0UEGC+F017svC9A3hyXx6VoeWuEPBHNsZ Z50w== X-Gm-Message-State: AOAM532XxPNJUq9p7J/mpPlKoi3ZmGTo0vinNyS0ZNP2DaAL57VxGlUf msXEvMFCuwvNjZTqxylB2ONjuJAYXBZL2Q== X-Google-Smtp-Source: ABdhPJwXNN6XOPrNADAPho7+dkETg0lgNufyF71oLjbiJuZMWVWut92OR8CEprzWGBjEl1QkGVFSAA== X-Received: by 2002:a0c:ab43:: with SMTP id i3mr31180887qvb.0.1624973000171; Tue, 29 Jun 2021 06:23:20 -0700 (PDT) Received: from hurd (dsl-10-148-155.b2b2c.ca. [72.10.148.155]) by smtp.gmail.com with ESMTPSA id x7sm11868380qke.62.2021.06.29.06.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 06:23:19 -0700 (PDT) From: Maxim Cournoyer References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> Date: Tue, 29 Jun 2021 09:23:18 -0400 In-Reply-To: <87wnr05tfz.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 11 Jun 2021 17:09:36 +0200") Message-ID: <87o8bovm7t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Ludovic, Ludovic Court=C3=A8s writes: [...] > As a first step, can you reproduce the bug like this: > > while echo substitute > /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 /tmp/t > | guix substitute --substitute ; do chmod -R +w /tmp/t && rm -rf > /tmp/t; done > > ? > > FWIW, I can=E2=80=99t seem to reproduce it with: > > $ guix describe=20 > Generacio 185 Jun 07 2021 15:07:46 (nuna) > guix e3611cc > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: e3611cc412e7b1c750a56d17fb1b7cde684baa3f I can't seem to reproduce either. Perhaps the issue only arises when there are many things happening concurrently. My daemon runs with: --8<---------------cut here---------------start------------->8--- $ sudo ps -eF | grep guix-daemon root 25193 216 0 3074 1524 3 Jun28 ? 00:00:00 /gnu/store/= vphx2839xv0qj9xwcwrb95592lzrrnx7-guix-1.3.0-3.50dfbbf/bin/guix-daemon 25178= guixbuild --max-silent-time 0 --timeout 0 --log-compression = none --discover=3Dno --substitute-urls http://127.0.0.1:8080 https://ci.gui= x.gnu.org --max-jobs=3D4--8<---------------cut here---------------end------= --------->8--- I can rather easily (and annoyingly!) trigger the problem (and a few variations of it, it seems) with something like: $ packages=3D$(guix refresh -l protobuf | sed 's/^.*: //') $ guix build -v3 --keep-going $packages For example, running the above, I just got: --8<---------------cut here---------------start------------->8--- guix build: error: corrupt input while restoring archive from # --8<---------------cut here---------------end--------------->8--- Does the above commands succeed on the first time on your end? If you have already lots of things cached, you can try for an architecture you don't often build for by adding the '--system=3Di686-linux' option; that should cause a massive amount of downloads, likely to trigger the problem. Perhaps also try to use --max-jobs=3D4. If you have ideas of how to debug this when I hit the issue I'm all ears :-). Thank you! Maxim From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Jun 2021 21:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.16250015329938 (code B ref 48903); Tue, 29 Jun 2021 21:19:01 +0000 Received: (at 48903) by debbugs.gnu.org; 29 Jun 2021 21:18:52 +0000 Received: from localhost ([127.0.0.1]:55801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyL87-0002aE-QZ for submit@debbugs.gnu.org; Tue, 29 Jun 2021 17:18:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyL83-0002Zu-AP for 48903@debbugs.gnu.org; Tue, 29 Jun 2021 17:18:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44294) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyL7x-00067l-NC; Tue, 29 Jun 2021 17:18:41 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42562 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyL7x-0007fg-Fu; Tue, 29 Jun 2021 17:18:41 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 29 Jun 2021 23:18:39 +0200 In-Reply-To: <87o8bovm7t.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 29 Jun 2021 09:23:18 -0400") Message-ID: <87sg10pdxs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Maxim Cournoyer skribis: > $ sudo ps -eF | grep guix-daemon > root 25193 216 0 3074 1524 3 Jun28 ? 00:00:00 /gnu/stor= e/vphx2839xv0qj9xwcwrb95592lzrrnx7-guix-1.3.0-3.50dfbbf/bin/guix-daemon 251= 78 guixbuild --max-silent-time 0 --timeout 0 --log-compressio= n none --discover=3Dno --substitute-urls http://127.0.0.1:8080 https://ci.g= uix.gnu.org --max-jobs=3D4--8<---------------cut here---------------end----= ----------->8--- > > I can rather easily (and annoyingly!) trigger the problem (and a few > variations of it, it seems) with something like: > > $ packages=3D$(guix refresh -l protobuf | sed 's/^.*: //') > $ guix build -v3 --keep-going $packages > > For example, running the above, I just got: > > guix build: error: corrupt input while restoring archive from # file 7fc95acfc2a0> > --8<---------------cut here---------------end--------------->8--- > > Does the above commands succeed on the first time on your end? If you > have already lots of things cached, you can try for an architecture you > don't often build for by adding the '--system=3Di686-linux' option; that > should cause a massive amount of downloads, likely to trigger the > problem. Perhaps also try to use --max-jobs=3D4. I=E2=80=99ve tried that, with --max-jobs=3D4, and it fills my disk just fin= e. :-/ > If you have ideas of how to debug this when I hit the issue I'm all ears > :-). The attached patch substitutes a number of store items in a row; run: guix repl -- substitute-stress.scm and it=E2=80=99ll fill /tmp/substitute-test with 200 substitutes, which sho= uld be equivalent to the kind of stress test you had above. It doesn=E2=80=99t crash for me. There are a few =E2=80=9Cerror: no valid = substitute for /gnu/store/=E2=80=A6=E2=80=9D errors, but these are expected: was ask f= or substitutes for 200 packages without first checking whether substitutes are available. Could you run it and report back? You can try with more packages, different substitute URLs, etc. TIA! Ludo=E2=80=99. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=substitute-stress.scm Content-Description: the stress test (use-modules (guix) (gnu packages) (guix scripts substitute) (guix grafts) (guix build utils) (srfi srfi-1) (ice-9 match) (ice-9 threads)) (define test-directory "/tmp/substitute-test") (define packages ;; Subset of packages for which we request substitutes. (take (fold-packages cons '()) 200)) (define (spawn-substitution-thread input urls) "Spawn a 'guix substitute' thread that reads commands from INPUT and uses URLS as the substitute servers." (call-with-new-thread (lambda () (parameterize ((%reply-file-descriptor #f) (current-input-port input)) (setenv "_NIX_OPTIONS" (string-append "substitute-urls=" (string-join urls))) (let loop () (format (current-error-port) "starting substituter~%") ;; Catch "no valid substitute" errors. (catch 'quit (lambda () (guix-substitute "--substitute")) (const #f)) (unless (eof-object? (peek-char input)) (loop))))))) (match (pipe) ((input . output) (let ((thread (spawn-substitution-thread input %default-substitute-urls))) ;; Remove the test directory. (when (file-exists? test-directory) (for-each make-file-writable (find-files test-directory #:directories? #t)) (delete-file-recursively test-directory)) (mkdir-p test-directory) (parameterize ((%graft? #false)) (with-store store ;; Ask for substitutes for PACKAGES. (for-each (lambda (package n) (define item (run-with-store store (package-file package))) (format output "substitute ~a ~a/~a~%" item test-directory n)) packages (iota (length packages)))) (format #t "sent ~a substitution requests...~%" (length packages)) (close-port output) ;; Wait for substitution to complete. (join-thread thread))))) --=-=-=-- From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 30 Jun 2021 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162507040126783 (code B ref 48903); Wed, 30 Jun 2021 16:27:01 +0000 Received: (at 48903) by debbugs.gnu.org; 30 Jun 2021 16:26:41 +0000 Received: from localhost ([127.0.0.1]:58585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyd2u-0006xu-VE for submit@debbugs.gnu.org; Wed, 30 Jun 2021 12:26:41 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:33570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyd2t-0006xh-3J for 48903@debbugs.gnu.org; Wed, 30 Jun 2021 12:26:39 -0400 Received: by mail-qk1-f180.google.com with SMTP id f6so3088922qka.0 for <48903@debbugs.gnu.org>; Wed, 30 Jun 2021 09:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=GY6Xgfd4lptmMIISlMTM7lvwqAssU+3rQKhHYcyVNvA=; b=gvCeNHsYLhinc8Hsr3UgSDtaZMQkzeZDNJgZhlvXhYIuI3W1nth0TSOxQ+aZU6TjS4 p2y7iQAMT+n6hAuNPTaiIhXPS3hsrhycxM5Z/T8dHQokl9yjtA2gFFWxSUSrB7iVkW59 pt5Q0O+7+R4LOWc25jp28JnKvpB77srBteoqCz4s7urnd8R008kXyfquD/RzNGODc6Qc iRosS9brWuo03LVIdznGA09TJRpwK6R3LBaIl8YB7g5mm9nEE+6dEHEDh84qgo11Qenw q9QdwNOaghtqwEeqAREnz19QjTaihKoJWgqrO0/whX/nZHTNMJj5VjlXycZB0UcWO7Ma QCRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=GY6Xgfd4lptmMIISlMTM7lvwqAssU+3rQKhHYcyVNvA=; b=IgpyJ7g6NoZMQ1juASI8APcA8ka2JJUre+ceDKNTfExT6qYtY4qxLRhlSB5Z8FhUGZ NkNgGi9cKziZscuUoIs18E2uDS7T1sSx6syLqrez/U4nkSXtzIdhxNrtaDzncenRDNMl nvjuGWXRTGZ56SawmN+b/uYlmpOxNLhiM0KUdqBLotdd3y6INAgXJSIDe65ur+ANrDBj 4zkFy0tA1QUHCTelf+FF8z0wc0ruDLI9sDBti9s832e+i8GKbksvXypTyHd1bjTmcvBA ZH+qmOOFhlUppImwes8dzdcJ2pntE/KNHCXq7kYmOJYfi6CUnpdOiSQA/GWZE7mkeGIQ xKsw== X-Gm-Message-State: AOAM5307Wu5m3Xw/atOSWMilv2B/K82zOKAU+fKKKlruyyxKy58yeQw6 c9zDwiyhv8ICa7UBMQVaggcMpUykevpnpQ== X-Google-Smtp-Source: ABdhPJyvmD5NLQ1bAKAQN5FN/UCeM6wKul6fPXQwT7e+HZSkTNaU0Als3kYxYAHBFUzh9+ac5BET+A== X-Received: by 2002:a37:bce:: with SMTP id 197mr37992113qkl.423.1625070393364; Wed, 30 Jun 2021 09:26:33 -0700 (PDT) Received: from hurd (dsl-150-149.b2b2c.ca. [66.158.150.149]) by smtp.gmail.com with ESMTPSA id y137sm14279173qkb.27.2021.06.30.09.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 09:26:32 -0700 (PDT) From: Maxim Cournoyer References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> Date: Wed, 30 Jun 2021 12:26:32 -0400 In-Reply-To: <87sg10pdxs.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 29 Jun 2021 23:18:39 +0200") Message-ID: <871r8j5nev.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> $ sudo ps -eF | grep guix-daemon >> root 25193 216 0 3074 1524 3 Jun28 ? 00:00:00 >> /gnu/store/vphx2839xv0qj9xwcwrb95592lzrrnx7-guix-1.3.0-3.50dfbbf/bin/gui= x-daemon >> 25178 guixbuild --max-silent-time 0 --timeout 0 --log-compression >> none --discover=3Dno --substitute-urls http://127.0.0.1:8080 >> https://ci.guix.gnu.org --max-jobs=3D4--8<---------------cut >> here---------------end--------------->8--- >> >> I can rather easily (and annoyingly!) trigger the problem (and a few >> variations of it, it seems) with something like: >> >> $ packages=3D$(guix refresh -l protobuf | sed 's/^.*: //') >> $ guix build -v3 --keep-going $packages >> >> For example, running the above, I just got: >> >> guix build: error: corrupt input while restoring archive from #> file 7fc95acfc2a0> >> --8<---------------cut here---------------end--------------->8--- >> >> Does the above commands succeed on the first time on your end? If you >> have already lots of things cached, you can try for an architecture you >> don't often build for by adding the '--system=3Di686-linux' option; that >> should cause a massive amount of downloads, likely to trigger the >> problem. Perhaps also try to use --max-jobs=3D4. > > I=E2=80=99ve tried that, with --max-jobs=3D4, and it fills my disk just f= ine. :-/ > >> If you have ideas of how to debug this when I hit the issue I'm all ears >> :-). > > The attached patch substitutes a number of store items in a row; run: > > guix repl -- substitute-stress.scm > > and it=E2=80=99ll fill /tmp/substitute-test with 200 substitutes, which s= hould > be equivalent to the kind of stress test you had above. > > It doesn=E2=80=99t crash for me. There are a few =E2=80=9Cerror: no vali= d substitute > for /gnu/store/=E2=80=A6=E2=80=9D errors, but these are expected: was ask= for > substitutes for 200 packages without first checking whether substitutes > are available. > > Could you run it and report back? > > You can try with more packages, different substitute URLs, etc. > > TIA! > > Ludo=E2=80=99. [...] I've tried with the following modified version which runs multiple threads in parallel (to mimic --max-jobs=3D4 on the daemon), and I've yet to trigger it, although the hard drive is grinding heavily: --8<---------------cut here---------------start------------->8--- (use-modules (guix) (gnu packages) (guix scripts substitute) (guix grafts) (guix build utils) (srfi srfi-1) (ice-9 match) (ice-9 threads)) (define test-directory "/tmp/substitute-test") (define max-jobs 4) (define packages ;; Subset of packages for which we request substitutes. (append (map specification->package '("libreoffice" "ungoogled-chromium" "openjdk" "texmacs")) (take (fold-packages cons '()) 1000))) (define (spawn-substitution-thread input urls) "Spawn a 'guix substitute' thread that reads commands from INPUT and uses URLS as the substitute servers." (call-with-new-thread (lambda () (parameterize ((%reply-file-descriptor #f) (current-input-port input)) (setenv "_NIX_OPTIONS" (string-append "substitute-urls=3D" (string-join urls))) (let loop () (format (current-error-port) "starting substituter~%") ;; Catch "no valid substitute" errors. (catch 'quit (lambda () (guix-substitute "--substitute")) (const #f)) (unless (eof-object? (peek-char input)) (loop))))))) (for-each (lambda (job) (match (pipe) ((input . output) (let ((test-directory* (string-append test-directory "-" (number->string job))) (thread (spawn-substitution-thread input %default-substitute-urls))) ;; Remove the test directory. (when (file-exists? test-directory*) (for-each (lambda (f) (false-if-exception (make-file-writable f))) (find-files test-directory #:directories? #t)) (delete-file-recursively test-directory*)) (mkdir-p test-directory*) (parameterize ((%graft? #false)) (with-store store ;; Ask for substitutes for PACKAGES. (for-each (lambda (package n) (define item (run-with-store store (package-file package))) (format output "substitute ~a ~a/~a~%" item test-directory* n)) packages (iota (length packages)))) (format #t "sent ~a substitution requests...~%" (length packages)) (close-port output) ;; Wait for substitution to complete. (join-thread thread)))))) (iota max-jobs)) --8<---------------cut here---------------end--------------->8--- I wonder if there's something more happening in the real scenario (validating signatures when putting things in the store? or something similar) that may have a role in the failure. That's a tough nut to crack! I'll keep looking for clues. Thanks for your time! Maxim From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Jul 2021 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162514514628072 (code B ref 48903); Thu, 01 Jul 2021 13:13:02 +0000 Received: (at 48903) by debbugs.gnu.org; 1 Jul 2021 13:12:26 +0000 Received: from localhost ([127.0.0.1]:59928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lywUT-0007Ii-QU for submit@debbugs.gnu.org; Thu, 01 Jul 2021 09:12:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lywUS-0007IW-Cg for 48903@debbugs.gnu.org; Thu, 01 Jul 2021 09:12:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50384) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lywUM-0004iM-BR; Thu, 01 Jul 2021 09:12:18 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36602 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lywUH-0002cR-8C; Thu, 01 Jul 2021 09:12:16 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 01 Jul 2021 15:12:11 +0200 In-Reply-To: <871r8j5nev.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 30 Jun 2021 12:26:32 -0400") Message-ID: <874kdemb4k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer skribis: > I've tried with the following modified version which runs multiple > threads in parallel (to mimic --max-jobs=3D4 on the daemon), and I've yet > to trigger it, although the hard drive is grinding heavily: Note that =E2=80=98--max-jobs=3D4=E2=80=99 leads guix-daemon to spawn 4 =E2= =80=98guix substitute=E2=80=99 processes, which is not what the script is doing here. Are the other conditions the same, for instance same network, etc.? Thanks, Ludo=E2=80=99. From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Jul 2021 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.16252360196179 (code B ref 48903); Fri, 02 Jul 2021 14:27:02 +0000 Received: (at 48903) by debbugs.gnu.org; 2 Jul 2021 14:26:59 +0000 Received: from localhost ([127.0.0.1]:36854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzK8A-0001bZ-Bk for submit@debbugs.gnu.org; Fri, 02 Jul 2021 10:26:59 -0400 Received: from mail-qv1-f42.google.com ([209.85.219.42]:39534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzK88-0001bJ-Jy for 48903@debbugs.gnu.org; Fri, 02 Jul 2021 10:26:56 -0400 Received: by mail-qv1-f42.google.com with SMTP id j14so4720078qvu.6 for <48903@debbugs.gnu.org>; Fri, 02 Jul 2021 07:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=hJIwrwf2MbZt1gpx8J1G7Jo9fu2vxDmteMrmvlMXaFk=; b=I+pOS/WX15I0EKityWIp9UNXYAshnSIPSAukykRdmNCfplU+kHeySOivDj9LNTX+fl zR2pPtMRYmWtg1K7nbrWfqveIdPPljNPypLDGBSzv+xgQEGgkSVw20DoG7uNJAF78jWt Oh9+1dkz9dyArI8gd67/G3qTXoJf9aEk8JvS/Q6RiHbFZVPK06xC3sF0nrddYLCPhYak VwOeT+6DcHx9E0xI4z57rn8nPm/RryQL+GIRJfi4nA/t1NAxXxHNeu425MYZIrEWd6+n RxZ+eP4VWCOozbLw/dB13cd41aSgfQ8chm01aZF8Q8p70yUtK1+TIARNexmO2yPXYz5S gTKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=hJIwrwf2MbZt1gpx8J1G7Jo9fu2vxDmteMrmvlMXaFk=; b=hQSh3ydz4SlOHS51dNk8FzBlqx8BVvS5D6HyESzUkrrUUq3XqYLsBvHjgDHosZi+QR qdEBomB92JWu+YptAytVeiMqcQoEPT3gRQi0Yog/W+Hz7CT3j5uFAENOMxekRcDHlN0r v/W3V6kIltK1l00PwaHJFPxDQUFUTES4uAVqo1j9/IJN6CDkpkDkJeJwBR9SgN3SR8ny d5DKOnNT3FOI9LiV1TQ42JML9BIgKvXhznmTnz9sjTaVa4882nhpxFAMB8FmA+hgM0SA v+jKk347OElQWhQ+lPATrT2FV7G7sSrtWWYqxw6S6GGD5ix/hFqGARldtmC4a4upMlYW Nw5w== X-Gm-Message-State: AOAM532CNvpbHXMLKMTnUCDw4cy2q7TKtsxin7EhvPtILtPTmiYhwJ6d wCA0Wir1PZwDX0xVlSr2CkKKVUh4CCNHPg== X-Google-Smtp-Source: ABdhPJx8Iic+0mLUgCO9ujcM+/BCHIj2MM8GGocwP3l31+aaeQXWY8qqJ9K/zEWIKMWFLuzlHSRR0g== X-Received: by 2002:a05:6214:13ac:: with SMTP id h12mr5466482qvz.48.1625236011094; Fri, 02 Jul 2021 07:26:51 -0700 (PDT) Received: from hurd (dsl-10-132-56.b2b2c.ca. [72.10.132.56]) by smtp.gmail.com with ESMTPSA id r18sm1226839qtx.82.2021.07.02.07.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 07:26:50 -0700 (PDT) From: Maxim Cournoyer References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> <874kdemb4k.fsf@gnu.org> Date: Fri, 02 Jul 2021 10:26:48 -0400 In-Reply-To: <874kdemb4k.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 01 Jul 2021 15:12:11 +0200") Message-ID: <87h7hc3i6v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> I've tried with the following modified version which runs multiple >> threads in parallel (to mimic --max-jobs=3D4 on the daemon), and I've yet >> to trigger it, although the hard drive is grinding heavily: > > Note that =E2=80=98--max-jobs=3D4=E2=80=99 leads guix-daemon to spawn 4 = =E2=80=98guix substitute=E2=80=99 > processes, which is not what the script is doing here. Oh! I had overlooked that. What the modified version did is create threads rather than processes, right? > Are the other conditions the same, for instance same network, etc.? Yes! Maxim From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jul 2021 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162550156129481 (code B ref 48903); Mon, 05 Jul 2021 16:13:02 +0000 Received: (at 48903) by debbugs.gnu.org; 5 Jul 2021 16:12:41 +0000 Received: from localhost ([127.0.0.1]:46556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0RD6-0007fR-WE for submit@debbugs.gnu.org; Mon, 05 Jul 2021 12:12:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0RD5-0007fB-1K for 48903@debbugs.gnu.org; Mon, 05 Jul 2021 12:12:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42948) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0RCy-0001ug-Tf; Mon, 05 Jul 2021 12:12:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42740 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0RCy-0001dg-Lg; Mon, 05 Jul 2021 12:12:32 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> <874kdemb4k.fsf@gnu.org> <87h7hc3i6v.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 05 Jul 2021 18:12:30 +0200 In-Reply-To: <87h7hc3i6v.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 02 Jul 2021 10:26:48 -0400") Message-ID: <87y2akspsh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > >> Hi, >> >> Maxim Cournoyer skribis: >> >>> I've tried with the following modified version which runs multiple >>> threads in parallel (to mimic --max-jobs=3D4 on the daemon), and I've y= et >>> to trigger it, although the hard drive is grinding heavily: >> >> Note that =E2=80=98--max-jobs=3D4=E2=80=99 leads guix-daemon to spawn 4 = =E2=80=98guix substitute=E2=80=99 >> processes, which is not what the script is doing here. > > Oh! I had overlooked that. What the modified version did is create > threads rather than processes, right? Yes. So I=E2=80=99m not sure how to better test this. Perhaps you could try introducing random delays in the loop (which could cause connections to go stale), using different substitute URLs, things like that. Thanks, Ludo=E2=80=99. From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jul 2021 14:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162575277324625 (code B ref 48903); Thu, 08 Jul 2021 14:00:01 +0000 Received: (at 48903) by debbugs.gnu.org; 8 Jul 2021 13:59:33 +0000 Received: from localhost ([127.0.0.1]:57069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1UYv-0006P7-6l for submit@debbugs.gnu.org; Thu, 08 Jul 2021 09:59:33 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:33607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1UYs-0006Os-8P for 48903@debbugs.gnu.org; Thu, 08 Jul 2021 09:59:32 -0400 Received: by mail-qk1-f177.google.com with SMTP id 14so5758377qkh.0 for <48903@debbugs.gnu.org>; Thu, 08 Jul 2021 06:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=nuveo/qWOYuufgNWkW5tgIosQZkW1EnQFhZAFm95jic=; b=Nl5qV67i0Odukorb3ipILiEz0n2zKfok/v+yX7AKM8MPt0NGRyoz5xMPfR8iDvYBdB OLpu8gOSz/cq87ZFNG3uziwmbDH0zs+0uIHtVi2sovjZOOBXU2z5I+waaJsidi9lVGrS XAQ7YpyP0SOm7XzMp2t52TIlLp8g4J73qKsA4dCmCT6jQgCgls8mxEFEJrctE8HRbkfA ftB+xg+G/dabQXlX/Ucqro+BUynkVZuK2gKX4nLlsOQdIiZ6hZFM2glLK1RH8UXF7zfk aC5jJJQCi4trXmfg3AYnwXSen6wEYTP+obrojjwiranZmjYi5Ytlj8QZ9pW87KG3YFHf qF5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=nuveo/qWOYuufgNWkW5tgIosQZkW1EnQFhZAFm95jic=; b=BP0B4dFfGkHGDZE+fRuc8OUf9ecGz3T7ogfp7G7KqNx50hSPTO+xdvQUEZ9W4jZVJ4 E1iUahkI0mwcxS4afKzjGKk86DbsV8HnqdJxDnurXl08E55o7zdsS/Y0Mx2iQ6Rs+hji Xy95S5R+hN3W4t1uwEGSu3gUluBe7noGt+hgO656REhUMUekQ/Wmwl5t2m61UnXXSPjb SUOdrqFMx9ZXTaokduhMcHCYYDjy1dKqN0/io9yUgZE2BssX+EWZf0vIDYNttmSiXpb0 uZXInY96CrdxSawid5RrKCkLA9Mg0WDWelfbGKGdOFIzQQd1Y5zDYLLl1aPxKXqovaEF EAiQ== X-Gm-Message-State: AOAM533wg+zudwJsCVwYiiD7G3ThS8DfmlQ697Si8i6TppR+mCX5qvoe KQJLscZpYYPPqW1wm77pYnniLOu9MrykcA== X-Google-Smtp-Source: ABdhPJxkbIekGCvJ2DmJai0pEffH5BOJv1uvz6L7xUSRvbns6yLpm/ZHg+mTC6Ro/NJBirMEQPqwzg== X-Received: by 2002:a05:620a:208e:: with SMTP id e14mr9514248qka.328.1625752764402; Thu, 08 Jul 2021 06:59:24 -0700 (PDT) Received: from hurd (dsl-157-151.b2b2c.ca. [66.158.157.151]) by smtp.gmail.com with ESMTPSA id 192sm21571qke.72.2021.07.08.06.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 06:59:23 -0700 (PDT) From: Maxim Cournoyer References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> <874kdemb4k.fsf@gnu.org> <87h7hc3i6v.fsf@gmail.com> <87y2akspsh.fsf@gnu.org> Date: Thu, 08 Jul 2021 09:59:22 -0400 In-Reply-To: <87y2akspsh.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 05 Jul 2021 18:12:30 +0200") Message-ID: <87pmvs52kl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Ludovic Court=C3=A8s writes: > Maxim Cournoyer skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Hi, >>> >>> Maxim Cournoyer skribis: >>> >>>> I've tried with the following modified version which runs multiple >>>> threads in parallel (to mimic --max-jobs=3D4 on the daemon), and I've = yet >>>> to trigger it, although the hard drive is grinding heavily: >>> >>> Note that =E2=80=98--max-jobs=3D4=E2=80=99 leads guix-daemon to spawn 4= =E2=80=98guix substitute=E2=80=99 >>> processes, which is not what the script is doing here. >> >> Oh! I had overlooked that. What the modified version did is create >> threads rather than processes, right? > > Yes. > > So I=E2=80=99m not sure how to better test this. Perhaps you could try > introducing random delays in the loop (which could cause connections to > go stale), using different substitute URLs, things like that. I've tried some to reproduce the issue with the modified scripts below, but in vain. I'm not sure if my delay is inserted at the right place. I also suspect that my attempt to shuffle the substitute-urls is not really useful, as that's probably what would have happened anyway (although I haven't followed in the code deeply enough to confirm). --=-=-= Content-Type: application/x-sh Content-Disposition: inline; filename=substitute-stress-launcher.sh Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9lbnYgYmFzaAoKbWF4X3Byb2Nlc3Nlcz00Cgpmb3IgKCggam9iPTA7IGpvYiA8 ICRtYXhfcHJvY2Vzc2VzOyBqb2IrKykpOyBkbwogICAgSk9CX0lEPSRqb2IgZ3VpbGUgc3Vic3Rp dHV0ZS1zdHJlc3Muc2NtICYKZG9uZQo= --=-=-= Content-Type: application/octet-stream Content-Disposition: inline; filename=substitute-stress.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChndWl4KSAoZ251IHBhY2thZ2VzKQogICAgICAgICAgICAgKGd1aXggc2Ny aXB0cyBzdWJzdGl0dXRlKQogICAgICAgICAgICAgKGd1aXggZ3JhZnRzKQogICAgICAgICAgICAg KGd1aXggYnVpbGQgdXRpbHMpCiAgICAgICAgICAgICAoc3JmaSBzcmZpLTEpCiAgICAgICAgICAg ICAoc3JmaSBzcmZpLTI3KQogICAgICAgICAgICAgKGljZS05IG1hdGNoKQogICAgICAgICAgICAg KGljZS05IHRocmVhZHMpKQoKCihzZXR2YnVmIChjdXJyZW50LWlucHV0LXBvcnQpICdsaW5lKQoK KGRlZmluZSB0ZXN0LWRpcmVjdG9yeSAiL3RtcC9zdWJzdGl0dXRlLXRlc3QiKQoKKGRlZmluZSBq b2ItaWQgKGdldGVudiAiSk9CX0lEIikpCgooZGVmaW5lIHBhY2thZ2VzCiAgOzsgU3Vic2V0IG9m IHBhY2thZ2VzIGZvciB3aGljaCB3ZSByZXF1ZXN0IHN1YnN0aXR1dGVzLgogIChhcHBlbmQgKG1h cCBzcGVjaWZpY2F0aW9uLT5wYWNrYWdlICcoImxpYnJlb2ZmaWNlIgogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgInVuZ29vZ2xlZC1jaHJvbWl1bSIKICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICJvcGVuamRrIgogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgInRleG1hY3MiKSkKICAgICAgICAgICh0YWtlIChmb2xkLXBh Y2thZ2VzIGNvbnMgJygpKSAyMDApKSkKCihkZWZpbmUgKHNwYXduLXN1YnN0aXR1dGlvbi10aHJl YWQgaW5wdXQgdXJscykKICAiU3Bhd24gYSAnZ3VpeCBzdWJzdGl0dXRlJyB0aHJlYWQgdGhhdCBy ZWFkcyBjb21tYW5kcyBmcm9tIElOUFVUIGFuZCB1c2VzClVSTFMgYXMgdGhlIHN1YnN0aXR1dGUg c2VydmVycy4iCiAgKGNhbGwtd2l0aC1uZXctdGhyZWFkCiAgIChsYW1iZGEgKCkKICAgICAocGFy YW1ldGVyaXplICgoJXJlcGx5LWZpbGUtZGVzY3JpcHRvciAjZikKICAgICAgICAgICAgICAgICAg ICAoY3VycmVudC1pbnB1dC1wb3J0IGlucHV0KSkKICAgICAgIChzZXRlbnYgIl9OSVhfT1BUSU9O UyIKICAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQgInN1YnN0aXR1dGUtdXJscz0iIChzdHJp bmctam9pbiB1cmxzKSkpCiAgICAgICAobGV0IGxvb3AgKCkKICAgICAgICAgKGZvcm1hdCAoY3Vy cmVudC1lcnJvci1wb3J0KSAic3RhcnRpbmcgc3Vic3RpdHV0ZXJ+JSIpCiAgICAgICAgIDs7IENh dGNoICJubyB2YWxpZCBzdWJzdGl0dXRlIiBlcnJvcnMuCiAgICAgICAgIChjYXRjaCAncXVpdAog ICAgICAgICAgIChsYW1iZGEgKCkKICAgICAgICAgICAgIChndWl4LXN1YnN0aXR1dGUgIi0tc3Vi c3RpdHV0ZSIpKQogICAgICAgICAgIChjb25zdCAjZikpCiAgICAgICAgICh1bmxlc3MgKGVvZi1v YmplY3Q/IChwZWVrLWNoYXIgaW5wdXQpKQogICAgICAgICAgIChsb29wKSkpKSkpKQoKKG1hdGNo IChwaXBlKQogICgoaW5wdXQgLiBvdXRwdXQpCiAgIChsZXQgKCh0ZXN0LWRpcmVjdG9yeSogKHN0 cmluZy1hcHBlbmQgdGVzdC1kaXJlY3RvcnkgIi0iCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgam9iLWlkKSkKICAgICAgICAgKHRocmVhZCAoc3Bhd24tc3Vic3RpdHV0 aW9uLXRocmVhZAogICAgICAgICAgICAgICAgICBpbnB1dCAlZGVmYXVsdC1zdWJzdGl0dXRlLXVy bHMpKSkKCiAgICAgKGZvcm1hdCAoY3VycmVudC1vdXRwdXQtcG9ydCkgInN0YXJ0aW5nIGpvYiB+ YS4uLn4lIiBqb2ItaWQpCgogICAgIDs7IFJlbW92ZSB0aGUgdGVzdCBkaXJlY3RvcnkuCiAgICAg KHdoZW4gKGZpbGUtZXhpc3RzPyB0ZXN0LWRpcmVjdG9yeSopCiAgICAgICAoZm9yLWVhY2ggKGxh bWJkYSAoZikKICAgICAgICAgICAgICAgICAgIChmYWxzZS1pZi1leGNlcHRpb24gKG1ha2UtZmls ZS13cml0YWJsZSBmKSkpCiAgICAgICAgICAgICAgICAgKGZpbmQtZmlsZXMgdGVzdC1kaXJlY3Rv cnkqICM6ZGlyZWN0b3JpZXM/ICN0KSkKICAgICAgIChkZWxldGUtZmlsZS1yZWN1cnNpdmVseSB0 ZXN0LWRpcmVjdG9yeSopKQogICAgIChta2Rpci1wIHRlc3QtZGlyZWN0b3J5KikKCiAgICAgKHBh cmFtZXRlcml6ZSAoKCVncmFmdD8gI2ZhbHNlKSkKICAgICAgICh3aXRoLXN0b3JlIHN0b3JlCiAg ICAgICAgIDs7IEFzayBmb3Igc3Vic3RpdHV0ZXMgZm9yIFBBQ0tBR0VTLgogICAgICAgICAoZm9y LWVhY2ggKGxhbWJkYSAocGFja2FnZSBuKQogICAgICAgICAgICAgICAgICAgICA7OyBSYW5kb20g c2xlZXAuCiAgICAgICAgICAgICAgICAgICAgIChzbGVlcCAocmFuZG9tLWludGVnZXIgNikpCgog ICAgICAgICAgICAgICAgICAgICAoZGVmaW5lIGl0ZW0KICAgICAgICAgICAgICAgICAgICAgICAo cnVuLXdpdGgtc3RvcmUgc3RvcmUKICAgICAgICAgICAgICAgICAgICAgICAgIChsZXQgKChzdWJz dGl0dXRlLXVybAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChsaXN0LXJlZiAlZGVm YXVsdC1zdWJzdGl0dXRlLXVybHMKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgKHJhbmRvbS1pbnRlZ2VyCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAobGVuZ3RoICVkZWZhdWx0LXN1YnN0aXR1dGUtdXJscykpKSkpCiAgICAgICAgICAg ICAgICAgICAgICAgICAgIChwayAndXNpbmctc3Vic3RpdHV0ZS11cmwgc3Vic3RpdHV0ZS11cmwp CiAgICAgICAgICAgICAgICAgICAgICAgICAgIChzZXQtYnVpbGQtb3B0aW9ucwogICAgICAgICAg ICAgICAgICAgICAgICAgICAgc3RvcmUgIzpzdWJzdGl0dXRlLXVybHMgKGxpc3Qgc3Vic3RpdHV0 ZS11cmwpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAocGFja2FnZS1maWxlIHBhY2thZ2Up KSkpCgogICAgICAgICAgICAgICAgICAgICAoZm9ybWF0IG91dHB1dCAic3Vic3RpdHV0ZSB+YSB+ YS9+YX4lIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW0gdGVzdC1kaXJlY3Rvcnkq IG4pKQogICAgICAgICAgICAgICAgICAgcGFja2FnZXMKICAgICAgICAgICAgICAgICAgIChpb3Rh IChsZW5ndGggcGFja2FnZXMpKSkpCiAgICAgICAoZm9ybWF0ICN0ICJzZW50IH5hIHN1YnN0aXR1 dGlvbiByZXF1ZXN0cy4uLn4lIgogICAgICAgICAgICAgICAobGVuZ3RoIHBhY2thZ2VzKSkKICAg ICAgIChjbG9zZS1wb3J0IG91dHB1dCkKCiAgICAgICA7OyBXYWl0IGZvciBzdWJzdGl0dXRpb24g dG8gY29tcGxldGUuCiAgICAgICAoam9pbi10aHJlYWQgdGhyZWFkKSkpKSkK --=-=-= Content-Type: text/plain Thanks, Maxim --=-=-=-- From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 10 Jul 2021 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 48903@debbugs.gnu.org, Maxime Devos Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.162591243718029 (code B ref 48903); Sat, 10 Jul 2021 10:21:01 +0000 Received: (at 48903) by debbugs.gnu.org; 10 Jul 2021 10:20:37 +0000 Received: from localhost ([127.0.0.1]:60183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2A69-0004gi-5d for submit@debbugs.gnu.org; Sat, 10 Jul 2021 06:20:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2A65-0004gR-6O for 48903@debbugs.gnu.org; Sat, 10 Jul 2021 06:20:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58588) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2A5z-0003aL-3S; Sat, 10 Jul 2021 06:20:27 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42872 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2A5y-0007cx-Rn; Sat, 10 Jul 2021 06:20:27 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> <874kdemb4k.fsf@gnu.org> <87h7hc3i6v.fsf@gmail.com> <87y2akspsh.fsf@gnu.org> <87pmvs52kl.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 10 Jul 2021 12:20:25 +0200 In-Reply-To: <87pmvs52kl.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 08 Jul 2021 09:59:22 -0400") Message-ID: <874kd2fp1y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer skribis: > I've tried some to reproduce the issue with the modified scripts below, > but in vain. I'm not sure if my delay is inserted at the right place. > I also suspect that my attempt to shuffle the substitute-urls is not > really useful, as that's probably what would have happened anyway > (although I haven't followed in the code deeply enough to confirm). Bah. :-/ Do the two of you still experience the bug initially reported here in =E2=80=9Creal=E2=80=9D conditions? Are we sure we=E2=80=99re using the same Guix + Guile when running the stre= ss test and in real conditions? Thanks for testing! Ludo=E2=80=99. From unknown Fri Sep 05 11:50:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#48903: closed (Re: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.) Message-ID: References: <87czqpkhn8.fsf@gmail.com> <87bl8hvhgx.fsf@gmail.com> X-Gnu-PR-Message: they-closed 48903 X-Gnu-PR-Package: guix Reply-To: 48903@debbugs.gnu.org Date: Sat, 07 Aug 2021 04:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1628310242-12190-1" This is a multi-part message in MIME format... ------------=_1628310242-12190-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48903: guix substitute: error: TLS error in procedure 'read_from_session_r= ecord_port': Error decoding the received TLS packet. which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48903@debbugs.gnu.org. --=20 48903: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48903 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1628310242-12190-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48903-done) by debbugs.gnu.org; 7 Aug 2021 04:23:19 +0000 Received: from localhost ([127.0.0.1]:51704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCDrj-00039e-42 for submit@debbugs.gnu.org; Sat, 07 Aug 2021 00:23:19 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:33789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCDrf-00039O-9T for 48903-done@debbugs.gnu.org; Sat, 07 Aug 2021 00:23:18 -0400 Received: by mail-qv1-f44.google.com with SMTP id em4so6095381qvb.0 for <48903-done@debbugs.gnu.org>; Fri, 06 Aug 2021 21:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ejNcqC2C0sdtphIR+c8cv8vZAZPQmPUrTI4Ni1JuJ9k=; b=Bhid5ZurErMElEw8Gm5jeRPEf+Jo2AuJaNiTHGkiQhYWu+MRoHVVALK3gxjFvbtZQP Arvk8YUUBbsASn5LDpxqkH8W8Z0owfu9I80kbpPkWE6ejLRO4MU3pFwr7Es2EYtFPnqK VuCD0LqziKX5fI7BfPomt30GCLeHp+usZIY6jqFzVjFpKznT5iM1I5ajarwyQswx8hNB q1kMnN+6gsJCQckyzfXrMp8I4s9f/J54gPE9b8h9TFhDBlJMMeOQI8LFv3rQSpjE7nPT DMnYw0m1mCfLFy7vnMy2q52Rn0WEwXs5CZGFzyPRDb1ZtAxcfkfmUz3YX9SvQaybt0hb wraA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ejNcqC2C0sdtphIR+c8cv8vZAZPQmPUrTI4Ni1JuJ9k=; b=ru2GcZt6IB8Jrh++H6W8QsUQv/f9SRF+nn6WYXxtcgLc0fzsmptMAdk6eE7qPY08A3 hV5Ylj4zOe3M5BkQHFX0nItwvqEHK18ED0ZUBgzBlJS1fYAtcf8ia4a6VV3KpWmTiR6o DGJUGZrIFmt04+TJJYMds/92eh2qmCeqmDdGsC9BXuv09lELN2JJ2clSyrnku4pkGECl 0U/VjadwL/NSyZBLzNL8aoSy9v89XnZbxBHMnTbMqEtIKgh6v3mfmNDcn6/TNqrH1BnT XLdWRwKgOJdqIo5FGJDJNFM8TkAl3HjNwdJuR0ghqkzLDtV0YMkL6Y+uF+C/amHLvI/v m7UA== X-Gm-Message-State: AOAM5308/5UlVt0pwHTA3KHzhXgERHm25Rz+wMSNViTzTtSAGztGw6vi EZ1woqLwGPmiIy7Xu34rQiRaxPPKMWoxgJQZ X-Google-Smtp-Source: ABdhPJx2v3hysixvvsp1JeNgPAB2Ot7A0XzIhZmEyPpzFIyRGLe8erViKo16Bi5oVV0mhUqRYZohtQ== X-Received: by 2002:a05:6214:18c7:: with SMTP id cy7mr14240729qvb.59.1628310189659; Fri, 06 Aug 2021 21:23:09 -0700 (PDT) Received: from hurd (dsl-151-109.b2b2c.ca. [66.158.151.109]) by smtp.gmail.com with ESMTPSA id g5sm968787qtg.28.2021.08.06.21.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 21:23:08 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> <874kdemb4k.fsf@gnu.org> <87h7hc3i6v.fsf@gmail.com> <87y2akspsh.fsf@gnu.org> <87pmvs52kl.fsf@gmail.com> <874kd2fp1y.fsf@gnu.org> Date: Sat, 07 Aug 2021 00:23:07 -0400 In-Reply-To: <874kd2fp1y.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 10 Jul 2021 12:20:25 +0200") Message-ID: <87czqpkhn8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48903-done Cc: 48903-done@debbugs.gnu.org, Maxime Devos 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> I've tried some to reproduce the issue with the modified scripts below, >> but in vain. I'm not sure if my delay is inserted at the right place. >> I also suspect that my attempt to shuffle the substitute-urls is not >> really useful, as that's probably what would have happened anyway >> (although I haven't followed in the code deeply enough to confirm). > > Bah. :-/ Do the two of you still experience the bug initially reported > here in =E2=80=9Creal=E2=80=9D conditions? > > Are we sure we=E2=80=99re using the same Guix + Guile when running the st= ress > test and in real conditions? > > Thanks for testing! > > Ludo=E2=80=99. I've been doing builds on core-updates, which would previously trigger this problem rather often, *without* suffering from the problem. I consider it resolved. I'm not exactly sure how, which is not satisfying, but I'm glad it's gone. Thank you! Closing. Maxim ------------=_1628310242-12190-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Jun 2021 15:17:19 +0000 Received: from localhost ([127.0.0.1]:56503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqH0A-0002M3-Up for submit@debbugs.gnu.org; Mon, 07 Jun 2021 11:17:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:35666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqH08-0002Lv-EV for submit@debbugs.gnu.org; Mon, 07 Jun 2021 11:17:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqH08-0007gv-64 for bug-guix@gnu.org; Mon, 07 Jun 2021 11:17:16 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:41682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqH05-0003Hc-QA for bug-guix@gnu.org; Mon, 07 Jun 2021 11:17:15 -0400 Received: by mail-qt1-x833.google.com with SMTP id t20so12834445qtx.8 for ; Mon, 07 Jun 2021 08:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=dXnMkZOwY6K2KrD+y96s0Zg7a3qfAIhiBiw1D99kpsw=; b=GLcoo4r2eWkS2trOvSWAZtk2MojuX2PYp8+h32BZ8Ug6HbYCyJuY7Zc6T/G40Oa8Et 0mZ+PijIrF61kI9S3MLNABLaFU6N6ShpRX6mx13qczC5nPtmEkLEcp4noJ4X8nwlkHXj gMSGYmug3Vct9I11M+DT923nAMdFyPUTgSzUZ3ZhMQczlWRMgnC3FccIlSHokTtpYpgP tTVM67fHMRabgs65FA4erHGwRKn6p8OkZ5P7243iyIwzG4WHBh2bQacQOlNKbQSnUmMM dBYOzbiOKvRqd1a23GslHlBfK6SeZ/51JjEWeHUNOEhw28hbl43scErH/0ODrPN5U+PZ APgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=dXnMkZOwY6K2KrD+y96s0Zg7a3qfAIhiBiw1D99kpsw=; b=csJKBVlLVihBZ1rWMwMQrvhmqFwltorTfeTLIQ42gSUIh9zJ9orxGxaKbq0Wjnw34h XhoX8OSFU4oglxR9JWwTbsQnrFZrZbeNRmCuiE8Rh/G2b3EeeWirfzp7VyUFJ6P836xk Wkr4Qbev2rGUikQ2rbZyeblMbUyzb0N573KDKJ0tDkkUdAh3OMqjyRE1z4uDoOdmcSKA gX74FaeIj9XlvVQa4FZhRGCBuFIybvl0W9tk+6Nt9goDZETuKntDKit5kOuiuT6Vkdh8 EvhuyitEDafPTvFvSJaEGpDXZ7jq5keP0Hu524zyH/ykKrVAaRTDUvSSPP3Tu0uNs7Tu pRGg== X-Gm-Message-State: AOAM5319ZU6Ok6KjYOzE6f8pEiRq5OmLYjvm5TbQL2J0Mx/lgBgjh6kO HEpA2QnzavtCaoR6ZMPjuMu/bxvdpec= X-Google-Smtp-Source: ABdhPJwQSJRrvW0NsWzw6auxJu7AGejnhBiTxpk3jU3j1/50X3nESvyDHsS+h94z1XzOTmuAiVtZIg== X-Received: by 2002:a05:620a:1185:: with SMTP id b5mr6046434qkk.328.1623078607710; Mon, 07 Jun 2021 08:10:07 -0700 (PDT) Received: from hurd (dsl-153-212.b2b2c.ca. [66.158.153.212]) by smtp.gmail.com with ESMTPSA id l13sm8473379qtk.50.2021.06.07.08.10.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 08:10:06 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. Date: Mon, 07 Jun 2021 11:10:06 -0400 Message-ID: <87bl8hvhgx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hello, Using Guix from the master branch at commit b2122b07dc24007263b92247cc479713c2101390, with a system reconfigured on the 2nd of June (Guix commit bb325c5611553a6db21ee7499ac07d5757d24fc3): --8<---------------cut here---------------start------------->8--- Generation 216 Jun 02 2021 10:14:19 (current) file name: /var/guix/profiles/system-216-link canonical file name: /gnu/store/apjg70083nc5xj816y0ff3r8ir9gh5py-system label: GNU with Linux-Libre 5.11.20 bootloader: grub root device: /dev/mapper/cryptroot kernel: /gnu/store/ghijd80qabdyf0p6jcich9ggnpwrbwxw-linux-libre-5.11.20/bzImage channels: sfl-packages: repository URL: https://gitlab.com/Apteryks/sfl-guix-channel branch: master commit: 37d017573350b64f8a8c992530153f42806b6a6f guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: bb325c5611553a6db21ee7499ac07d5757d24fc3 configuration file: /gnu/store/qvhl7ya2xn4gr9mn29hg93p1dcbdlyfy-configuration.scm --8<---------------cut here---------------end--------------->8--- with the guix-daemon running being: --8<---------------cut here---------------start------------->8--- /gnu/store/9zh3bg8d4y08jnkqyrk6xczahiahhcy4-guix-1.3.0-1.771b866/bin/guix-daemon 29920 guixbuild --max-silent-time 0 --timeout 0 --log-compression none --discover=no --substitute-urls http://127.0.0.1:8080 https://ci.guix.gnu.org --max-jobs=4 --8<---------------cut here---------------end--------------->8--- Attempting to update my profile keeps failing with: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix package -m ~/stow/guix/manifest.scm -L ~/src/sfl-guix-channel/ --substitute-urls=https://ci.guix.gnu.org --no-offload ;;; note: source file /home/maxim/src/guix-master/gnu/packages/networking.scm ;;; newer than compiled /home/maxim/src/guix-master/gnu/packages/networking.go ;;; note: source file /home/maxim/src/guix-master/gnu/packages/networking.scm ;;; newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/networking.go The following packages will be installed: acpi 1.7 adb 7.1.2_r36 adwaita-icon-theme 3.34.3 alsa-utils 1.2.4 [...] xrandr 1.5.1 xrdb 1.2.0 xsetroot 1.1.2 yelp 3.32.2 122.8 MB will be downloaded libreoffice-6.4.7.2 117.1MiB 344KiB/s 03:04 [######### ] 52.7%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 failed guix package: error: some substitutes for the outputs of derivation `/gnu/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source --8<---------------cut here---------------end--------------->8--- I'm attaching my (large!) profile manifest. It depends on the https://gitlab.com/Apteryks/sfl-guix-channel channel, which just adds 3 Python packages. You could comment out the "sflvault-client" package from the manifest to lift that requirement. Thanks, Maxim --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=manifest.scm (use-modules (gnu packages) (gnu packages emacs) (guix build-system emacs) (guix profiles)) (concatenate-manifests (list ;;; Emacs packages. (specifications->manifest '("emacs" "emacs-auctex" "emacs-bash-completion" "emacs-bbdb" "emacs-cmake-mode" "emacs-company" "emacs-company-quickhelp" "emacs-counsel" "emacs-counsel-bbdb" "emacs-csv-mode" "emacs-debbugs" "emacs-diff-hl" "emacs-el-mock" "emacs-elpy" "emacs-emms" "emacs-ggtags" "emacs-go-mode" "emacs-grep-a-lot" "emacs-groovy-modes" "emacs-guix" "emacs-htmlize" "emacs-ivy" "emacs-magit" "emacs-markdown-mode" "emacs-nix-mode" "emacs-org" "emacs-org-reveal" "emacs-paredit" "emacs-php-mode" "emacs-pdf-tools" "emacs-qml-mode" "emacs-realgud" "emacs-rpm-spec-mode" "emacs-sr-speedbar" "emacs-string-inflection" "emacs-swiper" "emacs-w3m" "emacs-ws-butler" "emacs-yaml-mode" "emacs-yasnippet" "emacs-yasnippet-snippets")) ;; Other software. (specifications->manifest '("adb" "acpi" "adwaita-icon-theme" "alsa-utils" "anthy" "arc-icon-theme" "arc-theme" "aspell" "aspell-dict-en" "aspell-dict-fr" "autoconf" "automake" "autossh" "bash" "bc" "beep" "bind:utils" ;for 'dig' "bluez" "bridge-utils" "cheese" "compsize" "cqfd" "cryptsetup" "curl" "dbus" "dconf" "ddcutil" "diffoscope" "docker-cli" "dosfstools" "evince" "file" "font-adobe-source-han-sans" "font-dejavu" "font-google-roboto" "font-hack" "gcc-toolchain" "gdb" "geeqie" "ghostscript-with-x" "gimp" "git" "git:send-email" "glibc-locales" "global" "gnome-bluetooth" "gnome-boxes" "gnu-standards" "gnucash" "gnucash:doc" "gnupg" "graphviz" "grub" ;for the manual "gtk-engines" "guile" "guile-lib" "guile-readline" "guile-sqlite3" "guile-ssh" "hackneyed-x11-cursors" "hicolor-icon-theme" "hunspell" "hunspell-dict-fr" "ibus" "ibus-anthy" "icecat" "imagemagick" "inetutils" "inkscape" "iotop" "jack" "jami-gnome" "jami-qt" "nethogs" ;pre-process bandwith monitoring "jnettop" ;bandwidth monitoring "keepassxc" "libjpeg" "libmtp" "libpcap" "libreoffice" "libssh" "libx11" "linphone-desktop" "lm-sensors" "lsof" "ltrace" "lvm2" ;for dmsetup "maim" ;take screenshots "make" "man-pages" "mesa-utils" "moreutils" "mpv" "mtr" "ncftp" ;for gnupload "nmap" "openssh" "openvpn" "parted" "pavucontrol" "perl" "pinentry" "pkg-config" "poppler" "pulseaudio" "pv" "python" "python-wrapper" "qemu" "recutils" "rofi" "rsync" "rtorrent" "screen" "setxkbmap" "shepherd" "sicp" "smartmontools" "spacefm" "stow" "strace" "sysstat" ;for iostat "tcpdump" "the-silver-searcher" ;ag "time" ;aliased to time+ "transmission" "transmission:gui" "tree" "unzip" "vinagre" "vorbis-tools" "weechat" "wget" "workrave" "wpa-supplicant" "xclip" "xdpyinfo" "xdg-utils" "xev" "xmodmap" "xournal" "xrandr" "xrdb" "xsetroot" "yelp" "gxtuner" "shellcheck" "wireguard-tools" "wireshark")) ;; SFL stuff -- todo extract in separate manifest (specifications->manifest '("ansible" "docker-compose" "emacs-adoc-mode" "emacs-clang-format" "emacs-clang-rename" "emacs-feature-mode" "picocom" "python-git-review" "sflvault-client" "sshpass" "ungoogled-chromium" "ddrescue")))) --=-=-=-- ------------=_1628310242-12190-1-- From unknown Fri Sep 05 11:50:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxime Devos Subject: bug#49071: closed (Re: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.) Message-ID: References: <87czqpkhn8.fsf@gmail.com> <1603412f88fbafbb73ec41eb0e69886ad0fff277.camel@telenet.be> X-Gnu-PR-Message: they-closed 49071 X-Gnu-PR-Package: guix Reply-To: 49071@debbugs.gnu.org Date: Sat, 07 Aug 2021 04:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1628310242-12190-3" This is a multi-part message in MIME format... ------------=_1628310242-12190-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48903: error: TLS-fout in procedure =E2=80=98read_from_session_record_port= =E2=80=99: Error decoding the received TLS packet. which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49071@debbugs.gnu.org. --=20 48903: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48903 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1628310242-12190-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48903-done) by debbugs.gnu.org; 7 Aug 2021 04:23:19 +0000 Received: from localhost ([127.0.0.1]:51704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCDrj-00039e-42 for submit@debbugs.gnu.org; Sat, 07 Aug 2021 00:23:19 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:33789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCDrf-00039O-9T for 48903-done@debbugs.gnu.org; Sat, 07 Aug 2021 00:23:18 -0400 Received: by mail-qv1-f44.google.com with SMTP id em4so6095381qvb.0 for <48903-done@debbugs.gnu.org>; Fri, 06 Aug 2021 21:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ejNcqC2C0sdtphIR+c8cv8vZAZPQmPUrTI4Ni1JuJ9k=; b=Bhid5ZurErMElEw8Gm5jeRPEf+Jo2AuJaNiTHGkiQhYWu+MRoHVVALK3gxjFvbtZQP Arvk8YUUBbsASn5LDpxqkH8W8Z0owfu9I80kbpPkWE6ejLRO4MU3pFwr7Es2EYtFPnqK VuCD0LqziKX5fI7BfPomt30GCLeHp+usZIY6jqFzVjFpKznT5iM1I5ajarwyQswx8hNB q1kMnN+6gsJCQckyzfXrMp8I4s9f/J54gPE9b8h9TFhDBlJMMeOQI8LFv3rQSpjE7nPT DMnYw0m1mCfLFy7vnMy2q52Rn0WEwXs5CZGFzyPRDb1ZtAxcfkfmUz3YX9SvQaybt0hb wraA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ejNcqC2C0sdtphIR+c8cv8vZAZPQmPUrTI4Ni1JuJ9k=; b=ru2GcZt6IB8Jrh++H6W8QsUQv/f9SRF+nn6WYXxtcgLc0fzsmptMAdk6eE7qPY08A3 hV5Ylj4zOe3M5BkQHFX0nItwvqEHK18ED0ZUBgzBlJS1fYAtcf8ia4a6VV3KpWmTiR6o DGJUGZrIFmt04+TJJYMds/92eh2qmCeqmDdGsC9BXuv09lELN2JJ2clSyrnku4pkGECl 0U/VjadwL/NSyZBLzNL8aoSy9v89XnZbxBHMnTbMqEtIKgh6v3mfmNDcn6/TNqrH1BnT XLdWRwKgOJdqIo5FGJDJNFM8TkAl3HjNwdJuR0ghqkzLDtV0YMkL6Y+uF+C/amHLvI/v m7UA== X-Gm-Message-State: AOAM5308/5UlVt0pwHTA3KHzhXgERHm25Rz+wMSNViTzTtSAGztGw6vi EZ1woqLwGPmiIy7Xu34rQiRaxPPKMWoxgJQZ X-Google-Smtp-Source: ABdhPJx2v3hysixvvsp1JeNgPAB2Ot7A0XzIhZmEyPpzFIyRGLe8erViKo16Bi5oVV0mhUqRYZohtQ== X-Received: by 2002:a05:6214:18c7:: with SMTP id cy7mr14240729qvb.59.1628310189659; Fri, 06 Aug 2021 21:23:09 -0700 (PDT) Received: from hurd (dsl-151-109.b2b2c.ca. [66.158.151.109]) by smtp.gmail.com with ESMTPSA id g5sm968787qtg.28.2021.08.06.21.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 21:23:08 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet. References: <87bl8hvhgx.fsf@gmail.com> <87wnr05tfz.fsf@gnu.org> <87o8bovm7t.fsf@gmail.com> <87sg10pdxs.fsf@gnu.org> <871r8j5nev.fsf@gmail.com> <874kdemb4k.fsf@gnu.org> <87h7hc3i6v.fsf@gmail.com> <87y2akspsh.fsf@gnu.org> <87pmvs52kl.fsf@gmail.com> <874kd2fp1y.fsf@gnu.org> Date: Sat, 07 Aug 2021 00:23:07 -0400 In-Reply-To: <874kd2fp1y.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 10 Jul 2021 12:20:25 +0200") Message-ID: <87czqpkhn8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48903-done Cc: 48903-done@debbugs.gnu.org, Maxime Devos 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> I've tried some to reproduce the issue with the modified scripts below, >> but in vain. I'm not sure if my delay is inserted at the right place. >> I also suspect that my attempt to shuffle the substitute-urls is not >> really useful, as that's probably what would have happened anyway >> (although I haven't followed in the code deeply enough to confirm). > > Bah. :-/ Do the two of you still experience the bug initially reported > here in =E2=80=9Creal=E2=80=9D conditions? > > Are we sure we=E2=80=99re using the same Guix + Guile when running the st= ress > test and in real conditions? > > Thanks for testing! > > Ludo=E2=80=99. I've been doing builds on core-updates, which would previously trigger this problem rather often, *without* suffering from the problem. I consider it resolved. I'm not exactly sure how, which is not satisfying, but I'm glad it's gone. Thank you! Closing. Maxim ------------=_1628310242-12190-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Jun 2021 12:59:58 +0000 Received: from localhost ([127.0.0.1]:53923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltrcj-0008PQ-SN for submit@debbugs.gnu.org; Thu, 17 Jun 2021 08:59:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:39996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltrcg-0008PG-8m for submit@debbugs.gnu.org; Thu, 17 Jun 2021 08:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltrcf-000295-KC for bug-guix@gnu.org; Thu, 17 Jun 2021 08:59:53 -0400 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:42254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltrcb-0005wR-O9 for bug-guix@gnu.org; Thu, 17 Jun 2021 08:59:53 -0400 Received: from butterfly.local ([188.189.1.128]) by albert.telenet-ops.be with bizsmtp id JCzi250012liavw06CzivG; Thu, 17 Jun 2021 14:59:42 +0200 Message-ID: <1603412f88fbafbb73ec41eb0e69886ad0fff277.camel@telenet.be> Subject: error: TLS-fout in procedure =?UTF-8?Q?=E2=80=98read=5Ffrom=5Fsession=5Frecord=5Fport=E2=80=99=3A?= Error decoding the received TLS packet. From: Maxime Devos To: bug-guix@gnu.org Date: Thu, 17 Jun 2021 14:59:29 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-D3dBOm1fFrv3YTpf1gG+" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623934782; bh=pio4aP5ITaxwXlZpXYa3e9kI4iSHSRIeZ/ruG/AMPPo=; h=Subject:From:To:Date; b=ji3g41Eb04MA3/6jhh85sy3niRF/McRcxNjAU3vJ+YRYVyI+aiI2w9q3sLBci0r7b 6mBnpvkGiqgPwjmRWII00am1NsBWFvfg/E0X6CeuHl0CWmi0brPH6B85PPFo9E2cJg J2aexIoh4Mhsz4OpZAgRmRpteAdjKQQQrN/XKF+FSZBaPJJF21wVJ47gRDpGZAg7yR bxk+yj+gfjo1OXE84ZtS4FVm9i7xsBPMedVLayOMhFRmJ7aQdQb+RAoHbo5NQB2XJe 8BikGF5+pq1cdqVhJ8T6tJU7lruWsdfG4JGdjDFLScwfiidyRekpGob8ZPGIob8Mkb 7spxPLA9HoUmQ== Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-D3dBOm1fFrv3YTpf1gG+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable tags: + substituter (^ not sure if that works, 'substituter' isn't a standard tag) During a "guix system -L. reconfigure [...].scm": [...] substitute: lijst van substitutes van =E2=80=98[...]=E2=80=99 aan het bijwe= rken... 0.0% guix substitute: warning: [...]: host not found: Naam of dienst is niet bek= end guix-1.3.0-3.50dfbbf 35.9MiB 60KiB/s 09:03 [################ ] = 89.4%guix substitute: error: TLS-fout in procedure =E2=80=98read_from_sessi= on_record_port=E2=80=99: Error decoding the received TLS packet. vervanging van /gnu/store/3j9kzhsygg56pmhlwpvjqicvjgsni49w-guix-1.3.0-3.50d= fbbf mislukt guix system: error: beschadigde invoer tijdens het terugplaatsen van het ar= chief uit # Version of the daemon: $ ls -l /run/current-system/profile/bin/guix-daemon=20 lrwxrwxrwx 2 root root 80 1 jan 1970 /run/current-system/profile/bin/guix= -daemon -> /gnu/store/pv9i296wfjl3zwkmsg4w24ksqcb9qhnb-guix-1.3.0-2.9f2b2c4= /bin/guix-daemon I'll try to work-around with --no-substitutes. --=-D3dBOm1fFrv3YTpf1gG+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYMtHMhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tlsAQD5JuW84k86/VXllcS9pBQVvNR+ 8tUPVh5dSqhDhODlEgEAu9qcpBukprZKphVyeMw86KI2qUd6NbxsamrcQgJTugg= =6xcb -----END PGP SIGNATURE----- --=-D3dBOm1fFrv3YTpf1gG+-- ------------=_1628310242-12190-3-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 15:22:08 2022 Received: (at control) by debbugs.gnu.org; 13 Jan 2022 20:22:08 +0000 Received: from localhost ([127.0.0.1]:34676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n86bo-0007hB-3x for submit@debbugs.gnu.org; Thu, 13 Jan 2022 15:22:08 -0500 Received: from mx.kolabnow.com ([212.103.80.153]:36300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n86bk-0007gc-JB for control@debbugs.gnu.org; Thu, 13 Jan 2022 15:22:07 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 4CC7E41AEE for ; Thu, 13 Jan 2022 21:21:58 +0100 (CET) Authentication-Results: ext-mx-out003.mykolab.com (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1642105318; x=1643919719; bh=TvoQ629DQl7fAJ38KbF5sjD59JlYpf2SYF12gu1m9oM=; b=otboNTVGi7Nc tmO9Mh84IB830xkwDQ7QCMlETbSsQd96CDi5ZQ2qaWnlUe6n5EIGtISxkZZjBMOr 3otBpt5j8GXAoS1tN6hO8lKVn7pSCGOmFi/wxFexKfywA3KP+IjZHOHR62zCg3Nj j2+Q2cAFuiQ0y0SB1Qh0w6svKNY2RltdyF06/epx/uBg+tW3zYgVsR/PF2afSb9Z oancH0cE/4lgCd566ossj2F8zZ8lclhrtP9hmM+IhslINx93DnF1/vgljTApZneB ZzGe9/QYt9/sCmtu/k2bVi2WkaCtqka3CLaAvmzfSlKqAYHR2J40erO94UntmCiN nSnmdxOccXg6zxqShle0CB1LDvk6Z4VNv3nMfgMdwZuTczIg6LnH88Ux0wNeCdk1 7IlJJ8nnne9LskopKfga5RkP/rcMQfw00PsrOxBkvV67LZYExbRS7dwaSOGSSkTP HfceCCnThnG9j+ViAu+seia9UyyIId093nrAxBP3llLyLu522X/2k3KCly8agC0J JiGCsYzLqcO3RsivJlHrm6ByaVNmsTouQGAAgcMydn+srwpiriSgGcmLDwdyUTW4 PqNE7bHsPVcjWl1Ur0r3aA4lvHLHYy80Gl6unIi9av+sGHnfPYebebI8aValPHHx PWGxbDQSQWk/szyE+gxf6QISEoKSIGs= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hfIFeGyh4MKD for ; Thu, 13 Jan 2022 21:21:58 +0100 (CET) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by mx.kolabnow.com (Postfix) with ESMTPS id 4A7D141A76 for ; Thu, 13 Jan 2022 21:21:57 +0100 (CET) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 035FA3DE8 for ; Thu, 13 Jan 2022 21:21:56 +0100 (CET) From: Thiago Jung Bauermann To: control@debbugs.gnu.org Subject: unarchive bug Date: Thu, 13 Jan 2022 17:21:52 -0300 Message-ID: <1840192.3LYBDE1tu0@popigai> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) unarchive 48903 -- Thanks, Thiago From unknown Fri Sep 05 11:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48903: bug#42902: texlive substitute TLS error: decoding the received packet Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 Jan 2022 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48903@debbugs.gnu.org Received: via spool by 48903-submit@debbugs.gnu.org id=B48903.16421068698674 (code B ref 48903); Thu, 13 Jan 2022 20:48:02 +0000 Received: (at 48903) by debbugs.gnu.org; 13 Jan 2022 20:47:49 +0000 Received: from localhost ([127.0.0.1]:34713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n870f-0002Fo-1S for submit@debbugs.gnu.org; Thu, 13 Jan 2022 15:47:49 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:42826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n870b-0002Er-Sj for 48903@debbugs.gnu.org; Thu, 13 Jan 2022 15:47:47 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id B5368157C for <48903@debbugs.gnu.org>; Thu, 13 Jan 2022 21:47:39 +0100 (CET) Authentication-Results: ext-mx-out001.mykolab.com (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1642106859; x=1643921260; bh=e74wy7T+XY9uaWuaPlI2NMs7huBMEAAa1sI fjzR+8eo=; b=O/9DU6KgI3ItBizr7je3Tn2mMoSbjonZwDm/0YB2t8UDf6P3G1P 2sdtRmF/5FC13NsFWk8/NIoiOExPngiC59Ovi2x528fQK83LpGA6114qi1W11Z93 U5g9WcXz8INtzrrEWGBB+DDD77Jm0WFjnIZTMSBaXAPSzDY7/zN8irT+R/eII2ao rzjPuFriOQmRMFZNoucrNrVeZAekZBGTH8GIoPgd66Vj7WmUr8x2zdcXUiR0tloy 15hGw8SXEAnnHMvNP/wLyYU0fC8oe+O7BOnlRoFzYW2DlRrP/Y4tNDkbM7lmjYug o2t5nIdirm8Sc9wU/RFs0ZbDLF0l4sET1mNEbhnHFzfE31tm6ejA12JUW7qKNjCu taxfstp04AgCn1Qffs5AUAWVl6qifZjKepe2aHPcy+U4D+Bayd6HA8fz8qKAspn4 zNAS4bT1FJ0cHaoxJsFQujNeDh8XFKaVBULz+Z1HH9cVKJsbhEiNUujIxB5M/Og+ BtfaRrfdLjwZcj+NfGhHKEZ9qinU+Dvk9KV+DTl+H6o2t0aO/jLjwawCjAOEs+CP 6cO099nOhMN2+kVAgrPoWk41EKX0PolRE2QQqMAbSN481c5+aYldufcHsgRQR5Gl X43EHr9rJmxv6MkHaEn04k1e8F23XTiCHZp/ATTkrbfF1RLMS4IkOg+A= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id meVu0gNu3T42 for <48903@debbugs.gnu.org>; Thu, 13 Jan 2022 21:47:39 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by mx.kolabnow.com (Postfix) with ESMTPS id 979D8147D for <48903@debbugs.gnu.org>; Thu, 13 Jan 2022 21:47:38 +0100 (CET) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 5FEBF1A0D for <48903@debbugs.gnu.org>; Thu, 13 Jan 2022 21:47:38 +0100 (CET) From: Thiago Jung Bauermann Date: Thu, 13 Jan 2022 17:47:33 -0300 Message-ID: <2309789.4Gk3HTWCPZ@popigai> In-Reply-To: <871rakkh1j.fsf@gmail.com> References: <87364l1mxi.fsf@web.de> <871rakkh1j.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, [ Sending again to 48903 (and excluding everyone else from the recipients) because this bug was archived and thus the original message bounced. ] I=E2=80=99m sending this email to two bugs because they are both about the = same problem. Bug 48903 (which is currently closed) has fairly intense attempts at debugging what is going on, but unfortunately without arriving at an answer. This problem is also affecting Cuirass builds. This powerpc64le-linux build: https://ci.guix.gnu.org/build/70/details failed because of the intermitent TLS error: =2D-8<---------------cut here---------------start------------->8--- guix substitute: error: TLS error in procedure 'read_from_session_record_po= rt': Error decoding the received TLS packet. fetching path `/gnu/store/fkkfffvwrj103zs5cf6d8bf9as46ywhc-python-minimal-3= =2E5.9' (empty status: '') @ substituter-failed /gnu/store/fkkfffvwrj103zs5cf6d8bf9as46ywhc-python-min= imal-3.5.9 fetching path `/gnu/store/fkkfffvwrj103zs5cf6d8bf9as46ywhc-pyth= on-minimal-3.5.9' (empty status: '') =2D-8<---------------cut here---------------end--------------->8--- The daemon in this case is: /gnu/store/ny30pxjzv866m3w0v1vfbzdbqi17k8wn-guix-daemon-1.3.0-21.e427593/bi= n/guix-daemon =46rom this Guix version =2D-8<---------------cut here---------------start------------->8--- guixp9: sudo -i guix describe Generation 11 Jan 11 2022 02:07:42 (current) guix 83abdc8 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 83abdc8371d90b6d4591a69fae5585a2a99c1627 =2D-8<---------------cut here---------------end--------------->8--- Not sure if this is related, but during that build Guix noticed that the su= bstitute server is slow: =2D-8<---------------cut here---------------start------------->8--- Downloading https://ci.guix.gnu.org/nar/lzip/fkkfffvwrj103zs5cf6d8bf9as46yw= hc-python-minimal-3.5.9... guix substitute: warning: while fetching https://ci.guix.gnu.org/nar/lzip/f= kkfffvwrj103zs5cf6d8bf9as46ywhc-python-minimal-3.5.9: server is somewhat sl= ow guix substitute: warning: try `--no-substitutes' if the problem persists =2D-8<---------------cut here---------------end--------------->8--- There=E2=80=99s bug 46942 which is specifically about ci.guix.gnu.org being= slow, and the bug reporter there also hits this same TLS error, so there=E2=80=99s probably at least some correlation between this problem and the network being slow. =2D-=20 Thanks, Thiago