Skip to content

Use a lock file to avoid exceptions due to concurrenct symlink creation #3700

Use a lock file to avoid exceptions due to concurrenct symlink creation

Use a lock file to avoid exceptions due to concurrenct symlink creation #3700

Re-run triggered August 18, 2025 15:56
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
test-with-sslib-main  /  Test securesystemslib main branch (not a merge blocker)
18s
test-with-sslib-main / Test securesystemslib main branch (not a merge blocker)
Matrix: test / Tests
test  /  All tests passed
0s
test / All tests passed
test  /  coveralls-fin
10s
test / coveralls-fin
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Ruff (SIM117): tuf/ngclient/updater.py#L402
tuf/ngclient/updater.py:402:21: SIM117 Use a single `with` statement with multiple contexts instead of nested `with` statements
Ruff (ERA001): tuf/ngclient/updater.py#L373
tuf/ngclient/updater.py:373:9: ERA001 Found commented-out code
Ruff (ERA001): tuf/ngclient/updater.py#L354
tuf/ngclient/updater.py:354:13: ERA001 Found commented-out code
Ruff (RET504): tuf/ngclient/_internal/file_lock.py#L23
tuf/ngclient/_internal/file_lock.py:23:16: RET504 Unnecessary assignment to `lockfile` before `return` statement
Ruff (ERA001): tuf/ngclient/_internal/file_lock.py#L21
tuf/ngclient/_internal/file_lock.py:21:9: ERA001 Found commented-out code
Ruff (ERA001): tuf/ngclient/_internal/file_lock.py#L20
tuf/ngclient/_internal/file_lock.py:20:9: ERA001 Found commented-out code
Ruff (ERA001): tuf/ngclient/_internal/file_lock.py#L19
tuf/ngclient/_internal/file_lock.py:19:9: ERA001 Found commented-out code
Ruff (ERA001): tuf/ngclient/_internal/file_lock.py#L17
tuf/ngclient/_internal/file_lock.py:17:9: ERA001 Found commented-out code
Ruff (Q000): tuf/ngclient/_internal/file_lock.py#L12
tuf/ngclient/_internal/file_lock.py:12:21: Q000 Single quotes found but double quotes preferred
Ruff (I001): tuf/ngclient/_internal/file_lock.py#L8
tuf/ngclient/_internal/file_lock.py:8:1: I001 Import block is un-sorted or un-formatted
test-with-sslib-main / Test securesystemslib main branch (not a merge blocker)
Process completed with exit code 1.
test / coveralls-fin
Process completed with exit code 1.