<?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>306580</bug_id>
          
          <creation_ts>2026-01-29 16:18:45 -0800</creation_ts>
          <short_desc>REGRESSION(306358@main)[GTK]: Caused 2 new API test timeouts: WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/ephemeral and WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/clear</short_desc>
          <delta_ts>2026-01-29 17:04:29 -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>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>306568</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=306416</see_also>
          <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="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2176382</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-29 16:18:45 -0800</bug_when>
    <thetext>Since 306358@main the GTK API tests are failing unexpectedly with:

Unexpected timeouts (2)
    /WebKitGTK/TestWebKitFaviconDatabase
        /webkit/WebKitFaviconDatabase/ephemeral
        /webkit/WebKitFaviconDatabase/clear


This was warned clearly on the EWS run at https://github.com/WebKit/WebKit/pull/57399

See: 

 - Last good run: https://build.webkit.org/#/builders/57/builds/23022
 - First bad run  : https://build.webkit.org/#/builders/57/builds/23023</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176393</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-29 16:43:22 -0800</bug_when>
    <thetext>BTW, I double checked this locally.


1. At 306358@main 
$ Tools/Scripts/run-gtk-tests --release --json-output=api_test_results.json TestWTF:WTF.DragonBox WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/clear WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/ephemeral
[...]
Unexpected timeouts (2)
    /WebKitGTK/TestWebKitFaviconDatabase
        /webkit/WebKitFaviconDatabase/clear
        /webkit/WebKitFaviconDatabase/ephemeral


2. At 306357@main 
$ Tools/Scripts/run-gtk-tests --release --json-output=api_test_results.json TestWTF:WTF.DragonBox WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/clear WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/ephemeral
[...]
Ran 3 tests of 3 with 3 successful</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176394</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2026-01-29 16:44:10 -0800</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #0)
&gt; Since 306358@main the GTK API tests are failing unexpectedly with:
&gt; 
&gt; Unexpected timeouts (2)
&gt;     /WebKitGTK/TestWebKitFaviconDatabase
&gt;         /webkit/WebKitFaviconDatabase/ephemeral
&gt;         /webkit/WebKitFaviconDatabase/clear
&gt; 
&gt; 
&gt; This was warned clearly on the EWS run at
&gt; https://github.com/WebKit/WebKit/pull/57399

The patch only changes the logging statements, and therefore it involves no change in behaviour.

&gt; See: 
&gt; 
&gt;  - Last good run: https://build.webkit.org/#/builders/57/builds/23022
&gt;  - First bad run  : https://build.webkit.org/#/builders/57/builds/23023

My suspicion is that the tests cases have been flaky, while working on a new feature I have found a number of issues with the code, fixed e.g. by landing https://github.com/WebKit/WebKit/pull/57397 (where tests passed), preparing a new fix in https://github.com/WebKit/WebKit/pull/57515 (also passed), and currently I am trying to figure out why the “get-favicon” test case times out (it&apos;s skipped in the test expectations).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176395</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-29 16:46:00 -0800</bug_when>
    <thetext>BTW, I double checked this locally.


1. At 306358@main 
$ Tools/Scripts/run-gtk-tests --release WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/clear WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/ephemeral
[...]
Unexpected timeouts (2)
    /WebKitGTK/TestWebKitFaviconDatabase
        /webkit/WebKitFaviconDatabase/clear
        /webkit/WebKitFaviconDatabase/ephemeral


2. At 306357@main 
$ Tools/Scripts/run-gtk-tests --release WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/clear WebKitGTK/TestWebKitFaviconDatabase:/webkit/WebKitFaviconDatabase/ephemeral
[...]
Ran 2 tests of 2 with 2 successful</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176396</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-29 16:47:14 -0800</bug_when>
    <thetext>(In reply to Adrian Perez from comment #2)
&gt; 
&gt; My suspicion is that the tests cases have been flaky, while working on a new
&gt; feature I have found a number of issues with the code, fixed e.g. by landing
&gt; https://github.com/WebKit/WebKit/pull/57397 (where tests passed), preparing
&gt; a new fix in https://github.com/WebKit/WebKit/pull/57515 (also passed), and
&gt; currently I am trying to figure out why the “get-favicon” test case times
&gt; out (it&apos;s skipped in the test expectations).

I can 100% reproduce this locally. At 306358@main always timeout and at 306357@main always passes. See comment above about how to reproduce it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176397</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2026-01-29 16:51:27 -0800</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #4)
&gt; (In reply to Adrian Perez from comment #2)
&gt; &gt; 
&gt; &gt; My suspicion is that the tests cases have been flaky, while working on a new
&gt; &gt; feature I have found a number of issues with the code, fixed e.g. by landing
&gt; &gt; https://github.com/WebKit/WebKit/pull/57397 (where tests passed), preparing
&gt; &gt; a new fix in https://github.com/WebKit/WebKit/pull/57515 (also passed), and
&gt; &gt; currently I am trying to figure out why the “get-favicon” test case times
&gt; &gt; out (it&apos;s skipped in the test expectations).
&gt; 
&gt; I can 100% reproduce this locally. At 306358@main always timeout and at
&gt; 306357@main always passes. See comment above about how to reproduce it

It&apos;s this missing check that was added, I had already forgotten that there was that additional change on top of the improved logging statements:

  https://github.com/WebKit/WebKit/commit/8accbbaa5baa01387b788b82fc40501662397b02#diff-e1b15fc026875945ec262f448a7dc903667dc6d356175370a0d9e380f9a67345R70

The issue is solved by https://github.com/WebKit/WebKit/pull/57515 which avoids trying to use a table from the database when it does not exist.

What I find puzzling is why the run at https://github.com/WebKit/WebKit/pull/57397 shows api-test as passed ¯\_(ツ)_/¯</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176398</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-29 17:04:29 -0800</bug_when>
    <thetext>Thanks for the fix!

Closing. This was fixed at bug 306568

*** This bug has been marked as a duplicate of bug 306568 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>