It looks like the $target_dir/build/image-root.log file isn't being tailed/archived correctly, based on what I see in https://cbs.stg.centos.org/koji/taskinfo?taskID=339
$target_dir/build/image-root.log
Looking at the code, it looks like the path might be wrong? https://pagure.io/koji/blob/eb73457684a2f88ee49d74478735128f283f0f19/f/plugins/builder/kiwi.py#_413-417
Hmm, looks like the logic should be correct...
bash-5.1# python3 Python 3.9.14 (main, Sep 21 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> target_dir = '/builddir/result/image' >>> print(target_dir[1:]) builddir/result/image >>> import os >>> os.path.join("/foo", target_dir[1:], "build/image-root.log") '/foo/builddir/result/image/build/image-root.log'
Hmm, two problems there: 1) path is for successful task 2) log wouldn't be uploaded if kiwi fails anyway
Metadata Update from @tkopecek: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue set to the milestone: 1.31.1
PR #3598
Metadata Update from @tkopecek: - Issue tagged with: testing-ready
Metadata Update from @mfilip: - Issue tagged with: testing-done
Commit 1802b9f3 fixes this issue
Commit 0372a8e6 relates to this ticket
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3597
Please continue any further discussion there.