<?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>16091</bug_id>
          
          <creation_ts>2025-12-08 10:15:28 +0000</creation_ts>
          <short_desc>selftest failures on Ubuntu 25.10</short_desc>
          <delta_ts>2025-12-17 13:08:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103501</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-08 10:15:28 +0000</bug_when>
    <thetext>I bet all of these are related to Ubuntu 25.10.

2025-12-05 01:27:06,744 - oe-selftest - INFO - archiver.Archiver.test_archiver_mode_mirror_gitsm (subunit.RemotedTestCase)
2025-12-05 01:27:06,745 - oe-selftest - INFO -  ... FAIL

Stderr:
2025-12-05 01:21:39,277 - oe-selftest - INFO - Adding: &quot;include selftest.inc&quot; in /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-2616602/conf/local.conf
2025-12-05 01:21:39,277 - oe-selftest - INFO - Adding: &quot;include bblayers.inc&quot; in bblayers.conf
/usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: TestResult has no addDuration method
  warnings.warn(&quot;TestResult has no addDuration method&quot;,

2025-12-05 01:27:06,745 - oe-selftest - INFO - 1: 10/59 105/643 (27.79s) (0 failed) (archiver.Archiver.test_archiver_mode_mirror_gitsm)
2025-12-05 01:27:06,745 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py&quot;, line 306, in test_archiver_mode_mirror_gitsm
    bitbake(&apos;-c deploy_archives -f git-submodule-test&apos;)
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py&quot;, line 236, in bitbake
    return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py&quot;, line 214, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
AssertionError: Command &apos;bitbake  -c deploy_archives -f git-submodule-test&apos; returned non-zero exit status 1:


2025-12-05 01:36:33,982 - oe-selftest - INFO - devtool.DevtoolDeployTargetTests.test_devtool_deploy_target (subunit.RemotedTestCase)
2025-12-05 01:36:33,982 - oe-selftest - INFO -  ... FAIL
...
2025-12-05 01:36:33,982 - oe-selftest - INFO - 9: 34/95 276/643 (165.58s) (0 failed) (devtool.DevtoolDeployTargetTests.test_devtool_deploy_target)
2025-12-05 01:36:33,982 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 1851, in test_devtool_deploy_target
    filelist1 = self._process_ls_output(result.output)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 225, in _process_ls_output
    self.fail(&apos;_process_ls_output: invalid output line: %s&apos; % line)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3.13/unittest/case.py&quot;, line 732, in fail
    raise self.failureException(msg)
AssertionError: _process_ls_output: invalid output line: couldn&apos;t allocate absolute path for &apos;null&apos;.

2025-12-05 02:29:04,115 - oe-selftest - INFO - wic.Wic.test_grub_install_pcbios (subunit.RemotedTestCase)
2025-12-05 02:29:04,115 - oe-selftest - INFO -  ... FAIL
2025-12-05 02:29:04,116 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 35, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/wic.py&quot;, line 244, in test_grub_install_pcbios
    runCmd(cmd)
    ~~~~~~^^^^^
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py&quot;, line 214, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
AssertionError: Command &apos;wic create /tmp/tmp6pmsd2q3.wks -e core-image-minimal -o /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-2616674/wic-tmp&apos; returned non-zero exit status 1:
...
ERROR: Actual rootfs size (1934451 kB) is larger than allowed size 79872 kB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103503</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-08 10:17:56 +0000</bug_when>
    <thetext>oe-selftest-debian ubuntu2510-vk-1 master completed at 2025-12-05 02:41:34+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2797/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103513</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-09 11:20:48 +0000</bug_when>
    <thetext>So the failure on wic.Wic.test_grub_install_pcbios is easy to fix, this is again some issue with `du` parameters, I missed some occurrences in my previous fix. I will send a new patch.


The archiver.Archiver.test_archiver_mode_mirror_gitsm one is because of failure to copy permissions:

Exception: subprocess.CalledProcessError: Command &apos;cp -fpPRH /srv/autobuilder/valkyrie.yocto.io/current_sources/git2_git.yoctoproject.org.git-submodule-test.tar.gz /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-2655469/tmp/work/x86-64-v3-poky-linux/git-submodule-test/1.0/archiver-sources/mirror&apos; returned non-zero exit status 1.

I can reproduce it on the worker, and minimal failing command is:
cp  /srv/autobuilder/valkyrie.yocto.io/current_sources/git2_git.yoctoproject.org.git-submodule-test.tar.gz . --preserve=mode

It looks like we have extend attributes on this file:
ls -l /srv/autobuilder/valkyrie.yocto.io/current_sources/git2_git.yoctoproject.org.git-submodule-test.tar.gz 
-rw-r--r--+ 1 pokybuild pokybuild 13782 Nov 21  2024 /srv/autobuilder/valkyrie.yocto.io/current_sources/git2_git.yoctoproject.org.git-submodule-test.tar.gz

Yet getfacl does not show anything specific. I checked on some other worker (debian13-vk-1), and the same file does not show extended attributes in there.

I will ask the helpdesk about anything specific on this worker.


About the devtool.DevtoolDeployTargetTests.test_devtool_deploy_target failure, I still have to understand what&apos;s going on. I did not reproduce it locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103516</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-10 13:09:59 +0000</bug_when>
    <thetext>oe-selftest-debian ubuntu2510-vk-1 master completed at 2025-12-09 10:27:32+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2807/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103528</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-12-11 15:51:56 +0000</bug_when>
    <thetext>Michael, 
Did you seem the mail about extended attributes? Any progress?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103529</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-12-11 15:52:23 +0000</bug_when>
    <thetext>Related mathieu patches:
[PATCH] wic: Remove conflicting du parameters
https://lists.openembedded.org/g/openembedded-core/message/226723
[PATCH] wic: Remove more conflicting du parameters
https://lists.openembedded.org/g/openembedded-core/message/227443</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103549</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-12 11:12:41 +0000</bug_when>
    <thetext>So I finally reproduced the  devtool.DevtoolDeployTargetTests.test_devtool_deploy_target failure, even locally.

The problem is pseudo is showing this &quot;couldn&apos;t allocate absolute path for &apos;null&apos;.&quot; message to stderr, and the test code is trying to parse that as part of the `ls` output.

I did open a separate issue for the behavior of ls while used in pseudo:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=16099

Now, the test only fails because it parses both stdout and stderr. If it was ignoring stderr, it would succeed. I can rewrite the parsing code in that way, but I do have mixed feelings about that. Any opinion?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103553</commentid>
    <comment_count>7</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-12 12:14:20 +0000</bug_when>
    <thetext>oe-selftest-debian ubuntu2510-vk-1 master completed at 2025-12-11 12:34:56+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2815/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103554</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-12-12 15:03:31 +0000</bug_when>
    <thetext> &gt; Now, the test only fails because it parses both stdout and stderr. 
 &gt; If it was ignoring stderr, it would succeed. I can rewrite the 
 &gt; parsing code in that way, but I do have mixed feelings about that.
 &gt;  Any opinion?

I guess you&apos;re asking Michael but I&apos;ll chime in anyway! 

That&apos;s a work-around not a fix. 
Since ubu-25.10 is not actively being tested, don&apos;t do it.

If fixing ubu-25.10 ( pseudo with uutils ) takes too long,
I guess this could be a &apos;short-term&apos; work-around but there should be a bug opened to track reverting it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103577</commentid>
    <comment_count>9</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-17 13:06:48 +0000</bug_when>
    <thetext>This is a good news: the extended attributes issue is gone, the only remaining
one is the pseudo issue.

oe-selftest-debian ubuntu2510-vk-1 master completed at 2025-12-16 22:12:27+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2840/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103579</commentid>
    <comment_count>10</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-17 13:08:59 +0000</bug_when>
    <thetext>Closing this one, the issue with pseudo is tracked in a separate issue: https://bugzilla.yoctoproject.org/show_bug.cgi?id=16099</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>