Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scriptworker_client: properly handle signals in run_command #1030

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

scriptworker_client: properly handle signals in run_command

b7b4dd0
Select commit
Loading
Failed to load commit list.
Open

scriptworker_client: properly handle signals in run_command #1030

scriptworker_client: properly handle signals in run_command
b7b4dd0
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tox-scriptworker_client-python39 succeeded Jun 20, 2024 in 3m 9s

FirefoxCI (pull_request)

scriptworker_client tox-py39

Details

View task in Taskcluster
View logs in Taskcluster


[taskcluster 2024-06-20 08:22:25.987Z] Worker ID: 8235982586436802694
[taskcluster 2024-06-20 08:22:25.987Z] Worker Group: us-west1-a
[taskcluster 2024-06-20 08:22:25.987Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-06-20 08:22:25.987Z] Worker Pool: scriptworker-1/b-linux-gcp
[taskcluster 2024-06-20 08:22:25.987Z] Worker Version: 38.0.5
[taskcluster 2024-06-20 08:22:25.987Z] Public IP: 34.145.118.187
[taskcluster 2024-06-20 08:22:25.987Z] Hostname: scriptworker-1-b-linux-gcp-vbqo-vekrggod8nyrxfa8g
[taskcluster 2024-06-20 08:22:25.987Z] using cache "scriptworker-level-1-checkouts-v3-7afeb851dd97df8f3607-O_KPDGy6SyWarmowR6oi2g" -> /builds/worker/checkouts

