From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0P3KFigRYWdBEQAAqHPOHw:P1 (envelope-from ) for ; Tue, 17 Dec 2024 05:50:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0P3KFigRYWdBEQAAqHPOHw (envelope-from ) for ; Tue, 17 Dec 2024 06:50:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AYwy5rvz; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=L9yojGgE; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734414632; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ibQp2946dYHvZ+R4lYT5hz9KIfSZfIA3EldFoNXU8VU=; b=deH7rrLb/7RY4AMHQMUAXBSIopqe5A/58jmbITjbG27qAeydW+owRP2NNger3+b9pJ30pE ZoqwsvzH9FNabWb9BvWbqVjwY5FQvwZbM4xseoiCDsoazMbWoysc9R1gw6ZK1asvoNGBrA iNYVFaDXq2D7EyQd0Z5g4g+Fm1vkX1V8wjcMIV5rOy67l4MEtj+YwST9QCIiDKewE6HS9e F98+DefM4K1bnj79py9hYUdASzCZ7gNow4B1fRZsobF8FknlfV7c3teCzPHoM4WYIF6Ik3 Igh4aZFb5RAyX9IF7kGNwoNr6pKh+7h37f6e2tB/lDm6KauBtO3XBkBIDJWL+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AYwy5rvz; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=L9yojGgE; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734414632; a=rsa-sha256; cv=none; b=u8nkSC7P/dAUJygxfLcpQ78kKFcrwvD2OGqiPF9/d7PyqcXYWBYU86lCBvFVstGMfnFLwK WAiji/vDUCaJkMb+KUH44CT48Hck81/IXeVopLxAIP6k9+U/IKQSi/t3FnS+qvWvpO9uR2 ECAY+sh/vB8xvVAwoQv6j5JMkb+FUZkTkgUEr/FLKPEGjZYZTMZJg/GhOYELOBTO8Swis2 LkxzsWJa6sbw2RWP26JOGxzZefzpUk5xoadsAYnIQzLjXN2M+noOO7ka6X3LcW34AulYBm ls6vXjqATuIuBGUkbxRnhrXY84a+LjjdQoHEK/+md8bxjAL75K+PKZ2pjQihYQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9E36551189 for ; Tue, 17 Dec 2024 06:50:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNQTE-0003cL-85; Tue, 17 Dec 2024 00:50:12 -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 1tNQT8-0003Zr-Ch for guix-patches@gnu.org; Tue, 17 Dec 2024 00:50:06 -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 1tNQT4-0000kH-NC for guix-patches@gnu.org; Tue, 17 Dec 2024 00:50:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ibQp2946dYHvZ+R4lYT5hz9KIfSZfIA3EldFoNXU8VU=; b=AYwy5rvzKwN1aJgo13JMuylOS22rY6D6ath3piV4/BeefkdU4aOujb8HZ9lMcRo079doGxrD67979T9ZdiKuwNsLYSQgG7dbB0or9qITqDDkeu6oDfkRohKr0uu2qkBQrqkiBE2ZyUufOxDpzBLRJTbEvf59zf7KhTPw4RhLKHatcyiGSMM5RmrUPTIk3XxWNVHABSVBmtYLR6rkDGJSdD1s+IV751VgMU1gzdUDwLKw2YYwvAaRU2jrWBq1Eb8WEBKEX41JCfIqx1hXGRJs8tPCexX9/xVf3/rk/pLca9zizeodvBAUCg8DteUkQI8RYrdzvkNAiGUPVyNjiixKEg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNPqL-0000dU-OW for guix-patches@gnu.org; Tue, 17 Dec 2024 00:10:01 -0500 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-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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9E36551189 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.78 X-Spam-Score: -5.78 X-TUID: P74wesRZP4E1 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