Bug 2026941
| Summary: | python-lxml %check section runs 0 tests, which is treated as success | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-lxml | Assignee: | Python Maintainers <python-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | pviktori, torsava |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-lxml-4.6.3-5.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 13:12:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miro Hrončok
2021-11-26 14:47:06 UTC
Fedora fix included in https://src.fedoraproject.org/rpms/python-lxml/pull-request/11 -- unfortunately not all tests pass :( This has been fixed. It has passed gating. I have checked the build logs in brew on all architectures. The %check section looks like this on all of them (not an exact match obviously):
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QROPuy
+ umask 022
+ cd /builddir/build/BUILD
+ cd lxml-4.6.3
+ cp -a build/lib.linux-aarch64-3.9/lxml src/
+ /usr/bin/python3 test.py -vuf
.......................................................................ss...s............s...ss...........s......................................................................................................................................................................................................................................................................................................................................................................................ssss...ssssssssssssss...ssssssssssssss............................................................................................................................................................................................................................................................................................ssss....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s.............s.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 1931 tests in 4.698s
OK
Skipping tests in lxml.cssselect - external cssselect package is not installed
Comparing with ElementTree 1.3.0
TESTED VERSION: 4.6.3
Python: sys.version_info(major=3, minor=9, micro=9, releaselevel='final', serial=0)
lxml.etree: (4, 6, 3, 0)
libxml used: (2, 9, 12)
libxml compiled: (2, 9, 12)
libxslt used: (1, 1, 34)
libxslt compiled: (1, 1, 34)
FS encoding: utf-8
Default encoding: utf-8
Max Unicode: 1114111
+ RPM_EC=0
Hence I would add Verified:Tested, but it was me who shipped the change.
(In reply to Miro Hrončok from comment #5) > I have checked the build logs in brew on all architectures. The %check > section looks like this on all of them (not an exact match obviously): > > Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QROPuy > + umask 022 > + cd /builddir/build/BUILD > + cd lxml-4.6.3 > + cp -a build/lib.linux-aarch64-3.9/lxml src/ > + /usr/bin/python3 test.py -vuf > .......................................................................ss... > s............s...ss...........s.............................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ....................ssss...ssssssssssssss...ssssssssssssss................... > ............................................................................. > ............................................................................. > ............................................................................. > ..................................ssss....................................... > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................ > s.............s.............................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ............................................................................. > ........................................ > ---------------------------------------------------------------------- > Ran 1931 tests in 4.698s > OK > Skipping tests in lxml.cssselect - external cssselect package is not > installed > Comparing with ElementTree 1.3.0 > TESTED VERSION: 4.6.3 > Python: sys.version_info(major=3, minor=9, micro=9, > releaselevel='final', serial=0) > lxml.etree: (4, 6, 3, 0) > libxml used: (2, 9, 12) > libxml compiled: (2, 9, 12) > libxslt used: (1, 1, 34) > libxslt compiled: (1, 1, 34) > FS encoding: utf-8 > Default encoding: utf-8 > Max Unicode: 1114111 > + RPM_EC=0 > > Hence I would add Verified:Tested, but it was me who shipped the change. Testing looks good, reported issue is fixed, setting Verified: Tested. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: python-lxml), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2476 |