Title: runtests.py looks like it's hanging at first (though it's not) · Issue #3393 · python/mypy · GitHub
Open Graph Title: runtests.py looks like it's hanging at first (though it's not) · Issue #3393 · python/mypy
X Title: runtests.py looks like it's hanging at first (though it's not) · Issue #3393 · python/mypy
Description: Starting our test suite, it looks like this and stays this way for many seconds: $ time ./runtests.py PARALLEL 4 SUMMARY 151 tasks selected passed 0, failed 0, pending 150; running 1 When @Nurdok saw this on first trying to run tests on ...
Open Graph Description: Starting our test suite, it looks like this and stays this way for many seconds: $ time ./runtests.py PARALLEL 4 SUMMARY 151 tasks selected passed 0, failed 0, pending 150; running 1 When @Nurdok s...
X Description: Starting our test suite, it looks like this and stays this way for many seconds: $ time ./runtests.py PARALLEL 4 SUMMARY 151 tasks selected passed 0, failed 0, pending 150; running 1 When @Nurdok s...
Opengraph URL: https://github.com/python/mypy/issues/3393
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"runtests.py looks like it's hanging at first (though it's not)","articleBody":"Starting our test suite, it looks like this and stays this way for many seconds:\r\n```\r\n$ time ./runtests.py \r\nPARALLEL 4\r\nSUMMARY 151 tasks selected\r\npassed 0, failed 0, pending 150; running 1 \r\n```\r\n\r\nWhen @nurdok saw this on first trying to run tests on his Windows laptop, he figured the tests were hanging -- and when I first looked at it with him, I thought the same thing too.\r\n\r\nThere are probably two confusing things here:\r\n* The display doesn't change for a long time, with no progress indication.\r\n* The output says \"PARALLEL 4\", but then there's only 1 task \"running\", not 4.\r\n\r\nProbably the first of these is most important.\r\n\r\nThe root cause of both issues is that that 1 \"task\" which is running is actually a `py.test` process, which is running many test cases and doing its own parallelism among those -- but neither the parallelism nor the ongoing progress of finishing those test cases is being reported. Before #3019 we ran the big `py.test` process in parallel with other tasks, some of which finished quickly, which avoided both of these.\r\n\r\nThe real fix for this will be to complete the migration from our custom `runtests.py` runner to plain `py.test`. In the meantime, we should do something simple to make this not confusing.\r\n","author":{"url":"https://github.com/gnprice","@type":"Person","name":"gnprice"},"datePublished":"2017-05-22T17:39:42Z","url":"https://github.com/python/mypy/issues/3393"}
| 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:22b128eb-7c9f-442f-2261-95498a30ca7d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3E0:1CF166:202469D:2BA8A36:6B001DBC |
| html-safe-nonce | 3e70668232408824cb7894208b2b16c9d967d0d2a998bf9f8ccc930e34b9b1e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0UwOjFDRjE2NjoyMDI0NjlEOjJCQThBMzY6NkIwMDFEQkMiLCJ2aXNpdG9yX2lkIjoiMTYzNTAzMDQzMDAzMTgxNDA3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2fe60042c64358ab608afaa37884ef45890f671a9044449c5a3e777f32d7c92c |
| hovercard-subject-tag | issue:230468227 |
| 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/3393/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d8fbc34822620c19e9c8bfd1b275b0407da11d9b541137f89c24c8149ad8095/python/mypy/issues/3393 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d8fbc34822620c19e9c8bfd1b275b0407da11d9b541137f89c24c8149ad8095/python/mypy/issues/3393 |
| og:image:alt | Starting our test suite, it looks like this and stays this way for many seconds: $ time ./runtests.py PARALLEL 4 SUMMARY 151 tasks selected passed 0, failed 0, pending 150; running 1 When @Nurdok s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gnprice |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width