Skip to content

Refactor Job manager routes #1462

Refactor Job manager routes

Refactor Job manager routes #1462

Triggered via pull request December 14, 2024 19:57
Status Failure
Total duration 9m 52s
Artifacts

main.yml

on: pull_request
shellcheck
4s
shellcheck
pytest-integration
9m 43s
pytest-integration
client-generation
3m 50s
client-generation
Matrix: unittest
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 9 warnings
Unit test - ./diracx-cli: diracx-cli/tests/legacy/cs_sync/test_cssync.py#L29
test_cs_sync AssertionError: assert 1 == 0 + where 1 = <Result 4 validation errors for Config\nSystems.WorkloadManagement.Production.Databases.ElasticJobParametersDB\n Field required [type=missing, input_value={'JobDB': {'DBName': 'Job...mysql', 'Port': '3306'}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/missing\nSystems.WorkloadManagement.Production.Databases.VirtualMachineDB\n Field required [type=missing, input_value={'JobDB': {'DBName': 'Job...mysql', 'Port': '3306'}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/missing\nSystems.DataManagement\n Extra inputs are not permitted [type=extra_forbidden, input_value={'Production': {'Services...xyLifetime': '43200'}}}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/extra_forbidden\nSystems.Production\n Extra inputs are not permitted [type=extra_forbidden, input_value={'Production': {'Database...'}, 'FailoverURLs': {}}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/extra_forbidden>.exit_code
Unit test - ./diracx-cli
Process completed with exit code 1.
Unit test - ./diracx-routers: diracx-routers/tests/test_job_manager.py#L369
test_user_without_the_normal_user_property_cannot_submit_job AssertionError: [{'JobID': 1, 'MinorStatus': 'Job accepted', 'Status': 'Received', 'TimeStamp': '2024-12-14T20:00:35.324415Z'}] assert 200 == <HTTPStatus.FORBIDDEN: 403> + where 200 = <Response [200 OK]>.status_code + and <HTTPStatus.FORBIDDEN: 403> = HTTPStatus.FORBIDDEN
Unit test - ./diracx-routers
Process completed with exit code 1.
pytest-integration: diracx-cli/tests/legacy/cs_sync/test_cssync.py#L29
test_cs_sync AssertionError: assert 1 == 0 + where 1 = <Result 4 validation errors for Config\nSystems.WorkloadManagement.Production.Databases.ElasticJobParametersDB\n Field required [type=missing, input_value={'JobDB': {'DBName': 'Job...mysql', 'Port': '3306'}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/missing\nSystems.WorkloadManagement.Production.Databases.VirtualMachineDB\n Field required [type=missing, input_value={'JobDB': {'DBName': 'Job...mysql', 'Port': '3306'}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/missing\nSystems.DataManagement\n Extra inputs are not permitted [type=extra_forbidden, input_value={'Production': {'Services...xyLifetime': '43200'}}}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/extra_forbidden\nSystems.Production\n Extra inputs are not permitted [type=extra_forbidden, input_value={'Production': {'Database...'}, 'FailoverURLs': {}}}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/extra_forbidden>.exit_code
pytest-integration: diracx-routers/tests/test_job_manager.py#L369
test_user_without_the_normal_user_property_cannot_submit_job AssertionError: [{'JobID': 1, 'MinorStatus': 'Job accepted', 'Status': 'Received', 'TimeStamp': '2024-12-14T20:07:06.298344Z'}] assert 200 == <HTTPStatus.FORBIDDEN: 403> + where 200 = <Response [200 OK]>.status_code + and <HTTPStatus.FORBIDDEN: 403> = HTTPStatus.FORBIDDEN
pytest-integration
Process completed with exit code 1.
shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test - ./diracx-client
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test - ./diracx-core
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test - ./diracx-api
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test - ./diracx-cli
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test - ./diracx-db
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test - ./diracx-routers
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
client-generation
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pytest-integration
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636