Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931342 - dev-lang/python-3.10.14_p1 test fail with <dev-libs/expat-2.6.0: test_sax test_xml_etree test_xml_etree_c
Summary: dev-lang/python-3.10.14_p1 test fail with <dev-libs/expat-2.6.0: test_sax tes...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/python/cpython/pul...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-07 09:33 UTC by Arniii
Modified: 2024-05-11 09:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.lz // use `lzip -dc build.log.lz` to stdout to console. (X88r.log.lz,23.17 KB, application/x-lzip)
2024-05-07 09:33 UTC, Arniii
Details
environment // gcc stable plasma profile default/linux/amd64/17.1/desktop/plasma -O3 -flto + verbose march=native + -ggdb3 + graphite (file_931342.txt,155.08 KB, text/plain)
2024-05-07 09:39 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-05-07 09:33:53 UTC
Created attachment 892425 [details]
build.log.lz // use `lzip -dc build.log.lz` to stdout to console.

[ebuild  NS   ]       dev-lang/python-3.10.14_p1 [3.11.8_p1, 3.12.3] USE="ensurepip gdbm ncurses pgo readline sqlite ssl test* -bluetooth -build -debug -examples -libedit -tk -valgrind -verify-sig"
[nomerge      ] www-client/ungoogled-chromium-122.0.6261.111_p1  USE="X bluetooth clang cups libcxx nvidia official pgo proprietary-codecs pulseaudio qt5 screencast system-harfbuzz system-icu system-libevent system-libusb system-openh264 system-png system-zstd vaapi wayland -cfi -convert-dict -cromite -custom-cflags -debug -enable-driver -gtk4 -hangouts -headless -hevc -kerberos -optimize-thinlto -optimize-webui -override-data-dir -pax-kernel -qt6 (-selinux) -system-abseil-cpp -system-av1 -system-brotli -system-crc32c -system-double-conversion -system-ffmpeg -system-jsoncpp -system-libvpx -system-openjpeg -system-re2 -system-snappy -system-woff2 -thinlto -widevine" L10N="af am ar bg bn ca cs da de el en-GB es et fa fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW -es-419 -fil"

Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_xml_etree.py", line 1663, in test_flush_reparse_deferral_disabled
    self.assert_event_tags(parser, [])  # i.e. no elements started
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_xml_etree.py", line 1399, in assert_event_tags
    self.assertEqual([(action, elem.tag) for action, elem in events],
AssertionError: Lists differ: [('start', 'doc')] != []


Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_xml_etree.py", line 1663, in test_flush_reparse_deferral_disabled
    self.assert_event_tags(parser, [])  # i.e. no elements started
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_xml_etree.py", line 1399, in assert_event_tags
    self.assertEqual([(action, elem.tag) for action, elem in events],
AssertionError: Lists differ: [('start', 'doc')] != []


test test_xml_etree_c failed -- Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_xml_etree.py", line 1663, in test_flush_reparse_deferral_disabled
    self.assert_event_tags(parser, [])  # i.e. no elements started
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_xml_etree.py", line 1399, in assert_event_tags
    self.assertEqual([(action, elem.tag) for action, elem in events],
AssertionError: Lists differ: [('start', 'doc')] != []
Comment 1 Arniii 2024-05-07 09:39:24 UTC
Created attachment 892427 [details]
environment // gcc stable plasma profile default/linux/amd64/17.1/desktop/plasma -O3 -flto + verbose march=native + -ggdb3 + graphite
Comment 2 Arniii 2024-05-07 09:40:12 UTC
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.10.14_p1/work/Python-3.10.14/Lib/test/test_sax.py", line 1255, in test_flush_reparse_deferral_disabled
    self.assertEqual(result.getvalue(), start)  # i.e. no elements started
AssertionError: b'<?xml version="1.0" encoding="iso-8859-1"?>\n<doc>' != b'<?xml version="1.0" encoding="iso-8859-1"?>\n'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-07 12:03:40 UTC
sping - is this related to expat-2.6.0?
Comment 4 Arniii 2024-05-07 12:59:15 UTC
(In reply to Sam James from comment #3)
> sping - is this related to expat-2.6.0?

I have dev-libs/expat-2.5.0 installed.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-07 13:02:50 UTC
(In reply to Arniii from comment #4)
> (In reply to Sam James from comment #3)
> > sping - is this related to expat-2.6.0?
> 
> I have dev-libs/expat-2.5.0 installed.

It's possible that the patches we used broke old compat, not sure.
Comment 6 Sebastian Pipping gentoo-dev 2024-05-11 09:46:51 UTC
The now linked merged upstream patch will likely need downstream application to fix this tests-only issue.