From patchwork Thu Dec 7 15:11:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tomas Volf <~@wolfsden.cz> X-Patchwork-Id: 57354 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2DE1427BBEA; Thu, 7 Dec 2023 15:12:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D2C8127BBE9 for ; Thu, 7 Dec 2023 15:12:06 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBG2g-0007lH-CR; Thu, 07 Dec 2023 10:11:58 -0500 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 ) id 1rBG2b-0007kn-Qh for guix-patches@gnu.org; Thu, 07 Dec 2023 10:11:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBG2Z-0005yx-CL for guix-patches@gnu.org; Thu, 07 Dec 2023 10:11:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBG2k-0000Um-Gz for guix-patches@gnu.org; Thu, 07 Dec 2023 10:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67552] libtorrent-rasterbar tests fail [with patch] Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Dec 2023 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67552 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: "Dr. Arne Babenhauserheide" , 67552@debbugs.gnu.org Received: via spool by 67552-submit@debbugs.gnu.org id=B67552.17019619161891 (code B ref 67552); Thu, 07 Dec 2023 15:12:02 +0000 Received: (at 67552) by debbugs.gnu.org; 7 Dec 2023 15:11:56 +0000 Received: from localhost ([127.0.0.1]:42756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBG2d-0000UQ-MD for submit@debbugs.gnu.org; Thu, 07 Dec 2023 10:11:56 -0500 Received: from wolfsden.cz ([37.205.8.62]:59130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBG2b-0000UH-J8 for 67552@debbugs.gnu.org; Thu, 07 Dec 2023 10:11:54 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 8E59125B631; Thu, 7 Dec 2023 15:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1701961899; bh=B5G/G3aHEF5p2fcpanN32rrWItVXwhZEQVL9kSorD8I=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=SV/EUcSZINssqORi6MSrVWKw1yvuggv68qAWTyS4XgCU2d8rgfJS5T+fVLWnb2CF0 uloiFks8fJ4a9Eh4W2zr8eb6L9Esmusk+EDjfz3wVVi9HDRaecesE/qPKcNK4qPCVp Me1wVJrUGkJpWwWcCWX9CP4Qao5NtVNV3N22nNKT7swKd2k9ZWMg1zm7wn7VFrChH7 43GGUeZVUueIZ11qmFxkgOeEVc8QPXbjk+8ilX4Xv72nYWe0uEUQYKPwoxleoq+USf F2mZ5OS0PB0yygqMt/giJFQOwKURivCC2zqbBph+1jmHHBWj6WCu83Fyqvg1fdpCYr o9GW15Wi33GUUxed0R80TG0kwD4b5b3Wnp6FTdmbUzkgSk/g99zhf85WSBz4oF4sY5 rtpoQuBS7ZJSmmxAE1yIOp6QUSIHQtH8Ig7M+gkrBn11Rmim3YvF5BbWvxi46NrSnf btVU+J3Ctl5mWGE7rMywhzKG+AyOMnP2yTpnFrw5aiaUdgp9fqfHllc6Jkg/aNHMUC ZzW3D9soR1+YQ6nSbbc9ia2jbrurMhqynnZMe13iBkjmmyF4vzsjUpmPGgYplIr3DC P8fp79DHCDmhAuSLXFCS5erk5hN+8mkZvi897wT+8gZ5bcyPRvs/+aO1eEAyjZ8eqp 5Uo1E+I/l1D+gG77DRwuiTTY= Received: from localhost (unknown [146.70.134.143]) by wolfsden.cz (Postfix) with ESMTPSA id 6DDEA25ACD8; Thu, 7 Dec 2023 15:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1701961895; bh=B5G/G3aHEF5p2fcpanN32rrWItVXwhZEQVL9kSorD8I=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Id+rTBPaOIQjybiX4SSvQ1L9rBD5G/s00ltVqSyjMhCJxBvNGuJnwBj7A5MTIVDrL 4eraPN3PTgsVcGEi+ArYwp10SQn62tiXYZjJ2BpEA7l9035RoQDaGX4ixrOSDwZqNt 8g40mvxsUfG7Dcj1k11Xensv+ppjHQBeW/KRtixryxoxhNhCga3Im9+Mc1fbd4VqEw a3rYfeNnRMMQbx4Oscz4yMjJcx8IDloGv8XpEnTRZjAWQEQUONNaJbiDx2q8+5kAkr CcQ3Lk2rRRjkWbZgRGhdnjgql9M+u3269QL0NAOuKAo/jnpCb8BNiCNTrwHgzqQBE1 dbj1sy7bjSlBG937zNM3o3PbY4NU43jI8RL9KARcazfIl+54Qm0BWV8o5q45p0Jivc cPpxHY3w089f+I2PCFa9nwkaX2mvsBPBISTpc/SM/pv+JwBj372bpDG2M8QKtKVXkz o383grtma81Q97ukY0P2x1UI9nHWb9Ak3qoHz+N08x1q52B1yNz3OAqSCuyBb6GP0p hKI0pi/aDPfcRFLYSAp4JyzbuxVPMphprx79PPROsziGbPn04ncMBjYsxLCgWEOOx2 9MDRaiWyqO4hf4plwpPwDrmRYkgDm48ShgkYPnq3fi0akLCU7yvOxrqA6NwREYE2NK hO+2KEUWRyFXUYoYvPqiEDDg= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 4fb9a798; Thu, 7 Dec 2023 15:11:34 +0000 (UTC) Date: Thu, 7 Dec 2023 16:11:34 +0100 From: Tomas Volf <~@wolfsden.cz> Message-ID: References: <87leafvubv.fsf@web.de> <87a5qmfkt6.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87a5qmfkt6.fsf_-_@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello ^_^ On 2023-12-07 10:01:25 +0100, Ludovic Courtès wrote: > I applied Tomas’ update from and > everything built fine on my x86_64 machine, but test fails at ci.guix. > From : > > --8<---------------cut here---------------start------------->8--- > 100% tests passed, 0 tests failed out of 104 > > Total Test time (real) = 759.05 sec > Test project /tmp/guix-build-libtorrent-rasterbar-2.0.9.drv-0/build > Start 75: test_ssl > 1/1 Test #75: test_ssl .........................***Timeout 600.11 sec > test: /tmp/guix-build-libtorrent-rasterbar-2.0.9.drv-0/build/test/test_ssl > cwd_prefix = "/tmp/guix-build-libtorrent-rasterbar-2.0.9.drv-0/build/test/test_tmp_7352_" > > > 0% tests passed, 1 tests failed out of 1 > > Total Test time (real) = 600.11 sec > > The following tests FAILED: > 75 - test_ssl (Timeout) > Errors while running CTest > --8<---------------cut here---------------end--------------->8--- > > I don’t think Arne’s patch addresses this, right? Correct, it does not. > > Let me know what you think should be done. Good question. For the time being I would suggest applying the attached patch to work around the immediate issue, it would be nice to have the substitute available in ci as well (for some reason the build succeeded in bordeaux). $ guix weather libtorrent-rasterbar computing 1 package derivations for x86_64-linux... looking for 1 store items on https://ci.guix.gnu.org... https://ci.guix.gnu.org ⛈ 0.0% substitutes available (0 out of 1) unknown substitute sizes 0.0 MiB on disk (uncompressed) 0.233 seconds per request (0.2 seconds in total) 4.3 requests per second 0.0% (0 out of 1) of the missing items are queued at least 1000 queued builds aarch64-linux: 998 (99.8%) armhf-linux: 2 (.2%) build rate: 15.54 builds per hour powerpc64le-linux: 3.67 builds per hour x86_64-linux: 6.47 builds per hour i686-linux: 3.93 builds per hour aarch64-linux: 1.65 builds per hour looking for 1 store items on https://bordeaux.guix.gnu.org... https://bordeaux.guix.gnu.org ☀ 100.0% substitutes available (1 out of 1) 2.4 MiB of nars (compressed) 12.2 MiB on disk (uncompressed) 0.233 seconds per request (0.2 seconds in total) 4.3 requests per second (continuous integration information unavailable) And I will look into getting the test working (starting with just removing the timeout) and send a separate patch re-enabling it once I have a solution. Does that sound reasonable? Have a nice day, Tomas --- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. From 5e4c31518aba62b2cca7c346bcc56cfa9a4d10d0 Mon Sep 17 00:00:00 2001 Message-ID: <5e4c31518aba62b2cca7c346bcc56cfa9a4d10d0.1701961719.git.~@wolfsden.cz> From: Tomas Volf <~@wolfsden.cz> Date: Thu, 7 Dec 2023 16:02:15 +0100 Subject: [PATCH] gnu: libtorrent-rasterbar: Disable test_ssl test. It times out in the ci.guix.gnu.org, so this commit disables it. It will be re-enabled once solution is found. * gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]<#:phases>['check]: Disable test_ssl test. Change-Id: Ib396fd8a1786e14baad72ae892bdd0fd3fe7a180 --- gnu/packages/bittorrent.scm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) base-commit: 99bf4840cec2e74d1824684dd8bd29511e904ba0 diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 731c8e1c20..8c032940d4 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -488,12 +488,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. - (invoke "faketime" "2022-10-24" - "ctest" - "-R" "^test_ssl$" - "-j" jobs - "--timeout" timeout - "--output-on-failure")))))))) + ;; + ;; 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") + ))))))) (inputs (list boost openssl)) (native-inputs `(("libfaketime" ,libfaketime) ("python-wrapper" ,python-wrapper)