Skip to content

Commit e331a2f

Browse files
author
Paul Whalen
committed
ci: check first boot log from PR build, not base image
The ostree test checks journalctl -b 1 for the first boot message, but boot 1 uses the base image's greenboot (before rpm-ostree override replace). Change to -b 2 which is the first boot after the PR build is installed. Assisted-by: Claude (claude-opus-4-6) Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
1 parent d804986 commit e331a2f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/greenboot-ostree.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@
7171
set_fact:
7272
failed_counter: "{{ failed_counter | int + 1 }}"
7373

74-
# case: check proper first boot handling
75-
- name: check greenboot-healthcheck handles first boot correctly
74+
# case: check proper first boot handling after greenboot override
75+
- name: check greenboot-healthcheck handles first boot with PR build correctly
7676
block:
77-
- name: get greenboot-healthcheck log from first boot
78-
command: "journalctl -b 1 -u greenboot-healthcheck.service --no-pager"
77+
- name: get greenboot-healthcheck log from first boot with PR build
78+
command: "journalctl -b 2 -u greenboot-healthcheck.service --no-pager"
7979
become: yes
8080
register: result_healthcheck_first_boot
8181

0 commit comments

Comments
 (0)