Skip to content

Policy Mechanism

Policy Mechanism #862

Triggered via pull request April 3, 2024 09:13
Status Failure
Total duration 8m 1s
Artifacts

main.yml

on: pull_request
pytest-integration
7m 47s
pytest-integration
client-generation
2m 56s
client-generation
Matrix: pytest
Fit to window
Zoom out
Zoom in

Annotations

6 errors
client-generation
Process completed with exit code 1.
Unit test - ./diracx-routers
Process completed with exit code 1.
pytest-integration: diracx-routers/tests/test_job_manager.py#L782
test_remove_job_valid_job_id AssertionError: {'detail': 'Forbidden'} assert 403 == <HTTPStatus.NOT_FOUND: 404> + where 403 = <Response [403 Forbidden]>.status_code + and <HTTPStatus.NOT_FOUND: 404> = HTTPStatus.NOT_FOUND
pytest-integration: diracx-routers/tests/test_job_manager.py#L790
test_remove_job_invalid_job_id AssertionError: {'detail': 'Forbidden'} assert 403 == 200 + where 403 = <Response [403 Forbidden]>.status_code
pytest-integration: diracx-routers/tests/test_policy.py#L50
test_all_routes_have_policy AssertionError: assert not defaultdict(<class 'list'>, {'jobs': ['initiate_sandbox_upload', 'get_sandbox_file']})
pytest-integration
Process completed with exit code 1.