Skip to content

Conversation

@schaefi
Copy link
Collaborator

@schaefi schaefi commented Jun 24, 2025

The stderr data was presented as one blob without line breaks. Hard to read and smells like a bug. This commit fixes the output to become readable

The stderr data was presented as one blob without line
breaks. Hard to read and smells like a bug. This commit
fixes the output to become readable
@schaefi schaefi requested a review from Conan-Kudo June 24, 2025 13:32
@schaefi schaefi self-assigned this Jun 24, 2025
@Conan-Kudo
Copy link
Member

Do we have sample output to indicate this is fixed?

@schaefi
Copy link
Collaborator Author

schaefi commented Jun 24, 2025

yes in any of the integration test images which uses set -x the shell debug data is placed to stderr. I will update kiwi in Staging, so you can check yourself

@schaefi
Copy link
Collaborator Author

schaefi commented Jun 24, 2025

For example

[  208s] [ INFO    ]: 15:22:38 | Calling config.sh script
[  208s] [ DEBUG   ]: 15:22:38 | --------------out start-------------
[  208s] [ DEBUG   ]: 15:22:38 | Configure image: [kiwi-test-image-overlayroot]...
[  208s] [ DEBUG   ]: 15:22:38 | --------------out stop--------------
[  208s] [ DEBUG   ]: 15:22:38 | --------------err start-------------
[  208s] [ DEBUG   ]: 15:22:38 | + declare kiwi_iname=kiwi-test-image-overlayroot
[  208s] [ DEBUG   ]: 15:22:38 | + declare kiwi_profiles=sdboot_erofs
[  208s] [ DEBUG   ]: 15:22:38 | + echo 'Configure image: [kiwi-test-image-overlayroot]...'
[  208s] [ DEBUG   ]: 15:22:38 | + systemctl enable sshd
[  208s] [ DEBUG   ]: 15:22:38 | Created symlink '/etc/systemd/system/multi-user.target.wants/sshd.service' → '/usr/lib/systemd/system/sshd.service'.
[  208s] [ DEBUG   ]: 15:22:38 | + mkdir -p /efi
[  208s] [ DEBUG   ]: 15:22:38 | + for profile in ${kiwi_profiles//,/ }
[  208s] [ DEBUG   ]: 15:22:38 | + '[' sdboot_erofs = grub_verity_erofs ']'
[  208s] [ DEBUG   ]: 15:22:38 | + '[' sdboot_erofs = sdboot_uki_verity_erofs ']'
[  208s] [ DEBUG   ]: 15:22:38 | + rm -f /usr/lib/modprobe.d/60-blacklist_fs-erofs.conf
[  208s] [ DEBUG   ]: 15:22:38 | 
[  208s] [ DEBUG   ]: 15:22:38 | --------------err stop--------------

from

https://build.opensuse.org/package/live_build_log/Virtualization:Appliances:Images:Testing_x86:tumbleweed/test-image-overlayroot:sdboot_erofs/images/x86_64

@Conan-Kudo Conan-Kudo merged commit 1c3e764 into main Jun 25, 2025
14 checks passed
@Conan-Kudo Conan-Kudo deleted the fix_error_output branch June 25, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants