Skip to content

datastream: add basic OS logging #116

datastream: add basic OS logging

datastream: add basic OS logging #116

Triggered via pull request March 6, 2025 09:09
Status Failure
Total duration 1m 37s
Artifacts

tests.yml

on: pull_request
Matrix: Tests / Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 20 warnings
Tests / Tests (3.9, opensearch2): tests/datastreams/test_builder.py#L35
test_validate_valid_log_event AttributeError: 'str' object has no attribute 'isoformat'
Tests / Tests (3.9, opensearch2): tests/datastreams/test_builder.py#L45
test_validate_invalid_log_event Failed: DID NOT RAISE <class 'ValueError'>
Tests / Tests (3.9, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, opensearch2): tests/datastreams/test_builder.py#L35
test_validate_valid_log_event AttributeError: 'str' object has no attribute 'isoformat'. Did you mean: 'format'?
Tests / Tests (3.12, opensearch2): tests/datastreams/test_builder.py#L44
test_validate_invalid_log_event Failed: DID NOT RAISE <class 'ValueError'>
Tests / Tests (3.12, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.9, opensearch2): invenio_logging/datastreams/schema.py#L19
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'User ID responsible for the event.'}
Tests / Tests (3.9, opensearch2): opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L1780
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'User email (if available).'}
Tests / Tests (3.9, opensearch2): opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L776
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Roles assigned to the user.'}
Tests / Tests (3.9, opensearch2): invenio_logging/datastreams/schema.py#L29
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'The action that took place (e.g., created, deleted).'}
Tests / Tests (3.9, opensearch2): invenio_logging/datastreams/schema.py#L33
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Detailed description of the event.'}
Tests / Tests (3.9, opensearch2): invenio_logging/datastreams/schema.py#L41
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Type of resource (e.g., record, community, user, file).'}
Tests / Tests (3.9, opensearch2): invenio_logging/datastreams/schema.py#L45
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Unique identifier of the resource.'}
Tests / Tests (3.9, opensearch2): opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L1606
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Optional metadata related to the resource.'}
Tests / Tests (3.9, opensearch2): invenio_logging/datastreams/schema.py#L49
Passing 'self' to `Nested` is deprecated. Use `Nested(lambda: MySchema(...))` instead.
Tests / Tests (3.9, opensearch2): opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L582
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Optional parent resource, indicating hierarchy (e.g., a run inside a job).'}
Tests / Tests (3.12, opensearch2): invenio_logging/datastreams/schema.py#L19
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'User ID responsible for the event.'}
Tests / Tests (3.12, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/marshmallow/fields.py#L1780
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'User email (if available).'}
Tests / Tests (3.12, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/marshmallow/fields.py#L776
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Roles assigned to the user.'}
Tests / Tests (3.12, opensearch2): invenio_logging/datastreams/schema.py#L29
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'The action that took place (e.g., created, deleted).'}
Tests / Tests (3.12, opensearch2): invenio_logging/datastreams/schema.py#L33
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Detailed description of the event.'}
Tests / Tests (3.12, opensearch2): invenio_logging/datastreams/schema.py#L41
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Type of resource (e.g., record, community, user, file).'}
Tests / Tests (3.12, opensearch2): invenio_logging/datastreams/schema.py#L45
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Unique identifier of the resource.'}
Tests / Tests (3.12, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/marshmallow/fields.py#L1606
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Optional metadata related to the resource.'}
Tests / Tests (3.12, opensearch2): invenio_logging/datastreams/schema.py#L49
Passing 'self' to `Nested` is deprecated. Use `Nested(lambda: MySchema(...))` instead.
Tests / Tests (3.12, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/marshmallow/fields.py#L582
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Optional parent resource, indicating hierarchy (e.g., a run inside a job).'}