<?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>256283</bug_id>
          
          <creation_ts>2023-05-03 16:46:00 -0700</creation_ts>
          <short_desc>[WPE] Add new post-commit bots for performance tests with RPis</short_desc>
          <delta_ts>2023-08-15 15:02:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</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=256277</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=258038</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=260223</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>255861</dependson>
          <blocked>249031</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1952779</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-03 16:46:00 -0700</bug_when>
    <thetext>Now that the tooling for cross-building WebKit for a target device and running tests with it has landed (see bug 249031) it is time to add the bots

The main idea for the bots is the following

1) Build-only bot
- A bot (x86_64) will cross-build WPE for a specific target board like any of this: rpi3-32bits-mesa-vc4, rpi3-32bits-userland, rpi4-32bits-mesa-vc4, rpi3-64bits-mesa-vc4, rpi4-64bits-mesa-vc4
- The bot will also generate the image (OS) that will run on the board. This image will contain everything needed except WPE itself

2) Test-only bots
- This will be a set of RPis boards, each one will boot the image that was generated from the build-only boot (via NFS/tftp)
- The RPi will download the built-product from the test-only boot and run the performance tests
- For running the performance tests it will use the script browserperfdash-benchmark which is a wrapper around the script run-benchmark
- The results of the benchmarks will be uploaded to https://browserperfdash.igalia.com/


The proposed initial config contain this:

1) Two build-only bots for two build configurations:

 - WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Build (builds with --cross-target=rpi4-32bits-mesa)
 - WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build (builds with --cross-target=rpi4-64bits-mesa)


2) 16 RPi4 testers for that configurations:

  - 8 RPi4 for the 32 bits config
  - 8 Rpi4 for the 64 bits config</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952781</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-03 16:49:51 -0700</bug_when>
    <thetext>Now that the tooling for cross-building WebKit for a target device and running tests with it has landed (see bug 249031) it is time to add the bots

The main idea for the bots is the following

1) Build-only bot
- A bot (x86_64) will cross-build WPE for a specific target board like any of this: rpi3-32bits-mesa-vc4, rpi3-32bits-userland, rpi4-32bits-mesa-vc4, rpi3-64bits-mesa-vc4, rpi4-64bits-mesa-vc4
- The bot will also generate the image (OS) that will run on the board. This image will contain everything needed except WPE itself

2) Test-only bots
- This will be a set of RPis boards, each one will boot the image that was generated from the build-only boot (via NFS/tftp)
- The RPi will download the built-product from the build-only bot (point 1 above) and run the performance tests
- For running the performance tests it will use the script browserperfdash-benchmark which is a wrapper around the script run-benchmark
- The results of the benchmarks will be uploaded to https://browserperfdash.igalia.com/


The proposed initial config contain this:

1) Two build-only bots for two build configurations:

 - WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Build (builds with --cross-target=rpi4-32bits-mesa)
 - WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build (builds with --cross-target=rpi4-64bits-mesa)


2) 16 RPi4 testers for that configurations:

  - 8 RPi4 for the 32 bits config
  - 8 Rpi4 for the 64 bits config</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952807</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-03 18:41:08 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13430</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959357</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-06-01 10:01:48 -0700</bug_when>
    <thetext>Committed 264798@main (e7e596ed660c): &lt;https://commits.webkit.org/264798@main&gt;

Reviewed commits have been landed. Closing PR #13430 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959358</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-01 10:02:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/110120132&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961378</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2023-06-13 11:51:55 -0700</bug_when>
    <thetext>Restarted build.webkit.org to pick up this change this morning.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>