René's URL Explorer Experiment


Title: Python 3.13: test_xml_etree fails on expat 2.2.5 (RHEL8 / Rocky linux 8 / Ubuntu 22.04) · Issue #125067 · python/cpython · GitHub

Open Graph Title: Python 3.13: test_xml_etree fails on expat 2.2.5 (RHEL8 / Rocky linux 8 / Ubuntu 22.04) · Issue #125067 · python/cpython

X Title: Python 3.13: test_xml_etree fails on expat 2.2.5 (RHEL8 / Rocky linux 8 / Ubuntu 22.04) · Issue #125067 · python/cpython

Description: Bug report Bug description: I'm attempting to build Python 3.13.0 for Rocky Linux 8, and several tests are failing: LD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout= Using random seed: 1341012311 0:00:00 load avg: 15.81 R...

Open Graph Description: Bug report Bug description: I'm attempting to build Python 3.13.0 for Rocky Linux 8, and several tests are failing: LD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout= Using random se...

X Description: Bug report Bug description: I'm attempting to build Python 3.13.0 for Rocky Linux 8, and several tests are failing: LD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout= Using rando...

Opengraph URL: https://github.com/python/cpython/issues/125067

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python 3.13: test_xml_etree fails on expat 2.2.5 (RHEL8 / Rocky linux 8 / Ubuntu 22.04)","articleBody":"# Bug report\n\n### Bug description:\n\nI'm attempting to build Python 3.13.0 for Rocky Linux 8, and several tests are failing:\n\n```\nLD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout=\nUsing random seed: 1341012311\n0:00:00 load avg: 15.81 Run 44 tests sequentially in a single process\n0:00:00 load avg: 15.81 [ 1/44] test_array\n0:00:02 load avg: 14.70 [ 2/44] test_base64\n0:00:02 load avg: 14.70 [ 3/44] test_binascii\n0:00:03 load avg: 14.70 [ 4/44] test_binop\n0:00:03 load avg: 14.70 [ 5/44] test_bisect\n0:00:03 load avg: 14.70 [ 6/44] test_bytes\n0:00:13 load avg: 12.83 [ 7/44] test_bz2\n0:00:14 load avg: 12.83 [ 8/44] test_cmath\n0:00:14 load avg: 12.83 [ 9/44] test_codecs\n0:00:17 load avg: 12.04 [10/44] test_collections\n0:00:21 load avg: 12.04 [11/44] test_complex\n0:00:22 load avg: 11.32 [12/44] test_dataclasses\n0:00:23 load avg: 11.32 [13/44] test_datetime\n0:00:31 load avg: 10.57 [14/44] test_decimal\n0:00:41 load avg: 9.25 [15/44] test_difflib\n0:00:44 load avg: 8.67 [16/44] test_embed\n0:01:01 load avg: 7.35 [17/44] test_float\n0:01:01 load avg: 7.35 [18/44] test_fstring\n0:01:06 load avg: 7.00 [19/44] test_functools\n0:01:08 load avg: 6.68 [20/44] test_generators\ntest test_generators failed\n0:01:08 load avg: 6.68 [21/44] test_hashlib -- test_generators failed (1 failure)\n0:01:10 load avg: 6.68 [22/44] test_heapq\n0:01:11 load avg: 6.68 [23/44] test_int\n0:01:14 load avg: 6.47 [24/44] test_itertools\n0:01:25 load avg: 6.16 [25/44] test_json\n0:01:33 load avg: 5.52 [26/44] test_long\n0:01:40 load avg: 5.31 [27/44] test_lzma\n0:01:41 load avg: 5.31 [28/44] test_math\n0:01:49 load avg: 5.04 [29/44] test_memoryview\n0:01:49 load avg: 5.04 [30/44] test_operator\n0:01:50 load avg: 5.04 [31/44] test_ordered_dict\n0:01:52 load avg: 5.04 [32/44] test_patma\n0:01:52 load avg: 4.79 [33/44] test_pickle\n0:02:07 load avg: 4.10 [34/44] test_pprint\n0:02:08 load avg: 4.10 [35/44] test_re\n0:02:10 load avg: 4.10 [36/44] test_set\n0:02:24 load avg: 4.68 [37/44] test_sqlite3\n0:02:26 load avg: 4.68 [38/44] test_statistics\n0:02:45 load avg: 6.26 [39/44] test_str\n0:02:50 load avg: 6.32 [40/44] test_struct\n0:02:52 load avg: 6.32 [41/44] test_tabnanny\n0:02:53 load avg: 6.45 [42/44] test_time\n0:02:55 load avg: 6.45 [43/44] test_xml_etree\ntest test_xml_etree failed\n0:02:57 load avg: 6.45 [44/44] test_xml_etree_c -- test_xml_etree failed (3 failures)\ntest test_xml_etree_c failed\ntest_xml_etree_c failed (3 failures)\nTotal duration: 2 min 59 sec\nTotal tests: run=9,361 failures=7 skipped=204\nTotal test files: run=44/44 failed=3\n```\n\nThese tests are required to succeed in order for `--enable-optimizations` to work as expected.\n\nI am using the following build options:\n\n```\n./configure \\\n  --enable-loadable-sqlite-extensions \\\n  --enable-optimizations \\\n  --enable-shared \\\n  --with-lto \\\n  --with-system-expat \\\n  --with-ensurepip \\\n  LDFLAGS=-Wl,-rpath=/usr/local/lib\n```\n\n3.9-3.12.6 do not exhibit this behavior when built with the same commands (aside from the Python version).\n\nI'm curious whether there might be a regression for certain versions of expat, similar to https://github.com/python/cpython/issues/117187. \n\nexpat-devel version is `expat-2.2.5-15.el8`.\n\nThe specific test failures are:\n\n```\n======================================================================\nFAIL: test_flush_reparse_deferral_disabled (test.test_xml_etree.XMLPullParserTest.test_flush_reparse_deferral_disabled)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1752, in test_flush_reparse_deferral_disabled\n    self.assert_event_tags(parser, [('start', 'doc')])\n    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1483, in assert_event_tags\n    self.assertEqual([(action, elem.tag) for action, elem in events],\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                     expected)\n                     ^^^^^^^^^\nAssertionError: Lists differ: [] != [('start', 'doc')]\n\nSecond list contains 1 additional elements.\nFirst extra element 0:\n('start', 'doc')\n\n- []\n+ [('start', 'doc')]\n\n======================================================================\nFAIL: test_simple_xml_chunk_1 (test.test_xml_etree.XMLPullParserTest.test_simple_xml_chunk_1)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1508, in test_simple_xml_chunk_1\n    self.test_simple_xml(chunk_size=1, flush=True)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1496, in test_simple_xml\n    self.assert_event_tags(parser, [('end', 'element')])\n    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1483, in assert_event_tags\n    self.assertEqual([(action, elem.tag) for action, elem in events],\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                     expected)\n                     ^^^^^^^^^\nAssertionError: Lists differ: [] != [('end', 'element')]\n\nSecond list contains 1 additional elements.\nFirst extra element 0:\n('end', 'element')\n\n- []\n+ [('end', 'element')]\n\n======================================================================\nFAIL: test_simple_xml_chunk_5 (test.test_xml_etree.XMLPullParserTest.test_simple_xml_chunk_5)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1511, in test_simple_xml_chunk_5\n    self.test_simple_xml(chunk_size=5, flush=True)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1496, in test_simple_xml\n    self.assert_event_tags(parser, [('end', 'element')])\n    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/test/test_xml_etree.py\", line 1483, in assert_event_tags\n    self.assertEqual([(action, elem.tag) for action, elem in events],\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                     expected)\n                     ^^^^^^^^^\nAssertionError: Lists differ: [] != [('end', 'element')]\n\nSecond list contains 1 additional elements.\nFirst extra element 0:\n('end', 'element')\n\n- []\n+ [('end', 'element')]\n\n----------------------------------------------------------------------\nRan 198 tests in 0.423s\n\nFAILED (failures=3, skipped=6)\ntest test_xml_etree failed\ntest_xml_etree failed (3 failures)\n\n== Tests result: FAILURE ==\n\n1 test failed:\n    test_xml_etree\n\nTotal duration: 640 ms\nTotal tests: run=198 failures=3 skipped=6\nTotal test files: run=1/1 failed=1\nResult: FAILURE\n```\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/JacobHenner","@type":"Person","name":"JacobHenner"},"datePublished":"2024-10-07T21:15:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":49},"url":"https://github.com/125067/cpython/issues/125067"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:78eb1f5d-0bbb-10bd-f3a6-5221d58be2dd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9676:1B3C3A:474B74:65A22B:6A573052
html-safe-nonce131fb3484214f3488f4193635716ab0e80448d3dc421731959bd7fbf2ec48962
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njc2OjFCM0MzQTo0NzRCNzQ6NjVBMjJCOjZBNTczMDUyIiwidmlzaXRvcl9pZCI6IjM2MzE0MzEyOTMzNDk2MDU0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7838d1dfe909376b2515c14ce5583677ff9cd6500ffc3781551eb248253223d7
hovercard-subject-tagissue:2571493130
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/125067/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6dd3b7d81fe52017beec117192144df81e5bfaad6f356138463ab4408eabb812/python/cpython/issues/125067
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6dd3b7d81fe52017beec117192144df81e5bfaad6f356138463ab4408eabb812/python/cpython/issues/125067
og:image:altBug report Bug description: I'm attempting to build Python 3.13.0 for Rocky Linux 8, and several tests are failing: LD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout= Using random se...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJacobHenner
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2576d1f0198cf1588faf2edf27f1ed120903be10
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/125067#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F125067
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F125067
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/125067
Reloadhttps://github.com/python/cpython/issues/125067
Reloadhttps://github.com/python/cpython/issues/125067
Please reload this pagehttps://github.com/python/cpython/issues/125067
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/125067
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Python 3.13: test_xml_etree fails on expat 2.2.5 (RHEL8 / Rocky linux 8 / Ubuntu 22.04)https://github.com/python/cpython/issues/125067#top
3.13bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-XMLhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-XML%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/JacobHenner
JacobHennerhttps://github.com/JacobHenner
on Oct 7, 2024https://github.com/python/cpython/issues/125067#issue-2571493130
#117187https://github.com/python/cpython/issues/117187
3.13bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-XMLhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-XML%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.