<?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>16161</bug_id>
          
          <creation_ts>2026-02-05 17:23:03 +0000</creation_ts>
          <short_desc>AB-INT: ltp test_posix_groups times out</short_desc>
          <delta_ts>2026-11-02 13:12:51 +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>NEW</bug_status>
          <resolution></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.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Mathieu Dubois-Briand">mathieu.dubois-briand</assigned_to>
          <cc>paul</cc>
    
    <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>104174</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-05 17:23:03 +0000</bug_when>
    <thetext>Forking this off https://bugzilla.yoctoproject.org/show_bug.cgi?id=15999

We have seen ltp test_posix_groups failing on a regular basis, with the following trace:

  File &quot;/srv/pokybuild/yocto-worker/qemux86-64-ltp/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ltp_compliance.py&quot;, line 97, in test_posix_groups
    self.runltp(posix_group)
  File &quot;/srv/pokybuild/yocto-worker/qemux86-64-ltp/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ltp_compliance.py&quot;, line 65, in runltp
    (status, output) = self.target.run(cmd)
                       ^^^^^^^^^^^^^^^^^^^^
...
AssertionError: ssh exited with status &apos;255&apos; for command &apos;[&apos;ssh&apos;, &apos;-l&apos;, &apos;root&apos;, &apos;-o&apos;, &apos;ServerAliveCountMax=2&apos;, &apos;-o&apos;, &apos;ServerAliveInterval=30&apos;, &apos;-o&apos;, &apos;UserKnownHostsFile=/dev/null&apos;, &apos;-o&apos;, &apos;StrictHostKeyChecking=no&apos;, &apos;-o&apos;, &apos;LogLevel=ERROR&apos;, &apos;192.168.7.2&apos;, &apos;export PATH=/usr/sbin:/sbin:/usr/bin:/bin; /opt/ltp/bin/run-posix-option-group-test.sh SIG 2&gt;@1 | tee /opt/ltp/results/SIG&apos;]&apos;: this is likely an SSH failure
Executing signals tests

The whole status is in the other ticket, mixed with other kinda unrelated issues.

Quick summary:
- It&apos;s unlikely to be a memory issue, even if the OOM killer triggers at some point: it also triggers in succeeding builds.
- It might be a test taking a bit too much time, but I&apos;m not really convinced: I added a patch in my branch extending the timeout.

Looking at the log and trying to match it with the test sequence, I believe open_posix_testsuite/conformance/interfaces/sigwait/6-1.c test is running when the timeout occurs. So I&apos;m also adding a second patch to my branch, adding a bit of debug messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104443</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-27 11:05:33 +0000</bug_when>
    <thetext>qemux86-64-ltp fedora40-vk-1 master completed at 2026-02-27 10:40:01+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/3070/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104771</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-03-23 08:55:31 +0000</bug_when>
    <thetext>This one is a bit different, but still in test_posix_groups. LTP was recently
upgraded, maybe the behaviour is a little bit different.

qemux86-64-ltp rocky9-vk-2 master&amp;master-next completed at 2026-03-20 17:52:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/3239/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104963</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-07 08:45:35 +0000</bug_when>
    <thetext>This one has some extra logs, I need to analyze this a bit later.

qemux86-64-ltp ubuntu2404-vk-3 mathieu/master-next completed at 2026-04-03 19:18:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/3333/steps/13/logs/stdio

qemux86-64-ltp debian12-vk-7 master-next completed at 2026-04-05 09:51:18+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/3341/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104970</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-07 14:32:35 +0000</bug_when>
    <thetext>(In reply to Mathieu Dubois-Briand from comment #3)
&gt; This one has some extra logs, I need to analyze this a bit later.
&gt; 

Logs do not have expected lines, I&apos;m modifying the patch in my branch to add more aggressive logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105459</commentid>
    <comment_count>5</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-15 08:53:20 +0000</bug_when>
    <thetext>qemux86-64-ltp ubuntu2204-vk-2 mathieu/master-next completed at 2026-05-06 13:43:58+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/3527/steps/13/logs/stdio

Last log lines:
/usr/src/debug/ltp/20260130/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/6-1.c 102: Test PASSED
/usr/src/debug/ltp/20260130/testcases/open_posix_testsuite/conformance/interfaces/sigwait/1-1.c 88: Test PASSED
/usr/src/debug/ltp/20260130/testcases/open_posix_testsuite/conformance/interfaces/sigwait/2-1.c 128: Test PASSED
/usr/src/debug/ltp/20260130/testcases/open_posix_testsuite/conformance/interfaces/sigwait/3-1.c 98: Test PASSED
/usr/src/debug/ltp/20260130/testcases/open_posix_testsuite/conformance/interfaces/sigwait/4-1.c 80: Test PASSED

Process killed - no output for 300 seconds. Total running time: 375 seconds.

So, we again a lack a bit of logging, but I&apos;m fairly convinced the failing test
is in testcases/open_posix_testsuite/conformance/interfaces/sigwait/, either
6-1.c, 6-2.c or 7-1.c.

Last seen successful test is 4-1.c.
6-1.c, 6-2.c and 7-1.c use a different function to print data.
8-1.c is using printf, as for 4-1.c, so we should see traces if it was running

Adding more traces. Again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106001</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-25 10:23:34 +0000</bug_when>
    <thetext>qemuarm64-ltp ubuntu2504-vk-arm1 master completed at 2026-06-24 03:11:13+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/98/builds/3850/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106913</commentid>
    <comment_count>7</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-09-23 14:55:12 +0000</bug_when>
    <thetext>Issue is really similar although this time for the threads LTP test suite:

qemux86-64-ltp debian13-vk-1 agodard/master-next completed at 2026-09-15 15:57:34+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/4434/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107193</commentid>
    <comment_count>8</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-27 08:55:37 +0000</bug_when>
    <thetext>qemux86-64-ltp debian11-vk-1 mathieu/master-next-tests&amp;mathieu/master-next completed at 2026-10-23 17:39:22+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/4670/steps/16/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107232</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-10-29 14:51:18 +0000</bug_when>
    <thetext>Can we try to improve logging?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107270</commentid>
    <comment_count>10</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-11-02 13:12:51 +0000</bug_when>
    <thetext>I have some patch in my branch that tries do that for the few tests involved in there. I will see if I can come with something generic that we can merge.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>