Summary: | =dev-libs/libxml2-2.9.8 - src_test(): FileNotFoundError: [Errno 2] No such file or directory: '../../test/valid/REC-xml-19980210.xml' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | mgorny, qa |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | dev-libs:libxml2-2.9.2-r4:20151112-080234.log |
I actually have the same error, I wonder how I did not see it before. ok got it, this is out-of-tree build for python modules that triggers this problem. hmm, I didn't get this with libxml2-2.9.8; has this perhaps been somehow tweaked over time to not be a problem anymore? seeing the issue now on arm64, but it doesn't die out The test rule is apparently broken and does not fail on test failures. I'm going to call this a major issue since ignored test failures result in people missing them and wrongly adding support for new Python versions when they are clearly regressions. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00985c576a4af05b6cc871fe63f93a6537bb20e commit c00985c576a4af05b6cc871fe63f93a6537bb20e Author: Mike Frysinger <vapier@chromium.org> AuthorDate: 2019-01-03 10:52:31 +0000 Commit: Mike Frysinger <vapier@gentoo.org> CommitDate: 2019-01-03 10:54:21 +0000 dev-libs/libxml2: fix reader5.py test #565576 Closes: https://bugs.gentoo.org/565576 Signed-off-by: Mike Frysinger <vapier@gentoo.org> .../files/libxml2-2.9.8-out-of-tree-test.patch | 40 ++++++++++++++++++++++ dev-libs/libxml2/libxml2-2.9.8.ebuild | 3 ++ 2 files changed, 43 insertions(+) |
Created attachment 416762 [details] dev-libs:libxml2-2.9.2-r4:20151112-080234.log ## running Python regression tests Traceback (most recent call last): File "/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2/python/tests/reader5.py", line 17, in <module> f = open('../../test/valid/REC-xml-19980210.xml', 'rb') FileNotFoundError: [Errno 2] No such file or directory: '../../test/valid/REC-xml-19980210.xml' -- reader5.py make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2-.hppa-python3_4/python/tests'