After a long experiment, we found the key point to reproduce this issue (100%).
The key point is the number of characters of the full path for "<working directory>/work/chroot/tmp/ubuntu-image-gpg/<pubring.kbx | trustdb.gpg"
If the total number of characters >= 100, the issue is reproduced.
Ex. /home/ubuntu/workspace/iot-murcia-classic-2204/iot-image-builds/work/chroot/tmp/ubuntu-image-gpg/pubring.kbx
If the path is shorter than 100 characters, the issue is gone.
Ex. /home/ubuntu/iot-image-builds/work/chroot/tmp/ubuntu-image-gpg
Looks like there is a string array declared with 100 length.
Could you try to reproduce this issue on your side and check the root cause? Tks.
Hi Paul,
After a long experiment, we found the key point to reproduce this issue (100%). /work/chroot/ tmp/ubuntu- image-gpg/ <pubring. kbx | trustdb.gpg"
The key point is the number of characters of the full path for "<working directory>
If the total number of characters >= 100, the issue is reproduced. workspace/ iot-murcia- classic- 2204/iot- image-builds/ work/chroot/ tmp/ubuntu- image-gpg/ pubring. kbx
Ex. /home/ubuntu/
If the path is shorter than 100 characters, the issue is gone. iot-image- builds/ work/chroot/ tmp/ubuntu- image-gpg
Ex. /home/ubuntu/
Looks like there is a string array declared with 100 length.
Could you try to reproduce this issue on your side and check the root cause? Tks.