<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16231</bug_id>
          
          <creation_ts>2026-04-07 14:37:05 +0000</creation_ts>
          <short_desc>AB-INT PTEST: libarchive ptest failure: bsdcpio_test</short_desc>
          <delta_ts>2026-08-20 12:48:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Pratik Farkase">pratik.farkase</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>pratik.farkase</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104971</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-04-07 14:37:05 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3397/steps/13/logs/stdio

Failed ptests:
{&apos;libarchive&apos;: [&apos;bsdcpio_test&apos;]}

qemuarm64-ptest stream10-vk-arm1

---

Exercising: bsdcpio 3.8.6 - libarchive 3.8.6 zlib/1.3.2 liblzma/5.8.2 bz2lib/1.0.8 libzstd/1.5.7 libb2/bundled libacl/2.3.2 libattr/2.3.2 

(...)
 15: test_format_newc                                                FAIL
(...)

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-04-02T01.25.23-000

---

Full logs: https://valkyrie.yocto.io/pub/non-release/20260402-8/testresults/qemuarm64-ptest/libarchive.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104972</commentid>
    <comment_count>1</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-04-07 14:47:18 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1386/steps/13/logs/stdio

Failed ptests:
{&apos;libarchive&apos;: [&apos;bsdcpio_test&apos;]}

qemuriscv64-ptest alma9-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105579</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-26 08:56:49 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105700</commentid>
    <comment_count>3</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-06-02 16:43:28 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105897</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-16 07:23:53 +0000</bug_when>
    <thetext>qemuarm64-ptest debian13-vk-arm1 master&amp;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105974</commentid>
    <comment_count>5</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-22 09:05:56 +0000</bug_when>
    <thetext>qemuriscv64-ptest alma9-vk-2 master&amp;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106099</commentid>
    <comment_count>6</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-07-04 22:40:37 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106224</commentid>
    <comment_count>7</comment_count>
    <who name="Pratik Farkase">pratik.farkase</who>
    <bug_when>2026-07-20 12:38:41 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106229</commentid>
    <comment_count>8</comment_count>
    <who name="Pratik Farkase">pratik.farkase</who>
    <bug_when>2026-07-21 09:03:31 +0000</bug_when>
    <thetext>As per Paul&apos;s feedback i have reported the issue to libarchive repository here : 

https://github.com/libarchive/libarchive/issues/3314</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106230</commentid>
    <comment_count>9</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-21 09:09:00 +0000</bug_when>
    <thetext>qemuarm64-ptest ubuntu2604-vk-arm1 stable/2.18-nut&amp;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106290</commentid>
    <comment_count>10</comment_count>
    <who name="Pratik Farkase">pratik.farkase</who>
    <bug_when>2026-07-23 11:07:21 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106503</commentid>
    <comment_count>11</comment_count>
    <who name="Pratik Farkase">pratik.farkase</who>
    <bug_when>2026-08-12 08:05:15 +0000</bug_when>
    <thetext>Merged in Upstream :

https://git.openembedded.org/openembedded-core/commit/?h=master-next&amp;id=3271add7ce517b987c9eb81f6b8f4e94eac2111c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106577</commentid>
    <comment_count>12</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-20 12:48:20 +0000</bug_when>
    <thetext>(In reply to Pratik Farkase from comment #11)
&gt; Merged in Upstream :
&gt; 
&gt; https://git.openembedded.org/openembedded-core/commit/?h=master-
&gt; next&amp;id=3271add7ce517b987c9eb81f6b8f4e94eac2111c

Thanks. We didn&apos;t see any failures since the patch was merged.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>