René's URL Explorer Experiment


Title: test_embed and test_ssl failing on linux 6.12.13 · Issue #131579 · python/cpython · GitHub

Open Graph Title: test_embed and test_ssl failing on linux 6.12.13 · Issue #131579 · python/cpython

X Title: test_embed and test_ssl failing on linux 6.12.13 · Issue #131579 · python/cpython

Description: OS : Linux kali 6.12.13-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.13-1kali1 (2025-02-11) x86_64 GNU/Linux Build python ./configure --with-pydebug --with-trace-refs make ./python -m venv .venv source .venv/bin/activate make test #test_ssl an...

Open Graph Description: OS : Linux kali 6.12.13-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.13-1kali1 (2025-02-11) x86_64 GNU/Linux Build python ./configure --with-pydebug --with-trace-refs make ./python -m venv .venv source ....

X Description: OS : Linux kali 6.12.13-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.13-1kali1 (2025-02-11) x86_64 GNU/Linux Build python ./configure --with-pydebug --with-trace-refs make ./python -m venv .venv source ....

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_embed and test_ssl failing on linux 6.12.13","articleBody":"OS : Linux kali 6.12.13-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.13-1kali1 (2025-02-11) x86_64 GNU/Linux\n\nBuild python \n\n```\n./configure  --with-pydebug --with-trace-refs\n\nmake\n\n./python -m venv .venv\n\nsource .venv/bin/activate\n\nmake test #test_ssl and test_embed fails\n\npython -m test -v test_embed #fails\n\npython -m test -v test_ssl #fails\n```\n\nFailure for `test_ssl` in IDE for comparison.\n\n![Image](https://github.com/user-attachments/assets/a4b69731-8aea-4199-ba23-2e53a039ec27)\n\nIs there more to python setup for the tests to succeed? The SSL test seems to be comparing default(7) to actual(8) options hence the mismatch. \n\nI don't know why the test_embed is failing.\n\nError logs: \n\n```\n0:01:18 load avg: 7.17 [1/2/1] test_ssl failed (1 failure)\nRe-running test_ssl in verbose mode (matching: test_options)\ntest_ssl: testing with 'OpenSSL 3.4.1 11 Feb 2025' (3, 4, 0, 1, 0)\n          under 'Linux-6.12.13-amd64-x86_64-with-glibc2.40'\n          HAS_SNI = True\n          OP_ALL = 0x80000050\n          OP_NO_TLSv1_1 = 0x10000000\ntest_options (test.test_ssl.BasicSocketTests.test_options) ... ok\ntest_options (test.test_ssl.ContextTests.test_options) ... FAIL\ntest_options (test.test_ssl.TestEnumerations.test_options) ... ok\n\n======================================================================\nFAIL: test_options (test.test_ssl.ContextTests.test_options)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/kali/Desktop/GIT/cpython/Lib/test/test_ssl.py\", line 970, in test_options\n    self.assertEqual(default, ctx.options)\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: \u003cOpti[52 chars]CIPHER_SERVER_PREFERENCE|OP_NO_SSLv3|OP_ALL: 2186412112\u003e != \u003cOpti[52 chars]CIPHER_SERVER_PREFERENCE|OP_NO_SSLv3|OP_ALL|262144: 2186674256\u003e\n\n----------------------------------------------------------------------\nRan 3 tests in 0.004s\n\nFAILED (failures=1)\ntest test_ssl failed\n0:01:18 load avg: 7.17 [2/2/2] test_embed failed (1 failure)\nRe-running test_embed in verbose mode (matching: test_init_setpythonhome)\ntest_init_setpythonhome (test.test_embed.InitConfigTests.test_init_setpythonhome) ... FAIL\n\n======================================================================\nFAIL: test_init_setpythonhome (test.test_embed.InitConfigTests.test_init_setpythonhome)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/kali/Desktop/GIT/cpython/Lib/test/test_embed.py\", line 1456, in test_init_setpythonhome\n    self.check_all_configs(\"test_init_setpythonhome\", config,\n    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                           api=API_COMPAT, env=env)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kali/Desktop/GIT/cpython/Lib/test/test_embed.py\", line 948, in check_all_configs\n    self.check_config(configs, expected_config)\n    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kali/Desktop/GIT/cpython/Lib/test/test_embed.py\", line 874, in check_config\n    self.assertEqual(config, expected)\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\nAssertionError: {'argv': [''], 'base_exec_prefix': '/home/k[2036 chars]None} != {'_config_init': 1, 'isolated': False, 'use[2022 chars]alse}\n  {'_config_init': 1,\n   '_init_main': True,\n   '_install_importlib': True,\n   'argv': [''],\n   'base_exec_prefix': '/home/kali/Desktop/GIT/cpython',\n   'base_executable': '/home/kali/Desktop/GIT/cpython/.venv1/bin/python3',\n   'base_prefix': '/home/kali/Desktop/GIT/cpython',\n   'buffered_stdio': True,\n   'bytes_warning': 0,\n   'check_hash_pycs_mode': 'default',\n   'code_debug_ranges': True,\n   'configure_c_stdio': False,\n   'cpu_count': -1,\n   'dev_mode': False,\n   'dump_refs': False,\n   'dump_refs_file': None,\n-  'exec_prefix': '/home/kali/Desktop/GIT/cpython/.venv1',\n?                                                -------\n\n+  'exec_prefix': '/home/kali/Desktop/GIT/cpython',\n   'executable': '/home/kali/Desktop/GIT/cpython/.venv1/bin/python3',\n   'faulthandler': False,\n   'hash_seed': 0,\n   'home': '/home/kali/Desktop/GIT/cpython',\n   'import_time': False,\n   'inspect': False,\n   'install_signal_handlers': True,\n   'int_max_str_digits': 4300,\n   'interactive': False,\n   'isolated': False,\n   'malloc_stats': False,\n   'module_search_paths': ['/usr/local/lib/python314.zip',\n                           '/home/kali/Desktop/GIT/cpython/Lib',\n                           '/home/kali/Desktop/GIT/cpython/build/lib.linux-x86_64-3.14',\n                           '/home/kali/Desktop/GIT/cpython/lib/python314.zip',\n                           '/home/kali/Desktop/GIT/cpython/lib/python3.14',\n                           '/home/kali/Desktop/GIT/cpython/lib/python3.14/lib-dynload'],\n   'module_search_paths_set': True,\n   'optimization_level': 0,\n   'orig_argv': [],\n   'parse_argv': False,\n   'parser_debug': False,\n   'pathconfig_warnings': True,\n   'perf_profiling': 0,\n   'platlibdir': 'lib',\n-  'prefix': '/home/kali/Desktop/GIT/cpython/.venv1',\n?                                           -------\n\n+  'prefix': '/home/kali/Desktop/GIT/cpython',\n   'program_name': 'python3',\n   'pycache_prefix': None,\n   'pythonpath_env': '/usr/local/lib/python314.zip:/home/kali/Desktop/GIT/cpython/Lib:/home/kali/Desktop/GIT/cpython/build/lib.linux-x86_64-3.14',\n   'quiet': False,\n   'run_command': None,\n   'run_filename': None,\n   'run_module': None,\n   'safe_path': False,\n   'show_ref_count': False,\n   'site_import': True,\n   'skip_source_first_line': False,\n   'stdlib_dir': '/home/kali/Desktop/GIT/cpython/lib/python3.14',\n   'sys_path_0': None,\n   'tracemalloc': 0,\n   'use_environment': True,\n   'use_frozen_modules': True,\n   'use_hash_seed': False,\n   'user_site_directory': True,\n   'verbose': 0,\n   'warn_default_encoding': False,\n   'warnoptions': [],\n   'write_bytecode': True,\n   'xoptions': {}}\n\n----------------------------------------------------------------------\nRan 1 test in 0.041s\n\nFAILED (failures=1)\ntest test_embed failed\n2 tests failed again:\n    test_embed test_ssl\n\n== Tests result: FAILURE then FAILURE ==\n```","author":{"url":"https://github.com/abhi-jha","@type":"Person","name":"abhi-jha"},"datePublished":"2025-03-22T13:00:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/131579/cpython/issues/131579"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:caa27185-a5e0-9eed-53fa-b478130f45f1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEE44:27B5EE:42622A:5DA88A:696A0B4B
html-safe-noncee347b086a49db067ab5874b00c28cdb78339b58a39199622470a87b38cdebd25
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTQ0OjI3QjVFRTo0MjYyMkE6NURBODhBOjY5NkEwQjRCIiwidmlzaXRvcl9pZCI6Ijc5NTExMDg3NDMwNzM3NjIxMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd5f7c48d2db55f56dbb58c82d12f1dfcf76eddcdd71abad7e1ad34b13f00784a
hovercard-subject-tagissue:2940363969
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/131579/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0cd6f8ba2d0abc0c7afeb2a2f29dd554ae561d812bf93c96957272bb722e2b88/python/cpython/issues/131579
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0cd6f8ba2d0abc0c7afeb2a2f29dd554ae561d812bf93c96957272bb722e2b88/python/cpython/issues/131579
og:image:altOS : Linux kali 6.12.13-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.13-1kali1 (2025-02-11) x86_64 GNU/Linux Build python ./configure --with-pydebug --with-trace-refs make ./python -m venv .venv source ....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabhi-jha
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/131579#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F131579
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F131579
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/131579
Reloadhttps://github.com/python/cpython/issues/131579
Reloadhttps://github.com/python/cpython/issues/131579
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/131579
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/131579
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/131579
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/131579
test_embed and test_ssl failing on linux 6.12.13https://github.com/python/cpython/issues/131579#top
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-SSLhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-SSL%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/abhi-jha
https://github.com/abhi-jha
abhi-jhahttps://github.com/abhi-jha
on Mar 22, 2025https://github.com/python/cpython/issues/131579#issue-2940363969
#1https://github.com/python/cpython/pull/1
https://private-user-images.githubusercontent.com/26597960/425747528-a4b69731-8aea-4199-ba23-2e53a039ec27.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg1NTc2ODgsIm5iZiI6MTc2ODU1NzM4OCwicGF0aCI6Ii8yNjU5Nzk2MC80MjU3NDc1MjgtYTRiNjk3MzEtOGFlYS00MTk5LWJhMjMtMmU1M2EwMzllYzI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE2VDA5NTYyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwMmZkNmJiNzI3OGQzOWU0MTA3Yjg1NTZjZDJhMzZiMzQ0NWVjYzczMGQ4M2MxYjJkMjgyYmU2MzZkZWUzMTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.U1U0tM-Jhqh6LR34Kv8eYDvubiF7aLFHLEA61kXY_dU
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-SSLhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-SSL%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.