scriptworker_client: properly handle signals in run_command #1030
firefoxci-taskcluster / tox-scriptworker_client-python38
succeeded
Jun 20, 2024 in 2m 52s
FirefoxCI (pull_request)
scriptworker_client tox-py38
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-06-20 08:22:25.498Z] Worker ID: 1663923578281547910
[taskcluster 2024-06-20 08:22:25.498Z] Worker Group: us-west1-b
[taskcluster 2024-06-20 08:22:25.498Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-06-20 08:22:25.498Z] Worker Pool: scriptworker-1/b-linux-gcp
[taskcluster 2024-06-20 08:22:25.498Z] Worker Version: 38.0.5
[taskcluster 2024-06-20 08:22:25.498Z] Public IP: 34.19.68.226
[taskcluster 2024-06-20 08:22:25.498Z] Hostname: scriptworker-1-b-linux-gcp-ir5g2pnys7yzwqli0nuuka
[taskcluster 2024-06-20 08:22:25.498Z] using cache "scriptworker-level-1-checkouts-v3-7afeb851dd97df8f3607-bhY-ZErJRe66Ky35Tfux9g" -> /builds/worker/checkouts
[taskcluster 2024-06-20 08:22:31.166Z] Downloading artifact "public/image.tar.zst" from task ID: bhY-ZErJRe66Ky35Tfux9g.
[taskcluster 2024-06-20 08:22:34.202Z] Downloaded artifact successfully.
[taskcluster 2024-06-20 08:22:34.203Z] Downloaded 281.283 mb
[taskcluster 2024-06-20 08:22:34.204Z] Decompressing downloaded image
[taskcluster 2024-06-20 08:22:36.101Z] Loading docker image from downloaded archive.
[taskcluster 2024-06-20 08:22:51.870Z] Image 'public/image.tar.zst' from task 'bhY-ZErJRe66Ky35Tfux9g' loaded. Using image ID sha256:f97ff2cd99f21e71f8449c4587b37473914bdfb7e0ce18d423f18eb36dd82391.
[taskcluster 2024-06-20 08:22:51.983Z] === Task Starting ===
[setup 2024-06-20T08:22:54.275Z] run-task started in /
[setup 2024-06-20T08:22:54.275Z] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce tox -e scriptworker_client-py38
[setup 2024-06-20T08:22:54.275Z] Python version: 3.8.18
[cache 2024-06-20T08:22:54.276Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2024-06-20T08:22:54.277Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-06-20T08:22:54.277Z] volume /builds/worker/checkouts is a cache
[setup 2024-06-20T08:22:54.277Z] running as worker:worker
[vcs 2024-06-20T08:22:54.277Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-06-20T08:22:54.280Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker-scripts', '/builds/worker/checkouts/vcs']
[vcs 2024-06-20T08:22:54.282Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-06-20T08:22:58.724Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/jcristau/scriptworker-scripts', 'run_command-signals']
[vcs 2024-06-20T08:22:59.080Z] From https://github.com/jcristau/scriptworker-scripts
[vcs 2024-06-20T08:22:59.080Z] * branch run_command-signals -> FETCH_HEAD
[vcs 2024-06-20T08:22:59.081Z] executing ['git', 'checkout', '-f', '-B', 'run_command-signals', 'b7b4dd093472168dc4caf77c65abfd556813afa0']
[vcs 2024-06-20T08:23:00.145Z] Switched to a new branch 'run_command-signals'
[vcs 2024-06-20T08:23:00.146Z] cleaning git checkout...
[vcs 2024-06-20T08:23:00.146Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-06-20T08:23:00.156Z] removing []
[vcs 2024-06-20T08:23:00.156Z] successfully cleaned git checkout!
[vcs 2024-06-20T08:23:00.158Z] 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:00.158Z] executing ['sh', '-lxce', 'tox -e scriptworker_client-py38']
[task 2024-06-20T08:23:00.159Z] + id -u
[task 2024-06-20T08:23:00.160Z] + [ 1000 -eq 0 ]
[task 2024-06-20T08:23:00.160Z] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2024-06-20T08:23:00.160Z] + export PATH
[task 2024-06-20T08:23:00.160Z] + [ $ ]
[task 2024-06-20T08:23:00.160Z] + [ ]
[task 2024-06-20T08:23:00.161Z] + id -u
[task 2024-06-20T08:23:00.161Z] + [ 1000 -eq 0 ]
[task 2024-06-20T08:23:00.161Z] + PS1=$
[task 2024-06-20T08:23:00.161Z] + [ -d /etc/profile.d ]
[task 2024-06-20T08:23:00.162Z] + [ -r /etc/profile.d/*.sh ]
[task 2024-06-20T08:23:00.162Z] + unset i
[task 2024-06-20T08:23:00.162Z] + [ -n ]
[task 2024-06-20T08:23:00.162Z] + [ -d /builds/worker/bin ]
[task 2024-06-20T08:23:00.162Z] + [ -d /builds/worker/.local/bin ]
[task 2024-06-20T08:23:00.162Z] + tox -e scriptworker_client-py38
[task 2024-06-20T08:23:00.862Z] scriptworker_client-py38: install_deps> python -I -m pip install pyparsing tox
[task 2024-06-20T08:23:03.777Z] scriptworker_client-py38: commands[0] /builds/worker/checkouts/vcs/scriptworker_client> tox -e py38,mypy
[task 2024-06-20T08:23:05.071Z] py38: install_deps> python -I -m pip install -r requirements/test.py38.txt
[task 2024-06-20T08:23:14.474Z] .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
[task 2024-06-20T08:23:15.421Z] .pkg: _optional_hooks> python /builds/worker/checkouts/vcs/.tox/scriptworker_client-py38/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-06-20T08:23:15.692Z] .pkg: get_requires_for_build_editable> python /builds/worker/checkouts/vcs/.tox/scriptworker_client-py38/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-06-20T08:23:15.919Z] .pkg: install_requires_for_build_editable> python -I -m pip install wheel
[task 2024-06-20T08:23:16.334Z] .pkg: build_editable> python /builds/worker/checkouts/vcs/.tox/scriptworker_client-py38/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-06-20T08:23:16.625Z] py38: install_package_deps> python -I -m pip install PyYAML aiohttp immutabledict jsonschema
[task 2024-06-20T08:23:17.362Z] py38: 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:17.784Z] py38: 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:18.163Z] ============================= test session starts ==============================
[task 2024-06-20T08:23:18.163Z] platform linux -- Python 3.8.18, pytest-8.2.2, pluggy-1.5.0 -- /builds/worker/checkouts/vcs/.tox/py38/bin/python
[task 2024-06-20T08:23:18.163Z] cachedir: /builds/worker/checkouts/vcs/.tox/py38/.pytest_cache
[task 2024-06-20T08:23:18.163Z] rootdir: /builds/worker/checkouts/vcs/scriptworker_client
[task 2024-06-20T08:23:18.163Z] configfile: tox.ini
[task 2024-06-20T08:23:18.163Z] plugins: asyncio-0.23.7, cov-5.0.0, mock-3.14.0
[task 2024-06-20T08:23:18.163Z] asyncio: mode=strict
[task 2024-06-20T08:23:18.554Z] collecting ... collected 143 items
[task 2024-06-20T08:23:18.554Z]
[task 2024-06-20T08:23:18.559Z] tests/test_aio.py::test_raise_future_exceptions[coroutines0-expected0-False-None] PASSED
[task 2024-06-20T08:23:18.561Z] tests/test_aio.py::test_raise_future_exceptions[coroutines1-None-TaskError-None] PASSED
[task 2024-06-20T08:23:18.664Z] tests/test_aio.py::test_raise_future_exceptions[coroutines2-None-TimeoutError-0.1] PASSED
[task 2024-06-20T08:23:18.667Z] tests/test_aio.py::test_raise_future_exceptions[coroutines3-None-False-None] PASSED
[task 2024-06-20T08:23:18.870Z] tests/test_aio.py::test_semaphore_wrapper PASSED
[task 2024-06-20T08:23:18.876Z] tests/test_aio.py::test_lockfile[False-2-True] PASSED
[task 2024-06-20T08:23:18.879Z] tests/test_aio.py::test_lockfile[True-1-False] PASSED
[task 2024-06-20T08:23:19.884Z] tests/test_aio.py::test_LockfileFuture[True] PASSED
[task 2024-06-20T08:23:20.890Z] tests/test_aio.py::test_LockfileFuture[False] PASSED
[task 2024-06-20T08:23:20.892Z] tests/test_aio.py::test_LockfileFuture_replace_args[x/%(foo)s/y-x/bar/y] PASSED
[task 2024-06-20T08:23:20.894Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj1-expected1] PASSED
[task 2024-06-20T08:23:20.898Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj2-expected2] PASSED
[task 2024-06-20T08:23:20.898Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj3-expected3] PASSED
[task 2024-06-20T08:23:20.898Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj4-expected4] PASSED
[task 2024-06-20T08:23:20.903Z] tests/test_aio.py::test_LockfileFuture_replace_args[obj5-expected5] PASSED
[task 2024-06-20T08:23:20.903Z] tests/test_aio.py::test_LockfileFuture_replace_args[None-None] PASSED
[task 2024-06-20T08:23:20.903Z] tests/test_aio.py::test_LockfileFuture_replace_args[1-1] PASSED
[task 2024-06-20T08:23:20.903Z] tests/test_aio.py::test_calculate_sleep_time[0] PASSED
[task 2024-06-20T08:23:20.906Z] tests/test_aio.py::test_calculate_sleep_time[1] PASSED
[task 2024-06-20T08:23:20.906Z] tests/test_aio.py::test_calculate_sleep_time[2] PASSED
[task 2024-06-20T08:23:20.907Z] tests/test_aio.py::test_calculate_sleep_time[3] PASSED
[task 2024-06-20T08:23:20.909Z] tests/test_aio.py::test_calculate_sleep_time[4] PASSED
[task 2024-06-20T08:23:20.910Z] tests/test_aio.py::test_calculate_sleep_time[5] PASSED
[task 2024-06-20T08:23:20.911Z] tests/test_aio.py::test_retry_async_fail_first PASSED
[task 2024-06-20T08:23:20.913Z] tests/test_aio.py::test_retry_async_always_fail PASSED
[task 2024-06-20T08:23:20.917Z] tests/test_aio.py::test_request[200-expected-text-expected-None-1] PASSED
[task 2024-06-20T08:23:20.921Z] tests/test_aio.py::test_request[200-expected-json-expected1-None-1] PASSED
[task 2024-06-20T08:23:20.923Z] tests/test_aio.py::test_request[200-expected-response-expected-None-1] PASSED
[task 2024-06-20T08:23:20.928Z] tests/test_aio.py::test_request[500,200-expected-text-expected-None-3] PASSED
[task 2024-06-20T08:23:20.931Z] tests/test_aio.py::test_request[500-expected-text-expected-RetryError-2] PASSED
[task 2024-06-20T08:23:20.935Z] tests/test_aio.py::test_request[404-expected-text-expected-TaskError-1] PASSED
[task 2024-06-20T08:23:20.939Z] tests/test_aio.py::test_download_file[200-firstsecond-False] PASSED
[task 2024-06-20T08:23:20.943Z] tests/test_aio.py::test_download_file[404-None-Download404] PASSED
[task 2024-06-20T08:23:20.946Z] tests/test_aio.py::test_download_file[500-None-DownloadError] PASSED
[task 2024-06-20T08:23:20.950Z] tests/test_artifacts.py::test_get_upstream_artifacts_full_paths_per_task_id PASSED
[task 2024-06-20T08:23:20.952Z] tests/test_artifacts.py::test_fail_get_upstream_artifacts_full_paths_per_task_id PASSED
[task 2024-06-20T08:23:20.955Z] tests/test_artifacts.py::test_get_and_check_single_upstream_artifact_full_path PASSED
[task 2024-06-20T08:23:20.957Z] tests/test_artifacts.py::test_get_single_upstream_artifact_full_path PASSED
[task 2024-06-20T08:23:20.958Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts0-expected0] PASSED
[task 2024-06-20T08:23:20.960Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts1-expected1] PASSED
[task 2024-06-20T08:23:20.961Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts2-expected2] PASSED
[task 2024-06-20T08:23:20.962Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts3-expected3] PASSED
[task 2024-06-20T08:23:20.964Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts4-expected4] PASSED
[task 2024-06-20T08:23:20.965Z] tests/test_artifacts.py::test_get_optional_artifacts_per_task_id[upstream_artifacts5-expected5] PASSED
[task 2024-06-20T08:23:20.967Z] tests/test_artifacts.py::test_assert_is_parent[/foo/bar/baz-/foo/bar-False] PASSED
[task 2024-06-20T08:23:20.969Z] tests/test_artifacts.py::test_assert_is_parent[/foo-/foo/bar-True] PASSED
[task 2024-06-20T08:23:20.973Z] tests/test_artifacts.py::test_assert_is_parent[/foo/bar/..-/foo/bar-True] PASSED
[task 2024-06-20T08:23:20.973Z] tests/test_artifacts.py::test_assert_is_parent_softlink PASSED
[task 2024-06-20T08:23:20.975Z] tests/test_client.py::test_get_task PASSED
[task 2024-06-20T08:23:20.980Z] tests/test_client.py::test_verify_json_schema[data0-schema0-False] PASSED
[task 2024-06-20T08:23:20.986Z] tests/test_client.py::test_verify_json_schema[data1-schema1-True] PASSED
[task 2024-06-20T08:23:20.992Z] tests/test_client.py::test_verify_json_schema[data2-schema2-True] PASSED
[task 2024-06-20T08:23:20.997Z] tests/test_client.py::test_verify_json_schema[data3-schema3-True] PASSED
[task 2024-06-20T08:23:21.002Z] tests/test_client.py::test_verify_json_schema[data4-schema4-True] PASSED
[task 2024-06-20T08:23:21.011Z] tests/test_client.py::test_verify_task_schema PASSED
[task 2024-06-20T08:23:21.021Z] tests/test_client.py::test_sync_main_runs_fully[True] PASSED
[task 2024-06-20T08:23:21.025Z] tests/test_client.py::test_sync_main_runs_fully[False] PASSED
[task 2024-06-20T08:23:21.027Z] tests/test_client.py::test_usage PASSED
[task 2024-06-20T08:23:21.029Z] tests/test_client.py::test_init_logging[True-10] PASSED
[task 2024-06-20T08:23:21.031Z] tests/test_client.py::test_init_logging[False-20] PASSED
[task 2024-06-20T08:23:21.033Z] tests/test_client.py::test_handle_asyncio_loop PASSED
[task 2024-06-20T08:23:21.036Z] tests/test_client.py::test_fail_handle_asyncio_loop PASSED
[task 2024-06-20T08:23:21.039Z] tests/test_client.py::test_init_config_cli PASSED
[task 2024-06-20T08:23:21.041Z] tests/test_github.py::test_is_github_url[https://github.com/-True] PASSED
[task 2024-06-20T08:23:21.042Z] tests/test_github.py::test_is_github_url[https://github.com/some-user-True] PASSED
[task 2024-06-20T08:23:21.045Z] tests/test_github.py::test_is_github_url[https://github.com/some-user/some-repo-True] PASSED
[task 2024-06-20T08:23:21.045Z] 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:21.046Z] tests/test_github.py::test_is_github_url[https://hg.mozilla.org-False] PASSED
[task 2024-06-20T08:23:21.048Z] tests/test_github.py::test_is_github_url[None-False] PASSED
[task 2024-06-20T08:23:21.049Z] tests/test_github.py::test_is_github_url[ssh://hg.mozilla.org/some-repo-False] PASSED
[task 2024-06-20T08:23:21.051Z] tests/test_github.py::test_is_github_url[ssh://github.com/some-user-True] PASSED
[task 2024-06-20T08:23:21.052Z] tests/test_github.py::test_is_github_url[ssh://github.com/some-user/some-repo.git-True] PASSED
[task 2024-06-20T08:23:21.054Z] 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:21.055Z] 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:21.057Z] 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:21.059Z] 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:21.061Z] 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:21.062Z] 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:21.064Z] 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:21.066Z] 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:21.067Z] 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:21.069Z] tests/test_github.py::test_extract_github_repo_full_name[https://hg.mozilla.org/mozilla-central-None-True] PASSED
[task 2024-06-20T08:23:21.070Z] 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:21.072Z] 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:21.073Z] 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:21.075Z] 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:21.077Z] tests/test_github.py::test_extract_github_repo_ssh_url[https://hg.mozilla.org/mozilla-central-None-True] PASSED
[task 2024-06-20T08:23:21.079Z] 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:21.081Z] tests/test_utils.py::test_load_json_or_yaml[{"a": "b"}-False-None-False-result1] PASSED
[task 2024-06-20T08:23:21.083Z] tests/test_utils.py::test_load_json_or_yaml[{"a": "b}-False-None-False-None] PASSED
[task 2024-06-20T08:23:21.085Z] tests/test_utils.py::test_load_json_or_yaml[{"a": "b}-False-TaskError-True-None] PASSED
[task 2024-06-20T08:23:21.087Z] tests/test_utils.py::test_get_artifact_path[None-cot/taskId/public/foo] PASSED
[task 2024-06-20T08:23:21.088Z] tests/test_utils.py::test_get_artifact_path[work_dir-work_dir/cot/taskId/public/foo] PASSED
[task 2024-06-20T08:23:21.090Z] 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:21.091Z] tests/test_utils.py::test_to_unicode[Hello, \U0001f4a9!-Hello, \U0001f4a9!] PASSED
[task 2024-06-20T08:23:21.092Z] tests/test_utils.py::test_to_unicode[None-None] PASSED
[task 2024-06-20T08:23:21.094Z] 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:21.095Z] 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:21.097Z] tests/test_utils.py::test_to_unicode[input5-expected5] PASSED
[task 2024-06-20T08:23:21.098Z] tests/test_utils.py::test_to_unicode[foo-foo] PASSED
[task 2024-06-20T08:23:21.105Z] tests/test_utils.py::test_pipe_to_log PASSED
[task 2024-06-20T08:23:21.108Z] tests/test_utils.py::test_get_log_filehandle[None] PASSED
[task 2024-06-20T08:23:21.110Z] tests/test_utils.py::test_get_log_filehandle[log] PASSED
[task 2024-06-20T08:23:21.118Z] tests/test_utils.py::test_run_command[command0-1-expected_log0-None-False-None-False] PASSED
[task 2024-06-20T08:23:21.126Z] tests/test_utils.py::test_run_command[command1-1-expected_log1-TaskError-False-env1-True] PASSED
[task 2024-06-20T08:23:21.134Z] tests/test_utils.py::test_run_command[command2--11-expected_log2-TaskError-True-None-True] PASSED
[task 2024-06-20T08:23:21.139Z] tests/test_utils.py::test_list_files PASSED
[task 2024-06-20T08:23:21.141Z] tests/test_utils.py::test_makedirs[None-False] PASSED
[task 2024-06-20T08:23:21.143Z] tests/test_utils.py::test_makedirs[/builds/worker/checkouts/vcs/scriptworker_client/tests/data/bad.json-True] PASSED
[task 2024-06-20T08:23:21.146Z] tests/test_utils.py::test_makedirs[/builds/worker/checkouts/vcs/scriptworker_client/tests/data/bad.json/bar-True] PASSED
[task 2024-06-20T08:23:21.148Z] tests/test_utils.py::test_makedirs[/builds/worker/checkouts/vcs/scriptworker_client/tests-False] PASSED
[task 2024-06-20T08:23:21.150Z] tests/test_utils.py::test_makedirs[%s/foo/bar/baz-False] PASSED
[task 2024-06-20T08:23:21.151Z] tests/test_utils.py::test_rm_empty PASSED
[task 2024-06-20T08:23:21.153Z] tests/test_utils.py::test_rm_file PASSED
[task 2024-06-20T08:23:21.155Z] tests/test_utils.py::test_rm_dir PASSED
[task 2024-06-20T08:23:21.156Z] tests/test_utils.py::test_calculate_no_sleep_time[-1] PASSED
[task 2024-06-20T08:23:21.158Z] tests/test_utils.py::test_calculate_no_sleep_time[0] PASSED
[task 2024-06-20T08:23:21.159Z] tests/test_utils.py::test_calculate_sleep_time[1-kwargs0-5.0-5.0] PASSED
[task 2024-06-20T08:23:21.161Z] tests/test_utils.py::test_calculate_sleep_time[2-kwargs1-10.0-12.5] PASSED
[task 2024-06-20T08:23:21.163Z] tests/test_utils.py::test_calculate_sleep_time[3-kwargs2-10.0-10.0] PASSED
[task 2024-06-20T08:23:21.165Z] tests/test_utils.py::test_retry_async_fail_first PASSED
[task 2024-06-20T08:23:21.167Z] tests/test_utils.py::test_retry_async_always_fail PASSED
[task 2024-06-20T08:23:21.169Z] tests/test_utils.py::test_retry_async_decorator_fail_first PASSED
[task 2024-06-20T08:23:21.171Z] tests/test_utils.py::test_retry_async_decorator_always_fail_async PASSED
[task 2024-06-20T08:23:21.278Z] tests/test_utils.py::test_async_wrap PASSED
[task 2024-06-20T08:23:21.280Z] tests/test_utils.py::test_raise_future_exceptions[OSError] PASSED
[task 2024-06-20T08:23:21.293Z] tests/test_utils.py::test_raise_future_exceptions[SyntaxError] PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_raise_future_exceptions[None] PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar-expected0] PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar/baz-expected1] PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar/baz?param1=value-expected2] PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_get_parts_of_url_path[https://foo/bar/baz?param1=value1¶m2=value2-expected3] PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_raise_future_exceptions_noop PASSED
[task 2024-06-20T08:23:21.294Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence0-<lambda>-b] PASSED
[task 2024-06-20T08:23:21.295Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence1-<lambda>-expected1] PASSED
[task 2024-06-20T08:23:21.297Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence2-<lambda>-5] PASSED
[task 2024-06-20T08:23:21.298Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence3-<lambda>-b] PASSED
[task 2024-06-20T08:23:21.300Z] tests/test_utils.py::test_get_single_item_from_sequence[sequence4-<lambda>-2] PASSED
[task 2024-06-20T08:23:21.305Z] 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:21.306Z] 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:21.306Z] 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:21.307Z] 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:21.418Z] 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:21.418Z]
[task 2024-06-20T08:23:21.418Z] ---------- coverage: platform linux, python 3.8.18-final-0 -----------
[task 2024-06-20T08:23:21.418Z] Name Stmts Miss Branch BrPart Cover Missing
[task 2024-06-20T08:23:21.418Z] -----------------------------------------------------------------------------------
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/__init__.py 0 0 0 0 100%
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/aio.py 142 0 53 0 100%
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/artifacts.py 46 0 16 0 100%
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/client.py 60 0 8 0 100%
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/constants.py 1 0 0 0 100%
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/exceptions.py 15 0 0 0 100%
[task 2024-06-20T08:23:21.418Z] src/scriptworker_client/github.py 22 0 6 0 100%
[task 2024-06-20T08:23:21.419Z] src/scriptworker_client/utils.py 187 3 62 3 98% 139, 458->460, 495-496
[task 2024-06-20T08:23:21.419Z] -----------------------------------------------------------------------------------
[task 2024-06-20T08:23:21.419Z] TOTAL 473 3 145 3 99%
[task 2024-06-20T08:23:21.419Z]
[task 2024-06-20T08:23:21.419Z]
[task 2024-06-20T08:23:21.419Z] Usage: x CONFIG_FILE
[task 2024-06-20T08:23:21.420Z] ============================= 143 passed in 3.27s ==============================
[task 2024-06-20T08:23:21.476Z] py38: commands[1]> coverage html
[task 2024-06-20T08:23:21.821Z] Wrote HTML report to htmlcov/index.html
[task 2024-06-20T08:23:21.950Z] py38: OK ✔ in 17.14 seconds
[task 2024-06-20T08:23:21.950Z] mypy: install_deps> python -I -m pip install mypy types-PyYAML
[task 2024-06-20T08:23:24.707Z] mypy: install_package_deps> python -I -m pip install PyYAML aiohttp immutabledict jsonschema
[task 2024-06-20T08:23:27.943Z] 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:28.351Z] mypy: commands[0]> mypy src
[task 2024-06-20T08:23:31.847Z] Success: no issues found in 8 source files
[task 2024-06-20T08:23:31.856Z] py38: OK (17.14=setup[13.09]+cmd[3.69,0.36] seconds)
[task 2024-06-20T08:23:31.856Z] mypy: OK (10.02=setup[6.51]+cmd[3.50] seconds)
[task 2024-06-20T08:23:31.856Z] congratulations :) (27.94 seconds)
[task 2024-06-20T08:23:31.892Z] scriptworker_client-py38: OK (31.33=setup[3.22]+cmd[28.11] seconds)
[task 2024-06-20T08:23:31.892Z] congratulations :) (31.44 seconds)
[taskcluster 2024-06-20 08:23:32.774Z] === Task Finished ===
[taskcluster 2024-06-20 08:23:32.775Z] Successful task run with exit code: 0 completed in 67.278 seconds
Loading