<?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>14228</bug_id>
          
          <creation_ts>2021-02-09 00:44:49 +0000</creation_ts>
          <short_desc>valgrind ptest failing on qemuarm64</short_desc>
          <delta_ts>2021-03-04 16:30: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>3.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm64</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>3.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Minjae Kim">flowergom</reporter>
          <assigned_to name="Yi Fan Yu">yf3yu</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>Jagadheesan_Duraisamy</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>89169</commentid>
    <comment_count>0</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-02-09 00:44:49 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1503/steps/12/logs/stdio

Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py&quot;, line 25, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py&quot;, line 112, in do_ptestrunner
    self.fail(failmsg)
AssertionError: Failed ptests:
{&apos;valgrind&apos;: [&apos;drd/tests/std_list&apos;]}
Cannot run ptests without @expectedFailure as ptests are expected to fail
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.16s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.30s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectsuccess: SKIPPED (0.00s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: EXPECTEDFAIL (12180.10s)
SUMMARY:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89173</commentid>
    <comment_count>1</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-02-09 01:08:39 +0000</bug_when>
    <thetext>
This issue happened again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1511/steps/12/logs/stdio

WARNING: core-image-sato-sdk-ptest-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py&quot;, line 25, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py&quot;, line 112, in do_ptestrunner
    self.fail(failmsg)
AssertionError: Failed ptests:
{&apos;valgrind&apos;: [&apos;drd/tests/std_list&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89317</commentid>
    <comment_count>2</comment_count>
    <who name="Jagadheesan">Jagadheesan_Duraisamy</who>
    <bug_when>2021-02-19 11:34:32 +0000</bug_when>
    <thetext>Happened again in:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1542/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89326</commentid>
    <comment_count>3</comment_count>
    <who name="Jagadheesan">Jagadheesan_Duraisamy</who>
    <bug_when>2021-02-19 18:42:52 +0000</bug_when>
    <thetext>Seen in 
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1534/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89341</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-02-22 20:49:48 +0000</bug_when>
    <thetext>noticing that valgrind ptest runs pretty slow on qemuarm compared the x86-64 kvm . 

on a local test (also a pretty heavily loaded server building chromium), many tests fail due to timeout.


will increase the timeout to see if this specific test fails again</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89350</commentid>
    <comment_count>5</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-02-23 15:14:48 +0000</bug_when>
    <thetext>this specific test `drd/tests/std_list` takes around 47s with glibc2.33

timeout on all tests is 30s.

could consider bumping up the timeout to 60s
but from experience this doesn&apos;t scale well 
since the autobuilder could have a much heavier load</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89370</commentid>
    <comment_count>6</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-02-24 19:33:33 +0000</bug_when>
    <thetext>drd/tests/std_list takes around 45s on my system to run (its pretty consistent)

same thing with glibc2.32

Proposing just bumping timeout to 90s to remove the possible noise</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89371</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-02-24 19:38:01 +0000</bug_when>
    <thetext>Sure a 90 second timeout for valgrind seems reasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89372</commentid>
    <comment_count>8</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-02-24 19:46:46 +0000</bug_when>
    <thetext>Side note:
Tested with increased timeout
and the following tests (not reported by AB) fail on qemuarm64 building a core-image-minimal with ptest only for valgrind

FAIL: memcheck/tests/linux/timerfd-syscall
FAIL: massif/tests/new-cpp
FAIL: massif/tests/overloaded-new</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89432</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-02-27 01:52:19 +0000</bug_when>
    <thetext>More of {&apos;valgrind&apos;: [&apos;drd/tests/std_list&apos;]}

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1564/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1559/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89447</commentid>
    <comment_count>10</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-03-01 00:04:34 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1562/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89479</commentid>
    <comment_count>11</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-03-02 21:59:09 +0000</bug_when>
    <thetext>sent a server-side patch
http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/commit/?id=178da5ccf6154ecf5968261a16bd245971b909cf

might also change the MACHINE=False to MACHINE=Unknown</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89499</commentid>
    <comment_count>12</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-03-04 16:30:20 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; sent a server-side patch
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/commit/
&gt; ?id=178da5ccf6154ecf5968261a16bd245971b909cf
&gt; 
&gt; might also change the MACHINE=False to MACHINE=Unknown

ignore this... wrong bug




Resolved : timeout is increased 
https://git.openembedded.org/openembedded-core/commit/?id=aac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>