Skip to content

Archival

Archival #971

Triggered via pull request September 5, 2023 16:57
@lukasjuhrichlukasjuhrich
synchronize #538
archival
Status Failure
Total duration 7m 57s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

docker-image.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
pre-commit
Process completed with exit code 1.
Error: pycroft/lib/membership.py#L221
Dict entry 0 has incompatible type "str": "InstrumentedAttribute[int]"; expected "str": "ClauseElement | Sequence[ClauseElement | str]" [dict-item]
Error: pycroft/lib/user_deletion.py#L44
Unused "type: ignore" comment [unused-ignore]
python-lint
Process completed with exit code 1.
TestUserArchival.test_user_archival[0]: TestUserArchival#L1
AssertionError: archival did not delete tasks assert [pycroft.mode... user_id=142)] == [] Left contains one more item: pycroft.model.task.UserTask(discriminator='user_task', type=<TaskType.USER_MOVE: 3>, due=datetime.datetime(2023, 9, 4,...4449, tzinfo=datetime.timezone.utc), creator_id=142, status=<TaskStatus.OPEN: 1>, errors=None, id=5, id=5, user_id=142) Full diff: - [] + [pycroft.model.task.UserTask(discriminator='user_task', type=<TaskType.USER_MOVE: 3>, due=datetime.datetime(2023, 9, 4, 17, 4, 40, 514409, tzinfo=datetime.timezone.utc), parameters_json=None, created=datetime.datetime(2023, 9, 4, 17, 4, 40, 514449, tzinfo=datetime.timezone.utc), creator_id=142, status=<TaskStatus.OPEN... ...Full output truncated (1 line hidden), use '-vv' to show
TestUserArchival.test_user_archival[1]: TestUserArchival#L1
AssertionError: archival did not delete tasks assert [pycroft.mode... user_id=145)] == [] Left contains one more item: pycroft.model.task.UserTask(discriminator='user_task', type=<TaskType.USER_MOVE_OUT: 1>, due=datetime.datetime(2023, 9...2006, tzinfo=datetime.timezone.utc), creator_id=145, status=<TaskStatus.OPEN: 1>, errors=None, id=6, id=6, user_id=145) Full diff: - [] + [pycroft.model.task.UserTask(discriminator='user_task', type=<TaskType.USER_MOVE_OUT: 1>, due=datetime.datetime(2023, 9, 4, 17, 4, 40, 591967, tzinfo=datetime.timezone.utc), parameters_json=None, created=datetime.datetime(2023, 9, 4, 17, 4, 40, 592006, tzinfo=datetime.timezone.utc), creator_id=145, status=<TaskStatus.... ...Full output truncated (1 line hidden), use '-vv' to show
TestUserArchival.test_user_archival[2]: TestUserArchival#L1
AssertionError: archival did not delete tasks assert [pycroft.mode... user_id=148)] == [] Left contains one more item: pycroft.model.task.UserTask(discriminator='user_task', type=<TaskType.USER_MOVE_OUT: 1>, due=datetime.datetime(2023, 9...6502, tzinfo=datetime.timezone.utc), creator_id=148, status=<TaskStatus.OPEN: 1>, errors=None, id=7, id=7, user_id=148) Full diff: - [] + [pycroft.model.task.UserTask(discriminator='user_task', type=<TaskType.USER_MOVE_OUT: 1>, due=datetime.datetime(2023, 9, 4, 17, 4, 40, 666464, tzinfo=datetime.timezone.utc), parameters_json=None, created=datetime.datetime(2023, 9, 4, 17, 4, 40, 666502, tzinfo=datetime.timezone.utc), creator_id=148, status=<TaskStatus.... ...Full output truncated (1 line hidden), use '-vv' to show
test
Process completed with exit code 1.
Warning: pycroft/lib/user.py#L1
docstring of pycroft.lib.user.edit_email:8: Field list ends without a blank line; unexpected unindent.
Warning: pycroft/lib/user.py#L1
docstring of pycroft.lib.user.edit_birthdate:5: Field list ends without a blank line; unexpected unindent.
Warning: ldap_sync/sources/db.py#L1
docstring of ldap_sync.sources.db._fetch_db_properties:3: undefined label: 'exported_properties'
build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
coverage Expired
11.1 MB