Skip to content

bootloader: stop MenuEntry.contents getting clobbered by setNextBoot #900

bootloader: stop MenuEntry.contents getting clobbered by setNextBoot

bootloader: stop MenuEntry.contents getting clobbered by setNextBoot #900

Triggered via pull request November 25, 2025 12:09
Status Failure
Total duration 4m 1s
Artifacts

main.yml

on: pull_request
pre-commit
47s
pre-commit
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 3 notices
test (3.13, ubuntu-22.04)
Process completed with exit code 1.
test (3.11, ubuntu-22.04): tests/test_ifrename_dynamic.py#L23
unclosed file <_io.TextIOWrapper name=12 mode='r' encoding='utf-8'>
pylint C0103: invalid-name: tests/test_bootloader.py#L187
Convention: Method name "test_contents_not_clobbered_by_setnextboot" doesn't conform to '[a-z_][a-zA-Z0-9_]{2,34}$' pattern
pylint C0103: invalid-name: tests/test_bootloader.py#L67
Convention: Method name "test_set_grub_variable_throws_without_envfile" doesn't conform to '[a-z_][a-zA-Z0-9_]{2,34}$' pattern
pylint C0103: invalid-name: xcp/bootloader.py#L43
Convention: Variable name "COUNTER" doesn't conform to '[a-z_][a-zA-Z0-9_]{0,30}$' pattern