Source: python-xopen Version: 1.7.0-1 Severity: serious User: debian...@lists.debian.org Usertags: flaky
Dear maintainer(s),I looked at the results of the autopkgtest of your package. I noticed that it regularly fails on some architectures. I noticed this particular failure at least on armel, armhf, s390x. It's not always the same test that hits the timeout. I suggest you increase the timeouts, e.g. double or triple them.
Because the unstable-to-testing migration software now blocks on regressions in testing, flaky tests, i.e. tests that flip between passing and failing without changes to the list of installed packages, are causing people unrelated to your package to spend time on these tests. Don't hesitate to reach out if you need help and some more information from our infrastructure. Paul https://ci.debian.net/data/autopkgtest/testing/s390x/p/python-xopen/29614648/log.gz=================================== FAILURES =================================== ___________________________ test_truncated_file[.xz] ___________________________
extension = '.xz'create_truncated_file = <function create_truncated_file.<locals>._create_truncated_file at 0x3ff8e8bf130>
@pytest.mark.timeout(5) @pytest.mark.parametrize("extension", [".gz", ".bz2", ".xz"]) def test_truncated_file(extension, create_truncated_file): truncated_file = create_truncated_file(extension) with pytest.raises((EOFError, IOError)): f = xopen(truncated_file, "r")
f.read()
tests/test_xopen.py:302:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PipedXzReader('/tmp/pytest-of-debci/pytest-0/test_truncated_file__xz_0/large.xz', mode='rt', program='xz', threads=1)
args = () def read(self, *args) -> AnyStr:
return self._file.read(*args)
E Failed: Timeout >5.0s /usr/lib/python3/dist-packages/xopen/__init__.py:455: Failed___________________________ test_truncated_with[.xz] ___________________________
extension = '.xz'create_truncated_file = <function create_truncated_file.<locals>._create_truncated_file at 0x3ff8e7c5990>
@pytest.mark.timeout(5) @pytest.mark.parametrize("extension", [".gz", ".bz2", ".xz"]) def test_truncated_with(extension, create_truncated_file): truncated_file = create_truncated_file(extension) with pytest.raises((EOFError, IOError)): with xopen(truncated_file, "r") as f:
f.read()
tests/test_xopen.py:323:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PipedXzReader('/tmp/pytest-of-debci/pytest-0/test_truncated_with__xz_0/large.xz', mode='rt', program='xz', threads=1)
args = () def read(self, *args) -> AnyStr:
return self._file.read(*args)
E Failed: Timeout >5.0s /usr/lib/python3/dist-packages/xopen/__init__.py:455: Failed=========================== short test summary info ============================
FAILED tests/test_xopen.py::test_truncated_file[.xz] - Failed: Timeout >5.0s FAILED tests/test_xopen.py::test_truncated_with[.xz] - Failed: Timeout >5.0s================== 2 failed, 263 passed, 3 skipped in 17.21s ===================
OpenPGP_signature
Description: OpenPGP digital signature