From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uCwPB6YOQ2dyvAAAqHPOHw:P1 (envelope-from ) for ; Sun, 24 Nov 2024 11:31:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uCwPB6YOQ2dyvAAAqHPOHw (envelope-from ) for ; Sun, 24 Nov 2024 12:31:50 +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="NjnLEf1/"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LVh227Hf; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732447909; a=rsa-sha256; cv=none; b=tfKcBqkpTUBVpXhWgmUCnzN3ZhQYqiUPuRfvnhOkzPLRG7/Yt0Ng4ERdyjy8+0nUvPElmy Kdizt8UjTlmZatE6mjSa9QE0Z3B3Ke5kTyEgbeskDQLmmamGT/NNzGRqtoaID7eWW/ryil daBvk9FwQ1s9cHN91X5JR1NnZOWYk+Uq99IpSPcHOkSzxm+Pl79vf+7yAaDRFJZSFRMd60 YawX7IxWNgrk8rIrEcN+OnLcWsrSoqBOL+Su1b9Ezq4VxfAUcyfmHDKWiw/lEVCJD81HTO KrPU308ZSRpUYOV3ENYsHrPh1sRBJkomy5KGfOKiZKrw8lAum/wsDzZsl/PL4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="NjnLEf1/"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LVh227Hf; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732447909; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=jGVUct9RFkcSGcYcoBiktzMEWnzKn09zTqLaTb/AOh8=; b=lcpKF7oQsT/MIEBn7PZgWA3hWNLdD77DLQqLymWngtjb4ILM3y/eYzgWWItFYhKQc1WWLQ aMng6gk7SiTnvDJOH2jmIHeoe5VCHj7BA1i6Z/ijnWrpglSNTlauAhFX7ericdtrPxZV1i TKsIFRMxVIO3a5WVdb7hy8ZDhP3/qe6QARrhwNHb2LCKGooDWx0CcjxQMRqOhsOUrT36TS YC/yq0v8fQvWRPGQEL8SX7/E1BeLI4IFRQIe1fvMQplMoTTHwgbqG+tfjQnm8aN8y2r2F1 IN3kGX1ZyAfX4fYN1U78DfQBbX5Y71qzTXIETYP9ujxh9oJpaGq4lVDSrl8KjA== 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 1316B1D679 for ; Sun, 24 Nov 2024 12:31:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFApf-0006on-Uu; Sun, 24 Nov 2024 06:31:16 -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 1tFApc-0006oa-IP for guix-patches@gnu.org; Sun, 24 Nov 2024 06:31:13 -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 1tFApc-0007oC-9V; Sun, 24 Nov 2024 06:31:12 -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:From:To:In-Reply-To:References:Subject; bh=jGVUct9RFkcSGcYcoBiktzMEWnzKn09zTqLaTb/AOh8=; b=NjnLEf1/qknWlnsxnQKA3Pd034PRQjId6gNsX0KNQz6NT76JALGdmMRUOTa+Jcucz07gGd1n0zxm9e3FVV8YNrc6UoC+xQ1LeKrLZpqD2y1xk1HvePzVSpt3fn17WkaDD0Hu/wsea7kYADpze4Azv4mgk4cBku0eE0vpQzFsR3xDzmhLJbfi+pi454C85hwvWpYdM31zbHhMiX2Ck1we1ezptFMu1zRTF0LmW5V/2NYft+3WmAjEBAAVWh+NkV8U36ZaUiUzxco1ya8au5mJV9YsOiMV9GnnWw7TPFLXLwfE8y2pmnjeNOwPGFmdIvQh3wGXEIocvR4HnbiHznR0NQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFApR-0006Rp-Ul; Sun, 24 Nov 2024 06:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73305] [PATCH v2 1/2] gnu: python-pycurl: Fix build by running the tests single-threaded. References: In-Reply-To: Resent-From: attila.lendvai@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 11:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73305 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73305@debbugs.gnu.org Cc: Attila Lendvai , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 73305-submit@debbugs.gnu.org id=B73305.173244785824776 (code B ref 73305); Sun, 24 Nov 2024 11:31:01 +0000 Received: (at 73305) by debbugs.gnu.org; 24 Nov 2024 11:30:58 +0000 Received: from localhost ([127.0.0.1]:33056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFApO-0006RY-BD for submit@debbugs.gnu.org; Sun, 24 Nov 2024 06:30:58 -0500 Received: from mail-ed1-f48.google.com ([209.85.208.48]:59668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFApM-0006RI-3n for 73305@debbugs.gnu.org; Sun, 24 Nov 2024 06:30:56 -0500 Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5cfaa02c716so4720457a12.3 for <73305@debbugs.gnu.org>; Sun, 24 Nov 2024 03:30:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732447790; x=1733052590; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jGVUct9RFkcSGcYcoBiktzMEWnzKn09zTqLaTb/AOh8=; b=LVh227Hfy2FqByzyLn8OpjaRIYxEV0NGUym+buk9YW3FQNG84MBMZVj8uD4Jk1MNxu pNnT2QFAbj3R8cxxomL6Ej0qamePZMTVVwc1gQIpjNeVoEmqy4dOuSEo3xK7X19vfNoO ZlxcL5FQ4ppcEAEVoUZOiVLk6V0MvdvXrnnTUhzl/IGYrTIJj2iZSVrGzEqxiVBWD+6g 9XRPRD69SOatYzA1JLKOADQJZV3RJ++0VebfkS8A1ix5PYGaPFys/KxEc9oMYLRFe/Oj fFeE9bJLMrK10HltR49kdsw3ImGACblr2OQNS4ip0v+121LxMRkN5iG5LCI+fZRK0Lmh Wqqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732447790; x=1733052590; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jGVUct9RFkcSGcYcoBiktzMEWnzKn09zTqLaTb/AOh8=; b=psFfIxLj65ZNiJLQoHbnOd224ISPVWrcQ98WJpuR7tU4SxX9/uLW3Ivqd7wKOg6JGZ aGx/dqeQwtLyGzfjAlniXkXVJtjOgR54Y4Gnl/RE2h5OoVAEI1EODgLA+cnxNzvTLy6o EeOaLhUGt1/EUu/sXrGRjMjvObH8+ya/KUVMQm+5TP0+nlmjqXpoNmqVDrkrrbMV1Tj6 xEGqzpsLzwGAjcPzU6blwwh+1S18aplLslhmvFcU8eUb4bUWG1bKRLe4dT82j6+jQnb2 xhHvM/mVjxw/SXWTekR7w3vyeN6oOkD6+UxEUHGDBK/GhI1EBjOlcLHw5Qz1h6K1ryea gPHw== X-Gm-Message-State: AOJu0YwC9amq6D4XEXXVudCHRePjVBjNSci+3NX3fDNJHAhd/khEt5G1 3e3qq7kyxsrPFtrKaJFXL8XtfGtZHkQacDV4PtwT0hPnd/ApwKAzICcxys7y X-Gm-Gg: ASbGncutmHy8z3YG03Nbj/q4QZ3/CrvDy3RIe8ar5huWJo5/sOOpfBC5CHnQggRimvA +GLNsEEtRy+BAiIl3ZUT8XIvwf0QlluYaENae0qThf4DrfdEG7PRmsecXGnTgtTskv5LNceU1O3 KoODnFT726YcwTbpiJG1Sudk6FUzjHlRKfsGMA2sluqNpnT2QGrbcEu8/Tc0n95A/0H6o1SFiym jM2fNtgULrUh5zPg8ZMxs43m0oi1P/wzT6KhdGG3+mU5jEl0XCbE1DbptPeXz8ODxh+/qSnlvBt 1g== X-Google-Smtp-Source: AGHT+IGlTPzemcXHMvY8iGWTJpqfwk1A4zf8jTYK52CLRzyTf1LMcF8JQAu/dc6Re5IsCEitc+X6hw== X-Received: by 2002:a05:6402:4010:b0:5cf:c97c:821d with SMTP id 4fb4d7f45d1cf-5d01ffd8a65mr9051652a12.0.1732447790001; Sun, 24 Nov 2024 03:29:50 -0800 (PST) Received: from lelap.lan (2a00-1f40-b161-3900--9a4.pool6.panelnet.hu. [2a00:1f40:b161:3900::9a4]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d01d3b1a9dsm2939769a12.24.2024.11.24.03.29.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 03:29:49 -0800 (PST) From: attila.lendvai@gmail.com X-Google-Original-From: attila@lendvai.name Date: Sun, 24 Nov 2024 12:28:17 +0100 Message-ID: <9877ca71d1919b41b32f3fbd2058d996d3b02053.1732447697.git.attila@lendvai.name> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.09 X-Spam-Score: -4.09 X-Migadu-Queue-Id: 1316B1D679 X-Migadu-Scanner: mx10.migadu.com X-TUID: lVkmKoEtXPTS From: Attila Lendvai * gnu/packages/python-web.scm (python-pycurl): Make test run single-threaded. Reenable some tests that used to fail due to threading. [test_request_without_certinfo]: Disable test/timebomb that probably uses an expired CA. Change-Id: I62bc60757cf2e005ed55768c84d8c178f63c35ec --- gnu/packages/python-web.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index cf3c15857c..2270ccdd14 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2026,15 +2026,17 @@ (define-public python-pycurl (build-system pyproject-build-system) (arguments '(#:test-flags - (list "--n" (number->string (parallel-job-count)) + ;; The test suite is not thread safe, therefore --numprocesses 1: + ;; - some tests want to use the same port: address already in use + ;; - some tests use signal.Signal, i.e. main-thread only + (list "--numprocesses" "1" ; (number->string (parallel-job-count)) "-k" (string-append ;; Disable hanginging tests "not test_multi_socket_select" ;; E assert None is not None ;; E+ where None = ;; .socket_result - " and not test_easy_pause_unpause" + ;; testMethod=test_multi_socket_action>.timer_result " and not test_multi_socket_action" ;; E pycurl.error: (1, '') " and not test_http_version_3" @@ -2047,9 +2049,9 @@ (define-public python-pycurl ;; OSError: tests/fake-curl/libcurl/with_openssl.so: cannot ;; open shared object file: No such file or directory " and not test_libcurl_ssl_openssl" - ;; pycurl.error: (56, 'Recv failure: Connection reset by - ;; peer') - " and not test_post_with_read_callback")) + ;; Probably due to an expired CA + " and not test_request_without_certinfo" + )) #:phases (modify-phases %standard-phases (add-before 'build 'configure-tls-backend (lambda _ base-commit: 047967c42f237695d5af2af53321c70f157685a3 -- 2.46.0