fix(cot): don't use parent repo when evaluating pull request json-e c… #646
firefoxci-taskcluster / tox-py311
succeeded
May 21, 2024 in 1m 21s
FirefoxCI (pull_request)
py311 tox-py311,check
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-05-21 20:20:06.294Z] Task ID: L6OA47M-RY6pV_9aXYsJXg
[taskcluster 2024-05-21 20:20:06.294Z] Worker ID: 7580915480121097974
[taskcluster 2024-05-21 20:20:06.294Z] Worker Group: us-west1-b
[taskcluster 2024-05-21 20:20:06.294Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-05-21 20:20:06.294Z] Worker Pool: scriptworker-1/b-linux-gcp
[taskcluster 2024-05-21 20:20:06.294Z] Worker Version: 38.0.5
[taskcluster 2024-05-21 20:20:06.294Z] Public IP: 34.145.54.4
[taskcluster 2024-05-21 20:20:06.294Z] Hostname: scriptworker-1-b-linux-gcp-bix32nw9tsmgegfwgxlsmg
[taskcluster 2024-05-21 20:20:06.294Z] using cache "scriptworker-level-1-checkouts-v3-7afeb851dd97df8f3607-RwYnDiNCQ8mvgqvkfXWdgA" -> /builds/worker/checkouts
[taskcluster 2024-05-21 20:20:06.769Z] Downloading artifact "public/image.tar.zst" from task ID: RwYnDiNCQ8mvgqvkfXWdgA.
[taskcluster 2024-05-21 20:20:08.522Z] Downloaded artifact successfully.
[taskcluster 2024-05-21 20:20:08.522Z] Downloaded 76.337 mb
[taskcluster 2024-05-21 20:20:08.523Z] Decompressing downloaded image
[taskcluster 2024-05-21 20:20:09.127Z] Loading docker image from downloaded archive.
[taskcluster 2024-05-21 20:20:13.067Z] Image 'public/image.tar.zst' from task 'RwYnDiNCQ8mvgqvkfXWdgA' loaded. Using image ID sha256:347d54ecfaabebad749368e578e1641bb68fe9fae70bdad45ce9fcd2c473f0d3.
[taskcluster 2024-05-21 20:20:13.133Z] === Task Starting ===
[setup 2024-05-21T20:20:13.905Z] run-task started in /
[setup 2024-05-21T20:20:13.905Z] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce tox -e py311,check
[setup 2024-05-21T20:20:13.905Z] Python version: 3.11.8
[cache 2024-05-21T20:20:13.907Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2024-05-21T20:20:13.907Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-05-21T20:20:13.907Z] volume /builds/worker/checkouts is a cache
[setup 2024-05-21T20:20:13.907Z] running as worker:worker
[vcs 2024-05-21T20:20:13.908Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-05-21T20:20:13.912Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker', '/builds/worker/checkouts/vcs']
[vcs 2024-05-21T20:20:13.914Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-05-21T20:20:14.739Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/scriptworker', 'fix_verify_cot']
[vcs 2024-05-21T20:20:15.129Z] From https://github.com/ahal/scriptworker
[vcs 2024-05-21T20:20:15.129Z] * branch fix_verify_cot -> FETCH_HEAD
[vcs 2024-05-21T20:20:15.131Z] executing ['git', 'checkout', '-f', '-B', 'fix_verify_cot', 'adbb1b12cb1e17638326aae6ca58fe2ff976bd02']
[vcs 2024-05-21T20:20:15.215Z] Switched to a new branch 'fix_verify_cot'
[vcs 2024-05-21T20:20:15.216Z] cleaning git checkout...
[vcs 2024-05-21T20:20:15.216Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-05-21T20:20:15.218Z] removing []
[vcs 2024-05-21T20:20:15.218Z] successfully cleaned git checkout!
[vcs 2024-05-21T20:20:15.220Z] TinderboxPrint:<a href='https://github.com/ahal/scriptworker/commit/adbb1b12cb1e17638326aae6ca58fe2ff976bd02' title='Built from scriptworker commit adbb1b12cb1e17638326aae6ca58fe2ff976bd02'>adbb1b12cb1e17638326aae6ca58fe2ff976bd02</a>
[task 2024-05-21T20:20:15.220Z] executing ['sh', '-lxce', 'tox -e py311,check']
[task 2024-05-21T20:20:15.221Z] + id -u
[task 2024-05-21T20:20:15.222Z] + [ 1000 -eq 0 ]
[task 2024-05-21T20:20:15.222Z] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2024-05-21T20:20:15.222Z] + export PATH
[task 2024-05-21T20:20:15.222Z] + [ $ ]
[task 2024-05-21T20:20:15.222Z] + [ ]
[task 2024-05-21T20:20:15.222Z] + id -u
[task 2024-05-21T20:20:15.223Z] + [ 1000 -eq 0 ]
[task 2024-05-21T20:20:15.223Z] + PS1=$
[task 2024-05-21T20:20:15.223Z] + [ -d /etc/profile.d ]
[task 2024-05-21T20:20:15.223Z] + [ -r /etc/profile.d/*.sh ]
[task 2024-05-21T20:20:15.223Z] + unset i
[task 2024-05-21T20:20:15.224Z] + [ -n ]
[task 2024-05-21T20:20:15.224Z] + [ -d /builds/worker/bin ]
[task 2024-05-21T20:20:15.224Z] + [ -d /builds/worker/.local/bin ]
[task 2024-05-21T20:20:15.224Z] + tox -e py311,check
[task 2024-05-21T20:20:15.649Z] .pkg: remove tox env folder /builds/worker/checkouts/vcs/.tox/.pkg
[task 2024-05-21T20:20:15.898Z] py311: install_deps> python -I -m pip install 'aiohttp>=3' asyncio_extras coveralls flake8 flake8_docstrings mock pydocstyle==3.0.0 pytest pytest-asyncio pytest-mock pytest-random-order virtualenv
[task 2024-05-21T20:20:23.550Z] .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
[task 2024-05-21T20:20:24.746Z] .pkg: _optional_hooks> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:20:24.992Z] .pkg: get_requires_for_build_editable> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:20:25.161Z] .pkg: install_requires_for_build_editable> python -I -m pip install wheel
[task 2024-05-21T20:20:25.609Z] .pkg: build_editable> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:20:25.725Z] py311: install_package_deps> python -I -m pip install PyYAML 'aiohttp>=3' aiomemoizettl 'arrow>=1.0' 'cryptography>=2.6.1' dictdiffer github3.py 'immutabledict>=1.3.0' 'json-e>=2.5.0' jsonschema 'taskcluster>=40'
[task 2024-05-21T20:20:30.219Z] py311: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/1/scriptworker-50.2.0-0.editable-py2.py3-none-any.whl
[task 2024-05-21T20:20:30.706Z] py311: commands[0]> coverage run --source=src/scriptworker --branch --rcfile tox.ini -m pytest tests
[task 2024-05-21T20:20:32.863Z] ============================= test session starts ==============================
[task 2024-05-21T20:20:32.863Z] platform linux -- Python 3.11.8, pytest-8.2.1, pluggy-1.5.0
[task 2024-05-21T20:20:32.863Z] cachedir: .tox/py311/.pytest_cache
[task 2024-05-21T20:20:32.863Z] Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
[task 2024-05-21T20:20:32.863Z] rootdir: /builds/worker/checkouts/vcs
[task 2024-05-21T20:20:32.863Z] configfile: pyproject.toml
[task 2024-05-21T20:20:32.863Z] plugins: mock-3.14.0, asyncio-0.23.7, random-order-1.1.1
[task 2024-05-21T20:20:32.863Z] asyncio: mode=Mode.AUTO
[task 2024-05-21T20:20:32.863Z] collected 681 items
[task 2024-05-21T20:20:32.863Z]
[task 2024-05-21T20:20:46.688Z] tests/test_artifacts.py ..................................... [ 5%]
[task 2024-05-21T20:20:46.790Z] tests/test_client.py .......................... [ 9%]
[task 2024-05-21T20:20:46.911Z] tests/test_config.py .................................... [ 14%]
[task 2024-05-21T20:20:46.967Z] tests/test_context.py ............. [ 16%]
[task 2024-05-21T20:20:47.080Z] tests/test_cot_generate.py ...... [ 17%]
[task 2024-05-21T20:20:47.319Z] tests/test_cot_verify.py ............................................... [ 24%]
[task 2024-05-21T20:20:51.497Z] ........................................................................ [ 34%]
[task 2024-05-21T20:20:52.523Z] ........................................................................ [ 45%]
[task 2024-05-21T20:20:52.603Z] ............. [ 47%]
[task 2024-05-21T20:20:52.622Z] tests/test_ed25519.py ........ [ 48%]
[task 2024-05-21T20:20:53.055Z] tests/test_github.py ................................................... [ 55%]
[task 2024-05-21T20:20:53.073Z] ... [ 56%]
[task 2024-05-21T20:20:53.090Z] tests/test_integration.py ssssssssssss [ 58%]
[task 2024-05-21T20:20:53.151Z] tests/test_log.py ......... [ 59%]
[task 2024-05-21T20:20:53.172Z] tests/test_production.py sssssssssssssss [ 61%]
[task 2024-05-21T20:20:56.661Z] tests/test_task.py ..................................................... [ 69%]
[task 2024-05-21T20:21:04.080Z] ........................................................... [ 78%]
[task 2024-05-21T20:21:07.102Z] tests/test_task_process.py .... [ 78%]
[task 2024-05-21T20:21:07.754Z] tests/test_utils.py .................................................... [ 86%]
[task 2024-05-21T20:21:07.951Z] ........................................................... [ 95%]
[task 2024-05-21T20:21:07.970Z] tests/test_version.py .......... [ 96%]
[task 2024-05-21T20:21:10.422Z] tests/test_worker.py ........................ [100%]
[task 2024-05-21T20:21:10.422Z]
[task 2024-05-21T20:21:10.422Z] =============================== warnings summary ===============================
[task 2024-05-21T20:21:10.422Z] tests/conftest.py:79
[task 2024-05-21T20:21:10.422Z] /builds/worker/checkouts/vcs/tests/conftest.py:79: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:21:10.422Z] See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:21:10.422Z] @pytest.mark.asyncio
[task 2024-05-21T20:21:10.422Z]
[task 2024-05-21T20:21:10.422Z] tests/conftest.py:88
[task 2024-05-21T20:21:10.422Z] /builds/worker/checkouts/vcs/tests/conftest.py:88: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:21:10.422Z] See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:21:10.422Z] @pytest.mark.asyncio
[task 2024-05-21T20:21:10.423Z]
[task 2024-05-21T20:21:10.423Z] tests/conftest.py:97
[task 2024-05-21T20:21:10.423Z] /builds/worker/checkouts/vcs/tests/conftest.py:97: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:21:10.423Z] See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:21:10.423Z] @pytest.mark.asyncio
[task 2024-05-21T20:21:10.423Z]
[task 2024-05-21T20:21:10.423Z] tests/test_worker.py::test_mocker_run_tasks_caught_exception[upload_artifacts-ScriptWorkerException-5]
[task 2024-05-21T20:21:10.423Z] tests/test_worker.py::test_mocker_run_tasks_caught_exception[upload_artifacts-ClientError-7]
[task 2024-05-21T20:21:10.423Z] tests/test_worker.py::test_run_tasks_killed
[task 2024-05-21T20:21:10.424Z] tests/test_worker.py::test_run_tasks_cancel_cot
[task 2024-05-21T20:21:10.424Z] /usr/local/lib/python3.11/asyncio/base_events.py:679: RuntimeWarning: coroutine 'noop_async' was never awaited
[task 2024-05-21T20:21:10.424Z] self._ready.clear()
[task 2024-05-21T20:21:10.424Z] Enable tracemalloc to get traceback where the object was allocated.
[task 2024-05-21T20:21:10.424Z] See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
[task 2024-05-21T20:21:10.424Z]
[task 2024-05-21T20:21:10.424Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-05-21T20:21:10.424Z] ================= 654 passed, 27 skipped, 7 warnings in 38.87s =================
[task 2024-05-21T20:21:10.425Z] Task was destroyed but it is pending!
[task 2024-05-21T20:21:10.425Z] task: <Task cancelling name='Task-1056' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:21:10.425Z] /usr/local/lib/python3.11/asyncio/base_events.py:679: RuntimeWarning: coroutine 'noop_async' was never awaited
[task 2024-05-21T20:21:10.426Z] self._ready.clear()
[task 2024-05-21T20:21:10.426Z] RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[task 2024-05-21T20:21:10.426Z] Task was destroyed but it is pending!
[task 2024-05-21T20:21:10.426Z] task: <Task cancelling name='Task-1078' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:21:10.428Z] Task was destroyed but it is pending!
[task 2024-05-21T20:21:10.428Z] task: <Task cancelling name='Task-1103' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:21:10.428Z] Task was destroyed but it is pending!
[task 2024-05-21T20:21:10.429Z] task: <Task cancelling name='Task-1110' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:21:10.429Z] Task was destroyed but it is pending!
[task 2024-05-21T20:21:10.429Z] task: <Task cancelling name='Task-1115' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:21:10.429Z] Task was destroyed but it is pending!
[task 2024-05-21T20:21:10.429Z] task: <Task cancelling name='Task-1121' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:21:10.572Z] .pkg: _exit> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:21:10.743Z] py311: OK ✔ in 54.97 seconds
[task 2024-05-21T20:21:10.743Z] check: install_deps> python -I -m pip install black check-manifest flake8 'isort>=5'
[task 2024-05-21T20:21:13.521Z] check: commands[0]> black --check /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:14.730Z] All done! ✨ 🍰 ✨
[task 2024-05-21T20:21:14.730Z] 44 files would be left unchanged.
[task 2024-05-21T20:21:14.759Z] check: commands[1]> isort --check --df /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:15.020Z] Skipped 2 files
[task 2024-05-21T20:21:15.036Z] check: commands[2]> flake8 /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:16.098Z] check: commands[3]> check-manifest -v /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:17.311Z] listing source files under version control: 31 files and directories
[task 2024-05-21T20:21:17.311Z] building an sdist: scriptworker-50.2.0.tar.gz: 31 files and directories
[task 2024-05-21T20:21:17.311Z] copying source files to a temporary directory
[task 2024-05-21T20:21:17.311Z] building a clean sdist: scriptworker-50.2.0.tar.gz: 31 files and directories
[task 2024-05-21T20:21:17.311Z] lists of files in version control and sdist match
[task 2024-05-21T20:21:17.336Z] py311: OK (54.97=setup[15.10]+cmd[39.86] seconds)
[task 2024-05-21T20:21:17.336Z] check: OK (6.72=setup[2.91]+cmd[1.24,0.28,1.06,1.24] seconds)
[task 2024-05-21T20:21:17.336Z] congratulations :) (61.91 seconds)
[taskcluster 2024-05-21 20:21:17.637Z] === Task Finished ===
[taskcluster 2024-05-21 20:21:17.637Z] Successful task run with exit code: 0 completed in 71.344 seconds
Loading