<?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>14294</bug_id>
          
          <creation_ts>2021-03-09 14:35:25 +0000</creation_ts>
          <short_desc>AB-INT PTEST: valgrind memcheck/tests/linux/timerfd-syscall ptest intermittent failure</short_desc>
          <delta_ts>2021-07-23 16:35:47 +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>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT AB-INT-TMPFS</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Köry Maincent">kory.maincent</reporter>
          <assigned_to name="Tony Tascioglu">tony.tascioglu</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>bluelightning</cc>
    
    <cc>chee.yang.lee</cc>
    
    <cc>flowergom</cc>
    
    <cc>jon.mason</cc>
    
    <cc>naveen.kumar.saini</cc>
    
    <cc>oobitots</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tony.tascioglu</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>89543</commentid>
    <comment_count>0</comment_count>
    <who name="Köry Maincent">kory.maincent</who>
    <bug_when>2021-03-09 14:35:25 +0000</bug_when>
    <thetext>New intermittent ptest failure in test core-image-sato, seen in:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1590/steps/12/logs/stdio

NOTE: Running task 901 of 901 (/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb:do_testimage)
NOTE: recipe core-image-sato-sdk-ptest-1.0-r0: task do_testimage: Started
Bitbake still alive (5000s)
Bitbake still alive (10000s)
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;memcheck/tests/linux/timerfd-syscall&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89578</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-03-11 14:44:32 +0000</bug_when>
    <thetext>This was on ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89665</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-03-19 23:37:20 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1556/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1548/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89711</commentid>
    <comment_count>3</comment_count>
    <who name="Oleksiy Obitotskyy">oobitots</who>
    <bug_when>2021-03-23 15:17:15 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1647</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89726</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-03-24 19:36:58 +0000</bug_when>
    <thetext>I can&apos;t reproduce this failure

I think its due to the load/IO issue

version: 3.16.1
=== Test Summary ===
TOTAL: 726
PASSED: 686
FAILED: 0
SKIPPED: 40
DURATION: 1278

leaving it open for now...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89729</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-03-24 22:01:36 +0000</bug_when>
    <thetext>Until now, this only failed on ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89798</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2021-03-29 03:01:17 +0000</bug_when>
    <thetext>Failed again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1662</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89818</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-03-29 17:36:18 +0000</bug_when>
    <thetext>this seems to happening frequently on arm and not that intermittent in nature</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89829</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2021-03-30 16:48:11 +0000</bug_when>
    <thetext>Another instance:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1664/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89836</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2021-04-01 02:52:14 +0000</bug_when>
    <thetext>Another one:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1671/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89946</commentid>
    <comment_count>10</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-04-15 14:24:55 +0000</bug_when>
    <thetext>This last onesA were on ubunt1804-arm-1. and the last one did contain the runqemu in tmpfs patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90007</commentid>
    <comment_count>11</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-19 19:12:56 +0000</bug_when>
    <thetext>fixed(more a workaround), see previous commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90008</commentid>
    <comment_count>12</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-19 19:15:36 +0000</bug_when>
    <thetext>Sorry wrong bugzilla link..
reopening although I did submit a patch

https://git.openembedded.org/openembedded-core/commit/?id=099313ef541920d4a84b801d9d8788a56ba7ec61

to print out the diff from expected result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90009</commentid>
    <comment_count>13</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-19 19:15:51 +0000</bug_when>
    <thetext>Sorry wrong bugzilla link..
reopening although I did submit a patch

https://git.openembedded.org/openembedded-core/commit/?id=099313ef541920d4a84b801d9d8788a56ba7ec61

to print out the diff from expected result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90079</commentid>
    <comment_count>14</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-22 21:11:49 +0000</bug_when>
    <thetext>assigning it back to randy, if it happens again, we can get the test output details file 
at 
https://autobuilder.yocto.io/pub/non-release/

and make a judgement if the test needs to be disabled for timing/load reasons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90112</commentid>
    <comment_count>15</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-04-26 03:02:15 +0000</bug_when>
    <thetext>Seen additional failures:

AssertionError: Failed ptests:
{&apos;valgrind&apos;: [&apos;drd/tests/bar_bad&apos;]}

on master (qemux86-64): 
woerker: ubuntu1604-ty-1
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2005

