René's URL Explorer Experiment


Title: test_signal: test_interprocess_signal() failed on GHA macOS · Issue #110033 · python/cpython · GitHub

Open Graph Title: test_signal: test_interprocess_signal() failed on GHA macOS · Issue #110033 · python/cpython

X Title: test_signal: test_interprocess_signal() failed on GHA macOS · Issue #110033 · python/cpython

Description: The problem is that the first subprocess.Popen may not be removed immediately after with self.subprocess_send_signal(pid, "SIGHUP") as child: block, it can survive a little bit. But while it is being deleted automatically, oooops, sigusr...

Open Graph Description: The problem is that the first subprocess.Popen may not be removed immediately after with self.subprocess_send_signal(pid, "SIGHUP") as child: block, it can survive a little bit. But while it is bei...

X Description: The problem is that the first subprocess.Popen may not be removed immediately after with self.subprocess_send_signal(pid, "SIGHUP") as child: block, it can survive a little bit. But while...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_signal: test_interprocess_signal() failed on GHA macOS","articleBody":"The problem is that the first subprocess.Popen may not be removed **immediately** after ``with self.subprocess_send_signal(pid, \"SIGHUP\") as child:`` block, it can survive a little bit. But while it is being deleted automatically, oooops, sigusr1_handler() triggers and raises an SIGUSR1Exception exception which is logged as an \"ignored exception\", but it is **ignored**! The test fails.\r\n\r\nGHA macOS:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_interprocess_signal (test.test_signal.PosixTests.test_interprocess_signal)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/runner/work/cpython/cpython/Lib/test/test_signal.py\", line 108, in test_interprocess_signal\r\n    assert_python_ok(script)\r\n  File \"/Users/runner/work/cpython/cpython/Lib/test/support/script_helper.py\", line 166, in assert_python_ok\r\n    return _assert_python(True, *args, **env_vars)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/runner/work/cpython/cpython/Lib/test/support/script_helper.py\", line 151, in _assert_python\r\n    res.fail(cmd_line)\r\n  File \"/Users/runner/work/cpython/cpython/Lib/test/support/script_helper.py\", line 76, in fail\r\n    raise AssertionError(\"Process return code is %d\\n\"\r\nAssertionError: Process return code is 1\r\ncommand line: ['/Users/runner/work/cpython/cpython/python.exe', '-X', 'faulthandler', '-I', '/Users/runner/work/cpython/cpython/Lib/test/signalinterproctester.py']\r\n\r\nstdout:\r\n---\r\n\r\n---\r\n\r\nstderr:\r\n---\r\nException ignored in: \u003cfunction Popen.__del__ at 0x109080dd0\u003e\r\nTraceback (most recent call last):\r\n  File \"/Users/runner/work/cpython/cpython/Lib/subprocess.py\", line 1120, in __del__\r\n    def __del__(self, _maxsize=sys.maxsize, _warn=warnings.warn):\r\n\r\n  File \"/Users/runner/work/cpython/cpython/Lib/test/signalinterproctester.py\", line 23, in sigusr1_handler\r\n    raise SIGUSR1Exception\r\nSIGUSR1Exception: \r\nF\r\n======================================================================\r\nFAIL: test_interprocess_signal (__main__.InterProcessSignalTests.test_interprocess_signal)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/runner/work/cpython/cpython/Lib/test/signalinterproctester.py\", line 62, in test_interprocess_signal\r\n    with self.assertRaises(SIGUSR1Exception):\r\nAssertionError: SIGUSR1Exception not raised\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.252s\r\n\r\nFAILED (failures=1)\r\n---\r\n\r\n----------------------------------------------------------------------\r\nRan 46 tests in 132.286s\r\n\r\nFAILED (failures=1, skipped=10)\r\n```\r\n\r\nbuild: https://github.com/python/cpython/actions/runs/6340922718/job/17223429951?pr=110026\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110035\n* gh-110040\n* gh-110041\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-09-28T16:05:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/110033/cpython/issues/110033"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b8fb6b4e-d61e-ac58-6a15-739257534127
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDFB6:165BE9:8A532E:C0CDB0:696A7F6E
html-safe-nonce6e2a7266ff4188fa8eb938ea8fc2ac72358c047b682a930a846042dccf1c97b0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkI2OjE2NUJFOTo4QTUzMkU6QzBDREIwOjY5NkE3RjZFIiwidmlzaXRvcl9pZCI6IjE0MTU4NzAwNDU5MDI5Mjg0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3d586a4ce6c4115c5d338163c340403b91bebf694ebdaaea20c06d92148879ab
hovercard-subject-tagissue:1917848634
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/110033/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4098a3452f2afc94d5bb5082bf9b4c1051a510b38faa802d611a1b89a4590333/python/cpython/issues/110033
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4098a3452f2afc94d5bb5082bf9b4c1051a510b38faa802d611a1b89a4590333/python/cpython/issues/110033
og:image:altThe problem is that the first subprocess.Popen may not be removed immediately after with self.subprocess_send_signal(pid, "SIGHUP") as child: block, it can survive a little bit. But while it is bei...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377
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
release5998c30593994bf2589055aef7b22d368a499367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/110033#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F110033
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%2F110033
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/110033
Reloadhttps://github.com/python/cpython/issues/110033
Reloadhttps://github.com/python/cpython/issues/110033
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/110033
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/110033
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/110033
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/110033
test_signal: test_interprocess_signal() failed on GHA macOShttps://github.com/python/cpython/issues/110033#top
https://github.com/vstinner
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Sep 28, 2023https://github.com/python/cpython/issues/110033#issue-1917848634
https://github.com/python/cpython/actions/runs/6340922718/job/17223429951?pr=110026https://github.com/python/cpython/actions/runs/6340922718/job/17223429951?pr=110026
gh-110033: Fix signal test_interprocess_signal() #110035https://github.com/python/cpython/pull/110035
[3.12] gh-110033: Fix signal test_interprocess_signal() (GH-110035) #110040https://github.com/python/cpython/pull/110040
[3.11] gh-110033: Fix signal test_interprocess_signal() (GH-110035) #110041https://github.com/python/cpython/pull/110041
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.