Skip to content
Triggered via schedule March 16, 2024 03:05
Status Failure
Total duration 5m 6s
Artifacts

tests.yml

on: schedule
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 18 warnings
Tests (3.8, pypi, postgresql13, elasticsearch7, 14.x): invenio_app_rdm/records_ui/views/decorators.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:05:34.278036+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:09:40.780864+00:00 @@ -73,14 +73,14 @@ id_=pid_value, identity=g.identity, expand=expand, ) kwargs["draft"] = draft - kwargs[ - "files_locked" - ] = record_service.config.lock_edit_published_files( - record_service, g.identity, record=draft._record + kwargs["files_locked"] = ( + record_service.config.lock_edit_published_files( + record_service, g.identity, record=draft._record + ) ) return f(**kwargs) except PIDDoesNotExistError: # Redirect to /records/:id because users are interchangeably # using /records/:id and /uploads/:id when sharing links, so in
Tests (3.8, pypi, postgresql13, elasticsearch7, 14.x): invenio_app_rdm/records_ui/views/records.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:05:34.278036+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:09:41.847411+00:00 @@ -196,13 +196,15 @@ record_owner = record._record.parent.access.owner.resolve() resolved_community, _ = get_record_community(record_ui) return render_community_theme_template( current_app.config.get("APP_RDM_RECORD_LANDING_PAGE_TEMPLATE"), - theme_brand=resolved_community.to_dict().get("theme", {}).get("brand") - if resolved_community is not None - else None, + theme_brand=( + resolved_community.to_dict().get("theme", {}).get("brand") + if resolved_community is not None + else None + ), record=record_ui, files=files_dict, media_files=media_files_dict, user_communities_memberships=get_user_communities_memberships(), permissions=record.has_permissions_to( @@ -223,13 +225,13 @@ include_deleted=include_deleted, is_draft=is_draft, community=resolved_community, external_resources=get_external_resources(record_ui), user_avatar=avatar, - record_owner_username=record_owner.username - if record_owner is not None - else None, # record created with system_identity have not owners e.g demo + record_owner_username=( + record_owner.username if record_owner is not None else None + ), # record created with system_identity have not owners e.g demo ) @pass_is_preview @pass_record_or_draft(expand=False)
Tests (3.8, pypi, postgresql13, elasticsearch7, 14.x)
Process completed with exit code 1.
Tests (3.9, pypi, postgresql13, elasticsearch7, 14.x)
The job was canceled because "_3_8_pypi_postgresql13_el" failed.
Tests (3.9, pypi, postgresql13, elasticsearch7, 14.x): invenio_app_rdm/records_ui/views/decorators.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:05:33.821853+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:09:48.551212+00:00 @@ -73,14 +73,14 @@ id_=pid_value, identity=g.identity, expand=expand, ) kwargs["draft"] = draft - kwargs[ - "files_locked" - ] = record_service.config.lock_edit_published_files( - record_service, g.identity, record=draft._record + kwargs["files_locked"] = ( + record_service.config.lock_edit_published_files( + record_service, g.identity, record=draft._record + ) ) return f(**kwargs) except PIDDoesNotExistError: # Redirect to /records/:id because users are interchangeably # using /records/:id and /uploads/:id when sharing links, so in
Tests (3.9, pypi, postgresql13, elasticsearch7, 14.x): invenio_app_rdm/records_ui/views/records.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:05:33.821853+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:09:49.618426+00:00 @@ -196,13 +196,15 @@ record_owner = record._record.parent.access.owner.resolve() resolved_community, _ = get_record_community(record_ui) return render_community_theme_template( current_app.config.get("APP_RDM_RECORD_LANDING_PAGE_TEMPLATE"), - theme_brand=resolved_community.to_dict().get("theme", {}).get("brand") - if resolved_community is not None - else None, + theme_brand=( + resolved_community.to_dict().get("theme", {}).get("brand") + if resolved_community is not None + else None + ), record=record_ui, files=files_dict, media_files=media_files_dict, user_communities_memberships=get_user_communities_memberships(), permissions=record.has_permissions_to( @@ -223,13 +225,13 @@ include_deleted=include_deleted, is_draft=is_draft, community=resolved_community, external_resources=get_external_resources(record_ui), user_avatar=avatar, - record_owner_username=record_owner.username - if record_owner is not None - else None, # record created with system_identity have not owners e.g demo + record_owner_username=( + record_owner.username if record_owner is not None else None + ), # record created with system_identity have not owners e.g demo ) @pass_is_preview @pass_record_or_draft(expand=False)
Tests (3.9, pypi, postgresql13, elasticsearch7, 14.x)
The operation was canceled.
Tests (3.8, pypi, postgresql13, opensearch2, 14.x)
The job was canceled because "_3_8_pypi_postgresql13_el" failed.
Tests (3.8, pypi, postgresql13, opensearch2, 14.x): invenio_app_rdm/records_ui/views/decorators.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:05:37.788794+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:09:52.958547+00:00 @@ -73,14 +73,14 @@ id_=pid_value, identity=g.identity, expand=expand, ) kwargs["draft"] = draft - kwargs[ - "files_locked" - ] = record_service.config.lock_edit_published_files( - record_service, g.identity, record=draft._record + kwargs["files_locked"] = ( + record_service.config.lock_edit_published_files( + record_service, g.identity, record=draft._record + ) ) return f(**kwargs) except PIDDoesNotExistError: # Redirect to /records/:id because users are interchangeably # using /records/:id and /uploads/:id when sharing links, so in
Tests (3.8, pypi, postgresql13, opensearch2, 14.x): invenio_app_rdm/records_ui/views/records.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:05:37.788794+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:09:54.009029+00:00 @@ -196,13 +196,15 @@ record_owner = record._record.parent.access.owner.resolve() resolved_community, _ = get_record_community(record_ui) return render_community_theme_template( current_app.config.get("APP_RDM_RECORD_LANDING_PAGE_TEMPLATE"), - theme_brand=resolved_community.to_dict().get("theme", {}).get("brand") - if resolved_community is not None - else None, + theme_brand=( + resolved_community.to_dict().get("theme", {}).get("brand") + if resolved_community is not None + else None + ), record=record_ui, files=files_dict, media_files=media_files_dict, user_communities_memberships=get_user_communities_memberships(), permissions=record.has_permissions_to( @@ -223,13 +225,13 @@ include_deleted=include_deleted, is_draft=is_draft, community=resolved_community, external_resources=get_external_resources(record_ui), user_avatar=avatar, - record_owner_username=record_owner.username - if record_owner is not None - else None, # record created with system_identity have not owners e.g demo + record_owner_username=( + record_owner.username if record_owner is not None else None + ), # record created with system_identity have not owners e.g demo ) @pass_is_preview @pass_record_or_draft(expand=False)
Tests (3.8, pypi, postgresql13, opensearch2, 14.x)
The operation was canceled.
Tests (3.9, pypi, postgresql13, opensearch2, 14.x)
The job was canceled because "_3_8_pypi_postgresql13_el" failed.
Tests (3.9, pypi, postgresql13, opensearch2, 14.x): invenio_app_rdm/records_ui/views/decorators.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:05:37.845720+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py 2024-03-16 03:10:05.738474+00:00 @@ -73,14 +73,14 @@ id_=pid_value, identity=g.identity, expand=expand, ) kwargs["draft"] = draft - kwargs[ - "files_locked" - ] = record_service.config.lock_edit_published_files( - record_service, g.identity, record=draft._record + kwargs["files_locked"] = ( + record_service.config.lock_edit_published_files( + record_service, g.identity, record=draft._record + ) ) return f(**kwargs) except PIDDoesNotExistError: # Redirect to /records/:id because users are interchangeably # using /records/:id and /uploads/:id when sharing links, so in
Tests (3.9, pypi, postgresql13, opensearch2, 14.x): invenio_app_rdm/records_ui/views/records.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:05:37.845720+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2024-03-16 03:10:06.821382+00:00 @@ -196,13 +196,15 @@ record_owner = record._record.parent.access.owner.resolve() resolved_community, _ = get_record_community(record_ui) return render_community_theme_template( current_app.config.get("APP_RDM_RECORD_LANDING_PAGE_TEMPLATE"), - theme_brand=resolved_community.to_dict().get("theme", {}).get("brand") - if resolved_community is not None - else None, + theme_brand=( + resolved_community.to_dict().get("theme", {}).get("brand") + if resolved_community is not None + else None + ), record=record_ui, files=files_dict, media_files=media_files_dict, user_communities_memberships=get_user_communities_memberships(), permissions=record.has_permissions_to( @@ -223,13 +225,13 @@ include_deleted=include_deleted, is_draft=is_draft, community=resolved_community, external_resources=get_external_resources(record_ui), user_avatar=avatar, - record_owner_username=record_owner.username - if record_owner is not None - else None, # record created with system_identity have not owners e.g demo + record_owner_username=( + record_owner.username if record_owner is not None else None + ), # record created with system_identity have not owners e.g demo ) @pass_is_preview @pass_record_or_draft(expand=False)
Tests (3.9, pypi, postgresql13, opensearch2, 14.x)
The operation was canceled.
Tests (3.8, pypi, postgresql13, elasticsearch7, 14.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/setup-python@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (3.8, pypi, postgresql13, elasticsearch7, 14.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/setup-python@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests (3.8, pypi, postgresql13, elasticsearch7, 14.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/overrides/TimelineFeedHeader.js#L14
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
Tests (3.9, pypi, postgresql13, elasticsearch7, 14.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/overrides/TimelineFeedHeader.js#L14
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
Tests (3.8, pypi, postgresql13, opensearch2, 14.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/overrides/TimelineFeedHeader.js#L14
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
Tests (3.9, pypi, postgresql13, opensearch2, 14.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/overrides/TimelineFeedHeader.js#L14
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all