[webkit-changes] [WebKit/WebKit] e7e596: [WPE] Add new post-commit bots for performance tes...

Carlos Alberto Lopez Perez noreply at github.com
Thu Jun 1 10:01:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e7e596ed660c38a7dbd1940cdd1ccf8aa34b08de
      https://github.com/WebKit/WebKit/commit/e7e596ed660c38a7dbd1940cdd1ccf8aa34b08de
  Author: Carlos Alberto Lopez Perez <clopez at igalia.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M Tools/CISupport/build-webkit-org/config.json
    M Tools/CISupport/build-webkit-org/factories.py
    M Tools/CISupport/build-webkit-org/factories_unittest.py
    M Tools/CISupport/build-webkit-org/steps.py
    M Tools/CISupport/build-webkit-org/steps_unittest.py

  Log Message:
  -----------
  [WPE] Add new post-commit bots for performance tests with RPis
https://bugs.webkit.org/show_bug.cgi?id=256283

Reviewed by Jonathan Bedard.

This adds new bots for running performance tests on WPE with RPi4 boards.
The configuration is the following:

1) Build-only bots (x86_64 machines that cross-build)
 - 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) Test-only bots (RPi4 boards that run the tests)
 - WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests
 - WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Tests

There will be 8 workers (RPi4 boards) connected per
tester (so a total of 16 RPi4 boards).

The bots use the standard BuildOnly and DownloadAndPerfTest factories
with a few extra steps for handling the cross-target setup.

And for handling everything related with the cross builds and the generation
and deployment of target images it uses the cross-toolchain-helper script
and related functionality that was introduced at 259479 at main

The append*Flags() functions at steps.py are moved into a common MixIn class

* Tools/CISupport/build-webkit-org/config.json:
* Tools/CISupport/build-webkit-org/factories.py:
(Factory):
(Factory.__init__):
(BuildFactory.__init__):
(NoInstallDependenciesBuildFactory):
(CrossTargetBuildFactory):
(DownloadAndPerfTestFactory.__init__):
(CrossTargetDownloadAndPerfTestFactory):
* Tools/CISupport/build-webkit-org/factories_unittest.py:
(TestExpectedBuildSteps):
* Tools/CISupport/build-webkit-org/steps.py:
(appendCrossTargetFlags):
(appendCustomBuildFlags):
(appendCustomTestingFlags):
(InstallWpeDependencies.start):
(ArchiveBuiltProduct):
(ArchiveBuiltProduct.start):
(ShowIdentifier.hideStepIf):
(CheckIfNeededUpdateDeployedCrossTargetImage):
(CheckIfNeededUpdateDeployedCrossTargetImage.start):
(CheckIfNeededUpdateDeployedCrossTargetImage.evaluateCommand):
(CheckIfNeededUpdateRunningCrossTargetImage):
(CheckIfNeededUpdateRunningCrossTargetImage.evaluateCommand):
(BuildAndDeployCrossTargetImage):
(BuildAndDeployCrossTargetImage.start):
(RebootWithUpdatedCrossTargetImage):
* Tools/CISupport/build-webkit-org/steps_unittest.py:

Canonical link: https://commits.webkit.org/264798@main




More information about the webkit-changes mailing list