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

fix(cot): don't use parent repo when evaluating pull request json-e c… #646

Merged
merged 2 commits into from
May 22, 2024

fix(cot): only use parent repo for pull request data if base repo dif…

adbb1b1
Select commit
Loading
Failed to load commit list.
Merged

fix(cot): don't use parent repo when evaluating pull request json-e c… #646

fix(cot): only use parent repo for pull request data if base repo dif…
adbb1b1
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tox-py311-cot succeeded May 21, 2024 in 4m 24s

FirefoxCI (pull_request)

py311-cot tox-py311-cot

Details

View task in Taskcluster
View logs in Taskcluster


[taskcluster 2024-05-21 20:20:02.279Z] Task ID: CqNBylliRCWpBZ6g1lLQwg
[taskcluster 2024-05-21 20:20:02.279Z] Worker ID: 752157435008958198
[taskcluster 2024-05-21 20:20:02.279Z] Worker Group: us-west1-a
[taskcluster 2024-05-21 20:20:02.279Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-05-21 20:20:02.279Z] Worker Pool: scriptworker-1/b-linux-gcp
[taskcluster 2024-05-21 20:20:02.279Z] Worker Version: 38.0.5
[taskcluster 2024-05-21 20:20:02.279Z] Public IP: 35.197.19.28
[taskcluster 2024-05-21 20:20:02.279Z] Hostname: scriptworker-1-b-linux-gcp-dijgt04xqzmdtnfuehtfvw
[taskcluster 2024-05-21 20:20:02.279Z] using cache "scriptworker-level-1-checkouts-v3-7afeb851dd97df8f3607-RwYnDiNCQ8mvgqvkfXWdgA" -> /builds/worker/checkouts

[taskcluster 2024-05-21 20:20:02.560Z] Image 'public/image.tar.zst' from task 'RwYnDiNCQ8mvgqvkfXWdgA' loaded.  Using image ID sha256:347d54ecfaabebad749368e578e1641bb68fe9fae70bdad45ce9fcd2c473f0d3.
[taskcluster 2024-05-21 20:20:02.570Z] === Task Starting ===
[setup 2024-05-21T20:20:02.807Z] run-task started in /
[setup 2024-05-21T20:20:02.807Z] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce tox -e py311-cot
[setup 2024-05-21T20:20:02.807Z] Python version: 3.11.8
[cache 2024-05-21T20:20:02.808Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2024-05-21T20:20:02.808Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-05-21T20:20:02.808Z] volume /builds/worker/checkouts is a cache
[setup 2024-05-21T20:20:02.808Z] running as worker:worker
[vcs 2024-05-21T20:20:02.808Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-05-21T20:20:02.811Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/scriptworker', 'fix_verify_cot']
[vcs 2024-05-21T20:20:03.175Z] From https://github.com/ahal/scriptworker
[vcs 2024-05-21T20:20:03.175Z]  * branch            fix_verify_cot -> FETCH_HEAD
[vcs 2024-05-21T20:20:03.176Z] executing ['git', 'checkout', '-f', '-B', 'fix_verify_cot', 'adbb1b12cb1e17638326aae6ca58fe2ff976bd02']
[vcs 2024-05-21T20:20:03.247Z] Reset branch 'fix_verify_cot'
[vcs 2024-05-21T20:20:03.247Z] cleaning git checkout...
[vcs 2024-05-21T20:20:03.247Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-05-21T20:20:03.292Z] 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.496Z] successfully cleaned git checkout!
[vcs 2024-05-21T20:20:03.498Z] TinderboxPrint:<a href='https://github.com/ahal/scriptworker/commit/adbb1b12cb1e17638326aae6ca58fe2ff976bd02' title='Built from scriptworker commit adbb1b12cb1e17638326aae6ca58fe2ff976bd02'>adbb1b12cb1e17638326aae6ca58fe2ff976bd02</a>
[task 2024-05-21T20:20:03.498Z] executing ['sh', '-lxce', 'tox -e py311-cot']
[task 2024-05-21T20:20:03.499Z] + id -u
[task 2024-05-21T20:20:03.500Z] + [ 1000 -eq 0 ]
[task 2024-05-21T20:20:03.500Z] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2024-05-21T20:20:03.500Z] + export PATH
[task 2024-05-21T20:20:03.500Z] + [ $  ]
[task 2024-05-21T20:20:03.500Z] + [  ]
[task 2024-05-21T20:20:03.500Z] + id -u
[task 2024-05-21T20:20:03.501Z] + [ 1000 -eq 0 ]
[task 2024-05-21T20:20:03.501Z] + PS1=$ 
[task 2024-05-21T20:20:03.501Z] + [ -d /etc/profile.d ]
[task 2024-05-21T20:20:03.501Z] + [ -r /etc/profile.d/*.sh ]
[task 2024-05-21T20:20:03.501Z] + unset i
[task 2024-05-21T20:20:03.501Z] + [ -n  ]
[task 2024-05-21T20:20:03.501Z] + [ -d /builds/worker/bin ]
[task 2024-05-21T20:20:03.502Z] + [ -d /builds/worker/.local/bin ]
[task 2024-05-21T20:20:03.502Z] + tox -e py311-cot
[task 2024-05-21T20:20:03.859Z] .pkg: remove tox env folder /builds/worker/checkouts/vcs/.tox/.pkg
[task 2024-05-21T20:20:04.045Z] py311-cot: 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:10.605Z] .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
[task 2024-05-21T20:20:11.597Z] .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:11.802Z] .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:11.947Z] .pkg: install_requires_for_build_editable> python -I -m pip install wheel
[task 2024-05-21T20:20:12.327Z] .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:12.427Z] py311-cot: 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:16.376Z] py311-cot: 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:16.796Z] py311-cot: commands[0]> coverage run --source=src/scriptworker --branch --rcfile tox.ini -m pytest tests
[task 2024-05-21T20:20:18.605Z] ============================= test session starts ==============================
[task 2024-05-21T20:20:18.605Z] platform linux -- Python 3.11.8, pytest-8.2.1, pluggy-1.5.0
[task 2024-05-21T20:20:18.605Z] cachedir: .tox/py311-cot/.pytest_cache
[task 2024-05-21T20:20:18.605Z] Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
[task 2024-05-21T20:20:18.605Z] rootdir: /builds/worker/checkouts/vcs
[task 2024-05-21T20:20:18.605Z] configfile: pyproject.toml
[task 2024-05-21T20:20:18.605Z] plugins: asyncio-0.23.7, mock-3.14.0, random-order-1.1.1
[task 2024-05-21T20:20:18.605Z] asyncio: mode=Mode.AUTO
[task 2024-05-21T20:20:18.605Z] collected 681 items
[task 2024-05-21T20:20:18.605Z] 
[task 2024-05-21T20:20:32.044Z] tests/test_artifacts.py .....................................            [  5%]
[task 2024-05-21T20:20:32.131Z] tests/test_client.py ..........................                          [  9%]
[task 2024-05-21T20:20:32.234Z] tests/test_config.py ....................................                [ 14%]
[task 2024-05-21T20:20:32.280Z] tests/test_context.py .............                                      [ 16%]
[task 2024-05-21T20:20:32.379Z] tests/test_cot_generate.py ......                                        [ 17%]
[task 2024-05-21T20:20:32.583Z] tests/test_cot_verify.py ............................................... [ 24%]
[task 2024-05-21T20:20:36.767Z] ........................................................................ [ 34%]
[task 2024-05-21T20:20:37.669Z] ........................................................................ [ 45%]
[task 2024-05-21T20:20:37.738Z] .............                                                            [ 47%]
[task 2024-05-21T20:20:37.754Z] tests/test_ed25519.py ........                                           [ 48%]
[task 2024-05-21T20:20:38.189Z] tests/test_github.py ................................................... [ 55%]
[task 2024-05-21T20:20:38.205Z] ...                                                                      [ 56%]
[task 2024-05-21T20:20:38.219Z] tests/test_integration.py ssssssssssss                                   [ 58%]
[task 2024-05-21T20:20:38.270Z] tests/test_log.py .........                                              [ 59%]
[task 2024-05-21T20:24:02.950Z] tests/test_production.py ...............                                 [ 61%]
[task 2024-05-21T20:24:06.157Z] tests/test_task.py ..................................................... [ 69%]
[task 2024-05-21T20:24:13.589Z] ...........................................................              [ 78%]
[task 2024-05-21T20:24:16.607Z] tests/test_task_process.py ....                                          [ 78%]
[task 2024-05-21T20:24:17.290Z] tests/test_utils.py .................................................... [ 86%]
[task 2024-05-21T20:24:17.471Z] ...........................................................              [ 95%]
[task 2024-05-21T20:24:17.484Z] tests/test_version.py ..........                                         [ 96%]
[task 2024-05-21T20:24:19.904Z] tests/test_worker.py ........................                            [100%]
[task 2024-05-21T20:24:19.904Z] 
[task 2024-05-21T20:24:19.904Z] =============================== warnings summary ===============================
[task 2024-05-21T20:24:19.905Z] tests/conftest.py:79
[task 2024-05-21T20:24:19.905Z]   /builds/worker/checkouts/vcs/tests/conftest.py:79: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:24:19.905Z]   See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:24:19.905Z]     @pytest.mark.asyncio
[task 2024-05-21T20:24:19.905Z] 
[task 2024-05-21T20:24:19.905Z] tests/conftest.py:88
[task 2024-05-21T20:24:19.905Z]   /builds/worker/checkouts/vcs/tests/conftest.py:88: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:24:19.905Z]   See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:24:19.905Z]     @pytest.mark.asyncio
[task 2024-05-21T20:24:19.905Z] 
[task 2024-05-21T20:24:19.905Z] tests/conftest.py:97
[task 2024-05-21T20:24:19.905Z]   /builds/worker/checkouts/vcs/tests/conftest.py:97: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
[task 2024-05-21T20:24:19.905Z]   See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
[task 2024-05-21T20:24:19.905Z]     @pytest.mark.asyncio
[task 2024-05-21T20:24:19.905Z] 
[task 2024-05-21T20:24:19.905Z] tests/test_worker.py::test_mocker_run_tasks_caught_exception[upload_artifacts-ScriptWorkerException-5]
[task 2024-05-21T20:24:19.905Z] tests/test_worker.py::test_mocker_run_tasks_caught_exception[upload_artifacts-ClientError-7]
[task 2024-05-21T20:24:19.905Z] tests/test_worker.py::test_run_tasks_killed
[task 2024-05-21T20:24:19.905Z] tests/test_worker.py::test_run_tasks_cancel_cot
[task 2024-05-21T20:24:19.905Z] tests/test_worker.py::test_run_tasks_cancel_run_tasks
[task 2024-05-21T20:24:19.905Z]   /usr/local/lib/python3.11/asyncio/base_events.py:679: RuntimeWarning: coroutine 'noop_async' was never awaited
[task 2024-05-21T20:24:19.905Z]     self._ready.clear()
[task 2024-05-21T20:24:19.905Z]   Enable tracemalloc to get traceback where the object was allocated.
[task 2024-05-21T20:24:19.905Z]   See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
[task 2024-05-21T20:24:19.905Z] 
[task 2024-05-21T20:24:19.905Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-05-21T20:24:19.905Z] =========== 669 passed, 12 skipped, 8 warnings in 242.39s (0:04:02) ============
[task 2024-05-21T20:24:19.913Z] Task was destroyed but it is pending!
[task 2024-05-21T20:24:19.913Z] task: <Task cancelling name='Task-2908' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:24:19.914Z] /usr/local/lib/python3.11/asyncio/base_events.py:679: RuntimeWarning: coroutine 'noop_async' was never awaited
[task 2024-05-21T20:24:19.914Z]   self._ready.clear()
[task 2024-05-21T20:24:19.914Z] RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[task 2024-05-21T20:24:19.914Z] Task was destroyed but it is pending!
[task 2024-05-21T20:24:19.914Z] task: <Task cancelling name='Task-2914' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:24:19.957Z] Task was destroyed but it is pending!
[task 2024-05-21T20:24:19.957Z] task: <Task cancelling name='Task-2903' coro=<noop_async() running at /builds/worker/checkouts/vcs/tests/__init__.py:121>>
[task 2024-05-21T20:24:20.067Z] .pkg: _exit> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2024-05-21T20:24:20.110Z]   py311-cot: OK (256.25=setup[12.98]+cmd[243.27] seconds)
[task 2024-05-21T20:24:20.110Z]   congratulations :) (256.44 seconds)
[taskcluster 2024-05-21 20:24:20.340Z] === Task Finished ===
[taskcluster 2024-05-21 20:24:20.340Z] Successful task run with exit code: 0 completed in 258.062 seconds