From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WGDxCp2IOmRrFQAASxT56A (envelope-from ) for ; Sat, 15 Apr 2023 13:21:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yC8DCp2IOmTzXQEAG6o9tA (envelope-from ) for ; Sat, 15 Apr 2023 13:21:01 +0200 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 A466A37B2D for ; Sat, 15 Apr 2023 13:21:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pndxK-0003ek-9S; Sat, 15 Apr 2023 07:20:34 -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 1pndxG-0003cS-EF for guix-devel@gnu.org; Sat, 15 Apr 2023 07:20:30 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pndx1-0002kY-7P for guix-devel@gnu.org; Sat, 15 Apr 2023 07:20:30 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0A0CE1D91; Sat, 15 Apr 2023 13:20:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s6l7vxMBEfke; Sat, 15 Apr 2023 13:20:09 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3575637A; Sat, 15 Apr 2023 13:20:09 +0200 (CEST) Date: Sat, 15 Apr 2023 13:20:07 +0200 From: Andreas Enge To: Kaelyn Cc: guix-devel , 62843@debbugs.gnu.org Subject: Re: python-pytest on core-updates (was: i686 core-updates failure.) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681557660; a=rsa-sha256; cv=none; b=B6pIr01Sl7l7s6hS4jDxCfH+zJZMhBJkzaFxXFbpeq7s7a02mDgJ22c5I3ahKJ/2rnRyjz DMgLkQO5vmn1k5D1ADbvKxhTUhUwz1pQBX+mXAJr908mR/43bznckhI5yIxljWDJqWZldW 8LfYSvgzuVelG4yZ/MiwcTchFC+wXTi3bGQKKi4fUlSBbmkveJPx6u/U7Z2j0v7bjqVkaR RE9/j5Q4GpUvfEox0oKFHm7pAe7XvIW+dDi/WJt0iIifiitYzUgaLLt9g4y2yaE/rge8Zw 0jv/vMAqGUMGPKOTqFwVUtwkovdql6s+r8dpSanSpsfyIez2M1rBFDpZSnaMbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681557660; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=VvdwZFYKIXREtcvKcFIfaE414Jg7llbsSHA94+zh2Ok=; b=UF5xbiA03WJtEbdXPceYzquJ5BYoqTopz9PtVAarthODnFSAE12wJvgCl7ei4PS0OR8b00 thVHFDkViyQLJPPFndpID/3OnFrE0pn1BGazyL3j7Sl0tln8G9vxzt83ZXzLewlWg6ghJu Gf8y7H6T0lt2Lgvt5+GhwU6XOxQRobhLHAfhMB1C40uFIeLJZRTBo63kXkMGaN14NnVkmt v8FMvj2AQoHxJPuAdRc7mCw5g56Zmlle829YwwnI/SoRrbbhiLoEhSGN781Z14RXi/H+yB AI+JwP5Du+WiqM0db4h3AFt+yWrwV4zS6qzZIOrkx7N+5vk3nr/OuieDY46Szg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.52 X-Spam-Score: -2.52 X-Migadu-Queue-Id: A466A37B2D Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: Sx14ndqsQFO9 Am Fri, Apr 14, 2023 at 08:05:46PM +0000 schrieb Kaelyn: > I just sent in https://issues.guix.gnu.org/62843 to disable the two tests for i686 and armhf (disabling TestKind.test_all for armhf might not be needed, but the Gentoo package definition suggests the huge array test will fail for armhf as well). Thanks for taking care of this! Disabling the large array test on all 32 bit architectures sounds reasonable, and I think that disabling the fortran test on armhf is a reasonable approach also given that we have no CI for this architecture. The recent master/staging merge apparently broke python-pytest even on x86_64, see message below, which should be sorted out first. Andreas =================================== FAILURES =================================== ___________________ test_raise_assertion_error_raising_repr ____________________ pytester = def test_raise_assertion_error_raising_repr(pytester: Pytester) -> None: pytester.makepyfile( """ class RaisingRepr(object): def __repr__(self): raise Exception() def test_raising_repr(): raise AssertionError(RaisingRepr()) """ ) result = pytester.runpytest() if sys.version_info >= (3, 11): # python 3.11 has native support for un-str-able exceptions result.stdout.fnmatch_lines( ["E AssertionError: "] ) else: > result.stdout.fnmatch_lines( ["E AssertionError: "] ) E Failed: nomatch: 'E AssertionError: ' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.10.7, pytest-7.1.3, pluggy-1.0.0' E and: 'rootdir: /tmp/guix-build-python-pytest-7.1.3.drv-0/pytest-of-nixbld/pytest-0/test_raise_assertion_error_raising_repr0' E and: 'collected 1 item' E and: '' E and: 'test_raise_assertion_error_raising_repr.py F [100%]' E and: '' E and: '=================================== FAILURES ===================================' E and: '______________________________ test_raising_repr _______________________________' E and: '' E and: ' def test_raising_repr():' E and: '> raise AssertionError(RaisingRepr())' E and: 'E AssertionError: ' E and: '' E and: 'test_raise_assertion_error_raising_repr.py:5: AssertionError' E and: '=========================== short test summary info ============================' E and: 'FAILED test_raise_assertion_error_raising_repr.py::test_raising_repr - Assert...' E and: '============================== 1 failed in 0.01s ===============================' E remains unmatched: 'E AssertionError: ' /tmp/guix-build-python-pytest-7.1.3.drv-0/pytest-7.1.3/testing/test_assertion.py:1655: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/guix-build-python-pytest-7.1.3.drv-0/pytest-of-nixbld/pytest-0/test_raise_assertion_error_raising_repr0 collected 1 item test_raise_assertion_error_raising_repr.py F [100%] =================================== FAILURES =================================== ______________________________ test_raising_repr _______________________________ def test_raising_repr(): > raise AssertionError(RaisingRepr()) E AssertionError: test_raise_assertion_error_raising_repr.py:5: AssertionError =========================== short test summary info ============================ FAILED test_raise_assertion_error_raising_repr.py::test_raising_repr - Assert... ============================== 1 failed in 0.01s =============================== =========================== short test summary info ============================ FAILED testing/test_assertion.py::test_raise_assertion_error_raising_repr - F... = 1 failed, 3040 passed, 92 skipped, 15 deselected, 9 xfailed in 290.90s (0:04:50) = error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: ("-vv" "-k" " not test_argcomplete and not test_code_highlight and not test_color_yes") exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 292.0 seconds command "pytest" "-vv" "-k" " not test_argcomplete and not test_code_highlight and not test_color_yes" failed with status 1 builder for `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed with exit code 1 @ build-failed /gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv - 1 builder for `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed with exit code 1 derivation '/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' offloaded to '141.80.167.159' failed: build of `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed build of /gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv failed View build log at '/var/log/guix/drvs/rd/9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv.gz'.