Skip to content

Commit 6f8b0ed

Browse files
committed
tests: Work around bcvk hang in nested virt
GitHub Actions runners are nested VMs, and bcvk's use of virtiofs causes systemd-journald to enter a livelock when writing to persistent storage in nested virtualization environments. Add the kernel argument systemd.journald.storage=volatile to force journald to use tmpfs instead, which avoids the livelock. This workaround is needed until bcvk issue #90 is fully resolved upstream. Fixes: #1708 (comment) Related: bootc-dev/bcvk#90 Assisted-by: Claude Code (Sonnet 4.5)
1 parent a60a589 commit 6f8b0ed

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ jobs:
125125
strategy:
126126
fail-fast: false
127127
matrix:
128-
# TEMPORARILY TESTING ONLY C9S FOR DEBUGGING
129-
test_os: [centos-9]
130-
# test_os: [fedora-42, fedora-43, centos-9, centos-10]
128+
test_os: [fedora-42, fedora-43, centos-9, centos-10]
131129

132130
runs-on: ubuntu-24.04
133131

@@ -138,13 +136,6 @@ jobs:
138136
with:
139137
libvirt: true
140138

141-
- name: Setup upterm session for debugging
142-
uses: owenthereal/action-upterm@v1
143-
with:
144-
limit-access-to-actor: false
145-
limit-access-to-users: cgwalters
146-
wait-timeout-minutes: 60
147-
148139
- name: Build container and disk image
149140
run: |
150141
tests/build.sh ${{ matrix.test_os }}
@@ -166,9 +157,7 @@ jobs:
166157
strategy:
167158
fail-fast: false
168159
matrix:
169-
# TEMPORARILY TESTING ONLY C9S FOR DEBUGGING
170-
test_os: [centos-9]
171-
# test_os: [fedora-42, fedora-43, centos-9, centos-10]
160+
test_os: [fedora-42, fedora-43, centos-9, centos-10]
172161

173162
runs-on: ubuntu-24.04
174163

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ build-install-test-image: build-integration-test-image
3333
cd hack && podman build -t localhost/bootc-integration-install -f Containerfile.drop-lbis
3434

3535
build-disk-image container target:
36-
bcvk to-disk --format=qcow2 --disk-size 20G --filesystem ext4 {{container}} {{target}}
36+
bcvk to-disk --format=qcow2 --disk-size 20G --filesystem ext4 --karg systemd.journald.storage=volatile {{container}} {{target}}
3737

3838
# These tests accept the container image as input, and may spawn it.
3939
run-container-external-tests:

0 commit comments

Comments
 (0)