Title: default thread timeout too short for CI · Issue #1339 · gitpython-developers/GitPython · GitHub
Open Graph Title: default thread timeout too short for CI · Issue #1339 · gitpython-developers/GitPython
X Title: default thread timeout too short for CI · Issue #1339 · gitpython-developers/GitPython
Description: Since this morning our CI started failing with: Run python devtools/autorelease_check.py Traceback (most recent call last): File "devtools/autorelease_check.py", line 24, in
Open Graph Description: Since this morning our CI started failing with: Run python devtools/autorelease_check.py Traceback (most recent call last): File "devtools/autorelease_check.py", line 24, in
X Description: Since this morning our CI started failing with: Run python devtools/autorelease_check.py Traceback (most recent call last): File "devtools/autorelease_check.py", line 24, in <module>...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1339
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"default thread timeout too short for CI","articleBody":"Since this morning [our CI](https://github.com/openpathsampling/openpathsampling/runs/3563720388?) started failing with:\r\n\r\n```\r\nRun python devtools/autorelease_check.py\r\nTraceback (most recent call last):\r\n File \"devtools/autorelease_check.py\", line 24, in \u003cmodule\u003e\r\n repo_path='.'\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/autorelease/check_runners.py\", line 52, in __init__\r\n repo_path=repo_path\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/autorelease/git_repo_checks.py\", line 28, in __init__\r\n self.repo.remotes.origin.fetch()\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/remote.py\", line 856, in fetch\r\n res = self._get_fetch_info_from_stderr(proc, progress)\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/remote.py\", line 727, in _get_fetch_info_from_stderr\r\n handle_process_output(proc, None, progress_handler, finalizer=None, decode_streams=False)\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/cmd.py\", line 151, in handle_process_output\r\n raise RuntimeError(f\"Thread join() timed out in cmd.handle_process_output(). Timeout={timeout} seconds\")\r\nRuntimeError: Thread join() timed out in cmd.handle_process_output(). Timeout=10.0 seconds\r\nFatal Python error: could not acquire lock for \u003c_io.BufferedReader name=4\u003e at interpreter shutdown, possibly due to daemon threads\r\n\r\nThread 0x00007fbb2f2d7700 (most recent call first):\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/cmd.py\", line 103 in pump_stream\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/threading.py\", line 870 in run\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/threading.py\", line 926 in _bootstrap_inner\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/threading.py\", line 890 in _bootstrap\r\n\r\nCurrent thread 0x00007fbb3332d180 (most recent call first):\r\n File \"/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/cmd.py\", line 406 in __del__\r\n/home/runner/work/_temp/ff824c06-ff56-4ee4-9e2a-e65258688cf4.sh: line 1: 1922 Aborted (core dumped) python devtools/autorelease_check.py\r\nError: Process completed with exit code 134.\r\n```\r\n\r\nThis seems a side effect of the timeout introduced by #1318 \r\n\r\nCould this time-out default to `60 s` instead (or be taken and propagated by the `fetch` function)?\r\n\r\n\r\nI could make a PR if needed, with either of the two solutions\r\n\r\n \r\n","author":{"url":"https://github.com/sroet","@type":"Person","name":"sroet"},"datePublished":"2021-09-10T08:35:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/1339/GitPython/issues/1339"}
| 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:f44ff3c7-3e2e-e5b3-c95c-3771738fe0d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7FA:28A424:10D70:178FE:696A68F3 |
| html-safe-nonce | 76ae13459cff354f3a17767c68523f3a6f7086c0e3dd803c8a15435076aef8e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0ZBOjI4QTQyNDoxMEQ3MDoxNzhGRTo2OTZBNjhGMyIsInZpc2l0b3JfaWQiOiIxNDI2NTYxODYxNDQyNzU4ODk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a9b83fe383dcedeff6eebf78696e2f143efa983bd58b4ff76491993f28c421e4 |
| hovercard-subject-tag | issue:993014517 |
| 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/gitpython-developers/GitPython/1339/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3a6d0a0ed0a0f0aa3e63a2e76c071f35504405b210c63ba0ccb3b053c7e0829/gitpython-developers/GitPython/issues/1339 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3a6d0a0ed0a0f0aa3e63a2e76c071f35504405b210c63ba0ccb3b053c7e0829/gitpython-developers/GitPython/issues/1339 |
| og:image:alt | Since this morning our CI started failing with: Run python devtools/autorelease_check.py Traceback (most recent call last): File "devtools/autorelease_check.py", line 24, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sroet |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width