Bug 20 - python27/36/38/39 report same test failed
Summary: python27/36/38/39 report same test failed
Status: CONFIRMED
Alias: None
Product: Circle Build Tools
Classification: Circle
Component: Koji (show other bugs)
Version: 未指定
Hardware: All Linux
: --- enhancement
Assignee: Bella Zhang
URL:
Depends on:
Blocks:
 
Reported: 2022-05-21 23:53 CST by Bella Zhang
Modified: 2022-06-19 10:33 CST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bella Zhang 2022-05-21 23:53:09 CST
https://koji.cclinux.org/koji/taskinfo?taskID=204867

skipped 'Redeclared namespace handling is not supported in out_inNsSuperfluous_c14nDefault'
test_correct_import_pyET (test.test_xml_etree.NoAcceleratorTest) ... test test_xml_etree_c failed
ok
======================================================================
ERROR: test_issue3151 (test.test_xml_etree.BugsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.8.3/Lib/test/test_xml_etree.py", line 1969, in test_issue3151
    e = ET.XML('<prefix:localname xmlns:prefix="${stuff}"/>')
  File "/builddir/build/BUILD/Python-3.8.3/Lib/xml/etree/ElementTree.py", line 1320, in XML
    parser.feed(text)
  File "<string>", line None
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0
----------------------------------------------------------------------
Ran 177 tests in 0.179s
FAILED (errors=1, skipped=4)
3 tests failed again:
    test_minidom test_xml_etree test_xml_etree_c
== Tests result: FAILURE then FAILURE ==
400 tests OK.
10 slowest tests:
- test_concurrent_futures: 2 min 21 sec
- test_multiprocessing_spawn: 1 min 41 sec
- test_multiprocessing_forkserver: 1 min 13 sec
- test_multiprocessing_fork: 1 min 5 sec
- test_asyncio: 54.6 sec
- test_io: 36.1 sec
- test_subprocess: 28.9 sec
- test_socket: 23.8 sec
- test_signal: 22.1 sec
- test_faulthandler: 20.2 sec
3 tests failed:
    test_minidom test_xml_etree test_xml_etree_c
20 tests skipped:
    test_curses test_devpoll test_ioctl test_kqueue test_msilib
    test_ossaudiodev test_smtpnet test_socketserver test_startfile
    test_timeout test_tix test_tk test_ttk_guionly test_urllib2net
    test_urllibnet test_winconsoleio test_winreg test_winsound
    test_xmlrpc_net test_zipfile64
3 re-run tests:
    test_minidom test_xml_etree test_xml_etree_c
Total duration: 2 min 26 sec
Tests result: FAILURE then FAILURE
error: Bad exit status from /var/tmp/rpm-tmp.FQ5MNv (%check)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.FQ5MNv (%check)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python38.spec
Comment 1 James Xie 2022-06-19 10:33:54 CST
yes, we search problem may caused  by newer expat. 

https://bugs.python.org/issue46794
https://bugzilla.redhat.com/show_bug.cgi?id=2056970

try to untag newer expat and build it.