RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2095271 - testsuite failures caused by expat: test_minidom, test_xml_etree_c, test_xml_etree
Summary: testsuite failures caused by expat: test_minidom, test_xml_etree_c, test_xml_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python39
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Charalampos Stratakis
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-09 12:04 UTC by Lukáš Zachar
Modified: 2022-11-08 10:46 UTC (History)
2 users (show)

Fixed In Version: python39-3.9-8070020220615144209.be1f0497 python39-3.9.13-1.module+el8.7.0+15656+ffd4a257
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 09:47:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-124781 0 None None None 2022-06-09 12:20:40 UTC
Red Hat Product Errata RHSA-2022:7592 0 None None None 2022-11-08 09:47:16 UTC

Description Lukáš Zachar 2022-06-09 12:04:11 UTC
Description of problem:

Multiple tests are failing with 
`xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 5`

Related to expat backport/rebase (bug 2060435)

Version-Release number of selected component (if applicable):
expat-2.2.5-8.el8_6.2.x86_64
python39-3.9.7-1.module+el8.6.0+12577+62b8d0a1.x86_64


How reproducible:
always

Steps to Reproduce:
1. python3.9 -m test test_minidom test_xml_etree test_xml_etree_c

Actual results:
0:00:00 load avg: 0.04 Run tests sequentially
0:00:00 load avg: 0.04 [1/3] test_minidom
test test_minidom failed -- multiple errors occurred; run in verbose mode for details
0:00:00 load avg: 0.04 [2/3/1] test_xml_etree -- test_minidom failed (2 errors)
test test_xml_etree failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.9/xml/etree/ElementTree.py", line 1720, in feed
    self.parser.Parse(data, False)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.9/test/test_xml_etree.py", line 2166, in test_issue3151
    e = ET.XML('<prefix:localname xmlns:prefix="${stuff}"/>')
  File "/usr/lib64/python3.9/xml/etree/ElementTree.py", line 1347, in XML
    parser.feed(text)
  File "/usr/lib64/python3.9/xml/etree/ElementTree.py", line 1722, in feed
    self._raiseerror(v)
  File "/usr/lib64/python3.9/xml/etree/ElementTree.py", line 1629, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0

0:00:00 load avg: 0.04 [3/3/2] test_xml_etree_c -- test_xml_etree failed (1 error)
test test_xml_etree_c failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.9/test/test_xml_etree.py", line 2166, in test_issue3151
    e = ET.XML('<prefix:localname xmlns:prefix="${stuff}"/>')
  File "/usr/lib64/python3.9/xml/etree/ElementTree.py", line 1347, in XML
    parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0

test_xml_etree_c failed (1 error)

== Tests result: FAILURE ==

3 tests failed:
    test_minidom test_xml_etree test_xml_etree_c

3 re-run tests:
    test_minidom test_xml_etree test_xml_etree_c

Total duration: 499 ms
Tests result: FAILURE


Expected results:


Additional info:

Comment 5 errata-xmlrpc 2022-11-08 09:47:10 UTC
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 (Moderate: python39:3.9 and python39-devel:3.9 security update), 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/RHSA-2022:7592


Note You need to log in before you can comment on or make changes to this bug.