Your message dated Tue, 03 Jan 2023 02:37:41 +0000
with message-id <e1pcxbn-00cxzt...@fasolo.debian.org>
and subject line Bug#1026021: fixed in pytest-forked 1.4.0-2
has caused the Debian Bug report #1026021,
regarding pytest-forked: FTBFS with pytest 7.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1026021: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026021
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-forked
Version: 1.4.0-1
Severity: serious
Tags: ftbfs patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

your package FTBFS with pytest 7.2; the test summary has been augmented
with a reason, which is not captured by test_xfail_behavior.py:

Relevant excerpt from build log:


        pytest_run_result = testdir.runpytest(test_module, "-ra")
>       pytest_run_result.stdout.fnmatch_lines(expected_lines)
E       Failed: fnmatch: '*==== test session starts ====*'
E          with: '============================= test session starts 
=============================='
E       nomatch: 'plugins: forked*'
E           and: 'platform linux -- Python 3.10.9, pytest-7.2.0, 
pluggy-1.0.0+repack'
E           and: 'rootdir: /tmp/pytest-of-roehling/pytest-1/test_xfail2'
E       fnmatch: 'plugins: forked*'
E          with: 'plugins: forked-1.4.0'
E       exact match: 'collected 1 item'
E       nomatch: 'test_xfail.py x*'
E           and: ''
E       fnmatch: 'test_xfail.py x*'
E          with: 'test_xfail.py x                                               
           [100%]'
E       nomatch: '*==== short test summary info ====*'
E           and: ''
E       fnmatch: '*==== short test summary info ====*'
E          with: '=========================== short test summary info 
============================'
E       nomatch: 'XFAIL test_xfail.py::test_function'
E           and: 'XFAIL test_xfail.py::test_function - reason: The process gets 
terminated; pytest-forked reason: :-1: running the test CRASHED with signal 15'
E           and: '============================== 1 xfailed in 0.01s 
=============================='
E       remains unmatched: 'XFAIL test_xfail.py::test_function'



The following patch will fix the issue:


diff --git a/testing/test_xfail_behavior.py b/testing/test_xfail_behavior.py
index 8c6e55a..91f7638 100644
- --- a/testing/test_xfail_behavior.py
+++ b/testing/test_xfail_behavior.py
@@ -55,7 +55,7 @@ def test_xfail(is_crashing, is_strict, testdir):
     failures_test_name = "*____ test_function ____*"
     failures_test_reason = "[XPASS(strict)] The process gets terminated"
     short_test_summary_title = "*==== short test summary info ====*"
- -    short_test_summary = "{expected_word!s} 
test_xfail.py::test_function".format(
+    short_test_summary = "{expected_word!s} 
test_xfail.py::test_function*".format(
         **locals()
     )
     if expected_lowercase == "xpassed":


Cheers
Timo


-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmOYYS4ACgkQ+C8H+466
LVlWVwv/RMURYZaQ0HCiKpTLUQxLWgaR1iROXq3liPamtLlVv5UpdK6B70Y8V4UM
DllqamD2qcUtKM6/U9VsEXaei+zR4yNRqqFcTyiim+fyaj2jXEPDyvMsXbIagPwf
V8msgNI4Kp+jdC3wob4iz5P48MRfkZ7ocajbSj6R/5baEck2KE4OSOdWpo5/4Mqa
D2K9C/WEIS/kqiB1m/+gIJhDVzbztU+5S6R/ou93sprNYBsdWmrv1l6BsdsLXbYT
D18OPHanPciLotHNtx5KkqNVJ6jR6RwBaCVZuunofiPahZ4x+coBcmPz4kVyWag/
d+MEUH1RHYKagGsMyizcXkqlGjvD9+d5TzBxC6pdNs587TPz42I5yMrMWjr+Ee0J
4JH9pqJA8U10KHUjOYLR+CjiJ70msfvODeLqiuZ3Gbr1jCvA4JSU33OfcWT1VLN3
3pHX/UJGNSObbpFyxmUXdxpj/3wo3FUl59zI0ADv7xOef6xmdayKnh04KaZOoFGx
l4jQSWMf
=Qwob
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: pytest-forked
Source-Version: 1.4.0-2
Done: Scott Talbert <s...@techie.net>

