Title: Debug subprocess management by pytest · Issue #3975 · python/mypy · GitHub
Open Graph Title: Debug subprocess management by pytest · Issue #3975 · python/mypy
X Title: Debug subprocess management by pytest · Issue #3975 · python/mypy
Description: We keep seeing test flakes in Travis, attributed to #3543. They are kind of hard to recognize, since the failures just have the form "Expected: ; Actual: (empty)". We suspect that the subprocesses created by the integration tests (the py...
Open Graph Description: We keep seeing test flakes in Travis, attributed to #3543. They are kind of hard to recognize, since the failures just have the form "Expected: ; Actual: (empty)". We suspect that the subprocesses ...
X Description: We keep seeing test flakes in Travis, attributed to #3543. They are kind of hard to recognize, since the failures just have the form "Expected: ; Actual: (empty)". We suspect that the sub...
Opengraph URL: https://github.com/python/mypy/issues/3975
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug subprocess management by pytest","articleBody":"We keep seeing test flakes in Travis, attributed to https://github.com/python/mypy/issues/3543. They are kind of hard to recognize, since the failures just have the form \"Expected: \u003csome stuff>; Actual: (empty)\".\r\n\r\nWe suspect that the subprocesses created by the integration tests (the python*eval tests) are running out of memory because there are too many of them, and are being killed, but whatever is managing the subprocesses doesn't notice the exist status. IIRC Linux OOM kills appear as killed by signal 9, i.e. SIGKILL, but if you just read the pipe you'll never know.\r\n\r\nWe need some investigation into this theory and improved status checking, so at least the crashes are easier to diagnose. @ethanhs @elazarg are either of you interested?\r\n\r\nMy theory could be patently false, e.g. if some of the failures seen don't come from \"python*eval\" tests. It could also be that somehow `runtests.py -j12` spins up `pytest -n12` plus 11 other tasks, which would mean we're putting double the load on Travis that we intended.","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2017-09-20T18:11:02Z","url":"https://github.com/python/mypy/issues/3975"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:23d818fa-f486-7ab5-830c-d55d377e3726 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B244:43251:18341DB:2034B33:6B002F47 |
| html-safe-nonce | 31777acf173ba4fb8552386b2ff36d763ab7af9b090e1ab091b6770d6994a5cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjQ0OjQzMjUxOjE4MzQxREI6MjAzNEIzMzo2QjAwMkY0NyIsInZpc2l0b3JfaWQiOiIyMzE1ODQ0MjE2MDE5NzU4OTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ed50c561dd2dd4d251179d92f1bf7c6b738be066c70c3719af55ffbb3ffc4296 |
| hovercard-subject-tag | issue:259253604 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/3975/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a2f23172c15f390785c9af58b706d7088b628bb7246f7d6ed3f36c8da3dd0ecb/python/mypy/issues/3975 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a2f23172c15f390785c9af58b706d7088b628bb7246f7d6ed3f36c8da3dd0ecb/python/mypy/issues/3975 |
| og:image:alt | We keep seeing test flakes in Travis, attributed to #3543. They are kind of hard to recognize, since the failures just have the form "Expected: ; Actual: (empty)". We suspect that the subprocesses ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width