<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>246472</bug_id>
          
          <creation_ts>2022-10-13 14:04:55 -0700</creation_ts>
          <short_desc>[GTK] Flaky timeouts in some WTF API tests</short_desc>
          <delta_ts>2023-11-09 11:57:43 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abstractmachines</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>clopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1905422</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-10-13 14:04:55 -0700</bug_when>
    <thetext>The following tests are frequent flaky timeouts in the GTK-X11-Release bots:

WTF_Condition.OneProducerTenConsumersHundredSlotsNotifyAll
WTF_Condition.OneProducerTenConsumersHundredSlotsNotifyOne
WTF_RunLoop.ManyTimes

In the post-commit bot, it started around https://commits.webkit.org 254468@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1905465</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-10-13 16:29:01 -0700</bug_when>
    <thetext>Gardened in https://commits.webkit.org/255511@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970537</commentid>
    <comment_count>2</comment_count>
    <who name="Amanda Falke">abstractmachines</who>
    <bug_when>2023-08-10 11:26:31 -0700</bug_when>
    <thetext>A few WTF_Condition* tests are frequent flaky timeouts in GTK release bots;
gardened in https://commits.webkit.org/266748@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991255</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-11-09 11:57:43 -0800</bug_when>
    <thetext>I have updated a bunch of expectations here from &quot;gtk&quot; to &quot;all&quot; as several of this failures were happening also on the EWS for WPE API tests and also added two new expected timeouts on 270468@main


This API tests (TestWTF) are kind of core, so I would expect that any issue that happens on GTK will happen also on WPE and viceversa. maybe we should use &quot;all&quot; for every expectation on this sub-tests. Just a thought.

A bit more info: I suspect some of the timeouts are simply slow tests.

For example the test WTF_Lock.ManyContendedLongSections takes 5 seconds to run on a Ryzen 9 5950X 16-Core with Kernel 6.0 but it runs on just 1 second on a i7-3770 4-core with Kernel 5.10

Looking at the strace you can see that the time is all spent on doing futex syscall. I suspect the difference on performance maybe has to be with this syscalls that for a reason that I don&apos;t know are faster on one machine than the other. It can be also related to the kernel version.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>