<?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>14163</bug_id>
          
          <creation_ts>2020-12-28 07:38:47 +0000</creation_ts>
          <short_desc>AB-INT PTEST ARM: libevent arm ptest intermittent failure</short_desc>
          <delta_ts>2022-03-31 14:49:48 +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>x86</rep_platform>
          <op_sys>arm64</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>4.0 M4</target_milestone>
          <dependson>14328</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Naveen Saini">naveen.kumar.saini</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>bluelightning</cc>
    
    <cc>chee.yang.lee</cc>
    
    <cc>flowergom</cc>
    
    <cc>jon.mason</cc>
    
    <cc>leonardo.sandoval</cc>
    
    <cc>oobitots</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</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>88824</commentid>
    <comment_count>0</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2020-12-28 07:38:47 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1364

AssertionError: Failed ptests:
{&apos;libevent&apos;: [&apos;[persistent_active_timeout_FAILED]&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89204</commentid>
    <comment_count>1</comment_count>
    <who name="Minjae Kim">flowergom</who>
    <bug_when>2021-02-11 13:44:17 +0000</bug_when>
    <thetext>Happened again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1517/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;libevent&apos;: [&apos;[no_events_FAILED]&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89351</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval">leonardo.sandoval</who>
    <bug_when>2021-02-23 15:40:19 +0000</bug_when>
    <thetext>Another event on this failure in the AB [1]:

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;libevent&apos;: [&apos;[loopexit_multiple_FAILED]&apos;, &apos;[bufferevent_timeout_FAILED]&apos;]}

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1532/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89566</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-03-11 14:19:24 +0000</bug_when>
    <thetext>So far, it only happened on ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89743</commentid>
    <comment_count>4</comment_count>
    <who name="Oleksiy Obitotskyy">oobitots</who>
    <bug_when>2021-03-25 10:56:53 +0000</bug_when>
    <thetext>qemuarm64-ptest ubuntu1804-arm-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1653

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;libevent&apos;: [&apos;[persistent_active_timeout_FAILED]&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89801</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2021-03-29 03:16:28 +0000</bug_when>
    <thetext>Similar:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1661/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;libevent&apos;: [&apos;[bufferevent_timeout_filter_pair_FAILED]&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89996</commentid>
    <comment_count>6</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-04-19 08:32:06 +0000</bug_when>
    <thetext>Happened on master-next (3.3):
machine: qemuarm64
worker: ubuntu1804-arm-1

AssertionError: Failed ptests:
{&apos;libevent&apos;: [&apos;[common_timeout_FAILED]&apos;] ...}

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1699</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90032</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-20 20:02:41 +0000</bug_when>
    <thetext>Ok will likely have to disable these timeout tests until the intermittent root cause is fixed

adding 14328 to depends.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90090</commentid>
    <comment_count>8</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-23 02:40:46 +0000</bug_when>
    <thetext>looking at the source code of the tests,
common_timeout generates 100 events that need to timeout to be accurate to +/-50ms

obviously this is highly dependent on scheduling and the current load.

increasing to a more acceptable +100ms</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90099</commentid>
    <comment_count>9</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-04-23 15:05:12 +0000</bug_when>
    <thetext>[oe-core][PATCH] libevent: Increase ptest timing tolerance 50 ms -&gt; 100 ms
in the mailing list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90276</commentid>
    <comment_count>10</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-06 14:44:50 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1749/steps/12/logs/stdio

&apos;libevent&apos;: [&apos;[usleep_FAILED]&apos;]

qemuarm64
master-next on ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90325</commentid>
    <comment_count>11</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2021-05-09 11:50:50 +0000</bug_when>
    <thetext>qemuarm64
ubuntu1804-arm-1
{&apos;libevent&apos;: [&apos;[common_timeout_FAILED]&apos;]}
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1773/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90436</commentid>
    <comment_count>12</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-05-20 15:26:58 +0000</bug_when>
    <thetext>Only happening on arm builders.

Can the test be adjusted again or skipped?
We think that the latest failure happen after the commit was merged but we&apos;re not 100% certain.

Let&apos;s wait for a month to see if it happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90441</commentid>
    <comment_count>13</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-20 15:47:45 +0000</bug_when>
    <thetext>I confirm it did</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90810</commentid>
    <comment_count>14</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-06-30 23:01:59 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1935/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90846</commentid>
    <comment_count>15</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-07-04 13:44:20 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1959/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90850</commentid>
    <comment_count>16</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-07-04 13:53:33 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1952/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90928</commentid>
    <comment_count>17</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-07-15 13:34:13 +0000</bug_when>
    <thetext>&apos;libevent&apos;: [&apos;[monotonic_res_FAILED]&apos;]

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1975/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91184</commentid>
    <comment_count>18</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-08-13 12:50:19 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2085/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91450</commentid>
    <comment_count>19</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-09-16 14:43:02 +0000</bug_when>
    <thetext>*** Bug 14549 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91451</commentid>
    <comment_count>20</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-09-16 14:43:24 +0000</bug_when>
    <thetext>&apos;libevent&apos;: [&apos;[conditions_simple_FAILED]&apos;]

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2223/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1




&apos;libevent&apos;: [&apos;[persistent_timeout_jump_FAILED]&apos;]

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2229/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91542</commentid>
    <comment_count>21</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-09-23 21:25:58 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2279/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1


&apos;libevent&apos;: [&apos;[persistent_active_timeout_FAILED]&apos;]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91544</commentid>
    <comment_count>22</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-09-23 21:38:12 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2258/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1


&apos;libevent&apos;: [&apos;[conditions_simple_FAILED]&apos;],</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91635</commentid>
    <comment_count>23</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-09-30 15:11:51 +0000</bug_when>
    <thetext>Yi Fan, we&apos;d like Ross to work on this since it&apos;s happening on arm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91681</commentid>
    <comment_count>24</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-10-07 12:44:08 +0000</bug_when>
    <thetext>PASS: thread/forking
thread/conditions_simple: [forking]
  FAIL ../libevent-2.1.12-stable/test/regress_thread.c:378
FAIL:   [conditions_simple FAILED]

  [RETRYING conditions_simple (3)]
PASS: thread/conditions_simple</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92897</commentid>
    <comment_count>25</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-03-31 14:49:48 +0000</bug_when>
    <thetext>Hasn&apos;t happened in months, perhaps due to:
https://git.openembedded.org/openembedded-core/commit/?id=cae0eb03e8e754bd77651fc017b2669f8fd57f75</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>