<?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>278853</bug_id>
          
          <creation_ts>2024-08-29 03:58:42 -0700</creation_ts>
          <short_desc>[build.webkit.org] [GTK] Switch GTK4 bot to GTK3</short_desc>
          <delta_ts>2024-11-08 10:27:25 -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>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=282842</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="Diego Pino">dpino</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2056227</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-08-29 03:58:42 -0700</bug_when>
    <thetext>Right now, all GTK bots (EWS and post-commit bots) build and run tests using GTK3. There is also one bot that builds and runs tests using GTK4: [GTK-Linux-64-bit-Release-GTK4-Tests](https://build.webkit.org/#/builders/9).

We would like to switch all bots to GTK4, since now the state of layout tests under GTK4 is in good shape. This change doesn&apos;t require modifying WebKit codebase, simply to change a setting inside the bots. As for the current post-commit GTK4 bot, we would like to switch it to GTK3. For this change, it&apos;s necessary to modify WebKit codebase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056228</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-08-29 04:00:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/webkit/webkit/pull/32885</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057000</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-02 06:04:07 -0700</bug_when>
    <thetext>Committed 283056@main (736fca8d5714): &lt;https://commits.webkit.org/283056@main&gt;

Reviewed commits have been landed. Closing PR #32885 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059648</commentid>
    <comment_count>3</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-09-12 04:16:17 -0700</bug_when>
    <thetext>https://build.webkit.org has been rebooted and the change is now operative. However, it seems all tests in this bot are failing. The reason is the bot was configured with:

```
&quot;additionalArguments&quot;: [&quot;--cmakeargs=-DUSE_GTK4=OFF&quot;]
```

Parameter &apos;additionalArguments&apos; is passed not only in the build step, but in all test steps, causing the tests to fail since the argument is unknown to the scripts running tests. For instance:

https://build.webkit.org/#/builders/1157/builds/45/steps/21/logs/stdio

```
python3 Tools/Scripts/run-gtk-tests --release --cmakeargs=-DUSE_GTK4=OFF
Usage: run-gtk-tests [options] [test...]
run-gtk-tests: error: no such option: --cmakeargs
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059649</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-09-12 04:17:05 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/webkit/webkit/pull/33541</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059651</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-12 04:24:55 -0700</bug_when>
    <thetext>Committed 283551@main (43c5e3445282): &lt;https://commits.webkit.org/283551@main&gt;

Reviewed commits have been landed. Closing PR #33541 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060529</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-09-16 13:16:33 -0700</bug_when>
    <thetext>I think this broke WebKitGTK4 uploads for GNOME Web Canary purposes.

We need a GTK4 (flatpak) bot that has a ArchiveBuiltProduct step...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060531</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-09-16 13:18:50 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #6)
&gt; I think this broke WebKitGTK4 uploads for GNOME Web Canary purposes.
&gt; 
&gt; We need a GTK4 (flatpak) bot that has a ArchiveBuiltProduct step...

and UploadBuiltProduct.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>