From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Oct 2024 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73664@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17282311307241 (code B ref -1); Sun, 06 Oct 2024 16:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2024 16:12:10 +0000 Received: from localhost ([127.0.0.1]:42061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxTre-0001sj-4g for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:12:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:47272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sxTrb-0001sa-UI for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:12:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sxTrU-0002Cu-Cz for guix-patches@gnu.org; Sun, 06 Oct 2024 12:12:00 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sxTrR-0004gC-Or for guix-patches@gnu.org; Sun, 06 Oct 2024 12:11:59 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 5BF28320AF9; Sun, 6 Oct 2024 16:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728231113; bh=VVbAdH2zXS/30KAAJ75B5y+I4+i6r7Mke5rwHWxbtkI=; h=From:To:Cc:Subject:Date; b=aWQIPv5TJUCSE1LDq1/E5Q9ImsoIVA/yq5Ea3A6wM1o3wUM1MK+2rLUjMaLFVxUY3 ql4AAdUPTVx2mlM3JdJnG9M2Z/R51JtaWt+YFacFNG8V//DjSXj9IE4Yx1BGBLd/DX Nv+LLrnWQR70JiVstgUAMaM8GV49wF7NbxEIw3Gf4/T5W4qzNSxRQ3IcvgzhNISwpj xAIUM9Q1GCEw5O19DhgVrkTy/hIXRFJF59Fgh6HGCzCYtwgYBCRUL03jJ+5NKGEIxP Zf+Y++0mqmrMaOqHNM9F15RCCYeT99tIzOWiYdCMlYgne/GM1ySjnHjAT17EsH4o/5 IZkIJUJyVHIvLlcImVv3r7urwHcavcWaIz099kYe7XZlpyZcabonh+CvTEnhiTM6NB hW64hcQM/p3WWX/OKikg4EtZJU5VmRnQPbe/7KCn14V1Su6m/mJKoMZK44GZxWUDLF JPlOPvZXYb4Mmqg8IsHqpRTlSkiRbRoHCgYPpBhtvQmjdl6m/2dzrzIjh5SFF8G2dc XqApU9z/I8jyYJA0QJWFTYG4hns0aryOOY1zSHz5cfoxMMGPFjKQOdKrW8jo6ijD7K goB36V/I9fc75I8UyvBzJV9zTL+1sCYlJJQbjjfA5Bclg2lDlgWQ5FzqrXdRVfggVr PTKxkZFWTabhKnyUc50QGCpQ= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [146.70.134.132]) by wolfsden.cz (Postfix) with ESMTPSA id E1A6C31EAAE; Sun, 6 Oct 2024 16:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728231113; bh=VVbAdH2zXS/30KAAJ75B5y+I4+i6r7Mke5rwHWxbtkI=; h=From:To:Cc:Subject:Date; b=aWQIPv5TJUCSE1LDq1/E5Q9ImsoIVA/yq5Ea3A6wM1o3wUM1MK+2rLUjMaLFVxUY3 ql4AAdUPTVx2mlM3JdJnG9M2Z/R51JtaWt+YFacFNG8V//DjSXj9IE4Yx1BGBLd/DX Nv+LLrnWQR70JiVstgUAMaM8GV49wF7NbxEIw3Gf4/T5W4qzNSxRQ3IcvgzhNISwpj xAIUM9Q1GCEw5O19DhgVrkTy/hIXRFJF59Fgh6HGCzCYtwgYBCRUL03jJ+5NKGEIxP Zf+Y++0mqmrMaOqHNM9F15RCCYeT99tIzOWiYdCMlYgne/GM1ySjnHjAT17EsH4o/5 IZkIJUJyVHIvLlcImVv3r7urwHcavcWaIz099kYe7XZlpyZcabonh+CvTEnhiTM6NB hW64hcQM/p3WWX/OKikg4EtZJU5VmRnQPbe/7KCn14V1Su6m/mJKoMZK44GZxWUDLF JPlOPvZXYb4Mmqg8IsHqpRTlSkiRbRoHCgYPpBhtvQmjdl6m/2dzrzIjh5SFF8G2dc XqApU9z/I8jyYJA0QJWFTYG4hns0aryOOY1zSHz5cfoxMMGPFjKQOdKrW8jo6ijD7K goB36V/I9fc75I8UyvBzJV9zTL+1sCYlJJQbjjfA5Bclg2lDlgWQ5FzqrXdRVfggVr PTKxkZFWTabhKnyUc50QGCpQ= From: Tomas Volf <~@wolfsden.cz> Date: Sun, 6 Oct 2024 18:11:49 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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 (--) test_ssl does sometimes hang (at least when executed under faketime). It is somewhat unlikely to happen, and (on my machine) required a build with --rounds=32 to reproduce it. The workaround is to set somewhat lower timeout of 240s (expected test duration * 5 rounded up to whole minutes) and retry few times on failure. In this way, --rounds=64 finished successfully (on my machine). At the same time remove the timeout from the other tests, since it is not necessary (they do not hang), and one of them runs for ~270s (almost half the original timeout), so it could pose a problem on slow/overloaded machine. * gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]<#:phases>['check]: Remote test timeout for most tests. Lower the timeout for test_ssl. Retry test_ssl on failure. Change-Id: I535c72fec24658a4b2151d2e8794319055c9a278 --- gnu/packages/bittorrent.scm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 2b38c7cb65..1a0735d928 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -452,7 +452,6 @@ (define-public libtorrent-rasterbar (exclude-regex (string-append "^(" (string-join disabled-tests "|") ")$")) - (timeout "600") (jobs (if parallel-tests? (number->string (parallel-job-count)) "1"))) @@ -460,7 +459,6 @@ (define-public libtorrent-rasterbar (invoke "ctest" "-E" exclude-regex "-j" jobs - "--timeout" timeout "--output-on-failure") ;; test_ssl relies on bundled TLS certificates with a fixed ;; expiry date. To ensure succesful builds in the future, @@ -470,16 +468,16 @@ (define-public libtorrent-rasterbar ;; test_fast_extension, test_privacy and test_resolve_links ;; to hang, even with FAKETIME_ONLY_CMDS. Not sure why. So ;; execute only test_ssl under faketime. - ;; - ;; Note: The test_ssl test times out in the ci. - ;; Temporarily disable it until that is resolved. - ;; (invoke "faketime" "2022-10-24" - ;; "ctest" - ;; "-R" "^test_ssl$" - ;; "-j" jobs - ;; "--timeout" timeout - ;; "--output-on-failure") - ))))))) + (invoke "faketime" "2022-10-24" + "ctest" + "-R" "^test_ssl$" + "-j" jobs + ;; test_ssl sometimes hangs (at least when run under + ;; faketime), therefore set a time limit and retry + ;; few times on failure. + "--timeout" "240" + "--repeat" "until-pass:5" + "--output-on-failure")))))))) (inputs (list boost openssl)) (native-inputs (list libfaketime -- 2.46.0 From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Dec 2024 01:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173439850824098 (code B ref 73664); Tue, 17 Dec 2024 01:22:01 +0000 Received: (at 73664) by debbugs.gnu.org; 17 Dec 2024 01:21:48 +0000 Received: from localhost ([127.0.0.1]:56837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNMHU-0006Gc-E0 for submit@debbugs.gnu.org; Mon, 16 Dec 2024 20:21:48 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:53465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNMHR-0006GS-Nw for 73664@debbugs.gnu.org; Mon, 16 Dec 2024 20:21:46 -0500 Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7b1601e853eso375187585a.2 for <73664@debbugs.gnu.org>; Mon, 16 Dec 2024 17:21:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734398444; x=1735003244; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Te2FRriSvJzRf4GDlEGv5Xv0c9hO4BJzI/dc3GIjkx4=; b=G2+V447w20r6Us7bJ/RmadNGUSkXD6vnSMccO2PdMrkTpcvNQAuO1FZr4IV4jPuLjH JyWLOBwR9d/JRnBb1lqyW1IKI2MJpA0LjomVdlqOadMXy1d04so0S48h1HibA9Mrb14Y wI3oQzWx69enwUR7v4Yfx8Hh/aJO9SLnZ0B7xFHu5boG65pLqo/iWFRdHVVbiexLGD0z EtBoRS7hrPhnie5FnVQRNn5neJ0z7ERuBTEVvsZ75gRa1vtMEX6n9ZZ8bZ0IPHCjwlnE YUlvKCta3McR/RJNnbM8pBeL3LIntV1+THJDqkF3Cw5KYl15TX0IlxBvE3DjM4a6YbrR jzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734398444; x=1735003244; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Te2FRriSvJzRf4GDlEGv5Xv0c9hO4BJzI/dc3GIjkx4=; b=htblilOOL8cF57CwACW98ottxK1mis3rxQwV36eH8RMcYmMk9/jtyawPMzd/l9MYr2 MqSKmnUprcvFQXpULBRAaXa+M1oDcDiTRzjxDn6ylLI6lXfgjsDmbuOCz8RBU2tfeQ2R RG2L/G36eAIaFo7AocpLS2/SJ5s0K/JdUJT5+oWjwNR2iRFhZKTy7pUhdqYotcZO2suL +WLHkRkLqy5A8TP/qD34NeE9O5deAMc4dEeE9/XGgt5PoJQMQEOBG1Oa9URoirpNRSlx ioWayRoi9pB9HJLZRKIs1kPGeGRMR6njXaTgAI0GI1AK05nWDbo4VtURCQa1EOxhYIFo 6c7w== X-Gm-Message-State: AOJu0YxnfgTqWz9uULEIOaHMm1CzniF1xO82gL85/sSaQYa8sMrqyq3Z aUdF8WUa/k9d2OjVQx93/gfvZciuocVgSkLe8uhtEtrZgGe4c22JNA7CtuBhLHI= X-Gm-Gg: ASbGnctKL7jAEi/YGV3pg6G5YNtPdhjipE/y5sqdVDx7epAE9XxhdcnlL3/DRzDmNFz u6K8Jem+CLcrjMrDtC/taFeF8X3Qnqjv/rS5CpmpoX9MmOTYEq28MWJaM/qQAgriXfxXmhuIjz7 3OTL6DmjEVGrbwiTsHHkE2B31NO2Oz0UgcmmNqZa1p0xRDy0eesab+GqILLW7+5Wcc/kavRCiCx sv3untGXJZCPVcEcyj2Xoqnbv59DFbbMdyD0SStfuhq9wUViyvs0uTELoJeQ9NZbS0yKhzG37gT fg== X-Google-Smtp-Source: AGHT+IHBr41xwQWf69KEWKEekkIeqL76rJw3EE0Wvz3eMJND4AyhbBytanvELXUHFQBrztJO3UQwNQ== X-Received: by 2002:a05:620a:1998:b0:7b6:c4c7:ece5 with SMTP id af79cd13be357-7b6fbf390f0mr1837969585a.43.1734398442698; Mon, 16 Dec 2024 17:20:42 -0800 (PST) Received: from terra (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b7048bbf9dsm273233985a.71.2024.12.16.17.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 17:20:41 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Tomas Volf's message of "Sun, 6 Oct 2024 18:11:49 +0200") References: Date: Tue, 17 Dec 2024 10:20:30 +0900 Message-ID: <87r067rtpd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 (-) Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: > test_ssl does sometimes hang (at least when executed under faketime). It is > somewhat unlikely to happen, and (on my machine) required a build with > --rounds=32 to reproduce it. It'd be nice if upstream was made aware of this problem. Perhaps they could come up with a fix for good. > The workaround is to set somewhat lower timeout of 240s (expected test > duration * 5 rounded up to whole minutes) and retry few times on failure. In > this way, --rounds=64 finished successfully (on my machine). > > At the same time remove the timeout from the other tests, since it is not > necessary (they do not hang), and one of them runs for ~270s (almost half the > original timeout), so it could pose a problem on slow/overloaded machine. This means the tests may take up to 20 minutes, which is a bit too much to my taste. [...] > - ;; Note: The test_ssl test times out in the ci. > - ;; Temporarily disable it until that is resolved. > - ;; (invoke "faketime" "2022-10-24" > - ;; "ctest" > - ;; "-R" "^test_ssl$" > - ;; "-j" jobs > - ;; "--timeout" timeout > - ;; "--output-on-failure") > - ))))))) > + (invoke "faketime" "2022-10-24" > + "ctest" > + "-R" "^test_ssl$" > + "-j" jobs > + ;; test_ssl sometimes hangs (at least when run under > + ;; faketime), therefore set a time limit and retry > + ;; few times on failure. > + "--timeout" "240" > + "--repeat" "until-pass:5" > + "--output-on-failure")))))))) I think that a test sometimes hang is a good reason to leave it disabled, report it to upstream, and reference the issue. The test can be re-enabled when the issue is resolved and part of a new release. So in concrete terms, what I'd rather see here is a report of the problems (requirement on faketime + propension to hang) to upstream, the and an updated comment cross-referencing it (with the test kept commented-out/disabled in the mean time). Does that make sense? -- Thanks, Maxim From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Dec 2024 05:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.17344121832412 (code B ref 73664); Tue, 17 Dec 2024 05:10:01 +0000 Received: (at 73664) by debbugs.gnu.org; 17 Dec 2024 05:09:43 +0000 Received: from localhost ([127.0.0.1]:57152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNPq2-0000cp-V7 for submit@debbugs.gnu.org; Tue, 17 Dec 2024 00:09:43 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:61464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNPq0-0000cU-QJ for 73664@debbugs.gnu.org; Tue, 17 Dec 2024 00:09:41 -0500 Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-467a37a2a53so44314401cf.2 for <73664@debbugs.gnu.org>; Mon, 16 Dec 2024 21:09:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734412114; x=1735016914; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ibQp2946dYHvZ+R4lYT5hz9KIfSZfIA3EldFoNXU8VU=; b=L9yojGgE4dlU8s+id0Vk5Kj2GcJDSmXCyHqVbBrLmMIgqN95vRPizcrkqItgoL0Xo0 k7Pu3dF4755I1A/6guFpz9ChZ5LSSxM0ZiIo8vUAcHECLfGoQOeL+k4AJwcl0QCORHOI yV36CIXHY1/+5T20WPnbQFFjPp0Ke5n8N0trS2lbBTvdg183NBEDiOQTdO2tWdqB9Ewh GssEjjK+djvR0lafV5gpzfkMf75EJAi/uEtUERSTFLspGy6J/X86srN5ZCeratai9UHH v2vqBDj0rkL5lCpxfhFxyGdJ+gtdRtmT3fZPsblxxxA6kcKEko96a99ytRrQ5ETDLMjS uxcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734412114; x=1735016914; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ibQp2946dYHvZ+R4lYT5hz9KIfSZfIA3EldFoNXU8VU=; b=L6s2/BlCnpEFawEKTBI9pKENMUFwWPDngF6LfF9M0QiwPEucEhzG1CngacDHMDLiJZ 5aRWr+7lD6yrMpasgv+RVoiAXw3wLk0THse5YyLLWcvjJHfirY21na+B8kbvHbqlNEfo 2gjitG7aIzNyxWXeVd/VOOckwoApg7J0TQ4wJb3RwtwmaLjxckM2E/4djIQqn8hgHCWE AgyJuLOOyB0LTw6dp7yUJWrbIc4yfGJyvILqJrp+QBjHZWeQDVyt1QQ77e+o+/1Hj/R4 ennyJ8FjN5qY3E4Gdiamzzp+4FgMnJxAj07GL5BgZ6hRIR8cyubqd5ohNw9RQN2OWQNR 2pRw== X-Gm-Message-State: AOJu0Yy5uCj0VoRN8fZE3vd8wg9qQsXVpd4KE+uUT7v2+5op4WNcFqDA mCXHk5drUSM1fNiYNnfaa/OuLqj5/ObKeU93tbfut944nNFNWZFdtc9r7NXOewo= X-Gm-Gg: ASbGncvMmbQOQex7o1fLjNNybWiip0AUDaG7oa74rg9Ij9wnWbP1QHMNCBOgir5/AqQ Vw5aw2mSzQS5VF9EQjk/EFsFGHqdwe8vMcwTIvBhIEJFlUlAMWVKPoPh6cX4haCdNkfiDLugrB5 ZSaYJwZ5JzrGp+R5Ufsd17bFRb1fRomYnhYHRB9uQkZVxUhlFIgtVofN5WYV54Dqb6yVt6aNDEj 5J02ODRCJg2fwCRB1Js88RDFYWeB/+AfDpoipypdQBq4STBx0t5pAEfLeByzUdLvIeR8j4sg/xb ig== X-Google-Smtp-Source: AGHT+IFGqfy9ITOJop0eR9wTLjnZf9Hf3BNpdQ/UWsk1fRmHKpQCB6qNqVs6jYnP0mkCLkReaCaBcg== X-Received: by 2002:a05:622a:1807:b0:458:34fb:5d59 with SMTP id d75a77b69052e-467a578b99dmr236785711cf.29.1734412114456; Mon, 16 Dec 2024 21:08:34 -0800 (PST) Received: from terra (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-467b2ca5cc7sm35520391cf.35.2024.12.16.21.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 21:08:33 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Tomas Volf's message of "Sun, 6 Oct 2024 18:11:49 +0200") References: Date: Tue, 17 Dec 2024 14:08:22 +0900 Message-ID: <87a5cusxq1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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! Tomas Volf <~@wolfsden.cz> writes: > test_ssl does sometimes hang (at least when executed under faketime). It is > somewhat unlikely to happen, and (on my machine) required a build with > --rounds=32 to reproduce it. Also worth adding on top of my previous reply, when trying this out, I got a failure: --8<---------------cut here---------------start------------->8--- [...] MALICIOUS PEER TEST: valid-certificate valid-SNI-hash invalid-bittorrent-hash port: 35161 set_password_callback use_certificate_file "../ssl/peer_certificate.pem" use_private_key_file "../ssl/peer_private_key.pem" use_tmp_dh_file "../ssl/dhparams.pem" connecting 127.0.0.1:35161 SNI: e300afcc0aa67a459ec14862a4d0bf930060167a SSL handshake bittorrent handshake 00:00:00.010: ses1: [log] *** peer SSL handshake done [ ip: 127.0.0.1:44976 ec: certificate verify failed (SSL routines) socket: SSL/TCP ] read bittorrent handshake 00:00:00.010: ses1: [peer_error] - peer [ 127.0.0.1:44976 client: Unknown ] peer error [ssl_handshake] [asio.ssl]: certificate verify failed (SSL routines) --- peer_errors: 6 ssl_disconnects: 6 failed to read bittorrent handshake: sslv3 alert bad certificate (SSL routines) 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 405.71 sec The following tests FAILED: 75 - test_ssl (Failed) Errors while running CTest error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "faketime" arguments: ("2022-10-24" "ctest" "-R" "^test_ssl$" "-j" "1" "--timeout" "240" "--repeat" "until-pass:5" "--output-on-failure") exit-status: 8 term-signal: #f stop-signal: #f> phase `check' failed after 1154.0 seconds command "faketime" "2022-10-24" "ctest" "-R" "^test_ssl$" "-j" "1" "--timeout" "240" "--repeat" "until-pass:5" "--output-on-failure" failed with status 8 build process 18 exited with status 256 builder for `/gnu/store/hkji5nzsa32jngg7kii9bg9ch9kdvs84-libtorrent-rasterbar-2.0.10.drv' failed with exit code 1 build of /gnu/store/hkji5nzsa32jngg7kii9bg9ch9kdvs84-libtorrent-rasterbar-2.0.10.drv failed View build log at '/var/log/guix/drvs/hk/ji5nzsa32jngg7kii9bg9ch9kdvs84-libtorrent-rasterbar-2.0.10.drv'. --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH v2 1/2] gnu: libtorrent-rasterbar: Update to 2.0.11. References: In-Reply-To: Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73664@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173809382822853 (code B ref 73664); Tue, 28 Jan 2025 19:51:02 +0000 Received: (at 73664) by debbugs.gnu.org; 28 Jan 2025 19:50:28 +0000 Received: from localhost ([127.0.0.1]:38705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcrbP-0005wX-J0 for submit@debbugs.gnu.org; Tue, 28 Jan 2025 14:50:27 -0500 Received: from wolfsden.cz ([37.205.8.62]:43034) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tcrbM-0005wE-1r for 73664@debbugs.gnu.org; Tue, 28 Jan 2025 14:50:25 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 289BD358898; Tue, 28 Jan 2025 19:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738093822; bh=lqn6TMAIkyHL1pdKwskcObeB7mLIoSuyoNrZXQtLjUc=; h=From:To:Cc:Subject:Date; b=VQq1sWCF77JdguYu2dwEx/cO/WLbulcbz7Fg9Kqiskq2eKWEYjSOYcrQtzmZoGmTx q7KbkR5gvS6NDIjWhu+rbQoNpj4acYeRT8OYlIo1mhyA1Zw9YDYTe7jPwmiStNC2qB mLLTUqzeU5O35nCmFAeIo3cd98Fefl3gDnMSxwvqc/vue8eNrxEzeiPyZwJGUv9CXg G802txuV7Qad6PUgGIYTDy4AffhrQJSbKU3bQnSla5Jw2QyI9YkrBM5KSjRPO+BNll oN94Sl/If2mb8CeiqpkmLbVfJMzIjou+wSWUYgTQejcxn/BCRVq4rVYV+h8bMZ/69U haZNsbeQPqYmRsZrhcsEbWlIS6nG56qvnELoinDk1Nk0mp7TPsp28JHo2MFvHtclDo zxSe5RY7C4ns5b32/W02JlgsEGswri5pXc7o7teuMjAuTuSwYfsZepHHORyt3S+aJU lMdxj3GfQBiywIgCftDBl+q/YBcMmQD6MSFN0la99mzUnM/n2TJiYCgXd0LGUoYvsa Ao+KQB9o6kp7UriBZzqFnIVlIr+Tg3FHFGKOq9c754hzkaGaQYQkYLmp54JztoIEgU AFA/RpjNSIAZeuu+C9RHN67bMSVJeiBzYP8xBx5nZfff5kO9QmINunqAc7UPcVnCVY T2eKhRUG6Q0CO83+DupaVKpI= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 5745A3587BC; Tue, 28 Jan 2025 19:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738093821; bh=lqn6TMAIkyHL1pdKwskcObeB7mLIoSuyoNrZXQtLjUc=; h=From:To:Cc:Subject:Date; b=kH/K71fW9/I6SMQQjXotrauDooNcD0BeIWCc92KMijNdt+F8lPXKS9CKMw6vMxUia ITlR6COUYMb9dxsZepoSzCcm+0gx05d+obgAc/81V8v6GjZdsxn8UzJgDJDP0V/ZBX /cDAFazJ8ZAl2AN+WtTM/GTNVHr26JCM0e/qk2F2e1NzcaiRvU0j8HabnFt+ESRnQ5 WC0eZFr+nLdFyUZ/suPhZgYVLJfAqJlmj9xzMZfVMYQeA/+Wzpys9T+QYEXHRVcuKG /Gpd3Sr5qgAObTznQIADAS3h9xB3s+vDeET9tiZq+IO+X8AtwHedttuWpLYhGDwkJo dQRmVnQ2u54gf1H54DP42vrDxM1vrcYisRKlDPvHdM8BsNyuLRXb6P+GTCk3PLmmgf HGenJviApulq8S/+8GvUSN+owiawQ8p0e/ymKOCRokd8DruQlPj6wb0jS4sgZVRbet jo22CVjbeEBVHZ8F8Z84x5exZUfZqEpjrb4fEdri46zo2qe9wMg30bHbdz4DNzytjS Q90ayMV3MVzOFtXqab3L0A28xizZt1MYuOKrrY18JGE7fDSc0SbMvNQ57mgPXJn8r8 oFtD187KLalk5E699eCq9rS6MBWlsg/QVRqiTFglrtLvOF/vtPARb2TO1ARkpAqtww ztZNwCWJiDbgrmAHWi0lxMCg= From: Tomas Volf <~@wolfsden.cz> Date: Tue, 28 Jan 2025 20:50:00 +0100 Message-ID: <88c8b5101c2d7addb17e55bfe044bb1600478329.1738093801.git.~@wolfsden.cz> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (-) * gnu/packages/bittorrent.scm (libtorrent-rasterbar): Update to 2.0.11. Change-Id: Ib6fb2676f6b6773690473e63276574abaebcac0a --- gnu/packages/bittorrent.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 0d52d25e08..d12493c269 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -424,7 +424,7 @@ (define-public mktorrent (define-public libtorrent-rasterbar (package (name "libtorrent-rasterbar") - (version "2.0.10") + (version "2.0.11") (source (origin (method url-fetch) @@ -433,7 +433,7 @@ (define-public libtorrent-rasterbar "releases/download/v" version "/" "libtorrent-rasterbar-" version ".tar.gz")) (sha256 - (base32 "0pc8rbcp7njbx8m02z47pcbbwcp5cjggbgq4sfjc19dc3n65p4zw")))) + (base32 "0v8yrxzc7piw5lrpgkb50b4p16ic1sl4pyj0rkkasaag1xc5inzh")))) (build-system cmake-build-system) (arguments (list -- 2.47.1 From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH v2 2/2] gnu: libtorrent-rasterbar: Remove special case for test_ssl. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73664@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173809382822861 (code B ref 73664); Tue, 28 Jan 2025 19:51:02 +0000 Received: (at 73664) by debbugs.gnu.org; 28 Jan 2025 19:50:28 +0000 Received: from localhost ([127.0.0.1]:38707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcrbP-0005wd-Up for submit@debbugs.gnu.org; Tue, 28 Jan 2025 14:50:28 -0500 Received: from wolfsden.cz ([37.205.8.62]:43048) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tcrbM-0005wG-2d for 73664@debbugs.gnu.org; Tue, 28 Jan 2025 14:50:25 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 77DC5316E12; Tue, 28 Jan 2025 19:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738093822; bh=wAgVJqwnUUTR70c7hI/vDdxhJd7hcp/aFXBR59mBYJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=aSeMkcRt4svdsNkgB+xZFSjkYLpMGDby9PzVa4F+5QSH6TF3uT8JDqggs6IGWJ6vy smUnA7RIZXT0cMJOIZKLSnE34xHNq7ZL+scqdlm0RdlYVzFe9udfIeWm9h7sfv6XzI e3qLT4BXgV8Z7+VbEwtlf9WlRooAG6b+dMcKmh4KaQMqF1LYibVQwVHuFt/ePZ/DJm AS0ecJJtnOtgKT1Wvay6NupYSP3mqSanD94kPnTd5T28gQPdfc2c8+5B71Sv9wK5Cs 4f9dmOC+z9ilv4KVLswYShuV74JJ4qUZVPOnBycLH3fBrnyMKzt0F3ZOBzR4W47XgN yVlaeOxdJbtxGwzzkUsGVP//mKY346nwfEXZEHOtsUuk1K+8nebKLYLx0IXHZ+OiR1 hAwm37n9uDlAQHiDGMWEtR08XNvB7tyAyJyJt3gTFLNDGgJNcyz1Tqiv7leHXuJ3u4 HRbAaJJe+AOSRTbOx7nLExENGt/ivV4LAMwaumgFzTW0K1/oOHSQHn8HxdRG3zZ+uX jtYynGz4daGNk4mQdwTRl0qUZcfVkW27etOABUlnLU9MOqJrynd3fpZx8V6ZPfnK+n RbB4+rHid5HEikmNwH1BLlLRV6W4c34Ss9ZRyr/R+cti8PAGCCJKKl5a2KUxfet1cv 2RYNZpLKouDJFR5bULDA3Egc= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id CF7F2317CE1; Tue, 28 Jan 2025 19:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738093821; bh=wAgVJqwnUUTR70c7hI/vDdxhJd7hcp/aFXBR59mBYJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QEwab1czVrCExLrKLLQVTygwm6D2qAjoJ2ZufTz3skzEtxmQt9FfyGlQBKMcx7OJR V4Sev/idaFQ9kl/7J1A9WG9YLzyTKegXNZDNL1jhC3F6p1VcUSY7As8wcow8cFgC/d r/8OtClKB56FEHA5N7ntXXxrmB6I5GBBG/eNHMYE4rnXAhnAN8bzTK+x5DpKMI7aL/ aAPWuHdXfGqeimRm0KSHxOZpD6Q6JwxnxZGLbhXCQ3yAC03ptOcnK8TbiQzwnq9DaQ BUDp3pzs47MvXJxwkIL5IQXmJWxBtURxqDebFv6F45mQMfSGLmcIu/5yC8yvMuYp1O mQ3jsET/XHqdbjIdYX6zTcQMk0vB1Z4G0fWicNb5HdzWFN5o3ryHZ9lxbbklRiY12W mHrlc85bciJ5tqx4sZZ5c4rQVny1SNoSQfNIpwuRLpVFMftffRIl3TxfUYjv1D/Gdr c0ijPEAu5IIR5Gt6wc+N+qGCbcNgWeKcB0Vih0rTfeqytqaRn7UKD0RCMldODUcCir 2xV4W/5I5vqzIwEuEJWdsxpfKzuxdngZGJy7M+mDXRcBu/jQddLVBcfwGsz/ff3XGO t2uf9oOiP51RwAeM32XY96a/pkViWC9nRyFi+FT94IFLLj3i0ia0n7I2jtPukiv1C4 bGauqkz/Qh9+C04hIV6kp8yI= From: Tomas Volf <~@wolfsden.cz> Date: Tue, 28 Jan 2025 20:50:01 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: <88c8b5101c2d7addb17e55bfe044bb1600478329.1738093801.git.~@wolfsden.cz> References: <88c8b5101c2d7addb17e55bfe044bb1600478329.1738093801.git.~@wolfsden.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (-) With the release of 2.0.11, the SSL certificates used for tests are valid for long enough time (~end of year 2297) to no longer require faketime. With the removal of faketime, the explicit timeout is also no longer required, since it does not hang anymore. This gives us back the validation that SSL works. * gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]<#:phases>['check]: Remove test timeout. Do not special case test_ssl. Change-Id: I535c72fec24658a4b2151d2e8794319055c9a278 --- gnu/packages/bittorrent.scm | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index d12493c269..667350ad9c 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -448,13 +448,10 @@ (define-public libtorrent-rasterbar (lambda* (#:key tests? parallel-tests? #:allow-other-keys) (let* ((disabled-tests '(;; Requires a non-localhost IPv4 interface. - "test_upnp" - ;; test_ssl needs to be run separately. - "test_ssl")) + "test_upnp")) (exclude-regex (string-append "^(" (string-join disabled-tests "|") ")$")) - (timeout "600") (jobs (if parallel-tests? (number->string (parallel-job-count)) "1"))) @@ -462,26 +459,7 @@ (define-public libtorrent-rasterbar (invoke "ctest" "-E" exclude-regex "-j" jobs - "--timeout" timeout - "--output-on-failure") - ;; test_ssl relies on bundled TLS certificates with a fixed - ;; expiry date. To ensure succesful builds in the future, - ;; fake the time to be roughly that of the release. - ;; - ;; At the same time, faketime happens to cause - ;; test_fast_extension, test_privacy and test_resolve_links - ;; to hang, even with FAKETIME_ONLY_CMDS. Not sure why. So - ;; execute only test_ssl under faketime. - ;; - ;; Note: The test_ssl test times out in the ci. - ;; Temporarily disable it until that is resolved. - ;; (invoke "faketime" "2022-10-24" - ;; "ctest" - ;; "-R" "^test_ssl$" - ;; "-j" jobs - ;; "--timeout" timeout - ;; "--output-on-failure") - ))))))) + "--output-on-failure")))))))) (inputs (list boost openssl)) (native-inputs (list libfaketime -- 2.47.1 From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173809451124898 (code B ref 73664); Tue, 28 Jan 2025 20:02:02 +0000 Received: (at 73664) by debbugs.gnu.org; 28 Jan 2025 20:01:51 +0000 Received: from localhost ([127.0.0.1]:38738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcrmQ-0006TV-5o for submit@debbugs.gnu.org; Tue, 28 Jan 2025 15:01:50 -0500 Received: from wolfsden.cz ([37.205.8.62]:46630) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tcrmN-0006TL-AB for 73664@debbugs.gnu.org; Tue, 28 Jan 2025 15:01:48 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 9A377358940; Tue, 28 Jan 2025 20:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738094505; bh=ZxaPwWGSwmqRF021W8JL1j5OAXrzVdTZPccvn6XJjsE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=kj66bPlku6Q4tEFJakQCcrhmHdRwSxpLv55Vm7Zt6JWlQsbitHZBytE2MXKNWRCOM ymvb13wtLrk1LQ+LWLc3EbfbW6j1bZVifEIS5QzeAoI6qoVXlYCfcymZMLEiPbEagU 7QZR9ydIxWuFH0XgPvrhbcmjTxO6YlyPGgYEka5Wc/ouJo3/ZIIfqq9NWqCz7HU5kr 2qvZrdOF00sMg/AFyk50TEcxLxsyFzBxVx1op3xu2gIUYs2rBklEpJ9UuwrvwiF7l2 /UxBnfH2jcY5rCJZmgtlqcWxoCnQBGTAKrva+/Gwm8NzrxgosUEs5TPLa1F1yNP/3s m5t502oSjDkBOrGQe23AG5tbmriVxiuxS4F6hmj234DO2qlRUgPidRsJdvdEDQUwiL L8z/u6uY4gWd+PhIkDh504f8mmuQmwt9ILweZtt7+6CNIj8YPA5+9YZykKXt32fIbT cg5nFvzA2FWxJBfS+dPQ4p8VujPEdM+73Tv5WCg2xftsR8pQfPex1naKvpO6r+VyUP 5zEv3E76smOdbn2z7ErRHnMfoDpH9OtvvnmcmTRK7O6e9RlCYcGwrvEgq95AF/Io3g eFwIe3hnLvpqr7Z5XQYeGFWhp0yL4eJiVS0RGf9fu06uxg7vnzQXLkc1a2b9hOKgR2 wttFncLJeeJo6vn9o0vsuDC4= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 14E23358B8A; Tue, 28 Jan 2025 20:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738094505; bh=ZxaPwWGSwmqRF021W8JL1j5OAXrzVdTZPccvn6XJjsE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=kj66bPlku6Q4tEFJakQCcrhmHdRwSxpLv55Vm7Zt6JWlQsbitHZBytE2MXKNWRCOM ymvb13wtLrk1LQ+LWLc3EbfbW6j1bZVifEIS5QzeAoI6qoVXlYCfcymZMLEiPbEagU 7QZR9ydIxWuFH0XgPvrhbcmjTxO6YlyPGgYEka5Wc/ouJo3/ZIIfqq9NWqCz7HU5kr 2qvZrdOF00sMg/AFyk50TEcxLxsyFzBxVx1op3xu2gIUYs2rBklEpJ9UuwrvwiF7l2 /UxBnfH2jcY5rCJZmgtlqcWxoCnQBGTAKrva+/Gwm8NzrxgosUEs5TPLa1F1yNP/3s m5t502oSjDkBOrGQe23AG5tbmriVxiuxS4F6hmj234DO2qlRUgPidRsJdvdEDQUwiL L8z/u6uY4gWd+PhIkDh504f8mmuQmwt9ILweZtt7+6CNIj8YPA5+9YZykKXt32fIbT cg5nFvzA2FWxJBfS+dPQ4p8VujPEdM+73Tv5WCg2xftsR8pQfPex1naKvpO6r+VyUP 5zEv3E76smOdbn2z7ErRHnMfoDpH9OtvvnmcmTRK7O6e9RlCYcGwrvEgq95AF/Io3g eFwIe3hnLvpqr7Z5XQYeGFWhp0yL4eJiVS0RGf9fu06uxg7vnzQXLkc1a2b9hOKgR2 wttFncLJeeJo6vn9o0vsuDC4= From: Tomas Volf <~@wolfsden.cz> In-Reply-To: <87r067rtpd.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 17 Dec 2024 10:20:30 +0900") References: <87r067rtpd.fsf@gmail.com> Date: Tue, 28 Jan 2025 21:01:43 +0100 Message-ID: <877c6ehfmg.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 Content-Transfer-Encoding: quoted-printable Hi Maxim, thank you very much for the review and apologies for the late response, I have kept postponing it. Maxim Cournoyer writes: > Hi Tomas, > > Tomas Volf <~@wolfsden.cz> writes: > >> test_ssl does sometimes hang (at least when executed under faketime). I= t is >> somewhat unlikely to happen, and (on my machine) required a build with >> --rounds=3D32 to reproduce it. > > It'd be nice if upstream was made aware of this problem. Perhaps they > could come up with a fix for good. My experience with reporting bugs to this specific upstream is not the best, and I admit I expect the answer to "it hangs under faketime" would be "do not run it under faketime". > >> The workaround is to set somewhat lower timeout of 240s (expected test >> duration * 5 rounded up to whole minutes) and retry few times on failure= . In >> this way, --rounds=3D64 finished successfully (on my machine). >> >> At the same time remove the timeout from the other tests, since it is not >> necessary (they do not hang), and one of them runs for ~270s (almost hal= f the >> original timeout), so it could pose a problem on slow/overloaded machine. > > This means the tests may take up to 20 minutes, which is a bit too much > to my taste. During validation of the v2, the run-time of the check phase is: =2D-8<---------------cut here---------------start------------->8--- phase `check' succeeded after 811.0 seconds =2D-8<---------------cut here---------------end--------------->8--- That seems fine? We have software already that takes similar time (or even longer) to build. > > [...] > >> - ;; Note: The test_ssl test times out in the ci. >> - ;; Temporarily disable it until that is resolved. >> - ;; (invoke "faketime" "2022-10-24" >> - ;; "ctest" >> - ;; "-R" "^test_ssl$" >> - ;; "-j" jobs >> - ;; "--timeout" timeout >> - ;; "--output-on-failure") >> - ))))))) >> + (invoke "faketime" "2022-10-24" >> + "ctest" >> + "-R" "^test_ssl$" >> + "-j" jobs >> + ;; test_ssl sometimes hangs (at least when ru= n under >> + ;; faketime), therefore set a time limit and = retry >> + ;; few times on failure. >> + "--timeout" "240" >> + "--repeat" "until-pass:5" >> + "--output-on-failure")))))))) > > I think that a test sometimes hang is a good reason to leave it > disabled, report it to upstream, and reference the issue. The test can > be re-enabled when the issue is resolved and part of a new release. > > So in concrete terms, what I'd rather see here is a report of the > problems (requirement on faketime + propension to hang) to upstream, the > and an updated comment cross-referencing it (with the test kept > commented-out/disabled in the mean time). > > Does that make sense? As mentioned above, I do not expect upstream to care about this specific issue (faketime). However what I was successful in was convincing upstream to vastly increase the lifetime of the bundled SSL certificates used for testing. That means that the new version (2.0.11) will run the tests fine until ~end of the year 2297. Honestly I consider that to be an acceptable deadline to find a better long term solution (for example we could explore the use of time namespace for build environment). So I have submitted v2 which updates to the new version and removes all special casing for test_ssl, since it should not be required for more than quarter of a millennium. I hope this approach is acceptable. Have a nice day, Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmeZN6cOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wamrtBAAm2u/IPdp+KuvJ9fGxaTfOOcHab3odk49tP3i cGHgZiwgAde5XVYWKbB7iLaGmm4uAvI1j2k3j1Zw/F00loeyizuiFvewUQo4mxv8 E5kgXl6x5MzfTLubuvwRBeCo09szOHpC6J7pzzI7wvPTX+OpjYSdvHk+0odOSHrT q4ef8FiA2zu/qH8etTcaXfUY4Ev9DNHeWKbe6f1w9XdY+RWJZBhelTTY6Bt3M45B 2NQcu2hniFQoNoykDgljprmVkwElaKU1w0BTnfUD3SC8veImNlbD/6CU81CqGyFa UvsWFEFGrY7gOBa2INCe4eXFSaliSkF6TcfBsdfT1dQPl9XfaUA/SemVcq5nNpi4 Y6j5HRwfPIRVITbX6HH+HLr6UfK4Gfd98EU2/xidgRlTdds8p7uZHCiDlqnDt+Xn XSgBlHjXCWiSAcVNhMt+7zqgFJvj5kBmQxhwZttJzGiWA7Bt8lWv/TfdIh64kbGL D9kMxv8oddADL37xBZfMTBPMVQl/zYhsNEmg35W5EtrwTL3uKIAiD3/kl3uq+h1A LAi0Vr6ypMLMDxSQNuXHIcf757HwYZOLm8eJgDxOBEI22E2WUUX0YUFwKv7HRmdY q4/5PlZNuCQGW1zyFmyXIXPOAfqWvWQBLUY/CC7SeDauss4/zfr9a6zRsOA/lAaA ayN0v1I= =1ZC+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Jan 2025 02:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173811606726191 (code B ref 73664); Wed, 29 Jan 2025 02:02:01 +0000 Received: (at 73664) by debbugs.gnu.org; 29 Jan 2025 02:01:07 +0000 Received: from localhost ([127.0.0.1]:39314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcxO7-0006oK-2B for submit@debbugs.gnu.org; Tue, 28 Jan 2025 21:01:07 -0500 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:50379) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tcxO4-0006nd-2b for 73664@debbugs.gnu.org; Tue, 28 Jan 2025 21:01:05 -0500 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2f42992f608so8864627a91.0 for <73664@debbugs.gnu.org>; Tue, 28 Jan 2025 18:01:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738116057; x=1738720857; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=6jPeyhpBPZ8b1oD6wvTSTrHG7t3P9GhCC7B8CRnByEY=; b=aWR6YpXw3GKIXB71MtmR1Z6l8EqzeZe2atcZs7/9Rvj3CagQGaXkPVLav2WfJ3n/WR j9NEh8wPNAQ2vRjksVkQn8BkOwOwoSbvTSMTOKBo8Pnv8RAwynovDBpK1vUPPPWEhjxZ 9jRb+85ummqsIviiwZOXSF8un0Oc/Nz9/BMoac7pK4HJucx7N9sAp0dMiUX9RHAAubm7 Z9GdBuR+v3R36sUYb2aZtR8Fm1/6sL4496AKP+V2X/v6zS6G4g/frgOFeno3Icuv1Fer AZdlojb+KF8KB2WwkjsLQ/fjUmy3sQgz47a80Lakg7/F6mo/z2niEK+VfU6URzvaurc1 lbhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738116057; x=1738720857; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6jPeyhpBPZ8b1oD6wvTSTrHG7t3P9GhCC7B8CRnByEY=; b=okb3GG3FvW6fL7Wy4+JYOB6CUdyclbJwDMOg+SuHvpqTsVTJt/dK/lWTwMq5JGeIh3 A5hY3i8hGVZ1WKVVlZKnT/4kz3eApNK7pBCHh5SToB3EJAtrmvJJzuR8eZSKqIJcT4Vv EAui5SD9Mq80TuNteQ63fyq1xfEJQnLOT3ehujwije45eWGHxC6xwjnx0YpA9J1thU67 14G4oJB5u2InpD9debNg8f+S+DAxb7bZX1OUccwg4zB9ukTvXIaWoPgDHk6QS2agkcRk aR9P/Y3+FmHil1CA9fal2w+rcAbdnuKLyXY6p+r2UfQzsOJZOD9bX3RElHswLc9lxiId W3dA== X-Gm-Message-State: AOJu0YzjggjapBBf3nuRWRpXR0Dm0UoP0VdS/Jr1C4GylkeztNPqVrV9 91YCLNTWKSA1Sa0E1g5Sq1SJnQXZyEquTT9/l1dYP80PJ+MWxRV1OjC0GUIq X-Gm-Gg: ASbGncvDiDbyg7nR8Icv9D5tiMArI6bgyWhNUplFwMf+uY6Qle7I/wSOm5Hb4wUOon1 3ilMDXuqiMz3Xj5pA72QVNYlXZVcB+AsHKSlxypTrQfvCkizePDbabxvej3ZLEWrlUJ43qHy2yZ BQC4V5owHzHx59JE2VZsMRVsOk70jTQ4RIngY2RQMclzugLlkwfI2/rTr7r3KxKDnI7kF3Brf4e 0IzYnw67qQzWOlTuJ8r4YF8u00pZwX2D7/bG5K5RVDhMJ3g4OLS3+eyTaE5xg3mMspI3S3bLT+G Eg8cw9JiXqNj X-Google-Smtp-Source: AGHT+IFGsv8bVXi7UcW7XlhMntGwXHFSA9Y0IKlzD0zuLRNub57bS51gHegIfmHVCgPDvuUmCNueCQ== X-Received: by 2002:a17:90b:548e:b0:2f4:4500:bb4d with SMTP id 98e67ed59e1d1-2f83ac0a3d9mr1749192a91.20.1738116056809; Tue, 28 Jan 2025 18:00:56 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f83bcd1699sm319881a91.14.2025.01.28.18.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jan 2025 18:00:56 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <877c6ehfmg.fsf@wolfsden.cz> (Tomas Volf's message of "Tue, 28 Jan 2025 21:01:43 +0100") References: <87r067rtpd.fsf@gmail.com> <877c6ehfmg.fsf@wolfsden.cz> Date: Wed, 29 Jan 2025 11:00:45 +0900 Message-ID: <87o6zqqsz6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 (-) Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: > Hi Maxim, > > thank you very much for the review and apologies for the late response, > I have kept postponing it. > > Maxim Cournoyer writes: > >> Hi Tomas, >> >> Tomas Volf <~@wolfsden.cz> writes: >> >>> test_ssl does sometimes hang (at least when executed under faketime). It is >>> somewhat unlikely to happen, and (on my machine) required a build with >>> --rounds=32 to reproduce it. >> >> It'd be nice if upstream was made aware of this problem. Perhaps they >> could come up with a fix for good. > > My experience with reporting bugs to this specific upstream is not the > best, and I admit I expect the answer to "it hangs under faketime" would > be "do not run it under faketime". Some upstream takes patience to work with, but I still think it's useful to put out a report of this problem, would it only be for other downstreams trying to find a solution. In this case, I'd tell them the goal is to have the tests work reliably in time, even in 2 or 5 years, and this is not possible currently because of expiry on the certs they use in the test suite (right?). Possible options: 1. Remove expiry on certs used. 2. Use faketime, as attempted here; if this is chosen we need to figure out why it hangs. Obviously 1 is the easier/better option (if it's possible). >> >>> The workaround is to set somewhat lower timeout of 240s (expected test >>> duration * 5 rounded up to whole minutes) and retry few times on failure. In >>> this way, --rounds=64 finished successfully (on my machine). >>> >>> At the same time remove the timeout from the other tests, since it is not >>> necessary (they do not hang), and one of them runs for ~270s (almost half the >>> original timeout), so it could pose a problem on slow/overloaded machine. >> >> This means the tests may take up to 20 minutes, which is a bit too much >> to my taste. > > During validation of the v2, the run-time of the check phase is: > > phase `check' succeeded after 811.0 seconds > > That seems fine? We have software already that takes similar time (or > even longer) to build. That's still too long to my taste, but if it succeeds reliably at least, then so be it. >> I think that a test sometimes hang is a good reason to leave it >> disabled, report it to upstream, and reference the issue. The test can >> be re-enabled when the issue is resolved and part of a new release. >> >> So in concrete terms, what I'd rather see here is a report of the >> problems (requirement on faketime + propension to hang) to upstream, the >> and an updated comment cross-referencing it (with the test kept >> commented-out/disabled in the mean time). >> >> Does that make sense? > > As mentioned above, I do not expect upstream to care about this specific > issue (faketime). However what I was successful in was convincing > upstream to vastly increase the lifetime of the bundled SSL certificates > used for testing. That means that the new version (2.0.11) will run the > tests fine until ~end of the year 2297. Honestly I consider that to be > an acceptable deadline to find a better long term solution (for example > we could explore the use of time namespace for build environment). That's good! That's practically the #1 option I hinted at earlier (didn't know they already did that). > So I have submitted v2 which updates to the new version and removes all > special casing for test_ssl, since it should not be required for more > than quarter of a millennium. > > I hope this approach is acceptable. Great! Thanks for engaging with upstream and sending a v2. I'll apply it shortly if everything looks good. -- Thanks, Maxim From unknown Sun Jun 22 03:59:09 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: Tomas Volf <~@wolfsden.cz> Subject: bug#73664: closed (Re: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl.) Message-ID: References: <87ldutpxjx.fsf@gmail.com> X-Gnu-PR-Message: they-closed 73664 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73664@debbugs.gnu.org Date: Wed, 29 Jan 2025 13:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1738156862-8264-1" This is a multi-part message in MIME format... ------------=_1738156862-8264-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73664: [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73664@debbugs.gnu.org. --=20 73664: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73664 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1738156862-8264-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73664-done) by debbugs.gnu.org; 29 Jan 2025 13:20:03 +0000 Received: from localhost ([127.0.0.1]:40304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1td7z8-00021a-GP for submit@debbugs.gnu.org; Wed, 29 Jan 2025 08:20:02 -0500 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:44307) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1td7yu-00020k-Li for 73664-done@debbugs.gnu.org; Wed, 29 Jan 2025 08:19:49 -0500 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2164b662090so133502795ad.1 for <73664-done@debbugs.gnu.org>; Wed, 29 Jan 2025 05:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738156782; x=1738761582; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=eIz/zmBzOHpSgJf74+djYy5Gq4InUvEuwTeoxGfnzkg=; b=LkOylTP/mJ+RthTHeDTlJvxyGKy/C1I0HU/K/npy8+hu7LmEyAj3rHYKzV4LpcRH88 aFeYnkmCsHCqnJTQQainy/kl8D7uvtMjaGX2x1VGfCLZQcdqBnqiqRh5OytGk35awDpr VfXNLL7RgOYABkhrxQEl8pO0uqy019sGZpfBpnEVLaJ6NGcY4oISQ8CcdOmL24BszJwf BCjtBPOoHMjUb9RiES5ZNxJOtGeeklg6Ld1IeIKT27OOxMSiN7etzfPbuT/G1yN5gHyl oBsa3NlFAx3oZIGKNzyP4qsr4o1fUFlBmRJesKC+8/Wm58yjNHPugXT3FXpVFQgy0V4a raJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738156782; x=1738761582; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eIz/zmBzOHpSgJf74+djYy5Gq4InUvEuwTeoxGfnzkg=; b=LBvq1A6HccCvQNnr+rhHDFRljiZF2YfivT0GC83Wao3oaEH5diXJVRChL6ROWvtFtv 3jybi7Rul4ItCSgMKKCzvqmHJzdFv2gwnC4sDSgh8Ek5FCNczAOVduQSMSQLWjfCy0kM dSpwVx2JmrSfCLbDZW6t67ud+IQAaHtI2DDbET6x0cPiTdedqb3TNWXggysXnbj1caCz dRHOn42FW+TACALwmET3+F8mFOwkHbJH8ZNNU4/suVgj7lY+Ad1ej1dxbItpeyhG4pyB hvGtKQ4rNjLsiTk6gaL59YjIK+hffyYe+/i2D+ZAdP/maQU4NJbKVuz9V6PEf8JVds90 SGhA== X-Gm-Message-State: AOJu0YxvT5NgPabv5PWGM2knopPD+qQZ+9YjSRZnPnxaonKjip4kAbEC bQNe3SDA6aj3KJDtJnZGm5Oahf3pmu3+vkhm32eS1KSEqHuyN5+4lBt2SoIQ X-Gm-Gg: ASbGncvMvNrbiYIpozl/WRsMc4SbxJhAbqQvYXZldlOKQpqnrt//eoaRF9IzqVeg5Fx gHK4/ZW30WJBIm5WrzAUwGDZfIs+qUD3zDP4gZFWu1Mhyyda01vtUSgdmNNlJd5LxoaNk8WtpHI YbLj3xp+KuFz0yKERNFtLiR6kaGKzcQYUUdq3mrOVQKJMv9fQ1FR+fH5p/FZTDmGk0DKCELIZGJ LRFl7Hyv43a/O5wFU4jtN6+DAyJP3CFp6at9dF2wsfOBiy3ibtBXTWSrnblVwimZZoBkh7TvkNE zgvk8JmNXz3q X-Google-Smtp-Source: AGHT+IHsQGAQkgtSZWzkyt90qZA2ZA2UeohWMVXR0sLYoe9tTNepKIdOokRth0PMHMmwX9cM2hXE5Q== X-Received: by 2002:a17:903:2389:b0:216:5867:976a with SMTP id d9443c01a7336-21dd7dfdbcfmr46678925ad.45.1738156782090; Wed, 29 Jan 2025 05:19:42 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21da3d9c96csm99620905ad.22.2025.01.29.05.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 05:19:41 -0800 (PST) From: Maxim Cournoyer To: Tomas Volf <~@wolfsden.cz> Subject: Re: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. In-Reply-To: <877c6ehfmg.fsf@wolfsden.cz> (Tomas Volf's message of "Tue, 28 Jan 2025 21:01:43 +0100") References: <87r067rtpd.fsf@gmail.com> <877c6ehfmg.fsf@wolfsden.cz> Date: Wed, 29 Jan 2025 22:19:30 +0900 Message-ID: <87ldutpxjx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 73664-done Cc: 73664-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Tomas, Finally pushed. Thanks for the good work! -- Maxim ------------=_1738156862-8264-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Oct 2024 16:12:10 +0000 Received: from localhost ([127.0.0.1]:42061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxTre-0001sj-4g for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:12:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:47272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sxTrb-0001sa-UI for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:12:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sxTrU-0002Cu-Cz for guix-patches@gnu.org; Sun, 06 Oct 2024 12:12:00 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sxTrR-0004gC-Or for guix-patches@gnu.org; Sun, 06 Oct 2024 12:11:59 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 5BF28320AF9; Sun, 6 Oct 2024 16:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728231113; bh=VVbAdH2zXS/30KAAJ75B5y+I4+i6r7Mke5rwHWxbtkI=; h=From:To:Cc:Subject:Date; b=aWQIPv5TJUCSE1LDq1/E5Q9ImsoIVA/yq5Ea3A6wM1o3wUM1MK+2rLUjMaLFVxUY3 ql4AAdUPTVx2mlM3JdJnG9M2Z/R51JtaWt+YFacFNG8V//DjSXj9IE4Yx1BGBLd/DX Nv+LLrnWQR70JiVstgUAMaM8GV49wF7NbxEIw3Gf4/T5W4qzNSxRQ3IcvgzhNISwpj xAIUM9Q1GCEw5O19DhgVrkTy/hIXRFJF59Fgh6HGCzCYtwgYBCRUL03jJ+5NKGEIxP Zf+Y++0mqmrMaOqHNM9F15RCCYeT99tIzOWiYdCMlYgne/GM1ySjnHjAT17EsH4o/5 IZkIJUJyVHIvLlcImVv3r7urwHcavcWaIz099kYe7XZlpyZcabonh+CvTEnhiTM6NB hW64hcQM/p3WWX/OKikg4EtZJU5VmRnQPbe/7KCn14V1Su6m/mJKoMZK44GZxWUDLF JPlOPvZXYb4Mmqg8IsHqpRTlSkiRbRoHCgYPpBhtvQmjdl6m/2dzrzIjh5SFF8G2dc XqApU9z/I8jyYJA0QJWFTYG4hns0aryOOY1zSHz5cfoxMMGPFjKQOdKrW8jo6ijD7K goB36V/I9fc75I8UyvBzJV9zTL+1sCYlJJQbjjfA5Bclg2lDlgWQ5FzqrXdRVfggVr PTKxkZFWTabhKnyUc50QGCpQ= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [146.70.134.132]) by wolfsden.cz (Postfix) with ESMTPSA id E1A6C31EAAE; Sun, 6 Oct 2024 16:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728231113; bh=VVbAdH2zXS/30KAAJ75B5y+I4+i6r7Mke5rwHWxbtkI=; h=From:To:Cc:Subject:Date; b=aWQIPv5TJUCSE1LDq1/E5Q9ImsoIVA/yq5Ea3A6wM1o3wUM1MK+2rLUjMaLFVxUY3 ql4AAdUPTVx2mlM3JdJnG9M2Z/R51JtaWt+YFacFNG8V//DjSXj9IE4Yx1BGBLd/DX Nv+LLrnWQR70JiVstgUAMaM8GV49wF7NbxEIw3Gf4/T5W4qzNSxRQ3IcvgzhNISwpj xAIUM9Q1GCEw5O19DhgVrkTy/hIXRFJF59Fgh6HGCzCYtwgYBCRUL03jJ+5NKGEIxP Zf+Y++0mqmrMaOqHNM9F15RCCYeT99tIzOWiYdCMlYgne/GM1ySjnHjAT17EsH4o/5 IZkIJUJyVHIvLlcImVv3r7urwHcavcWaIz099kYe7XZlpyZcabonh+CvTEnhiTM6NB hW64hcQM/p3WWX/OKikg4EtZJU5VmRnQPbe/7KCn14V1Su6m/mJKoMZK44GZxWUDLF JPlOPvZXYb4Mmqg8IsHqpRTlSkiRbRoHCgYPpBhtvQmjdl6m/2dzrzIjh5SFF8G2dc XqApU9z/I8jyYJA0QJWFTYG4hns0aryOOY1zSHz5cfoxMMGPFjKQOdKrW8jo6ijD7K goB36V/I9fc75I8UyvBzJV9zTL+1sCYlJJQbjjfA5Bclg2lDlgWQ5FzqrXdRVfggVr PTKxkZFWTabhKnyUc50QGCpQ= From: Tomas Volf <~@wolfsden.cz> To: guix-patches@gnu.org Subject: [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Date: Sun, 6 Oct 2024 18:11:49 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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 Cc: Tomas Volf <~@wolfsden.cz> 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 (--) test_ssl does sometimes hang (at least when executed under faketime). It is somewhat unlikely to happen, and (on my machine) required a build with --rounds=32 to reproduce it. The workaround is to set somewhat lower timeout of 240s (expected test duration * 5 rounded up to whole minutes) and retry few times on failure. In this way, --rounds=64 finished successfully (on my machine). At the same time remove the timeout from the other tests, since it is not necessary (they do not hang), and one of them runs for ~270s (almost half the original timeout), so it could pose a problem on slow/overloaded machine. * gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]<#:phases>['check]: Remote test timeout for most tests. Lower the timeout for test_ssl. Retry test_ssl on failure. Change-Id: I535c72fec24658a4b2151d2e8794319055c9a278 --- gnu/packages/bittorrent.scm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 2b38c7cb65..1a0735d928 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -452,7 +452,6 @@ (define-public libtorrent-rasterbar (exclude-regex (string-append "^(" (string-join disabled-tests "|") ")$")) - (timeout "600") (jobs (if parallel-tests? (number->string (parallel-job-count)) "1"))) @@ -460,7 +459,6 @@ (define-public libtorrent-rasterbar (invoke "ctest" "-E" exclude-regex "-j" jobs - "--timeout" timeout "--output-on-failure") ;; test_ssl relies on bundled TLS certificates with a fixed ;; expiry date. To ensure succesful builds in the future, @@ -470,16 +468,16 @@ (define-public libtorrent-rasterbar ;; test_fast_extension, test_privacy and test_resolve_links ;; to hang, even with FAKETIME_ONLY_CMDS. Not sure why. So ;; execute only test_ssl under faketime. - ;; - ;; Note: The test_ssl test times out in the ci. - ;; Temporarily disable it until that is resolved. - ;; (invoke "faketime" "2022-10-24" - ;; "ctest" - ;; "-R" "^test_ssl$" - ;; "-j" jobs - ;; "--timeout" timeout - ;; "--output-on-failure") - ))))))) + (invoke "faketime" "2022-10-24" + "ctest" + "-R" "^test_ssl$" + "-j" jobs + ;; test_ssl sometimes hangs (at least when run under + ;; faketime), therefore set a time limit and retry + ;; few times on failure. + "--timeout" "240" + "--repeat" "until-pass:5" + "--output-on-failure")))))))) (inputs (list boost openssl)) (native-inputs (list libfaketime -- 2.46.0 ------------=_1738156862-8264-1-- From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Feb 2025 07:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173839440032336 (code B ref 73664); Sat, 01 Feb 2025 07:20:02 +0000 Received: (at 73664) by debbugs.gnu.org; 1 Feb 2025 07:20:00 +0000 Received: from localhost ([127.0.0.1]:56020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1te7nL-0008PU-Ip for submit@debbugs.gnu.org; Sat, 01 Feb 2025 02:19:59 -0500 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:59847) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1te7nI-0008P9-Sc for 73664@debbugs.gnu.org; Sat, 01 Feb 2025 02:19:57 -0500 Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2ef72924e53so4851292a91.3 for <73664@debbugs.gnu.org>; Fri, 31 Jan 2025 23:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738394389; x=1738999189; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=TQDij86HEqRUkO7rYmBoI2gbqnaeIIHwKFvTEq5LGKE=; b=ZQ4xa2y4GoltMkrtT9PKZGZIsnMUYbAb1RuAffpNHVo/ZzJv3YamAD5c7SXt9Uf472 PWvfDXSJ0OPhsxx7QpDBhpF2K1kRn1FwOd+/UWnVsihld/QeUjQbCfH/u/H/PvKh+lwX 1RN92Dx2g1zXPR54te/LB8UoBooKUZP0cizdEmyUcquzSqa/nzszxe3IY9cfGdll/PZ3 4hSxyCk5eKqY7jiNOT/yzZiOLca64lp0OHaEMN+rK2pvffQOyziLJ78u47gMHUCIFve1 2TUfCMF6s/8ClbpWwfAEVtb6AjuV5tFlOdzmLkSkhuxpElYvH5dZShLeSkWsbTb0G7AE MQtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738394389; x=1738999189; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TQDij86HEqRUkO7rYmBoI2gbqnaeIIHwKFvTEq5LGKE=; b=X4r847ytAI+Nb/vw9Lse+nMmcjvGXhkYVmbfHfGxWyZnbNZIRXjT5Or5MdbWzibv2B 39An636EyOu/O/ivoZ1BycmDPantxkw779fNvQNvFRftOIPksZn4DW1c2RBCopwjpTFX h0+6wNYteHNb6rlsW6gPQVPzBSkOJ5KxiFC5cAjeRAbV2pPDhJha1bBGL3i75aequABF lHC62mTXylcpkgtX5XG/CdIxwR/rQJRxWFYZY4IwMAh74h2yS3eZgBYgzs8VwYUK1H/q dcUflNLSFDf20ivUtQcINSS/aHYgbnz1+iimULC76t3XuIT8OA4ma9ISDUCdVUkgBv69 9OqQ== X-Gm-Message-State: AOJu0YyOA6xISjkMDUPIQc8WDLMh2jasuMHZLwySdq1+oFa4HLsbbxyT 5f/smhpit8dlBEfg+JeF0bdlH7oqQrTxQNBhvyswYTZuUrfKzCxl67iBcw== X-Gm-Gg: ASbGncvHi+ixnOrtf5a08JxLjEPzIF3grRfATavuDb/+nqPBZYEQxvZntFooOQc7WBR VU+oI4r0tZWDBASfbHjJJ5vb7SP6e/ifKhMOfW7BWlk8JiyYvaVCQxATyK4CX8XfK7lJBm/P5n0 6Cq2HrBmQnlBgwpxjYeF3hS3S3oRNgegHGdg1WxZ/J6bwAzsJP2+4Z6N6G9gnpxBzRl49kGsBkT REnvj/u6+3EWtuI4ZXeNa0oUvpR7j0gprbVZWR7fghUTS56V1n3XDeNS9tNsnExUNZ45S2/tB5I l/tBjKRki0jJ X-Google-Smtp-Source: AGHT+IF+la99ehZr1IMRO/xtdwbQOP1DEiMuXOwXk1vkxSXku4WEZn8OuwMmR+bJnzXacr84oUAf0A== X-Received: by 2002:a05:6a00:a89:b0:72a:bcc2:7748 with SMTP id d2e1a72fcca58-72fd0961646mr20140723b3a.0.1738394389410; Fri, 31 Jan 2025 23:19:49 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72fe69ba2f6sm4420783b3a.113.2025.01.31.23.19.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jan 2025 23:19:48 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Tomas Volf's message of "Tue, 28 Jan 2025 20:50:01 +0100") References: <88c8b5101c2d7addb17e55bfe044bb1600478329.1738093801.git.~@wolfsden.cz> Date: Sat, 01 Feb 2025 16:19:37 +0900 Message-ID: <871pwim8s6.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 (-) reopen 73664 retitle 73664 libtorrent-rasterbar: non-deterministic failures in test_ssl quit Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: > With the release of 2.0.11, the SSL certificates used for tests are valid for > long enough time (~end of year 2297) to no longer require faketime. With the > removal of faketime, the explicit timeout is also no longer required, since it > does not hang anymore. > > This gives us back the validation that SSL works. It builds for me locally, but the CI encountered problems: https://ci.guix.gnu.org/build/8981901/details I'm not sure there seems to be a substitute available for it, but this is worrying. I think I'll revert, or leave it disabled with a note of potential non-determistic failures with it. -- Thanks, Maxim From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Feb 2025 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.17384082101173 (code B ref 73664); Sat, 01 Feb 2025 11:11:01 +0000 Received: (at 73664) by debbugs.gnu.org; 1 Feb 2025 11:10:10 +0000 Received: from localhost ([127.0.0.1]:56577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1teBO6-0000Ii-0O for submit@debbugs.gnu.org; Sat, 01 Feb 2025 06:10:10 -0500 Received: from wolfsden.cz ([37.205.8.62]:54904) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1teBO2-0000E3-NP for 73664@debbugs.gnu.org; Sat, 01 Feb 2025 06:10:08 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id C0FF236DB46; Sat, 1 Feb 2025 11:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738408204; bh=baeZBsFuqoQAuLkqGabMRgrUPrdn+zWINnX+HlS6RH0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=NEOo8cWMFT/b+jQCppyIcPCmjcdVC5eQO/36KzpOkW68dJw8mdWOEbao0R2A2MqAx rQhz4LX/LYK7AXLIRB7kQiVFyc2Z0tLLQqIthRxmEY3i2hk0oSXAucTlZObn8YogTo XWyI4jSauwx1nSy8SoGUMh9GczHSrCrYBXKw5oQDPQS28HEqk4HcIyWaebescYX6Sd Jqm6klbwB8DVdAPLTdesx/3RTLWBueXwYeEQa2WFeJOXjILIYO0YpA3Ar2icQ8K/rb gSWs91pD0CnROfJHDxnQrFkRBWJz/dxWZDg2FXnnyOahSV6QGxkJA41b1O7mo+CxcO Pv4JUcC2IhYzFTf71wmHNW1Wb6DXj7rBSbQ8RU5e9OgcRsvocOsCzx1vhwFqwc9M4+ oOM/VOF664DGbfYPQ9hB3uRZOsEyrXJRqQSlvRdGd6ZRHrJy572wmhQgZ0bfN3sq+p UCAZeOrmvzxWL5U/0zNZvdcLJ5c+q3oR6b+IJGOLe8Cmb/9tn0vQnBS6gl3/y8KPbk PmrMXK3StFFovH99YzQAeU+KD/Ahaejb11mChY8TLJs9dt3w6ijq2EdY+fe/QMjsEp dFgcZxs47eXaOOUOLxlkMF7OP8SRf/Glz2Zm5fM3WuoGTG6e7lwiQ1mTwI/2CeyOxf VJg0wHimFo0ff2b2QM0K1drE= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id E03E736D7E1; Sat, 1 Feb 2025 11:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738408203; bh=baeZBsFuqoQAuLkqGabMRgrUPrdn+zWINnX+HlS6RH0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Zjjfgw9PAoBH99JNrZIUniPRuAKDbmX35CvjEZgAf6OnnGdTGgS4AH/Gm/Gnxwfp0 xXcyeAbz4D0ZZ9prjKE6Ck8JD0vrrentRzuFd39ADH8SOxt0EOnpFvqqSIa4u7rqhH NTt/DZUenDiwNtQitOVzOoi8C/4IHZKrYKq1cXrT0dZvL+2XHU9jCv6pZgnPZSExdt 5y9gsbB63Mw7kumhm0V499jPdNxgg1in9YZpTGBf4gx8s12hX0e23U5KsenUvTmKrR ngmTpdsBJwvwUAX6Qo7qsD6X+VKQRFHPixa8xHdP84ZYBv4ocyJSise71SOg2AQiO1 ifEVVkXD12jTfAc02YoTUv26aaoIlJuX/8wQmX+C2Vp+OoqskhzuzsIWDf57WIX4MC I0RAVHWhgOYZA/jVIEB3TXGs3AGkUDNGIm7Rh+dT4BdmDNN8xqgE8uXlsDq0IXNfXs 1EgAC00GiCu6KNT2UC1hGP8Jj8114+LSMWK/wxLXqWlSmpgL50vnSavAefTzHw7mHa 28vvYPRLuZ/wRFCbGql4cH9+wQWX8SgiR2sNvG+Rww7/6Jq64Y0YBDUDPee/Eq5NIy NT/NXD4NdudpU15eHAxd7VidomD6XGMtzfy0nWJvNc49qKWFZR+/wwwAr8T6/sAts5 rOwOI2oFooZc0gygE1j5Oz8k= From: Tomas Volf <~@wolfsden.cz> In-Reply-To: <871pwim8s6.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Sat, 01 Feb 2025 16:19:37 +0900") References: <88c8b5101c2d7addb17e55bfe044bb1600478329.1738093801.git.~@wolfsden.cz> <871pwim8s6.fsf_-_@gmail.com> Date: Sat, 01 Feb 2025 12:10:03 +0100 Message-ID: <87seoxapkk.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 Content-Transfer-Encoding: quoted-printable Hi, Maxim Cournoyer writes: > reopen 73664 > retitle 73664 libtorrent-rasterbar: non-deterministic failures in test_ssl > quit > > Hi Tomas, > > Tomas Volf <~@wolfsden.cz> writes: > >> With the release of 2.0.11, the SSL certificates used for tests are vali= d for >> long enough time (~end of year 2297) to no longer require faketime. Wit= h the >> removal of faketime, the explicit timeout is also no longer required, si= nce it >> does not hang anymore. >> >> This gives us back the validation that SSL works. > > It builds for me locally, but the CI encountered problems: > > https://ci.guix.gnu.org/build/8981901/details > > I'm not sure there seems to be a substitute available for it, but this > is worrying. I think I'll revert, or leave it disabled with a note of > potential non-determistic failures with it. Notice the build failure is for libtorrent-rasterbar@1.2 (the libtorrent-rasterbar-1.2 variable). My patch updated libtorrent-rasterbar@2 to 2.0.11 (the libtorrent-rasterbar variable). So this is my fault, I did not realize that libtorrent-rasterbar-1.2 inherits from libtorrent-rasterbar, so the change in check phase will affect both. Sorry about that. Luckily there is a new release (1.2.20) which seems to contain the extension of certificate expiry. After breakfast I will do the update, test it and send a patch here. Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmeeAQsOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/walFTg/9G37Rrmkz4dZfPi634+OkmlDPlYtqObZX9KaA XnpbCgNR0doXy83PO6wws5lhby74+IUxrvTVjZ6BfkL5ND4xX9pZmRDeH4ved6yS 1gzaiQJklLqog9yd2WDs+VYi6upjFnDrrnvTSBYdMxknmWnKN5Mjv4tAgy9NEpI5 ZEXy2PgjuaS0Zhcd5H/S43yWwiBZbbgtqBqNmWTvf2jnfnvz6y26d0goldKUD9LT PZWXaVoA59MDkQiw7BVOW6ER6cxeAFZAkSCP9AKlwVgPVQy8G6j4oTDm5mvoifIS nw6X8kw/scQ4EYzcDS0zp1rHCvebJfPrpQDVrYB04EV6fSwcEUzmf0PvLFDlqCU6 lE9MHP1CLk1G8O5P92hmqGj5o8FAiXyWq+TtvDM9Czf+XVi/fQAMTa42PTKK4rSl 06q0Tflwnm1eKIX3oDGcKaoW7sQARxiLqktUp0dz5vO9aXUqCOpxVj8/WTO8zEBL aQQ3vJsNcNWjVRNWYYvbx6dzTIfV0dqfrFVRaPYDbxCdM/jUkUQ0QQ1SfwxDmlya FmRvEu1sEBx1HaCK9QgFajZMyZ9UBueZ0llPW/PVfYu8SzdWSgvnrQmq+fRLiT3h /lLCb7247O+oNuy8rIeecvRfvhdwg7DWo8l6TeJmpL5OkHzUQZO1HKO6tZPNIQKz wjOPtoE= =5kmr -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 01 06:11:31 2025 Received: (at control) by debbugs.gnu.org; 1 Feb 2025 11:11:31 +0000 Received: from localhost ([127.0.0.1]:56598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1teBPP-0000Mg-FU for submit@debbugs.gnu.org; Sat, 01 Feb 2025 06:11:31 -0500 Received: from wolfsden.cz ([37.205.8.62]:56122) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1teBPM-0000MN-M2 for control@debbugs.gnu.org; Sat, 01 Feb 2025 06:11:29 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 85B3F36E0AB; Sat, 1 Feb 2025 11:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738408287; bh=zZikCZXGYLqm0vXOa9k+OxqdIxcOmB7ZmwHOPtWOSsc=; h=From:To:Subject:Date; b=gln3DuOBmxJp8mFq9032TvZ4jEA9vKeRz9acx/plA4mGt93QCIKtirjjaiJOMbNHE GwPXc5/9p1SLk1u9mlnphy82KT2gbn7M3+hBIGLRsDaOsvT1ZZx+r3uNV7tB9QU5jS Zt8LYQrSnffHBHlSpYlhxBdZTr+UJ5UJ9o7nJBUiJrF7Y4DdZvqqSYwVfFoUn41F1r +RJYjXGSFjERf2hNcgzgfPjC4k6dAGUiaIlTqjaOigAogu3Ume/OY4CENHMUnwCo5G 6Wef2vBH1HVcPDUP4rjTH4yh6CEXGBNVaydz36yzhspm7XVHWw8ebtV4BQzX0CY6za A/PLgGb9iUK00qZpv41DxEbXSNEQndwQBsgIXZEseczQctPjNylOr/dT6dPJeQkCiO LZ/TF4JDUo3ncFivH4RvN4G4r766MJCRJR5KNulzer6saI8vGhR73iDsJK5Sl/az6f MMe1lBgRP/zmZlacDOQrpdxtIoq/LHx/n7NOTJtNT1d/gUQo8Czbzh5qlaRGyjZ/rs 7PQEkzEwgNWHqBKFHFzUTz6NQouqpq+ZcXtspzc4t++LLhKXh0AhWFdzIqs03lVQgI 2lzB4mdET4O8rKO1YB3KfagXhdISMX2pkG2z04qww1NloBfDrspb3Edy7Hdsf2zcj0 oCfcwgcqo5rMMyha2iqAU1dA= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 42B2D36C5F0 for ; Sat, 1 Feb 2025 11:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738408287; bh=zZikCZXGYLqm0vXOa9k+OxqdIxcOmB7ZmwHOPtWOSsc=; h=From:To:Subject:Date; b=gln3DuOBmxJp8mFq9032TvZ4jEA9vKeRz9acx/plA4mGt93QCIKtirjjaiJOMbNHE GwPXc5/9p1SLk1u9mlnphy82KT2gbn7M3+hBIGLRsDaOsvT1ZZx+r3uNV7tB9QU5jS Zt8LYQrSnffHBHlSpYlhxBdZTr+UJ5UJ9o7nJBUiJrF7Y4DdZvqqSYwVfFoUn41F1r +RJYjXGSFjERf2hNcgzgfPjC4k6dAGUiaIlTqjaOigAogu3Ume/OY4CENHMUnwCo5G 6Wef2vBH1HVcPDUP4rjTH4yh6CEXGBNVaydz36yzhspm7XVHWw8ebtV4BQzX0CY6za A/PLgGb9iUK00qZpv41DxEbXSNEQndwQBsgIXZEseczQctPjNylOr/dT6dPJeQkCiO LZ/TF4JDUo3ncFivH4RvN4G4r766MJCRJR5KNulzer6saI8vGhR73iDsJK5Sl/az6f MMe1lBgRP/zmZlacDOQrpdxtIoq/LHx/n7NOTJtNT1d/gUQo8Czbzh5qlaRGyjZ/rs 7PQEkzEwgNWHqBKFHFzUTz6NQouqpq+ZcXtspzc4t++LLhKXh0AhWFdzIqs03lVQgI 2lzB4mdET4O8rKO1YB3KfagXhdISMX2pkG2z04qww1NloBfDrspb3Edy7Hdsf2zcj0 oCfcwgcqo5rMMyha2iqAU1dA= From: Tomas Volf <~@wolfsden.cz> To: control@debbugs.gnu.org Subject: control message for bug #73664 Date: Sat, 01 Feb 2025 12:11:27 +0100 Message-ID: <87plk1api8.fsf@wolfsden.cz> MIME-Version: 1.0 Content-Type: text/plain 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 (-) reopen 73664 retitle 73664 libtorrent-rasterbar@1.2: failure in test_ssl quit From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar-1.2: Update to 1.2.20. References: In-Reply-To: Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Feb 2025 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73664@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz>, maxim.cournoyer@gmail.com Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173841224025694 (code B ref 73664); Sat, 01 Feb 2025 12:18:01 +0000 Received: (at 73664) by debbugs.gnu.org; 1 Feb 2025 12:17:20 +0000 Received: from localhost ([127.0.0.1]:56887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1teCR6-0006gL-CA for submit@debbugs.gnu.org; Sat, 01 Feb 2025 07:17:20 -0500 Received: from wolfsden.cz ([37.205.8.62]:47216) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1teCR3-0006gB-R4 for 73664@debbugs.gnu.org; Sat, 01 Feb 2025 07:17:19 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 80B6136DFDC; Sat, 1 Feb 2025 12:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738412235; bh=7vWEVsbjVW6VgbnblsFysXw4c4YiOIGDsjMoQSu63yI=; h=From:To:Cc:Subject:Date; b=vkenI50qj3XGGQTVaGrC9j/NMB9j2TIv8ao1S2JJy4aouB7R0XZIAk5ZdPammDkHV aJZtYvU1aIIwGRMUcNHGmztbcBRBGEW3Kzx0rTDSYAzVVx+RifHWkN7csmrnqeee9d Gia7Bl3PZYUOf8IYdjRd/cN8xtmAHbwq59tTGnDgadMtT2jRaxcJAJlYH5l52Hww9+ L3kd2cMsBeso4bzQ0VYy0nFOwJVcx3XFqKNmu4jESWNmbg/dlYdF2Wb8OjmOb7Luvw SOutleX/6zTnHDR2VgOvwC4WFHUDeAXRno5+wzXwhCuKGrqhkAY0044+B/vFoNhNjH 7pPNcsmR2DcUR1lTAcZ08EyepjmFG/kSny0/aDs+U4tb9OhvzgfdE3DizEQgxIAHSY E0GOI4EhjoBqMCAJFTpTSWLe37FWhXw7CoMoo0z8+6Nj6WyyvSvCrohaj0YO1sRG12 ZzaXcYFUw62Y06OJFkGeoNsCGkeR04G30WtNb232CXvxUhYRc4gumDwfnH4hshTHh5 IP1Vzimip1hnd8yk9bMJj9urnbw6R2TOjbeWYs/yGgT3yMCyOMyMeS9KUPYWWUGTFL 39+MWURPtoy7lzUDkrri4u6WT4YytEATZj8DauvPXUn0wfhTlbppM8uri95G89DkYM QJuYuNkTQyRvHRcUhfuKRJcg= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 827D636E712; Sat, 1 Feb 2025 12:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1738412234; bh=7vWEVsbjVW6VgbnblsFysXw4c4YiOIGDsjMoQSu63yI=; h=From:To:Cc:Subject:Date; b=Y7XUTfb7h5+b3bU5NlSpGAa235HvILdIskcJOSAcBl+IRmH/UvVCVC4hTli/xsGFH z8ZSq6O6zWLsBgN2czL9c6DvjpEczQkuMDQ4wvtT4MVO3ydL6LsMm9dWzvVQT6Dfcg tPe37Meq53eQdecEAAEW3GWr4Gnr4K9cWgnBGqOEddCq109dqyYh5ykXWilzg9mwRd g75cNoYqahEYg1vmN+7Ur74ANfy28ct77bS2Eca68xZAph/Ashd1jYmOQNIgngcXed dlBwUf31uB0uHpYkpj6fxcu+or00FLRUXD7ZmIS+r8p31EdHzEy8qvr05MkPE3g+ZE BRVgqZBTchzQrfV40C0y1hPara+fyYnC++MToGfFPy9Ed5fO0zHRSMR05nk5tRmbfq orTNG7vaPUHWAi81YjcHsivC7lmFImaxirj1B22W+tL85N5kyESz5Vct/Ps6BZAwXP IDYuMm+4Kxg/McyA8sk4d/K8bNWn3RfpnmGXA4YkwTrL90JbcWz/pwf55FKGlE6/oS b+wrDeODNC/mbRiPvC0lt7Owr9cnNaeFM/7FjWLqLH2dFxaOqyarv8e0el6cds0GYo mQR2ONAkznSa/ssb9cIx36WbkiTihD4KqTh5dKLNBhCX+tAuVKQ56n4hAvhHHUAZCi hQejuk3odrB+OPFPGeu65rr0= From: Tomas Volf <~@wolfsden.cz> Date: Sat, 1 Feb 2025 13:16:25 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (-) * gnu/packages/bittorrent.scm (libtorrent-rasterbar-1.2): Update to 1.2.20. Change-Id: I18208b5609e8362576986c894bb2fc143d52093f --- I have tested the build locally and seems to work fine: $ ./pre-inst-env guix build libtorrent-rasterbar@1.2 [..] /gnu/store/dqs18nzd8pxacb0bkkqzbb3q6w5fyz66-libtorrent-rasterbar-1.2.20 gnu/packages/bittorrent.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 667350ad9c..34c2141db7 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -476,7 +476,7 @@ (define-public libtorrent-rasterbar (define-public libtorrent-rasterbar-1.2 (package (inherit libtorrent-rasterbar) - (version "1.2.19") + (version "1.2.20") (source (origin (method url-fetch) @@ -485,7 +485,7 @@ (define-public libtorrent-rasterbar-1.2 "releases/download/v" version "/" "libtorrent-rasterbar-" version ".tar.gz")) (sha256 - (base32 "03p4nvsll568zlyqifid0cn135sg5whbk7g48gkbapnw92ayks7f")))))) + (base32 "1z5rdynzxcm6wb7v48ssfbwjairbjacb8rjix5fn70fw4668xgyc")))))) (define-public qbittorrent (package -- 2.47.1 From unknown Sun Jun 22 03:59:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Feb 2025 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173842445511692 (code B ref 73664); Sat, 01 Feb 2025 15:41:02 +0000 Received: (at 73664) by debbugs.gnu.org; 1 Feb 2025 15:40:55 +0000 Received: from localhost ([127.0.0.1]:59657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1teFc6-00032W-SO for submit@debbugs.gnu.org; Sat, 01 Feb 2025 10:40:55 -0500 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:46565) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1teFc4-00032F-DC for 73664@debbugs.gnu.org; Sat, 01 Feb 2025 10:40:53 -0500 Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2ef87d24c2dso3975067a91.1 for <73664@debbugs.gnu.org>; Sat, 01 Feb 2025 07:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738424445; x=1739029245; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=AY3VlUcdUXHDh9agshdMPOtKc6TaZG5fkz10GZ/gV0E=; b=WCinmVlcbrFqWc9dcPU5Cw7LJNIjYvLzWxaAawnuzht0scRJoUbvYNzzwuHLNxldLN xYgSFCqN/28n8hmbCPDg83FZxsMn/FrELBcHxSwdv0BfnJtHCTCu7gCgUOOuyeLCsoA5 /V7JfCjtZgvpxWrhJOp6nkSEdN3RWuO3yWCS+SGSB9bsAjkkUO1di10UU1zZutEk+HVM jvyGKGi2uQA5yjzhcGVLIlCjD+5cOF90CRWhWXKTvVGvrINeXHKkBMPrZ/BSAJyFre1R 8xKh4zZBpjRoPFf+F4okKqM1I/P7mKMVLgFoedfdqRJ3zcZedt6L0yXuLazI86kfb4z5 B6OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738424445; x=1739029245; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AY3VlUcdUXHDh9agshdMPOtKc6TaZG5fkz10GZ/gV0E=; b=lpjl9/OiBFRI1vGtS1okcw1+rP1jHTgTh9E+nyz8h4OH5jIAU/5/4FcFT2n0UK++lr cOTLbT+RV89EU7cRSoSf3xlO61EV4JLACBw55zo9GOBQPcCjhVYrmHdcPRydlsoOa3Iq EJ5crKa5dISfEh9LJP8G6Bjqj3y0GVTZYQLHEQYV3LtcCgLuHoL2AeoYYeLEHprBbT4p ORPltt4CrmuJmlWQ/AOiJz3dxDa8F51V9rc8jA76w7T2Qmt31har6ZT17RS9xMZiyhz2 4GwzIE8bEAUZGdGC3FI11bUGsY3tH7HswLMwDuV7Tr5SWU/UiPM9y6RBLhht1oIopdbB XzSg== X-Gm-Message-State: AOJu0Yw/3LKAKE15k5DU0xm/ga67uILG92tAxc6AyipSf3Lt94BpBTF+ sFVGIr6DuJ6FxohD5Dsop+eka+BoCbsvBCJbqW3iOF8tIoqxlV2wzm/MPg== X-Gm-Gg: ASbGncv6OTV3po7gd5jZ4wfuaQwXjn88KAWIyEmz3xPGILn3+KPwvy217AOLIKSjl5J xZ74ZnuPcbEmXkmHRlbq7jU05wFuPgBGfTbDuDUtWXpx6nijq6Cv6KBwYvlzRADq6HC/YicSo3P 8KRMLw25zn2hKHzU4d+/M2cBiD1G3NLB8xTIozRdH8VHQ7LIOZmPe/tqRQ+IRy0ULa/C9Agd900 dyTLbGvxjXp1whTduyzfaLm7+9WYD90ewYqomqXtiylCMTLxUIBOWm5yhrEV9wbZAfBlAUIl3h5 WVcOZkwvUrgV X-Google-Smtp-Source: AGHT+IGMxusBxbxH2Fz7kyWq5+LFGXCbfCr2km3O/qK+a8+zMxcRbq5kxGzw1iqmOu0Ub2WQxBAF/w== X-Received: by 2002:a17:90b:1f86:b0:2ee:aed2:c15c with SMTP id 98e67ed59e1d1-2f83ac8c3famr22364400a91.28.1738424445408; Sat, 01 Feb 2025 07:40:45 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f8489b01besm5780962a91.19.2025.02.01.07.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Feb 2025 07:40:44 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <87seoxapkk.fsf@wolfsden.cz> (Tomas Volf's message of "Sat, 01 Feb 2025 12:10:03 +0100") References: <88c8b5101c2d7addb17e55bfe044bb1600478329.1738093801.git.~@wolfsden.cz> <871pwim8s6.fsf_-_@gmail.com> <87seoxapkk.fsf@wolfsden.cz> Date: Sun, 02 Feb 2025 00:40:32 +0900 Message-ID: <87bjvllllb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 (-) Hi Tomas, [...] > Notice the build failure is for libtorrent-rasterbar@1.2 (the > libtorrent-rasterbar-1.2 variable). My patch updated > libtorrent-rasterbar@2 to 2.0.11 (the libtorrent-rasterbar variable). > > So this is my fault, I did not realize that libtorrent-rasterbar-1.2 > inherits from libtorrent-rasterbar, so the change in check phase will > affect both. Sorry about that. I did miss it too when reviewing/applying! Thanks for your keen observation, I missed the version difference. > Luckily there is a new release (1.2.20) which seems to contain the > extension of certificate expiry. After breakfast I will do the update, > test it and send a patch here. Sounds good, thanks for the prompt reply! -- Thanks, Maxim From unknown Sun Jun 22 03:59:09 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: Tomas Volf <~@wolfsden.cz> Subject: bug#73664: closed (Re: [PATCH] gnu: libtorrent-rasterbar-1.2: Update to 1.2.20.) Message-ID: References: <8734gxljwi.fsf@gmail.com> X-Gnu-PR-Message: they-closed 73664 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73664@debbugs.gnu.org Date: Sat, 01 Feb 2025 16:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1738426682-18084-1" This is a multi-part message in MIME format... ------------=_1738426682-18084-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73664: libtorrent-rasterbar@1.2: failure in test_ssl which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73664@debbugs.gnu.org. --=20 73664: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73664 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1738426682-18084-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73664-done) by debbugs.gnu.org; 1 Feb 2025 16:17:23 +0000 Received: from localhost ([127.0.0.1]:59729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1teGBP-0004gb-CX for submit@debbugs.gnu.org; Sat, 01 Feb 2025 11:17:23 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:43312) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1teGBN-0004gL-9l for 73664-done@debbugs.gnu.org; Sat, 01 Feb 2025 11:17:21 -0500 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-21631789fcdso53896705ad.1 for <73664-done@debbugs.gnu.org>; Sat, 01 Feb 2025 08:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738426634; x=1739031434; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=AQTqtcv84kb5oGY147ic2kgsSNQxDXXJECkI3UhZuUY=; b=GR5naaJ0qD/4lrH33bxlwiEzHvTzXf1QtSmAFYvkn2rcO4kGFND1In7NXno2s+wLEV pLr0UWI/oy3An1ugwP9ACoo7o6K1r6kBCLXkyLm3xXobtZ7AOvb7MFXftXVcsmWT/JIE jFVOfr2tCwLIyH8UjGA2wfOoQ+geyU/EHvqpBLj/1xuA+AJqYDwViUcFNu/A2A3wzsxl or2SD6GbkZodi+sCC58Ab4RM0W7D7BdDx/L+jOIhiF6nMbKOhTlZmv8Lz/+kjn74dB3f vJ4GWTEGBD/ja+FKlaUDArVaP/ui0Fyb2wDM2yaMQlXIfhvzX2u7cuz5JqtN1zfbNTAX PIIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738426634; x=1739031434; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AQTqtcv84kb5oGY147ic2kgsSNQxDXXJECkI3UhZuUY=; b=gh1e6rQiE5mgL9T1vusmDXh9Iobaid/iD2N6xdn0rfn5PH9jnfE6SMSlPfpVBFPXYK wP4cAwDPJ9ec+QXz6duull2ahn7XHg1nD1F955NnllyQdEVvczegMbdZQc4chMsiORZa 7GkohcU9jDPjGx9TIYOquT1QyCGqZg2wmPD/NFJsfVO1/rvy6tfVcAAwA8nUSqQUNsKq fEkI60hNbNmX+Kg634mQwSqBKRXJ40rB7Rrz3lEw+Rnl3d+0RV5Jsg655jrYi0nqd4mJ gKQFESTvNjPmWfMWz/bW5SEpwdBHwJ02JMK43Ow1Z79cBCQHq9vzVCjrkY+ztia1hqAT unHQ== X-Gm-Message-State: AOJu0YwCaSIrZ1qPmRb1uWM8M/8nEoc5kjjDBHE9nYNyATUoktwDlZsF IhmpBIs5Kc2rCpD7P2LMrvuFRqq32GtZRhWCGZUyHQ328+0mH3MyIE5o6A== X-Gm-Gg: ASbGncvYtFAzKwGZxtGWqRPc73MTWKaBJlxvY/2rbqEm0e1Zu2WEVE9nuzwZSbwKJrt G6/fuIa4mocdHEb66Nogccy5IbYpmUM6epZbDPI7cEPS00huVpT40Y9jTVCKx6HIWwSqqz4jRT9 3vuEeYty6iEl7G2XEFjZ2W3fe0eiKY4pIkGogcQVRnd5IwUn2NPRsJz+3uuia40WAxleegDpvU/ dMSieiCew5gxgLKV8xaHTISdUjakyTuJeYO1mHKWxchrRnZ/8/hgYCFpC0PunoHAc2DRsOQs4sL xETe/BX3eVOC X-Google-Smtp-Source: AGHT+IHqtuHg9C7aM/WZ/dgi5ls/yHmk4QaFCx3hl3EF0mYu9B6NOIIk2ZUUHqSwflKkhEiwOZMr5Q== X-Received: by 2002:a05:6a00:a904:b0:72d:25ae:cafb with SMTP id d2e1a72fcca58-72fe2d41797mr17300668b3a.7.1738426633976; Sat, 01 Feb 2025 08:17:13 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72fe69cdd60sm5277411b3a.136.2025.02.01.08.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Feb 2025 08:17:13 -0800 (PST) From: Maxim Cournoyer To: Tomas Volf <~@wolfsden.cz> Subject: Re: [PATCH] gnu: libtorrent-rasterbar-1.2: Update to 1.2.20. In-Reply-To: (Tomas Volf's message of "Sat, 1 Feb 2025 13:16:25 +0100") References: Date: Sun, 02 Feb 2025 01:17:01 +0900 Message-ID: <8734gxljwi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73664-done Cc: 73664-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Tomas Volf <~@wolfsden.cz> writes: > * gnu/packages/bittorrent.scm (libtorrent-rasterbar-1.2): Update to 1.2.20. Pushed, let's see what CI says! -- Thanks, Maxim ------------=_1738426682-18084-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Oct 2024 16:12:10 +0000 Received: from localhost ([127.0.0.1]:42061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxTre-0001sj-4g for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:12:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:47272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sxTrb-0001sa-UI for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:12:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sxTrU-0002Cu-Cz for guix-patches@gnu.org; Sun, 06 Oct 2024 12:12:00 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sxTrR-0004gC-Or for guix-patches@gnu.org; Sun, 06 Oct 2024 12:11:59 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 5BF28320AF9; Sun, 6 Oct 2024 16:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728231113; bh=VVbAdH2zXS/30KAAJ75B5y+I4+i6r7Mke5rwHWxbtkI=; h=From:To:Cc:Subject:Date; b=aWQIPv5TJUCSE1LDq1/E5Q9ImsoIVA/yq5Ea3A6wM1o3wUM1MK+2rLUjMaLFVxUY3 ql4AAdUPTVx2mlM3JdJnG9M2Z/R51JtaWt+YFacFNG8V//DjSXj9IE4Yx1BGBLd/DX Nv+LLrnWQR70JiVstgUAMaM8GV49wF7NbxEIw3Gf4/T5W4qzNSxRQ3IcvgzhNISwpj xAIUM9Q1GCEw5O19DhgVrkTy/hIXRFJF59Fgh6HGCzCYtwgYBCRUL03jJ+5NKGEIxP Zf+Y++0mqmrMaOqHNM9F15RCCYeT99tIzOWiYdCMlYgne/GM1ySjnHjAT17EsH4o/5 IZkIJUJyVHIvLlcImVv3r7urwHcavcWaIz099kYe7XZlpyZcabonh+CvTEnhiTM6NB hW64hcQM/p3WWX/OKikg4EtZJU5VmRnQPbe/7KCn14V1Su6m/mJKoMZK44GZxWUDLF JPlOPvZXYb4Mmqg8IsHqpRTlSkiRbRoHCgYPpBhtvQmjdl6m/2dzrzIjh5SFF8G2dc XqApU9z/I8jyYJA0QJWFTYG4hns0aryOOY1zSHz5cfoxMMGPFjKQOdKrW8jo6ijD7K goB36V/I9fc75I8UyvBzJV9zTL+1sCYlJJQbjjfA5Bclg2lDlgWQ5FzqrXdRVfggVr PTKxkZFWTabhKnyUc50QGCpQ= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [146.70.134.132]) by wolfsden.cz (Postfix) with ESMTPSA id E1A6C31EAAE; Sun, 6 Oct 2024 16:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1728231113; bh=VVbAdH2zXS/30KAAJ75B5y+I4+i6r7Mke5rwHWxbtkI=; h=From:To:Cc:Subject:Date; b=aWQIPv5TJUCSE1LDq1/E5Q9ImsoIVA/yq5Ea3A6wM1o3wUM1MK+2rLUjMaLFVxUY3 ql4AAdUPTVx2mlM3JdJnG9M2Z/R51JtaWt+YFacFNG8V//DjSXj9IE4Yx1BGBLd/DX Nv+LLrnWQR70JiVstgUAMaM8GV49wF7NbxEIw3Gf4/T5W4qzNSxRQ3IcvgzhNISwpj xAIUM9Q1GCEw5O19DhgVrkTy/hIXRFJF59Fgh6HGCzCYtwgYBCRUL03jJ+5NKGEIxP Zf+Y++0mqmrMaOqHNM9F15RCCYeT99tIzOWiYdCMlYgne/GM1ySjnHjAT17EsH4o/5 IZkIJUJyVHIvLlcImVv3r7urwHcavcWaIz099kYe7XZlpyZcabonh+CvTEnhiTM6NB hW64hcQM/p3WWX/OKikg4EtZJU5VmRnQPbe/7KCn14V1Su6m/mJKoMZK44GZxWUDLF JPlOPvZXYb4Mmqg8IsHqpRTlSkiRbRoHCgYPpBhtvQmjdl6m/2dzrzIjh5SFF8G2dc XqApU9z/I8jyYJA0QJWFTYG4hns0aryOOY1zSHz5cfoxMMGPFjKQOdKrW8jo6ijD7K goB36V/I9fc75I8UyvBzJV9zTL+1sCYlJJQbjjfA5Bclg2lDlgWQ5FzqrXdRVfggVr PTKxkZFWTabhKnyUc50QGCpQ= From: Tomas Volf <~@wolfsden.cz> To: guix-patches@gnu.org Subject: [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Date: Sun, 6 Oct 2024 18:11:49 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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 Cc: Tomas Volf <~@wolfsden.cz> 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 (--) test_ssl does sometimes hang (at least when executed under faketime). It is somewhat unlikely to happen, and (on my machine) required a build with --rounds=32 to reproduce it. The workaround is to set somewhat lower timeout of 240s (expected test duration * 5 rounded up to whole minutes) and retry few times on failure. In this way, --rounds=64 finished successfully (on my machine). At the same time remove the timeout from the other tests, since it is not necessary (they do not hang), and one of them runs for ~270s (almost half the original timeout), so it could pose a problem on slow/overloaded machine. * gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]<#:phases>['check]: Remote test timeout for most tests. Lower the timeout for test_ssl. Retry test_ssl on failure. Change-Id: I535c72fec24658a4b2151d2e8794319055c9a278 --- gnu/packages/bittorrent.scm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 2b38c7cb65..1a0735d928 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -452,7 +452,6 @@ (define-public libtorrent-rasterbar (exclude-regex (string-append "^(" (string-join disabled-tests "|") ")$")) - (timeout "600") (jobs (if parallel-tests? (number->string (parallel-job-count)) "1"))) @@ -460,7 +459,6 @@ (define-public libtorrent-rasterbar (invoke "ctest" "-E" exclude-regex "-j" jobs - "--timeout" timeout "--output-on-failure") ;; test_ssl relies on bundled TLS certificates with a fixed ;; expiry date. To ensure succesful builds in the future, @@ -470,16 +468,16 @@ (define-public libtorrent-rasterbar ;; test_fast_extension, test_privacy and test_resolve_links ;; to hang, even with FAKETIME_ONLY_CMDS. Not sure why. So ;; execute only test_ssl under faketime. - ;; - ;; Note: The test_ssl test times out in the ci. - ;; Temporarily disable it until that is resolved. - ;; (invoke "faketime" "2022-10-24" - ;; "ctest" - ;; "-R" "^test_ssl$" - ;; "-j" jobs - ;; "--timeout" timeout - ;; "--output-on-failure") - ))))))) + (invoke "faketime" "2022-10-24" + "ctest" + "-R" "^test_ssl$" + "-j" jobs + ;; test_ssl sometimes hangs (at least when run under + ;; faketime), therefore set a time limit and retry + ;; few times on failure. + "--timeout" "240" + "--repeat" "until-pass:5" + "--output-on-failure")))))))) (inputs (list boost openssl)) (native-inputs (list libfaketime -- 2.46.0 ------------=_1738426682-18084-1--