fix(cot): don't use parent repo when evaluating pull request json-e c… #646
firefoxci-taskcluster / tox-py38
succeeded
May 21, 2024 in 1m 14s
FirefoxCI (pull_request)
py38 tox-py38,check
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-05-21 20:20:01.681Z] Task ID: AW_FSQXZSnW0fJ2doEKNhw
[taskcluster 2024-05-21 20:20:01.681Z] Worker ID: 2786732251132509942
[taskcluster 2024-05-21 20:20:01.681Z] Worker Group: us-central1-f
[taskcluster 2024-05-21 20:20:01.681Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-05-21 20:20:01.681Z] Worker Pool: scriptworker-1/b-linux-gcp
[taskcluster 2024-05-21 20:20:01.681Z] Worker Version: 38.0.5
[taskcluster 2024-05-21 20:20:01.681Z] Public IP: 35.192.99.27
[taskcluster 2024-05-21 20:20:01.681Z] Hostname: scriptworker-1-b-linux-gcp-r1mo2g39ryssxwqaqofnvg
[taskcluster 2024-05-21 20:20:01.681Z] using cache "scriptworker-level-1-checkouts-v3-7afeb851dd97df8f3607-bsTZikw8QyuCugr6g5_cKA" -> /builds/worker/checkouts
[taskcluster 2024-05-21 20:20:02.259Z] Image 'public/image.tar.zst' from task 'bsTZikw8QyuCugr6g5_cKA' loaded. Using image ID sha256:3ea82eb54ae03dd7fbf7cc65f84d17ce422cbd923919f8521e148eda5bd313c2.
[taskcluster 2024-05-21 20:20:02.307Z] === Task Starting ===
[setup 2024-05-21T20:20:02.553Z] run-task started in /
[setup 2024-05-21T20:20:02.553Z] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce tox -e py38,check
[setup 2024-05-21T20:20:02.553Z] Python version: 3.8.18
[cache 2024-05-21T20:20:02.554Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2024-05-21T20:20:02.554Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-05-21T20:20:02.554Z] volume /builds/worker/checkouts is a cache
[setup 2024-05-21T20:20:02.554Z] running as worker:worker
[vcs 2024-05-21T20:20:02.554Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-05-21T20:20:02.557Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/scriptworker', 'fix_verify_cot']
[vcs 2024-05-21T20:20:02.846Z] From https://github.com/ahal/scriptworker
[vcs 2024-05-21T20:20:02.846Z] * branch fix_verify_cot -> FETCH_HEAD
[vcs 2024-05-21T20:20:02.847Z] executing ['git', 'checkout', '-f', '-B', 'fix_verify_cot', 'adbb1b12cb1e17638326aae6ca58fe2ff976bd02']
[vcs 2024-05-21T20:20:02.921Z] Reset branch 'fix_verify_cot'
[vcs 2024-05-21T20:20:02.921Z] cleaning git checkout...
[vcs 2024-05-21T20:20:02.921Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-05-21T20:20:02.970Z] removing ['/builds/worker/checkouts/vcs/.coverage', '/builds/worker/checkouts/vcs/.test/', '/builds/worker/checkouts/vcs/.tox/', '/builds/worker/checkouts/vcs/src/scriptworker.egg-info/']
[vcs 2024-05-21T20:20:03.209Z] successfully cleaned git checkout!
[vcs 2024-05-21T20:20:03.211Z] TinderboxPrint:<a href='https://github.com/ahal/scriptworker/commit/adbb1b12cb1e17638326aae6ca58fe2ff976bd02' title='Built from scriptworker commit adbb1b12cb1e17638326aae6ca58fe2ff976bd02'>adbb1b12cb1e17638326aae6ca58fe2ff976bd02</a>
[task 2024-05-21T20:20:03.212Z] executing ['sh', '-lxce', 'tox -e py38,check']
[task 2024-05-21T20:20:03.213Z] + id -u
[task 2024-05-21T20:20:03.214Z] + [ 1000 -eq 0 ]
[task 2024-05-21T20:20:03.214Z] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2024-05-21T20:20:03.214Z] + export PATH
[task 2024-05-21T20:20:03.214Z] + [ $ ]
[task 2024-05-21T20:20:03.214Z] + [ ]
[task 2024-05-21T20:20:03.214Z] + id -u
[task 2024-05-21T20:20:03.215Z] + [ 1000 -eq 0 ]
[task 2024-05-21T20:20:03.215Z] + PS1=$
[task 2024-05-21T20:20:03.215Z] + [ -d /etc/profile.d ]
[task 2024-05-21T20:20:03.215Z] + [ -r /etc/profile.d/*.sh ]
[task 2024-05-21T20:20:03.215Z] + unset i
[task 2024-05-21T20:20:03.215Z] + [ -n ]
[task 2024-05-21T20:20:03.215Z] + [ -d /builds/worker/bin ]
[task 2024-05-21T20:20:03.215Z] + [ -d /builds/worker/.local/bin ]
[task 2024-05-21T20:20:03.216Z] + tox -e py38,check
[task 2024-05-21T20:20:03.668Z] .pkg: remove tox env folder /builds/worker/checkouts/vcs/.tox/.pkg
[task 2024-05-21T20:20:03.916Z] py38: 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:14.231Z] .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
[task 2024-05-21T20:20:15.197Z] .pkg: _optional_hooks> python /usr/local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:20:15.424Z] .pkg: get_requires_for_build_editable> python /usr/local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:20:15.589Z] .pkg: install_requires_for_build_editable> python -I -m pip install wheel
[task 2024-05-21T20:20:16.014Z] .pkg: build_editable> python /usr/local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:20:16.121Z] py38: 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:22.228Z] py38: 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:22.648Z] py38: commands[0]> coverage run --source=src/scriptworker --branch --rcfile tox.ini -m pytest tests
[task 2024-05-21T20:20:24.358Z] ============================= test session starts ==============================
[task 2024-05-21T20:20:24.358Z] platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0
[task 2024-05-21T20:20:24.358Z] cachedir: .tox/py38/.pytest_cache
[task 2024-05-21T20:20:24.358Z] Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
[task 2024-05-21T20:20:24.358Z] rootdir: /builds/worker/checkouts/vcs
[task 2024-05-21T20:20:24.358Z] configfile: pyproject.toml
[task 2024-05-21T20:20:24.358Z] plugins: random-order-1.1.1, mock-3.14.0, asyncio-0.23.7
[task 2024-05-21T20:20:24.358Z] asyncio: mode=auto
[task 2024-05-21T20:20:24.358Z] collected 681 items
[task 2024-05-21T20:20:24.358Z]
[task 2024-05-21T20:20:39.322Z] tests/test_artifacts.py ..................................... [ 5%]
[task 2024-05-21T20:20:39.415Z] tests/test_client.py .......................... [ 9%]
[task 2024-05-21T20:20:39.511Z] tests/test_config.py .................................... [ 14%]
[task 2024-05-21T20:20:39.555Z] tests/test_context.py ............. [ 16%]
[task 2024-05-21T20:20:39.658Z] tests/test_cot_generate.py ...... [ 17%]
[task 2024-05-21T20:20:39.851Z] tests/test_cot_verify.py ............................................... [ 24%]
[task 2024-05-21T20:20:44.218Z] ........................................................................ [ 34%]
[task 2024-05-21T20:20:45.021Z] ........................................................................ [ 45%]
[task 2024-05-21T20:20:45.085Z] ............. [ 47%]
[task 2024-05-21T20:20:45.100Z] tests/test_ed25519.py ........ [ 48%]
[task 2024-05-21T20:20:45.516Z] tests/test_github.py ................................................... [ 55%]
[task 2024-05-21T20:20:45.532Z] ... [ 56%]
[task 2024-05-21T20:20:45.545Z] tests/test_integration.py ssssssssssss [ 58%]
[task 2024-05-21T20:20:45.597Z] tests/test_log.py ......... [ 59%]
[task 2024-05-21T20:20:45.613Z] tests/test_production.py sssssssssssssss [ 61%]
[task 2024-05-21T20:20:49.217Z] tests/test_task.py ..................................................... [ 69%]
[task 2024-05-21T20:20:56.593Z] ........................................................... [ 78%]
[task 2024-05-21T20:20:59.611Z] tests/test_task_process.py .... [ 78%]
[task 2024-05-21T20:21:00.239Z] tests/test_utils.py .................................................... [ 86%]
[task 2024-05-21T20:21:00.399Z] ........................................................... [ 95%]
[task 2024-05-21T20:21:00.413Z] tests/test_version.py .......... [ 96%]
[task 2024-05-21T20:21:02.779Z] tests/test_worker.py ........................ [100%]
[task 2024-05-21T20:21:02.780Z]
[task 2024-05-21T20:21:02.780Z] =============================== warnings summary ===============================
[task 2024-05-21T20:21:02.780Z] tests/conftest.py:81
[task 2024-05-21T20:21:02.780Z] /builds/worker/checkouts/vcs/tests/conftest.py:81: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:21:02.780Z] See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:21:02.780Z] async def fake_session():
[task 2024-05-21T20:21:02.780Z]
[task 2024-05-21T20:21:02.780Z] tests/conftest.py:90
[task 2024-05-21T20:21:02.780Z] /builds/worker/checkouts/vcs/tests/conftest.py:90: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:21:02.780Z] See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:21:02.780Z] async def fake_session_500():
[task 2024-05-21T20:21:02.780Z]
[task 2024-05-21T20:21:02.780Z] tests/conftest.py:99
[task 2024-05-21T20:21:02.781Z] /builds/worker/checkouts/vcs/tests/conftest.py:99: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:21:02.781Z] See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:21:02.781Z] async def fake_session_404():
[task 2024-05-21T20:21:02.781Z]
[task 2024-05-21T20:21:02.781Z] tests/test_worker.py::test_mocker_run_tasks_caught_exception[upload_artifacts-ScriptWorkerException-5]
[task 2024-05-21T20:21:02.781Z] tests/test_worker.py::test_mocker_upload_artifacts_uncaught_exception
[task 2024-05-21T20:21:02.781Z] tests/test_worker.py::test_run_tasks_no_cancel
[task 2024-05-21T20:21:02.781Z] tests/test_worker.py::test_run_tasks_cancel_right_before_claim_work
[task 2024-05-21T20:21:02.781Z] /usr/local/lib/python3.8/asyncio/base_events.py:641: RuntimeWarning: coroutine 'noop_async' was never awaited
[task 2024-05-21T20:21:02.781Z] self._ready.clear()
[task 2024-05-21T20:21:02.781Z] Enable tracemalloc to get traceback where the object was allocated.
[task 2024-05-21T20:21:02.781Z] See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
[task 2024-05-21T20:21:02.781Z]
[task 2024-05-21T20:21:02.781Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-05-21T20:21:02.781Z] ================= 654 passed, 27 skipped, 7 warnings in 39.42s =================
[task 2024-05-21T20:21:02.899Z] .pkg: _exit> python /usr/local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:21:03.043Z] py38: OK ✔ in 59.26 seconds
[task 2024-05-21T20:21:03.043Z] check: install_deps> python -I -m pip install black check-manifest flake8 'isort>=5'
[task 2024-05-21T20:21:06.715Z] check: commands[0]> black --check /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:07.781Z] All done! ✨ 🍰 ✨
[task 2024-05-21T20:21:07.781Z] 44 files would be left unchanged.
[task 2024-05-21T20:21:07.800Z] check: commands[1]> isort --check --df /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:08.085Z] Skipped 2 files
[task 2024-05-21T20:21:08.095Z] check: commands[2]> flake8 /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:09.240Z] check: commands[3]> check-manifest -v /builds/worker/checkouts/vcs
[task 2024-05-21T20:21:10.368Z] listing source files under version control: 31 files and directories
[task 2024-05-21T20:21:10.368Z] building an sdist: scriptworker-50.2.0.tar.gz: 31 files and directories
[task 2024-05-21T20:21:10.368Z] copying source files to a temporary directory
[task 2024-05-21T20:21:10.368Z] building a clean sdist: scriptworker-50.2.0.tar.gz: 31 files and directories
[task 2024-05-21T20:21:10.368Z] lists of files in version control and sdist match
[task 2024-05-21T20:21:10.388Z] py38: OK (59.26=setup[19.01]+cmd[40.25] seconds)
[task 2024-05-21T20:21:10.388Z] check: OK (7.46=setup[3.79]+cmd[1.08,0.29,1.14,1.15] seconds)
[task 2024-05-21T20:21:10.388Z] congratulations :) (67.00 seconds)
[taskcluster 2024-05-21 20:21:10.667Z] === Task Finished ===
[taskcluster 2024-05-21 20:21:10.667Z] Successful task run with exit code: 0 completed in 68.987 seconds
Loading