Bug 15720

Summary: AB-INT: Error in POSTIN scriptlet in rpm package libc6
Product: [QA/Testing] Runtime Testing Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: oeqa/runtimeAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: hongxu.jia, liezhi.yang, pavel, randy.macleod
Version: unspecified   
Target Milestone: 5.3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2025-01-15 13:04:47 UTC
Seems to be a new AB-INT, I never saw it before.

    373 Traceback (most recent call last):
    374   File "/srv/pokybuild/yocto-worker/qemuarmv5/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    375     return func(*args, **kwargs)
    376            ^^^^^^^^^^^^^^^^^^^^^
    377   File "/srv/pokybuild/yocto-worker/qemuarmv5/build/meta/lib/oeqa/runtime/cases/parselogs.py", line 185, in test_parselogs
    378     self.assertEqual(errcount, 0, msg=self.msg)
    379 AssertionError: 3 != 0 : Log: /srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/qemuarmv5-poky-linux-gnueabi/core-image-sato/1.0/target_logs/dnf.rpm.log
    380 -----------------------
    381 Central error: /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
    382 ***********************
...
    413 %post(libc6-2.40+git0+efb710034e-r0.armv5e): scriptlet start
    414 D: created directory(s) /var/tmp mode 0755
    415 %post(libc6-2.40+git0+efb710034e-r0.armv5e): execv(/bin/sh) pid 728
    416 /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
    417 %post(libc6-2.40+git0+efb710034e-r0.armv5e): waitpid(728) rc 728 status 7f00
    418 warning: %post(libc6-2.40+git0+efb710034e-r0.armv5e) scriptlet failed, exit status 127
...
    430 ***********************
    431 Central error: 2025-01-11T06:00:30+0000 ERROR Error in POSTIN scriptlet in rpm package libc6
    432 ***********************

https://valkyrie.yoctoproject.org/#/builders/80/builds/718
Comment 1 Mathieu Dubois-Briand 2025-01-15 13:08:59 UTC
qemuarmv5 alma8-vk-2 master-next completed at 2025-01-11T06:33:18Z
https://valkyrie.yoctoproject.org/#/builders/80/builds/718/steps/15/logs/stdio
Comment 2 Randy MacLeod 2025-01-16 15:55:06 UTC
We don't think that this is related to being on master-next but is simply a race condition. 

It could be a test ordering problem. 
Try running test_parselogs last and see if the problem can be reproduced.
Comment 3 Randy MacLeod 2025-05-01 14:07:08 UTC
Bulk move of all unassigned 5.2 medium importance bugs to 5.3.
Comment 4 Randy MacLeod 2026-03-03 22:20:55 UTC
Not see in over a year.