Skip to content

Commit f7f2d4e

Browse files
committed
test-install: Enable debug logging for chunkah build step
Turn on `podman --log-level=debug` and `RUST_LOG=chunkah=debug` for the chunkah build invocation in priv-integration.sh. This step converts the FCOS test image into a non-ostree image and previously had no visibility into podman or chunkah internals when something went wrong here (as with the host-namespace-escape hang fixed in the prior commit). Cheap to leave on permanently since chunkah's own progress output is otherwise sparse, and useful for any future regressions in this step regardless of cause. This was originally proposed as part of PR bootc-dev#2392 alongside a (different, since superseded) fix attempt for the same underlying hang; keeping it here since it's independently useful. Assisted-by: AI Signed-off-by: Colin Walters <walters@verbum.org>
1 parent 335aa50 commit f7f2d4e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/ostree-ext/ci/priv-integration.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,11 @@ ostree container image prune-images --full --sysroot="${sysroot}"
160160
# See also https://github.com/coreos/chunkah?tab=readme-ov-file#compatibility-with-bootable-bootc-images
161161
nonostree_archive=/var/tmp/nonostree.ociarchive
162162
chunkah_config="$(podman inspect ${image})"
163-
podman run --rm \
163+
podman --log-level=debug run --rm \
164164
--mount=type=image,src=${image},dst=/chunkah \
165165
-v /var/tmp:/output:z \
166166
-e CHUNKAH_CONFIG_STR="${chunkah_config}" \
167+
-e RUST_LOG=chunkah=debug \
167168
quay.io/coreos/chunkah build \
168169
--prune /sysroot/ \
169170
--label ostree.commit- \

0 commit comments

Comments
 (0)