On master-next:
worker:fedora32-ty-1
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2006</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90219</commentid>
    <comment_count>16</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-02 22:31:53 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1723/steps/12/logs/stdio

qemuarm64
master on ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90235</commentid>
    <comment_count>17</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-04 07:52:10 +0000</bug_when>
    <thetext>&apos;valgrind&apos;: [&apos;memcheck/tests/leak_cpp_interior&apos;]

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2022/steps/12/logs/stdio

qemuarm64
master on ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90252</commentid>
    <comment_count>18</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-06 10:36:26 +0000</bug_when>
    <thetext>leak_cpp_interior is now disabled by 984ffe3ab4b7857b6201494cd77f2261bfc6d050</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90321</commentid>
    <comment_count>19</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2021-05-08 14:45:17 +0000</bug_when>
    <thetext>happen again 
qemuarm64-ptest
worker : ubuntu1804-arm-1
branch_poky : master-next
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1777</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90386</commentid>
    <comment_count>20</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2021-05-14 08:21:30 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1799/steps/12/logs/stdio
qemuarm64-ptest
ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90453</commentid>
    <comment_count>21</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2021-05-21 11:51:44 +0000</bug_when>
    <thetext>Reoccurence 

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1818/steps/12/logs/stdio

qemuarm64-ptest
ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90519</commentid>
    <comment_count>22</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-27 22:35:41 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1840/steps/12/logs/stdio

{&apos;valgrind&apos;: [&apos;memcheck/tests/linux/stack_changes&apos;]}

ubuntu1804-arm-1
qemuarm64-ptest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90530</commentid>
    <comment_count>23</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-29 00:02:38 +0000</bug_when>
    <thetext>{&apos;valgrind&apos;: [&apos;memcheck/tests/linux/stack_changes&apos;]}

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1843/steps/12/logs/stdio

qemuarm64-ptest
ubuntu2004-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90546</commentid>
    <comment_count>24</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-06-02 02:03:43 +0000</bug_when>
    <thetext>Happend again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1853/steps/12/logs/stdio

&apos;valgrind&apos;: [&apos;memcheck/tests/linux/stack_changes&apos;]
qemuarm64-ptest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90549</commentid>
    <comment_count>25</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-06-02 02:33:23 +0000</bug_when>
    <thetext>Happend again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1852/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90551</commentid>
    <comment_count>26</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-06-02 02:37:05 +0000</bug_when>
    <thetext>Happend again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1850/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90586</commentid>
    <comment_count>27</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-06-07 10:31:08 +0000</bug_when>
    <thetext>Happend again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1871/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90588</commentid>
    <comment_count>28</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-06-07 11:02:41 +0000</bug_when>
    <thetext>Happend again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1872/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2161/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90594</commentid>
    <comment_count>29</comment_count>
    <who name="Tony Tascioglu">tony.tascioglu</who>
    <bug_when>2021-06-09 16:24:04 +0000</bug_when>
    <thetext>Hello, I want to update this thread with a few findings.
First, there are several different tests failing in the autobuilder logs in this thread, I&apos;m not sure if it&apos;s due to the same underlying cause between these yet.
Furthermore, some of these are failures are on x86_64 and some are on arm64.

I don&apos;t think it&apos;s the same SMP issue that was affecting the helgrind tests, though it&apos;s harder to tell without the diffs or logs from the autobuilder.

I tried to recreate this error by running stack_changes, timerfd-syscall and fb_test_amd64 in Qemu x86_64 in parallel with SMP enabled for over 12 hours overnight and neither of the tests failed.

Arm64 on the other hand has several issues. Testing on qemu_arm64 from an x86_64 host without SMP and with 1G of RAM allocated, stack_changes failed all 10/10 times I ran it on master, and several of the other tests fail randomly a lot more frequently. I am going to try on older versions as well to check if it is a recent change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90625</commentid>
    <comment_count>30</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-06-14 13:10:32 +0000</bug_when>
    <thetext>As discussed, the memcheck/tests/linux/stack_changes issue is not intermittent and I split it ou in bug 14430</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91014</commentid>
    <comment_count>31</comment_count>
    <who name="Tony Tascioglu">tony.tascioglu</who>
    <bug_when>2021-07-23 16:35:47 +0000</bug_when>
    <thetext>This was catch-all bug with several failures grouped together. We&apos;ve created more-specific targeted bugs. The issues covered here are either covered by those bugs or no longer occurring.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>