From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mPUjMC2b6GY+bwAAqHPOHw:P1 (envelope-from ) for ; Mon, 16 Sep 2024 20:55:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mPUjMC2b6GY+bwAAqHPOHw (envelope-from ) for ; Mon, 16 Sep 2024 22:55:09 +0200 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="vTn/ZGcZ"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Qlc1nErx; 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=1726520109; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=igb3au48/vNmTUWcoMjFlA7e3Pq5CL3W/t/A+oWiLs8=; b=V3shR0Ougdhcc8BDmBTHvYeUMlr14vsO8KRqWA/VqCG5LuV6EwUkXWgY4JDAR4QVb21dbK Oj6iVWZm1kbIGrL/fqGmePMDJycAGfCnfyy6KgqonKU/JzHUouqI7/CJgrZ8z27kJuoakw pdOffDd4p/tSdkSiVnagL/3SksgulVeEcxWWvy9y42AWiizdD2Z1ZRYJQlki7S6HlpVmG3 Av876OWGAM+/tLifMXiueeXl3BMzA/Z5fbtH+pMzfXIi0F8XnkpV5mFyxmvgsrHX7I946a P2NY0uaSGkApaxgvX2XwVomhLQa6UuusDyI5tqmVe9YklZEhU2+hmkrelfvmfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="vTn/ZGcZ"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Qlc1nErx; 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=1726520109; a=rsa-sha256; cv=none; b=h3SFkn5lcuk+nyXuMn1yrN0f+uehdFJ1UQ158eoqPniiMGGCW8FQTcO0uk/FJFqINuEhNQ jIosqQ/8HW41ufq18GHp64cEt60Tzi+JSTjnOcIb0UuCsUU5qKiqZBb5WNcmanEnyEzoXp JogquTmKCF0RFnbP3S7AeRRXL8VxAKSJYLkpPim/MrfhyRyV8UnL+6B4xTM2TPxCgUgZ+5 1PrUwh9+qzwV6JFb61jujYnxOeB+lJNOqtYDLQy2+Y8pGtvk8LYe2C6ZjJGMfmIzqZUHyU Kx4Qz/x2rMcy6BD0T1KCiKt/o7mND6QMbBl7AqF+AteIomPTYrq52L6fIbf59w== 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 4C3E46A55A for ; Mon, 16 Sep 2024 22:55:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqIkL-0002Hz-JE; Mon, 16 Sep 2024 16:54:57 -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 ) id 1sqIkK-0002Hp-Aa for guix-patches@gnu.org; Mon, 16 Sep 2024 16:54:56 -0400 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 1sqIkK-0001eU-1y; Mon, 16 Sep 2024 16:54:56 -0400 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:Subject; bh=igb3au48/vNmTUWcoMjFlA7e3Pq5CL3W/t/A+oWiLs8=; b=vTn/ZGcZbj80ruyE+rYJWER+8Z6w1CZcS3mdfCbkaYvjCtJx2COuwj59GQXK0ENsGtkckVBIP8K1vKxIS2qJ9HXs0OyTGwvQmxqGy/qly+0BPyky43XJlNlhi4TsWLfk/Lg9tA19T/J8cbirCxQLWKIXvzu/rjbJBp2chkN4ZEOUlacIIuyUP/o/MAs1mgKWJ/qVbMR5B9NUMggDcHSy0BmDTcyadQ4GZuGhQYJD6U30J5q2rBdsTs4Ksb3WvC1PNOr6s3vvIfDUFbyj2A1YRF4xMOvs6UWx1nS6SjSUdlQcWGjTF72W17wk9ZHP74xRFax3QQazxTRkoPFONvVy/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqIkP-0007xg-Oj; Mon, 16 Sep 2024 16:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73305] [PATCH 1/2] gnu: python-pycurl: Fix build by running the tests single-threaded. 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: Mon, 16 Sep 2024 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.172652008930577 (code B ref -1); Mon, 16 Sep 2024 20:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2024 20:54:49 +0000 Received: from localhost ([127.0.0.1]:53431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqIkC-0007x5-Im for submit@debbugs.gnu.org; Mon, 16 Sep 2024 16:54:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:33894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqIkA-0007wy-QF for submit@debbugs.gnu.org; Mon, 16 Sep 2024 16:54:47 -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 ) id 1sqIjw-0002Gu-Jl for guix-patches@gnu.org; Mon, 16 Sep 2024 16:54:32 -0400 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqIju-0001cu-N8 for guix-patches@gnu.org; Mon, 16 Sep 2024 16:54:32 -0400 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a7a843bef98so486624066b.2 for ; Mon, 16 Sep 2024 13:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726520068; x=1727124868; darn=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=igb3au48/vNmTUWcoMjFlA7e3Pq5CL3W/t/A+oWiLs8=; b=Qlc1nErxui52MufVTVxBuS7ftQDt9o1GSXjA73xjt0g6cuJ/YYyoNmTXl+zPUZaEET nbgdtp6eDwxgYVfxpp97/i5oPh9u0mjDv+PXXEXAoAxnDKI1qqJgslaIpyeeDcwGxDCc 5FQC2PSqeq/5M2PI2oGvAvqnFqxFL19QsWS00FJd6DW7grJeIZtao5gcFvatZH9QQv0P FoWyqST5jb8AKYnnkao6ss1zqizyVR8/in/ItFYCyWjBdM5QCCEn69NhKNV8zIQtsv+C 8xwfgoObETbMU8I15m18wYxLiYuR71ReTmY+nbkzZ1MOkzw8wk9EFO/zVk7w2GychO/K HE/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726520068; x=1727124868; 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=igb3au48/vNmTUWcoMjFlA7e3Pq5CL3W/t/A+oWiLs8=; b=Bklm9mh1OQoC2Tvc9rPeRaFoDeFxaKvalEnHHis8vjIVw09KLgdtXULzxKLiqzKxWs osFjm5TQi8G0ngOoWs76CxpRMddT6NCxOZC1GL6QcjeIMubTu0NPrBJHHzSZeHeZ3tfE DmKHUiKhJZW5/qPdz67nuGI5q43/unggWop0Jc3OdOf+ShtlPSRidv+TMlXNDUBKVuD7 j2RYNoH2nKudq5vIYcj38Ie9dqFNS8rULwJNN3RfPbN9VPWCoaWaYtkHfxIT2UmIQrF9 2Wad8Vjb14pBlnQHaIG3xEb9ow4DMou4Y1HxI/QafhJjGNCVrou+2jn5bwrYYnCDMDEL 2c1w== X-Gm-Message-State: AOJu0Yx+iraWVaAwW0OWyiPSuQBEQlNC5Wg9msPT5CgHY9phOspy3AyT i4/+VlotLTCsrahVR1iklB2ArtFmCghyabrBiVJOyeRMwrEy4wgNZMjoTg== X-Google-Smtp-Source: AGHT+IGIuY/hfEm/6tYG31IfzaAVBPIVxhM9sRzfKDoCOBaKfOkGsbrmf0YEuET30vn3/IX2AReR3A== X-Received: by 2002:a17:907:6d26:b0:a8b:6ee7:ba2c with SMTP id a640c23a62f3a-a9047c9c2cemr1172441766b.16.1726520068075; Mon, 16 Sep 2024 13:54:28 -0700 (PDT) Received: from lelap.lan (2a00-1f40-b161-3510--477.pool6.panelnet.hu. [2a00:1f40:b161:3510::477]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a90612b3997sm360461866b.104.2024.09.16.13.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 13:54:27 -0700 (PDT) From: attila.lendvai@gmail.com X-Google-Original-From: attila@lendvai.name Date: Mon, 16 Sep 2024 22:53:47 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=attila.lendvai@gmail.com; helo=mail-ej1-x635.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-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: 4C3E46A55A X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -7.84 X-Migadu-Spam-Score: -7.84 X-TUID: Ak79joE6YKwO 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 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8b29f1cd936..94e349bedb0 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2024,15 +2024,18 @@ (define-public python-pycurl (build-system pyproject-build-system) (arguments '(#:test-flags - (list "-n" "auto" + (list + ;; The test suite is not thread safe: + ;; - some tests want to use the same port: address already in use + ;; - some tests use signal.Signal, i.e. main-thread only + "-n" "1" "-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" @@ -2045,9 +2048,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: 4f86fa20179ded1e6314eeba7da17309d501a32f -- 2.46.0