We believe that the bug you reported is fixed in the latest version of
pytest-forked, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1026...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <s...@techie.net> (supplier of updated pytest-forked package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 02 Jan 2023 19:45:23 -0500
Source: pytest-forked
Architecture: source
Version: 1.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Scott Talbert <s...@techie.net>
Changed-By: Scott Talbert <s...@techie.net>
Closes: 1026021
Changes:
 pytest-forked (1.4.0-2) unstable; urgency=medium
 .
   * Fix tests with pytest >= 7.2.0 (Closes: #1026021)
Checksums-Sha1:
 d69e08a33e93bc6a1a6d4eb3cd2c63a829452e1f 2165 pytest-forked_1.4.0-2.dsc
 058ef4d704fd3f487326cbb44bbdb43a3dacb352 3952 
pytest-forked_1.4.0-2.debian.tar.xz
 d227c86860a08f2e298fa2a655adddc9cf536df4 8228 
pytest-forked_1.4.0-2_source.buildinfo
Checksums-Sha256:
 dc84330d908f4a1aac5ddc177d941eaff4fea79729d70dc681d14de659d38186 2165 
pytest-forked_1.4.0-2.dsc
 9c370d42164efb19d136b01c19d4dc97830d2d171616b2e95b1be8b407fd26b2 3952 
pytest-forked_1.4.0-2.debian.tar.xz
 b72b2905a169a2b771170dfd454ac5ac2c8e5c1c80a54cd7154b7b2bbe7df741 8228 
pytest-forked_1.4.0-2_source.buildinfo
Files:
 933cdda6c8665f9e9680d2855c4e0095 2165 python optional pytest-forked_1.4.0-2.dsc
 2f843090a2712b9a0401c0c0bb7a5f2c 3952 python optional 
pytest-forked_1.4.0-2.debian.tar.xz
 cfb19aef1bb84a01a226ae29a98b7a02 8228 python optional 
pytest-forked_1.4.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmOziM8PHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iiYD4P/isCPVWV+Msg1yI4SUNbdt85GJ4eeDyxvIJm
BO5zdrr5zRhbuPAlClgX/hnEPsMtOqojBpWsm1PuzBXwtt6XxvsgVRsRvDKC44WY
/sCHkEcpsrs64Aw/Ch3G/abF7Zt8lRVnLvFnqyVcaj0f7jHiFy8K+pWZ6tHUJbTY
s9Vdj9tZ6bI8sj7FHE6r8wbnG12mYNbpv/F07bYDnwFnegbDvRuvLQIKgJEmmG22
tR110x7jKkiQ4fUoXpCDdAoWGlybERYXVbWwBVsnc6I6IaYcU2V085yuL3bAPq1M
0FhXirSBPlHaPW05a61G5Dt/p9EVxiXLS3E9G6+s+Qf2erv0I2EAMZ2S7kTAcL5W
Ot7R2TamaJ8C3H6B65iJRjh/h1CkhPNqGRp+/hM8M9AReBcNsnOxQZrepgOXDPOl
JO8Jt5AEbtAVUYouzAVJpbO9xMnau54qq3x581cXuLcIQmVUvZhcgEcuVXevDCJN
Eyans1oBJtmsYyZbaeqGkzEEVSJf4XPen75pO1S2MJexF1Fc66iFiBKKtHJxmrVp
6a4dGz20iZst31HkIHObcueiXQRjqlEXOP2RnfJq+3nEkRS4VgFdyUif+rY4gD3t
fvUHVuh7c9pA0m93KQaX1U2CqAH2RHglyvm/mxkuNaFJshTLfADdw0xRXJYPVxRn
HDYXf5+k
=mI0O
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to