[taskcluster 2024-06-20 08:22:29.528Z] Downloading artifact "public/image.tar.zst" from task ID: O_KPDGy6SyWarmowR6oi2g.
[taskcluster 2024-06-20 08:22:33.226Z] Downloaded artifact successfully.
[taskcluster 2024-06-20 08:22:33.226Z] Downloaded 260.956 mb
[taskcluster 2024-06-20 08:22:33.227Z] Decompressing downloaded image
[taskcluster 2024-06-20 08:22:37.845Z] Loading docker image from downloaded archive.
[taskcluster 2024-06-20 08:23:01.300Z] Image 'public/image.tar.zst' from task 'O_KPDGy6SyWarmowR6oi2g' loaded.  Using image ID sha256:2f9c0ad45b6b75e58251341f5dbdb16eb7d02b5581fbcd617bc5adc9cc26b120.
[taskcluster 2024-06-20 08:23:01.423Z] === Task Starting ===
[setup 2024-06-20T08:23:04.249Z] run-task started in /
[setup 2024-06-20T08:23:04.249Z] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce tox -e scriptworker_client-py39
[setup 2024-06-20T08:23:04.249Z] Python version: 3.9.7
[cache 2024-06-20T08:23:04.251Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2024-06-20T08:23:04.252Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-06-20T08:23:04.252Z] volume /builds/worker/checkouts is a cache
[setup 2024-06-20T08:23:04.252Z] running as worker:worker
[vcs 2024-06-20T08:23:04.252Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-06-20T08:23:04.256Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker-scripts', '/builds/worker/checkouts/vcs']
[vcs 2024-06-20T08:23:04.258Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-06-20T08:23:09.987Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/jcristau/scriptworker-scripts', 'run_command-signals']
[vcs 2024-06-20T08:23:10.362Z] From https://github.com/jcristau/scriptworker-scripts
[vcs 2024-06-20T08:23:10.362Z]  * branch              run_command-signals -> FETCH_HEAD
[vcs 2024-06-20T08:23:10.364Z] executing ['git', 'checkout', '-f', '-B', 'run_command-signals', 'b7b4dd093472168dc4caf77c65abfd556813afa0']
[vcs 2024-06-20T08:23:11.953Z] Switched to a new branch 'run_command-signals'
[vcs 2024-06-20T08:23:11.954Z] cleaning git checkout...
[vcs 2024-06-20T08:23:11.954Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-06-20T08:23:11.968Z] removing []
[vcs 2024-06-20T08:23:11.968Z] successfully cleaned git checkout!
[vcs 2024-06-20T08:23:11.972Z] TinderboxPrint:<a href='https://github.com/jcristau/scriptworker-scripts/commit/b7b4dd093472168dc4caf77c65abfd556813afa0' title='Built from scriptworker-scripts commit b7b4dd093472168dc4caf77c65abfd556813afa0'>b7b4dd093472168dc4caf77c65abfd556813afa0</a>
[task 2024-06-20T08:23:11.972Z] executing ['sh', '-lxce', 'tox -e scriptworker_client-py39']
[task 2024-06-20T08:23:11.974Z] + id -u
[task 2024-06-20T08:23:11.975Z] + [ 1000 -eq 0 ]
[task 2024-06-20T08:23:11.975Z] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2024-06-20T08:23:11.975Z] + export PATH
[task 2024-06-20T08:23:11.975Z] + [ $  ]
[task 2024-06-20T08:23:11.975Z] + [  ]
[task 2024-06-20T08:23:11.975Z] + id -u
[task 2024-06-20T08:23:11.977Z] + [ 1000 -eq 0 ]
[task 2024-06-20T08:23:11.977Z] + PS1=$ 
[task 2024-06-20T08:23:11.977Z] + [ -d /etc/profile.d ]
[task 2024-06-20T08:23:11.977Z] + [ -r /etc/profile.d/*.sh ]
[task 2024-06-20T08:23:11.977Z] + unset i
[task 2024-06-20T08:23:11.977Z] + [ -n  ]
[task 2024-06-20T08:23:11.977Z] + [ -d /builds/worker/bin ]
[task 2024-06-20T08:23:11.977Z] + [ -d /builds/worker/.local/bin ]
[task 2024-06-20T08:23:11.977Z] + tox -e scriptworker_client-py39
[task 2024-06-20T08:23:12.920Z] scriptworker_client-py39: install_deps> python -I -m pip install pyparsing tox
[task 2024-06-20T08:23:16.192Z] scriptworker_client-py39: commands[0] /builds/worker/checkouts/vcs/scriptworker_client> tox -e py39,mypy
[task 2024-06-20T08:23:17.601Z] py39: install_deps> python -I -m pip install -r requirements/test.txt
[task 2024-06-20T08:23:28.438Z] .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
[task 2024-06-20T08:23:29.701Z] .pkg: _optional_hooks> python /builds/worker/checkouts/vcs/.tox/scriptworker_client-py39/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-06-20T08:23:30.105Z] .pkg: get_requires_for_build_editable> python /builds/worker/checkouts/vcs/.tox/scriptworker_client-py39/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-06-20T08:23:30.390Z] .pkg: install_requires_for_build_editable> python -I -m pip install wheel
[task 2024-06-20T08:23:31.074Z] .pkg: build_editable> python /builds/worker/checkouts/vcs/.tox/scriptworker_client-py39/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-06-20T08:23:31.412Z] py39: install_package_deps> python -I -m pip install PyYAML aiohttp immutabledict jsonschema
[task 2024-06-20T08:23:32.284Z] py39: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/1/scriptworker_client-1.0.0-0.editable-py2.py3-none-any.whl
[task 2024-06-20T08:23:32.839Z] py39: commands[0]> pytest --cov-config .coveragerc --cov=/builds/worker/checkouts/vcs/scriptworker_client/src/scriptworker_client --cov-report term-missing
[task 2024-06-20T08:23:33.328Z] ============================= test session starts ==============================
[task 2024-06-20T08:23:33.329Z] platform linux -- Python 3.9.7, pytest-8.2.2, pluggy-1.5.0 -- /builds/worker/checkouts/vcs/.tox/py39/bin/python
[task 2024-06-20T08:23:33.329Z] cachedir: /builds/worker/checkouts/vcs/.tox/py39/.pytest_cache
[task 2024-06-20T08:23:33.329Z] rootdir: /builds/worker/checkouts/vcs/scriptworker_client
[task 2024-06-20T08:23:33.329Z] configfile: tox.ini
[task 2024-06-20T08:23:33.329Z] plugins: mock-3.14.0, asyncio-0.23.7, cov-5.0.0
[task 2024-06-20T08:23:33.329Z] asyncio: mode=strict
[task 2024-06-20T08:23:33.829Z] collecting ... collected 143 items
[task 2024-06-20T08:23:33.829Z] 
[task 2024-06-20T08:23:33.835Z] tests/test_aio.py::test_raise_future_exceptions[coroutines0-expected0-False-None] PASSED
[task 2024-06-20T08:23:33.838Z] tests/test_aio.py::test_raise_future_exceptions[coroutines1-None-TaskError-None] PASSED
[task 2024-06-20T08:23:33.943Z] tests/test_aio.py::test_raise_future_exceptions[coroutines2-None-TimeoutError-0.1] PASSED
[task 2024-06-20T08:23:33.947Z] tests/test_aio.py::test_raise_future_exceptions[coroutines3-None-False-None] PASSED
[task 2024-06-20T08:23:34.153Z] tests/test_aio.py::test_semaphore_wrapper PASSED
[task 2024-06-20T08:23:34.160Z] tests/test_aio.py::test_lockfile[False-2-True] PASSED
[task 2024-06-20T08:23:34.164Z] tests/test_aio.py::test_lockfile[True-1-False] PASSED
[task 2024-06-20T08:23:35.171Z] tests/test_aio.py::test_LockfileFuture[True] PASSED
[task 2024-06-20T08:23:36.178Z] tests/test_aio.py::test_LockfileFuture[False] PASSED
[task 2024-06-20T08:23:36.181Z] tests/test_aio.py::test_LockfileFuture_replace_args[x/%(foo)s/y-x/bar/y] PASSED
[task 2024-06-20T08:23:36.188Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj1-expected1] PASSED
[task 2024-06-20T08:23:36.188Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj2-expected2] PASSED
[task 2024-06-20T08:23:36.188Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj3-expected3] PASSED
[task 2024-06-20T08:23:36.188Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj4-expected4] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj5-expected5] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_LockfileFuture_replace_args[None-None] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_LockfileFuture_replace_args[1-1] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_calculate_sleep_time[0] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_calculate_sleep_time[1] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_calculate_sleep_time[2] PASSED
[task 2024-06-20T08:23:36.200Z] tests/test_aio.py::test_calculate_sleep_time[3] PASSED
[task 2024-06-20T08:23:36.201Z] tests/test_aio.py::test_calculate_sleep_time[4] PASSED
[task 2024-06-20T08:23:36.212Z] tests/test_aio.py::test_calculate_sleep_time[5] PASSED
[task 2024-06-20T08:23:36.212Z] tests/test_aio.py::test_retry_async_fail_first PASSED
[task 2024-06-20T08:23:36.212Z] tests/test_aio.py::test_retry_async_always_fail PASSED
[task 2024-06-20T08:23:36.220Z] tests/test_aio.py::test_request[200-expected-text-expected-None-1] PASSED
[task 2024-06-20T08:23:36.220Z] tests/test_aio.py::test_request[200-expected-json-expected1-None-1] PASSED
[task 2024-06-20T08:23:36.222Z] tests/test_aio.py::test_request[200-expected-response-expected-None-1] PASSED
[task 2024-06-20T08:23:36.228Z] tests/test_aio.py::test_request[500,200-expected-text-expected-None-3] PASSED
[task 2024-06-20T08:23:36.236Z] tests/test_aio.py::test_request[500-expected-text-expected-RetryError-2] PASSED
[task 2024-06-20T08:23:36.236Z] tests/test_aio.py::test_request[404-expected-text-expected-TaskError-1] PASSED
[task 2024-06-20T08:23:36.239Z] tests/test_aio.py::test_download_file[200-firstsecond-False] PASSED
[task 2024-06-20T08:23:36.244Z] tests/test_aio.py::test_download_file[404-None-Download404] PASSED
[task 2024-06-20T08:23:36.248Z] tests/test_aio.py::test_download_file[500-None-DownloadError] PASSED
[task 2024-06-20T08:23:36.253Z] tests/test_artifacts.py::test_get_upstream_artifacts_full_paths_per_task_id PASSED
[task 2024-06-20T08:23:36.255Z] tests/test_artifacts.py::test_fail_get_upstream_artifacts_full_paths_per_task_id PASSED
[task 2024-06-20T08:23:36.258Z] tests/test_artifacts.py::test_get_and_check_single_upstream_artifact_full_path PASSED
[task 2024-06-20T08:23:36.260Z] tests/test_artifacts.py::test_get_single_upstream_artifact_full_path PASSED
[task 2024-06-20T08:23:36.262Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts0-expected0] PASSED
[task 2024-06-20T08:23:36.264Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts1-expected1] PASSED
[task 2024-06-20T08:23:36.266Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts2-expected2] PASSED
[task 2024-06-20T08:23:36.268Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts3-expected3] PASSED
[task 2024-06-20T08:23:36.272Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts4-expected4] PASSED
[task 2024-06-20T08:23:36.272Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts5-expected5] PASSED
[task 2024-06-20T08:23:36.274Z] tests/test_artifacts.py::test_assert_is_parent[/foo/bar/baz-/foo/bar-False] PASSED
[task 2024-06-20T08:23:36.276Z] tests/test_artifacts.py::test_assert_is_parent[/foo-/foo/bar-True] PASSED
[task 2024-06-20T08:23:36.278Z] tests/test_artifacts.py::test_assert_is_parent[/foo/bar/..-/foo/bar-True] PASSED
[task 2024-06-20T08:23:36.281Z] tests/test_artifacts.py::test_assert_is_parent_softlink PASSED
[task 2024-06-20T08:23:36.284Z] tests/test_client.py::test_get_task PASSED
[task 2024-06-20T08:23:36.291Z] tests/test_client.py::test_verify_json_schema[data0-schema0-False] PASSED
[task 2024-06-20T08:23:36.297Z] tests/test_client.py::test_verify_json_schema[data1-schema1-True] PASSED
[task 2024-06-20T08:23:36.303Z] tests/test_client.py::test_verify_json_schema[data2-schema2-True] PASSED
[task 2024-06-20T08:23:36.310Z] tests/test_client.py::test_verify_json_schema[data3-schema3-True] PASSED
[task 2024-06-20T08:23:36.316Z] tests/test_client.py::test_verify_json_schema[data4-schema4-True] PASSED
[task 2024-06-20T08:23:36.325Z] tests/test_client.py::test_verify_task_schema PASSED
[task 2024-06-20T08:23:36.337Z] tests/test_client.py::test_sync_main_runs_fully[True] PASSED
[task 2024-06-20T08:23:36.342Z] tests/test_client.py::test_sync_main_runs_fully[False] PASSED
[task 2024-06-20T08:23:36.344Z] tests/test_client.py::test_usage PASSED
[task 2024-06-20T08:23:36.347Z] tests/test_client.py::test_init_logging[True-10] PASSED
[task 2024-06-20T08:23:36.350Z] tests/test_client.py::test_init_logging[False-20] PASSED
[task 2024-06-20T08:23:36.352Z] tests/test_client.py::test_handle_asyncio_loop PASSED
[task 2024-06-20T08:23:36.357Z] tests/test_client.py::test_fail_handle_asyncio_loop PASSED
[task 2024-06-20T08:23:36.359Z] Usage: x CONFIG_FILE
[task 2024-06-20T08:23:36.361Z] tests/test_client.py::test_init_config_cli PASSED
[task 2024-06-20T08:23:36.376Z] tests/test_github.py::test_is_github_url[https://github.com/-True] PASSED
[task 2024-06-20T08:23:36.377Z] tests/test_github.py::test_is_github_url[https://github.com/some-user-True] PASSED
[task 2024-06-20T08:23:36.377Z] tests/test_github.py::test_is_github_url[https://github.com/some-user/some-repo-True] PASSED
[task 2024-06-20T08:23:36.377Z] tests/test_github.py::test_is_github_url[https://github.com/some-user/some-repo/raw/somerevision/.taskcluster.yml-True] PASSED
[task 2024-06-20T08:23:36.377Z] tests/test_github.py::test_is_github_url[https://hg.mozilla.org-False] PASSED
[task 2024-06-20T08:23:36.377Z] tests/test_github.py::test_is_github_url[None-False] PASSED
[task 2024-06-20T08:23:36.377Z] tests/test_github.py::test_is_github_url[ssh://hg.mozilla.org/some-repo-False] PASSED
[task 2024-06-20T08:23:36.378Z] tests/test_github.py::test_is_github_url[ssh://github.com/some-user-True] PASSED
[task 2024-06-20T08:23:36.378Z] tests/test_github.py::test_is_github_url[ssh://github.com/some-user/some-repo.git-True] PASSED
[task 2024-06-20T08:23:36.380Z] tests/test_github.py::test_extract_github_repo_owner_and_name[https://github.com/mozilla-mobile/reference-browser-mozilla-mobile-reference-browser-False] PASSED
[task 2024-06-20T08:23:36.380Z] tests/test_github.py::test_extract_github_repo_owner_and_name[https://github.com/mozilla-mobile/reference-browser.git-mozilla-mobile-reference-browser-False] PASSED
[task 2024-06-20T08:23:36.382Z] tests/test_github.py::test_extract_github_repo_owner_and_name[https://github.com/mozilla-releng/staging-reference-browser-mozilla-releng-staging-reference-browser-False] PASSED
[task 2024-06-20T08:23:36.384Z] tests/test_github.py::test_extract_github_repo_owner_and_name[https://github.com/mozilla-releng/staging-reference-browser/raw/0123456789abcdef0123456789abcdef01234567/.taskcluster.yml-mozilla-releng-staging-reference-browser-False] PASSED
[task 2024-06-20T08:23:36.386Z] tests/test_github.py::test_extract_github_repo_owner_and_name[https://hg.mozilla.org/mozilla-central-None-None-True] PASSED
[task 2024-06-20T08:23:36.388Z] tests/test_github.py::test_extract_github_repo_full_name[https://github.com/mozilla-mobile/reference-browser-mozilla-mobile/reference-browser-False] PASSED
[task 2024-06-20T08:23:36.392Z] tests/test_github.py::test_extract_github_repo_full_name[https://github.com/mozilla-mobile/reference-browser.git-mozilla-mobile/reference-browser-False] PASSED
[task 2024-06-20T08:23:36.392Z] tests/test_github.py::test_extract_github_repo_full_name[https://github.com/mozilla-releng/staging-reference-browser-mozilla-releng/staging-reference-browser-False] PASSED
[task 2024-06-20T08:23:36.393Z] tests/test_github.py::test_extract_github_repo_full_name[https://github.com/mozilla-releng/staging-reference-browser/raw/0123456789abcdef0123456789abcdef01234567/.taskcluster.yml-mozilla-releng/staging-reference-browser-False] PASSED
[task 2024-06-20T08:23:36.396Z] tests/test_github.py::test_extract_github_repo_full_name[https://hg.mozilla.org/mozilla-central-None-True] PASSED
[task 2024-06-20T08:23:36.397Z] tests/test_github.py::test_extract_github_repo_ssh_url[https://github.com/mozilla-mobile/[email protected]:mozilla-mobile/reference-browser.git-False] PASSED
[task 2024-06-20T08:23:36.399Z] tests/test_github.py::test_extract_github_repo_ssh_url[https://github.com/mozilla-mobile/[email protected]:mozilla-mobile/reference-browser.git-False] PASSED
[task 2024-06-20T08:23:36.401Z] tests/test_github.py::test_extract_github_repo_ssh_url[https://github.com/mozilla-releng/[email protected]:mozilla-releng/staging-reference-browser.git-False] PASSED
[task 2024-06-20T08:23:36.404Z] tests/test_github.py::test_extract_github_repo_ssh_url[https://github.com/mozilla-releng/staging-reference-browser/raw/0123456789abcdef0123456789abcdef01234567/[email protected]:mozilla-releng/staging-reference-browser.git-False] PASSED
[task 2024-06-20T08:23:36.405Z] tests/test_github.py::test_extract_github_repo_ssh_url[https://hg.mozilla.org/mozilla-central-None-True] PASSED
[task 2024-06-20T08:23:36.408Z] tests/test_utils.py::test_load_json_or_yaml[/builds/worker/checkouts/vcs/scriptworker_client/tests/data/bad.json-True-None-False-result0] PASSED
[task 2024-06-20T08:23:36.410Z] tests/test_utils.py::test_load_json_or_yaml[{"a": "b"}-False-None-False-result1] PASSED
[task 2024-06-20T08:23:36.413Z] tests/test_utils.py::test_load_json_or_yaml[{"a": "b}-False-None-False-None] PASSED
[task 2024-06-20T08:23:36.420Z] tests/test_utils.py::test_load_json_or_yaml[{"a": "b}-False-TaskError-True-None] PASSED
[task 2024-06-20T08:23:36.420Z] tests/test_utils.py::test_get_artifact_path[None-cot/taskId/public/foo] PASSED
[task 2024-06-20T08:23:36.420Z] tests/test_utils.py::test_get_artifact_path[work_dir-work_dir/cot/taskId/public/foo] PASSED
[task 2024-06-20T08:23:36.420Z] tests/test_utils.py::test_to_unicode[\u3044\u308d\u306f\u306b\u307b\u3078\u3069\u3000\u3061\u308a\u306c\u308b\u3092\n\u308f\u304c\u3088\u305f\u308c\u305e\u3000\u3064\u306d\u306a\u3089\u3080\n\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3000\u3051\u3075\u3053\u3048\u3066\n\u3042\u3055\u304d\u3086\u3081\u307f\u3058\u3000\u3091\u3072\u3082\u305b\u305a-\u3044\u308d\u306f\u306b\u307b\u3078\u3069\u3000\u3061\u308a\u306c\u308b\u3092\n\u308f\u304c\u3088\u305f\u308c\u305e\u3000\u3064\u306d\u306a\u3089\u3080\n\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3000\u3051\u3075\u3053\u3048\u3066\n\u3042\u3055\u304d\u3086\u3081\u307f\u3058\u3000\u3091\u3072\u3082\u305b\u305a] PASSED
[task 2024-06-20T08:23:36.421Z] tests/test_utils.py::test_to_unicode[Hello, \U0001f4a9!-Hello, \U0001f4a9!] PASSED
[task 2024-06-20T08:23:36.422Z] tests/test_utils.py::test_to_unicode[None-None] PASSED
[task 2024-06-20T08:23:36.424Z] tests/test_utils.py::test_to_unicode[Mit luftpudefart\x9bj er fyldt med \x86l-Mit luftpudefart\x9bj er fyldt med \x86l] PASSED
[task 2024-06-20T08:23:36.432Z] tests/test_utils.py::test_to_unicode[\xd3\xe0\xeb\xd7\xe2\xec \xd3\xe0\xd0\xdd\xd8\xe2 \xdd\xd0\xe3\xda\xd8-\xd3\xe0\xeb\xd7\xe2\xec \xd3\xe0\xd0\xdd\xd8\xe2 \xdd\xd0\xe3\xda\xd8] PASSED
[task 2024-06-20T08:23:36.432Z] tests/test_utils.py::test_to_unicode[input5-expected5] PASSED
[task 2024-06-20T08:23:36.432Z] tests/test_utils.py::test_to_unicode[foo-foo] PASSED
[task 2024-06-20T08:23:36.440Z] tests/test_utils.py::test_pipe_to_log PASSED
[task 2024-06-20T08:23:36.443Z] tests/test_utils.py::test_get_log_filehandle[None] PASSED
[task 2024-06-20T08:23:36.446Z] tests/test_utils.py::test_get_log_filehandle[log] PASSED
[task 2024-06-20T08:23:36.457Z] tests/test_utils.py::test_run_command[command0-1-expected_log0-None-False-None-False] PASSED
[task 2024-06-20T08:23:36.469Z] tests/test_utils.py::test_run_command[command1-1-expected_log1-TaskError-False-env1-True] PASSED
[task 2024-06-20T08:23:36.481Z] tests/test_utils.py::test_run_command[command2--11-expected_log2-TaskError-True-None-True] PASSED
[task 2024-06-20T08:23:36.487Z] tests/test_utils.py::test_list_files PASSED
[task 2024-06-20T08:23:36.491Z] tests/test_utils.py::test_makedirs[None-False] PASSED
[task 2024-06-20T08:23:36.494Z] tests/test_utils.py::test_makedirs[/builds/worker/checkouts/vcs/scriptworker_client/tests/data/bad.json-True] PASSED
[task 2024-06-20T08:23:36.497Z] tests/test_utils.py::test_makedirs[/builds/worker/checkouts/vcs/scriptworker_client/tests/data/bad.json/bar-True] PASSED
[task 2024-06-20T08:23:36.500Z] tests/test_utils.py::test_makedirs[/builds/worker/checkouts/vcs/scriptworker_client/tests-False] PASSED
[task 2024-06-20T08:23:36.503Z] tests/test_utils.py::test_makedirs[%s/foo/bar/baz-False] PASSED
[task 2024-06-20T08:23:36.505Z] tests/test_utils.py::test_rm_empty PASSED
[task 2024-06-20T08:23:36.506Z] tests/test_utils.py::test_rm_file PASSED
[task 2024-06-20T08:23:36.509Z] tests/test_utils.py::test_rm_dir PASSED
[task 2024-06-20T08:23:36.511Z] tests/test_utils.py::test_calculate_no_sleep_time[-1] PASSED
[task 2024-06-20T08:23:36.513Z] tests/test_utils.py::test_calculate_no_sleep_time[0] PASSED
[task 2024-06-20T08:23:36.515Z] tests/test_utils.py::test_calculate_sleep_time[1-kwargs0-5.0-5.0] PASSED
[task 2024-06-20T08:23:36.517Z] tests/test_utils.py::test_calculate_sleep_time[2-kwargs1-10.0-12.5] PASSED
[task 2024-06-20T08:23:36.519Z] tests/test_utils.py::test_calculate_sleep_time[3-kwargs2-10.0-10.0] PASSED
[task 2024-06-20T08:23:36.522Z] tests/test_utils.py::test_retry_async_fail_first PASSED
[task 2024-06-20T08:23:36.525Z] tests/test_utils.py::test_retry_async_always_fail PASSED
[task 2024-06-20T08:23:36.528Z] tests/test_utils.py::test_retry_async_decorator_fail_first PASSED
[task 2024-06-20T08:23:36.531Z] tests/test_utils.py::test_retry_async_decorator_always_fail_async PASSED
[task 2024-06-20T08:23:36.641Z] tests/test_utils.py::test_async_wrap PASSED
[task 2024-06-20T08:23:36.644Z] tests/test_utils.py::test_raise_future_exceptions[OSError] PASSED
[task 2024-06-20T08:23:36.647Z] tests/test_utils.py::test_raise_future_exceptions[SyntaxError] PASSED
[task 2024-06-20T08:23:36.651Z] tests/test_utils.py::test_raise_future_exceptions[None] PASSED
[task 2024-06-20T08:23:36.653Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar-expected0] PASSED
[task 2024-06-20T08:23:36.656Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar/baz-expected1] PASSED
[task 2024-06-20T08:23:36.658Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar/baz?param1=value-expected2] PASSED
[task 2024-06-20T08:23:36.660Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar/baz?param1=value1&param2=value2-expected3] PASSED
[task 2024-06-20T08:23:36.664Z] tests/test_utils.py::test_raise_future_exceptions_noop PASSED
[task 2024-06-20T08:23:36.666Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence0-<lambda>-b] PASSED
[task 2024-06-20T08:23:36.668Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence1-<lambda>-expected1] PASSED
[task 2024-06-20T08:23:36.671Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence2-<lambda>-5] PASSED
[task 2024-06-20T08:23:36.673Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence3-<lambda>-b] PASSED
[task 2024-06-20T08:23:36.675Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence4-<lambda>-2] PASSED
[task 2024-06-20T08:23:36.678Z] tests/test_utils.py::test_fail_get_single_item_from_sequence[list_0-<lambda>-SomeCustomError-NO ITEM-TOO MANY-True-True-NO ITEM. Given: ['a', 'b', 'c']] PASSED
[task 2024-06-20T08:23:36.682Z] tests/test_utils.py::test_fail_get_single_item_from_sequence[list_1-<lambda>-SomeCustomError-NO ITEM-TOO MANY-False-True-NO ITEM] PASSED
[task 2024-06-20T08:23:36.685Z] tests/test_utils.py::test_fail_get_single_item_from_sequence[list_2-<lambda>-SomeCustomError-NO ITEM-TOO MANY-True-True-TOO MANY. Given: ['a', 'b', 'b']] PASSED
[task 2024-06-20T08:23:36.687Z] tests/test_utils.py::test_fail_get_single_item_from_sequence[list_3-<lambda>-ValueError-None-None-None-False-No item matched condition. Given: ['a', 'b', 'c']] PASSED
[task 2024-06-20T08:23:36.837Z] tests/test_utils.py::test_fail_get_single_item_from_sequence[list_4-<lambda>-ValueError-None-None-None-False-Too many items matched condition. Given: ['a', 'b', 'c']] PASSED
[task 2024-06-20T08:23:36.837Z] 
[task 2024-06-20T08:23:36.837Z] ----------- coverage: platform linux, python 3.9.7-final-0 -----------
[task 2024-06-20T08:23:36.837Z] Name                                    Stmts   Miss Branch BrPart  Cover   Missing
[task 2024-06-20T08:23:36.837Z] -----------------------------------------------------------------------------------
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/__init__.py         0      0      0      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/aio.py            142      0     53      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/artifacts.py       46      0     16      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/client.py          60      0      8      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/constants.py        1      0      0      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/exceptions.py      15      0      0      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/github.py          22      0      6      0   100%
[task 2024-06-20T08:23:36.837Z] src/scriptworker_client/utils.py          187      3     62      3    98%   139, 458->460, 495-496
[task 2024-06-20T08:23:36.837Z] -----------------------------------------------------------------------------------
[task 2024-06-20T08:23:36.837Z] TOTAL                                     473      3    145      3    99%
[task 2024-06-20T08:23:36.837Z] 
[task 2024-06-20T08:23:36.837Z] 
[task 2024-06-20T08:23:36.837Z] ============================= 143 passed in 3.54s ==============================
[task 2024-06-20T08:23:36.915Z] py39: commands[1]> coverage html
[task 2024-06-20T08:23:37.314Z] Wrote HTML report to htmlcov/index.html
[task 2024-06-20T08:23:37.495Z] py39: OK ✔ in 20.19 seconds
[task 2024-06-20T08:23:37.495Z] mypy: install_deps> python -I -m pip install mypy types-PyYAML
[task 2024-06-20T08:23:40.700Z] mypy: install_package_deps> python -I -m pip install PyYAML aiohttp immutabledict jsonschema
[task 2024-06-20T08:23:44.052Z] mypy: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/2/scriptworker_client-1.0.0-0.editable-py2.py3-none-any.whl
[task 2024-06-20T08:23:44.551Z] mypy: commands[0]> mypy src
[task 2024-06-20T08:23:49.220Z] Success: no issues found in 8 source files
[task 2024-06-20T08:23:49.230Z]   py39: OK (20.19=setup[15.69]+cmd[4.08,0.42] seconds)
[task 2024-06-20T08:23:49.230Z]   mypy: OK (11.89=setup[7.21]+cmd[4.68] seconds)
[task 2024-06-20T08:23:49.230Z]   congratulations :) (32.86 seconds)
[task 2024-06-20T08:23:49.286Z]   scriptworker_client-py39: OK (36.76=setup[3.67]+cmd[33.09] seconds)
[task 2024-06-20T08:23:49.286Z]   congratulations :) (36.92 seconds)
[taskcluster 2024-06-20 08:23:49.840Z] === Task Finished ===
[taskcluster 2024-06-20 08:23:49.841Z] Successful task run with exit code: 0 completed in 83.856 seconds