Your message dated Sun, 06 Jan 2019 20:55:38 +0000
with message-id <e1ggfsm-0007gw...@fasolo.debian.org>
and subject line Bug#917597: fixed in pytest-qt 3.2.2-1
has caused the Debian Bug report #917597,
regarding FTBFS: test failures
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.)
--
917597: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917597
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:pytest-qt
Version: 2.3.1-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Hi!
I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.
While doing that, I've found that pytest-qt fails multiple tests in
its testsuite. I've tested further and I can reproduce the same thing
in a normal amd64 build too, so it's not an architecture-specific
problem.
...
tests/test_basics.py ................................ [ 10%]
tests/test_exceptions.py ............. [ 14%]
tests/test_logging.py .......................F..... [ 23%]
tests/test_modeltest.py ............................. [ 33%]
tests/test_qtest_proxies.py ......x..... [ 36%]
tests/test_wait_signal.py .............................................. [ 51%]
........................................................................ [ 74%]
..................................................s...s............s.... [ 97%]
. [ 98%]
tests/test_wait_until.py ...... [100%]
=================================== FAILURES ===================================
___________________ test_logging_mark_with_invalid_argument ____________________
testdir = <Testdir
local('/tmp/pytest-of-sbuild/pytest-0/test_logging_mark_with_invalid_argument0')>
def test_logging_mark_with_invalid_argument(testdir):
"""
Test qt_log_ignore mark with invalid keyword argument.
:type testdir: _pytest.pytester.TmpTestdir
"""
testdir.makepyfile(
"""
import pytest
@pytest.mark.qt_log_ignore('match-mark', does_not_exist=True)
def test1():
pass
"""
)
res = testdir.runpytest()
lines = [
'*= ERRORS =*',
'*_ ERROR at setup of test1 _*',
"*ValueError: Invalid keyword arguments in {'does_not_exist': True}
"
"for qt_log_ignore mark.",
# summary
'*= 1 error in*',
]
> res.stdout.fnmatch_lines(lines)
E Failed: nomatch: '*= ERRORS =*'
E and: '============================= test session starts
=============================='
E and: '============================= test session starts
=============================='
E and: 'platform linux -- Python 3.7.2rc1, pytest-3.10.1, py-1.7.0,
pluggy-0.8.0'
E and: 'PyQtAPI 1.0 -- Qt runtime 2.5 -- Qt compiled 3.5'
E and: 'rootdir:
/tmp/pytest-of-sbuild/pytest-0/test_logging_mark_with_invalid_argument0,
inifile:'
E and: 'plugins: qt-2.3.1'
E and: 'collected 1 item'
E and: ''
E and: 'test_logging_mark_with_invalid_argument.py E
[100%]'
E and: ''
E fnmatch: '*= ERRORS =*'
E with: '==================================== ERRORS
===================================='
E fnmatch: '*_ ERROR at setup of test1 _*'
E with: '___________________________ ERROR at setup of test1
____________________________'
E nomatch: "*ValueError: Invalid keyword arguments in {'does_not_exist':
True} for qt_log_ignore mark."
E and: ''
E and: 'self = <pytestqt.logging.QtLoggingPlugin object at
0xe72ad8f0>'
E and: "item = <Function 'test1'>"
E and: ''
E and: ' def pytest_runtest_setup(self, item):'
E and: " if item.get_marker('no_qt_log'):"
E and: ' return'
E and: " m = item.get_marker('qt_log_ignore')"
E and: ' if m:'
E and: " if not set(m.kwargs).issubset(set(['extend'])):"
E and: ' raise ValueError("Invalid keyword arguments
in {0!r} for "'
E and: '> "qt_log_ignore
mark.".format(m.kwargs))'
E fnmatch: "*ValueError: Invalid keyword arguments in {'does_not_exist':
True} for qt_log_ignore mark."
E with: "E ValueError: Invalid keyword arguments in
{'does_not_exist': True} for qt_log_ignore mark."
E nomatch: '*= 1 error in*'
E and: ''
E and:
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pytestqt/build/pytestqt/logging.py:28:
ValueError'
E and: '=============================== warnings summary
==============================='
E and: 'test_logging_mark_with_invalid_argument.py::test1'
E and: '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pytestqt/build/pytestqt/logging.py:26:
RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged
marks which are hard to deal with correctly.'
E and: ' Please use node.get_closest_marker(name) or
node.iter_markers(name).'
E and: ' Docs:
https://docs.pytest.org/en/latest/mark.html#updating-code'
E and: " if not set(m.kwargs).issubset(set(['extend'])):"
E and: '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pytestqt/build/pytestqt/logging.py:28:
RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged
marks which are hard to deal with correctly.'
E and: ' Please use node.get_closest_marker(name) or
node.iter_markers(name).'
E and: ' Docs:
https://docs.pytest.org/en/latest/mark.html#updating-code'
E and: ' "qt_log_ignore mark.".format(m.kwargs))'
E and: ''
E and: '-- Docs: https://docs.pytest.org/en/latest/warnings.html'
E and: '===================== 2 warnings, 1 error in 0.14 seconds
======================'
E and: ''
E remains unmatched: '*= 1 error in*'
Full log online at
https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/pytest-qt_2.3.1-2_armel.log
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: pytest-qt
Source-Version: 3.2.2-1
We believe that the bug you reported is fixed in the latest version of
pytest-qt, 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 917...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Nový <on...@debian.org> (supplier of updated pytest-qt 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: Sun, 06 Jan 2019 21:12:33 +0100
Source: pytest-qt
Binary: python3-pytestqt python-pytestqt-doc
Architecture: source
Version: 3.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Ondřej Nový <on...@debian.org>
Description:
python-pytestqt-doc - documentation for pytest-qt
python3-pytestqt - pytest plugin for Qt application testing (Python 3)
Closes: 917597
Changes:
pytest-qt (3.2.2-1) unstable; urgency=medium
.
* Team upload.
* New upstream release (Closes: #917597)
* d/patches/Remove-mouseEvent-proxy-method.patch: Dropped, not needed
anymore
* d/patches/Skip-tests-requiring-a-window-manager.patch: Rebased
* Enable autopkgtest-pkg-python testsuite
* Bump debhelper compat level to 12
* Bump Standards-Version to 4.3.0 (no changes)
* d/copyright: Update for new upstream release
Checksums-Sha1:
1b47bd55cdde9c210b4eb70b011c2e87d7bc5157 2411 pytest-qt_3.2.2-1.dsc
359068c80e5fe993a342fe4cec9940c642c5fe07 114618 pytest-qt_3.2.2.orig.tar.gz
9cb9b19b2cff16472f5b0d2a2419bca6b026252c 4496 pytest-qt_3.2.2-1.debian.tar.xz
3c24ce3be716aae18eda81f518af79e4f1545287 11164
pytest-qt_3.2.2-1_amd64.buildinfo
Checksums-Sha256:
73b4ee80c8e438b0580fd7010dc3e9ef1755622ceaf03479ddd59983a135ccf6 2411
pytest-qt_3.2.2-1.dsc
f6ecf4b38088ae1092cbd5beeaf714516d1f81f8938626a2eac546206cdfe7fa 114618
pytest-qt_3.2.2.orig.tar.gz
3e8ef0879e3d4c016d9029680255cfe6f20cbd0d5cc7436df1babbdfc9a81d3e 4496
pytest-qt_3.2.2-1.debian.tar.xz
0d432ebebc19c0a8844d5766a07d4337b8fb8b13c7dd72b17de25dfe4ded857d 11164
pytest-qt_3.2.2-1_amd64.buildinfo
Files:
3b4d6d7d78793db5a0e4f72842b45e13 2411 python optional pytest-qt_3.2.2-1.dsc
f35eee66fdfee776dd4523ab09c2da73 114618 python optional
pytest-qt_3.2.2.orig.tar.gz
b5c04d48588c7088002f5d814490a6e6 4496 python optional
pytest-qt_3.2.2-1.debian.tar.xz
58cbdf9cd90d6bb7f062771158fdaebf 11164 python optional
pytest-qt_3.2.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEPZg8UuuFmAxGpWCQNXMSVZ0eBksFAlwyYwQACgkQNXMSVZ0e
BkuWkQ/+L0DtJzCwVAYVGotebjgC6H7XMNRnWuzhPtwtjB0LWpGWY5gHou1QB9gB
CdnBZGmGR/N4X0hHd4jI2gifs1/feh9h/0i/BV3ryrzdgTF+bza2tIIn0W6WRvaQ
1sU/zoZRU1WFg7yD77sGBBnlvfctwqFvGphuY7GAlp5jUqippIKDUvYfIwK7md/m
YxOGZhydubWGJAGoZSNt9r1vkKA4Le5EnMmyDf5sflEPke9BSECqI7aqSPmrlIjg
GdopC2tKl8D4PZ27QLqW4uR5d88JLxgUKWHBUlxIF4BW1RL/MfUmoDZ7K51iw5k4
0+MXgmYJf5s3poVhrPYNX8eRrR0HJeXtn5BrhXY8sudqL7ypuh9Q87TT/FTzhewc
WXo9/Oh2TwiZj1SnKOL1kDgTG0+toiqFERg/92IYDyFuZHK4oU3i5yhGImyIEMeN
LC28ejGQe7f2AOfTntKsrSsCYKWiWurp7k3mwYVCXxRPangTBgB9c3hksqECOF0m
zf1e2iNClI/T0tX0Qleo0QhnEDFdGaKFnIPqDkllc6u8KqajWgn1V2HpNKO14zQ6
G/L4ObE86DiTGLOKGrzcIQMLQyOr3FSzkaNTFh21YJB2KlqSn0fae+CYuz+51UQZ
/av08WPCBzi0Xdhi1j6odQt6ATJo+S3SvAg45uhkypRycDZUOQs=
=iCun
-----END PGP SIGNATURE-----
--- End Message ---