<?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>15180</bug_id>
          
          <creation_ts>2023-08-02 15:22:28 +0000</creation_ts>
          <short_desc>AB-INT: ppc32 rust.RustSelfTestSystemEmulated.test_rust failure</short_desc>
          <delta_ts>2025-05-08 14:53: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>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>5.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Deepesh Varatharajan">deepesh.varatharajan</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>mathieu.dubois-briand</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>Yash.Shinde</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>96166</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-08-02 15:22:28 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/154/builds/271/steps/12/logs/stdio

qemumips fedora37-ty-2

https://autobuilder.yoctoproject.org/typhoon/#/builders/154/builds/278/steps/13/logs/stdio

qemumips64-tc ubuntu2204-ty-3

2023-07-29 01:22:56,015 - oe-selftest - INFO - ======================================================================
2023-07-29 01:22:56,016 - oe-selftest - INFO - FAIL: rust.RustSelfTestSystemEmulated.test_rust (subunit.RemotedTestCase)
2023-07-29 01:22:56,016 - oe-selftest - INFO - ----------------------------------------------------------------------
2023-07-29 01:22:56,016 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemumips64-tc/build/meta/lib/oeqa/selftest/cases/rust.py&quot;, line 83, in test_rust
    runCmd(cmd)
  File &quot;/home/pokybuild/yocto-worker/qemumips64-tc/build/meta/lib/oeqa/utils/commands.py&quot;, line 212, 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; export PATH=/home/pokybuild/yocto-worker/qemumips64-tc/build/build-st-1931533/tmp/work/mips64r2-poky-linux/rust/1.70.0-r0/recipe-sysroot-native/usr/bin:$PATH; export TARGET_VENDOR=&quot;-poky&quot;; export PATH=/home/pokybuild/yocto-worker/qemumips64-tc/build/build-st-1931533/tmp/work/mips64r2-poky-linux/rust/1.70.0-r0/recipe-sysroot-native/usr/bin/mips64-poky-linux:/home/pokybuild/yocto-worker/qemumips64-tc/build/build-st-1931533/tmp/hosttools:$PATH; export RUST_TARGET_PATH=/home/pokybuild/yocto-worker/qemumips64-tc/build/build-st-1931533/tmp/work/mips64r2-poky-linux/rust/1.70.0-r0/rust-targets; export TEST_DEVICE_ADDR=&quot;192.168.7.2:12345&quot;; cd /home/pokybuild/yocto-worker/qemumips64-tc/build/build-st-1931533/tmp/work/mips64r2-poky-linux/rust/1.70.0-r0/rustc-1.70.0-src; python3 src/bootstrap/bootstrap.py test --exclude tests/rustdoc --exclude src/tools/rust-analyzer  --exclude tests/rustdoc-json  --exclude tests/run-make-fulldeps --exclude src/tools/tidy --exclude src/tools/rustdoc-themes --exclude src/rustdoc-json-types --exclude src/librustdoc --exclude src/doc/unstable-book --exclude src/doc/rustdoc --exclude src/doc/rustc --exclude compiler/rustc --exclude library/panic_abort --exclude library/panic_unwind --exclude src/tools/lint-docs  --exclude tests/rustdoc-js-std --doc --no-fail-fast --bless --target mips64-poky-linux-gnu &gt; summary.txt 2&gt;&amp;1;&apos; returned non-zero exit status 1:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96180</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-08-03 14:48:34 +0000</bug_when>
    <thetext>If the test fails, please cat summary.txt so that the data is available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96228</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-08-10 14:40:40 +0000</bug_when>
    <thetext>*** Bug 15187 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96229</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-08-10 14:41:01 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/154/builds/278/steps/13/logs/stdio

qemumips64-tc opensuse154-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96368</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-09-07 16:39:59 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/154/builds/451/steps/12/logs/stdio

qemumips64-tc debian11-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97413</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-04 12:30:00 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/153/builds/433/steps/12/logs/stdio

	
qemuppc-tc ubuntu2004-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97481</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-09 23:57:32 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/851/steps/12/logs/stdio

qemumips-tc ubuntu2304-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98063</commentid>
    <comment_count>7</comment_count>
    <who name="Yash Shinde">Yash.Shinde</who>
    <bug_when>2024-01-30 11:32:42 +0000</bug_when>
    <thetext>Are these issues still there after the latest patch series sent for rust oe-selftest?

The patch series was checked on Ubuntu 22.04.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98622</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-03-26 17:17:53 +0000</bug_when>
    <thetext>Yash, this build from Feb 2024 seems to be after your last comment so the problem is still happening:
https://autobuilder.yoctoproject.org/typhoon/#/builders/154/builds/1366</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98652</commentid>
    <comment_count>9</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-03-28 13:21:57 +0000</bug_when>
    <thetext>In the last log the AssertionError: line is wrapped as 4096 bytes where a character also disappears and is replaced with a newline:

tests/ui/asso
iated-type-bounds/fn-dyn-apit.rs 

