Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

default thread timeout too short for CI #1339

Closed
@sroet

Description

@sroet

Since this morningour CI started failing with:

Run python devtools/autorelease_check.pyTraceback (most recent call last):  File "devtools/autorelease_check.py", line 24, in <module>    repo_path='.'  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/autorelease/check_runners.py", line 52, in __init__    repo_path=repo_path  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/autorelease/git_repo_checks.py", line 28, in __init__    self.repo.remotes.origin.fetch()  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/remote.py", line 856, in fetch    res = self._get_fetch_info_from_stderr(proc, progress)  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/remote.py", line 727, in _get_fetch_info_from_stderr    handle_process_output(proc, None, progress_handler, finalizer=None, decode_streams=False)  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/cmd.py", line 151, in handle_process_output    raise RuntimeError(f"Thread join() timed out in cmd.handle_process_output(). Timeout={timeout} seconds")RuntimeError: Thread join() timed out in cmd.handle_process_output(). Timeout=10.0 secondsFatal Python error: could not acquire lock for <_io.BufferedReader name=4> at interpreter shutdown, possibly due to daemon threadsThread 0x00007fbb2f2d7700 (most recent call first):  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/cmd.py", line 103 in pump_stream  File "/usr/share/miniconda/envs/test/lib/python3.7/threading.py", line 870 in run  File "/usr/share/miniconda/envs/test/lib/python3.7/threading.py", line 926 in _bootstrap_inner  File "/usr/share/miniconda/envs/test/lib/python3.7/threading.py", line 890 in _bootstrapCurrent thread 0x00007fbb3332d180 (most recent call first):  File "/usr/share/miniconda/envs/test/lib/python3.7/site-packages/git/cmd.py", line 406 in __del__/home/runner/work/_temp/ff824c06-ff56-4ee4-9e2a-e65258688cf4.sh: line 1:  1922 Aborted                 (core dumped) python devtools/autorelease_check.pyError: Process completed with exit code 134.

This seems a side effect of the timeout introduced by#1318

Could this time-out default to60 s instead (or be taken and propagated by thefetch function)?

I could make a PR if needed, with either of the two solutions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp