Event Timeline
Comment Actions
After patching the swh-environment/docker/dockerfile:
# RUN pip install --upgrade pip setuptools wheel RUN pip install setuptools wheel
maybe related to what's been done in 2af28729729d7aa16fb63ecf79c9303f26c09d17
This actually goes beyond the actual problem, and fails on another problem:
=========================================================================================================== short test summary info =========================================================================================================== ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/celery_backend/config.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/celery_backend/orchestrator.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-pa... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/celery_backend/runner.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_celery_tasks.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_celery_tasks.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_config.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages), R... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_config.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages), R... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_orchestrator.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_orchestrator.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 9 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ======================================================================================================== 1 warning, 9 errors in 4.16s ========================================================================================================= ERROR: InvocationError for command /home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/bin/pytest --doctest-modules --hypothesis-profile=fast --cov=/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages/swh/scheduler .tox/py3/lib/python3.9/site-packages/swh/scheduler --cov-branch (exited with code 2) ___________________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________________ black: commands succeeded flake8: commands succeeded ERROR: mypy: commands failed ERROR: py3: commands failed
which is somehow consistent with another error i got when using tox within the scheduler
=========================================================================================================== short test summary info =========================================================================================================== ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/celery_backend/config.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/celery_backend/orchestrator.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-pa... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/celery_backend/runner.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_celery_tasks.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_celery_tasks.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_config.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages), R... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_config.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages), R... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_orchestrator.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... ERROR .tox/py3/lib/python3.9/site-packages/swh/scheduler/tests/test_orchestrator.py - pkg_resources.ContextualVersionConflict: (click 8.0.3 (/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packag... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 9 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ======================================================================================================== 1 warning, 9 errors in 4.16s ========================================================================================================= ERROR: InvocationError for command /home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/bin/pytest --doctest-modules --hypothesis-profile=fast --cov=/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/.tox/py3/lib/python3.9/site-packages/swh/scheduler .tox/py3/lib/python3.9/site-packages/swh/scheduler --cov-branch (exited with code 2) ___________________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________________ black: commands succeeded flake8: commands succeeded ERROR: mypy: commands failed ERROR: py3: commands failed