4096 is a suspicious number.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99706</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-09-24 14:41:48 +0000</bug_when>
    <thetext>Sundeep, 
Add a comment explaining where we are with this bug, please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99957</commentid>
    <comment_count>11</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-10-21 07:53:16 +0000</bug_when>
    <thetext>qemuppc-tc ubuntu2004-vk-1
https://valkyrie.yoctoproject.org/#/builders/49/builds/263/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99985</commentid>
    <comment_count>12</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-24 14:46:12 +0000</bug_when>
    <thetext>We have disabled the mips32/64 rust tests since those arches are not being supported on master by anyone and the upstream rust stopped supported these tests or the mips arches really. 

ppc32 is being worked on by people in YP (less so by Rust upstream)...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100031</commentid>
    <comment_count>13</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-10-25 10:08:12 +0000</bug_when>
    <thetext>qemuarm64-tc ubuntu2004-vk-2
https://valkyrie.yoctoproject.org/#/builders/5/builds/281/steps/12/logs/stdio

qemuarm64-tc ubuntu2404-vk-2
https://valkyrie.yoctoproject.org/#/builders/5/builds/294/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100137</commentid>
    <comment_count>14</comment_count>
    <who name="Sundeep Kokkonda">sundeep.kokkonda</who>
    <bug_when>2024-11-11 06:00:27 +0000</bug_when>
    <thetext>Working on reproducing the issue but not yet reproduced on my side.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100787</commentid>
    <comment_count>15</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-30 16:05:06 +0000</bug_when>
    <thetext>Bulk move.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101124</commentid>
    <comment_count>16</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-02-17 13:53:36 +0000</bug_when>
    <thetext>qemuarm64-tc debian11-vk-1 mathieu/master-next completed at 2025-01-17T08:14:20Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/5/builds/806/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101523</commentid>
    <comment_count>17</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-03-27 15:59:10 +0000</bug_when>
    <thetext>
Moving to 5.2-M4 to give us time to see if there is actually a requirement to support powerpc.

YP has disabled the powerpc tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101573</commentid>
    <comment_count>18</comment_count>
    <who name="Deepesh Varatharajan">deepesh.varatharajan</who>
    <bug_when>2025-04-07 09:49:39 +0000</bug_when>
    <thetext>Hi all,

For tests/ui/process/process-sigpipe.rs testcase failure is fixed with below commit 

https://git.openembedded.org/openembedded-core/commit?h=master&amp;id=fb19e038582a2bfc414465ef396c30197f67128f

After the above fix, this testcase failure is not seen in AB.

Regarding the failure of the tests/ui/threads-sendsync/tcp-stress.rs testcase

in conf/local.conf, I set RUST_TEST_THREADS=&quot;96&quot; as seen in the AB logs.
The issue is not reproducible for both ARM64 and PPC32.

Thanks,
Deepesh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101578</commentid>
    <comment_count>19</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-04-07 18:10:05 +0000</bug_when>
    <thetext>Not reported for 1.5 years so resolving as works for me.
Not that YP also stopped testing ppc32 and mips32/64 so if you happen to have
a requirement for these targets (with out without rust being involved), 
please discuss on the email list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101581</commentid>
    <comment_count>20</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-04-07 23:49:51 +0000</bug_when>
    <thetext>My comment about this not being seen for 1.5 years was wrong.

Deepesh pointed to Adrian&apos;s timeout increase which seem to have helped.
Still marking as resolved and unless someone re-opens we&apos;ll focus on targets other than ppc32, mips*.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101880</commentid>
    <comment_count>21</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-05-05 08:52:59 +0000</bug_when>
    <thetext>qemuarm-tc rocky9-vk-3 master completed at 2025-05-05T01:51:31Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/1490/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101881</commentid>
    <comment_count>22</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-05-05 13:58:57 +0000</bug_when>
    <thetext>Mathieu,

Is this really the same bug?

This one happened for:
   build/x86_64-unknown-linux-gnu/stage1-std/armv7-poky-linux-gnueabihf/
and the first error in the log is:

   failures:
   ---- fs::tests::file_lock_drop stdout ----
   thread &apos;fs::tests::file_lock_drop&apos; panicked at library/std/src/fs/tests.rs:271:5:
   assertion failed: check!(f2.try_lock())
   failures:
       fs::tests::file_lock_drop
   test result: FAILED. 1068 passed; 1 failed; 22 ignored; 0 measured; 0 filtered out; finished in 24.48s
   error: test failed, to rerun pass `-p std --lib`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101882</commentid>
    <comment_count>23</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-05-05 16:02:43 +0000</bug_when>
    <thetext>Hum, yes, on second thought this might be a different one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101912</commentid>
    <comment_count>24</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-05-08 14:53:51 +0000</bug_when>
    <thetext>Mathieu, 

Richard asks that you create a new bug rather than re-open this one
since it&apos;s an arm issue and the previous ones were mips/ppc and we&apos;re not
testing them anymomre.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>