| Summary: | AB-INT PTEST: libarchive ptest failure: bsdcpio_test | ||
|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | João Marcos Costa <joaomarcos.costa> |
| Component: | ptest | Assignee: | Pratik Farkase <pratik.farkase> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | mathieu.dubois-briand, pratik.farkase, randy.macleod, richard.purdie, yoann.congal |
| Version: | unspecified | ||
| Target Milestone: | 6.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | AB-INT | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
João Marcos Costa
2026-04-07 14:37:05 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1386/steps/13/logs/stdio Failed ptests: {'libarchive': ['bsdcpio_test']} qemuriscv64-ptest alma9-vk-2 qemuarm64-ptest ubuntu2404-vk-arm2 agodard/master-next completed at 2026-05-21 16:13:47+00:00 https://valkyrie.yocto.io/pub/non-release/20260521-84/testresults/qemuarm64-ptest/ https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3683/steps/13/logs/stdio https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3727/steps/13/logs/stdio qemuarm64-ptest debian13-vk-arm1 --- (...) 26: test_option_c FAIL (...) Failing tests: 26: test_option_c (3 failures) Details for failing tests: /tmp/bsdcpio_test.2026-06-01T01.29.13-000 FAIL: bsdcpio_test Will switch to user nobody (uid 65534 gid 65534) If tests fail or crash, details will be in: /tmp/bsdcat_test.2026-06-01T01.29.14-000 --- Full logs: https://valkyrie.yocto.io/pub/non-release/20260601-8/testresults/qemuarm64-ptest/libarchive.log qemuarm64-ptest debian13-vk-arm1 master&master-next completed at 2026-06-15 11:50:11+00:00 https://valkyrie.yocto.io/pub/non-release/20260615-69/testresults/qemuarm64-ptest/ https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3822/steps/13/logs/stdio qemuriscv64-ptest alma9-vk-2 master&master-next completed at 2026-06-19 02:22:36+00:00 https://valkyrie.yocto.io/pub/non-release/20260618-125/testresults/qemuriscv64-ptest/ https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1777/steps/14/logs/stdio qemuarm64-ptest ubuntu2604-vk-arm1 wrynose completed at 2026-07-04 15:51:46+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3962 Sent a patch with proposed fix to the mailing list: https://lists.openembedded.org/g/openembedded-core/topic/120357656 The bsdcpio_test odc/newc format tests verify archive headers byte-by-byte including inode numbers. On ext4 rootfs (qemuarm64, qemuriscv64) inodes can exceed the format field widths causing intermittent assertion failures. The fix runs all tests from a tmpfs working directory where inode numbers always start small, avoiding the overflow. As per Paul's feedback i have reported the issue to libarchive repository here : https://github.com/libarchive/libarchive/issues/3314 qemuarm64-ptest ubuntu2604-vk-arm1 stable/2.18-nut&stable/wrynose-nut completed at 2026-07-04 15:51:46+00:00 https://valkyrie.yocto.io/pub/non-release/20260704-84/testresults/qemuarm64-ptest/ https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3962/steps/13/logs/stdio Fix for reported issue : https://github.com/libarchive/libarchive/issues/3314 Available here: https://github.com/libarchive/libarchive/pull/3321 and should be included in next libarchive release. Merged in Upstream : https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=3271add7ce517b987c9eb81f6b8f4e94eac2111c (In reply to Pratik Farkase from comment #11) > Merged in Upstream : > > https://git.openembedded.org/openembedded-core/commit/?h=master- > next&id=3271add7ce517b987c9eb81f6b8f4e94eac2111c Thanks. We didn't see any failures since the patch was merged. |