Changeset 177535 in webkit


Ignore:
Timestamp:
Dec 18, 2014 3:22:44 PM (9 years ago)
Author:
ap@apple.com
Message:

Perf tests frequently fail saying "build not up to date"
https://bugs.webkit.org/show_bug.cgi?id=139786

Illegitimately yet authoritatively reviewed by Lucas Forschler.

Undo the rest of the first fix, and implement the behavior differently.

is_clean isn't automatically forwarded from config.json to properties.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(CleanBuildUnconditionally):
(CleanBuildUnconditionally.start):
(DownloadAndPerfTestFactory.init):
(DownloadAndPerfTestWebKit2Factory.init):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json

    r177529 r177535  
    108108                    {
    109109                      "name": "Apple MountainLion Release (Perf)", "type": "DownloadAndPerfTest", "builddir": "mountainlion-release-perf-tests",
    110                       "is_clean": true,
    111110                      "platform": "mac-mountainlion", "configuration": "release", "architectures": ["x86_64"],
    112111                      "slavenames": ["bot141"]
     
    149148                    {
    150149                      "name": "Apple Mavericks Release (Perf)", "type": "DownloadAndPerfTest", "builddir": "mavericks-release-perf-tests",
    151                       "is_clean": true,
    152150                      "platform": "mac-mavericks", "configuration": "release", "architectures": ["x86_64"],
    153151                      "slavenames": ["bot135"]
     
    190188                    {
    191189                      "name": "Apple Yosemite Release (Perf)", "type": "DownloadAndPerfTest", "builddir": "yosemite-release-perf-tests",
    192                       "is_clean": true,
    193190                      "platform": "mac-yosemite", "configuration": "release", "architectures": ["x86_64"],
    194191                      "slavenames": ["bot194"]
     
    250247                    {
    251248                      "name": "GTK Linux 64-bit Release (Perf)", "type": "DownloadAndPerfTestWebKit2", "builddir": "gtk-linux-64-release-perf-tests",
    252                       "is_clean": true,
    253249                      "platform": "gtk", "configuration": "release", "architectures": ["x86_64"],
    254250                      "slavenames": ["gtk-linux-slave-8"]
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r177533 r177535  
    160160            self.hideStepIf = True
    161161            return SKIPPED
     162        return shell.Compile.start(self)
     163
     164class CleanBuildUnconditionally(shell.Compile):
     165    name = "delete WebKitBuild directory"
     166    description = ["deleting WebKitBuild directory"]
     167    descriptionDone = ["deleted WebKitBuild directory"]
     168    command = ["python", "./Tools/BuildSlaveSupport/clean-build", WithProperties("--platform=%(fullPlatform)s"), WithProperties("--%(configuration)s")]
     169
     170    def start(self):
    162171        return shell.Compile.start(self)
    163172
     
    923932    def __init__(self, platform, configuration, architectures, additionalArguments=None, SVNMirror=None, **kwargs):
    924933        Factory.__init__(self, platform, configuration, architectures, False, additionalArguments, SVNMirror, **kwargs)
     934        self.addStep(CleanBuildUnconditionally())
    925935        self.addStep(DownloadBuiltProduct())
    926936        self.addStep(ExtractBuiltProduct())
     
    930940    def __init__(self, platform, configuration, architectures, additionalArguments=None, SVNMirror=None, **kwargs):
    931941        Factory.__init__(self, platform, configuration, architectures, False, additionalArguments, SVNMirror, **kwargs)
     942        self.addStep(CleanBuildUnconditionally())
    932943        self.addStep(DownloadBuiltProduct())
    933944        self.addStep(ExtractBuiltProduct())
  • trunk/Tools/ChangeLog

    r177533 r177535  
     12014-12-18  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Perf tests frequently fail saying "build not up to date"
     4        https://bugs.webkit.org/show_bug.cgi?id=139786
     5
     6        Illegitimately yet authoritatively reviewed by Lucas Forschler.
     7
     8        Undo the rest of the first fix, and implement the behavior differently.
     9
     10        is_clean isn't automatically forwarded from config.json to properties.
     11
     12        * BuildSlaveSupport/build.webkit.org-config/config.json:
     13        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     14        (CleanBuildUnconditionally):
     15        (CleanBuildUnconditionally.start):
     16        (DownloadAndPerfTestFactory.__init__):
     17        (DownloadAndPerfTestWebKit2Factory.__init__):
     18
    1192014-12-18  Alexey Proskuryakov  <ap@apple.com>
    220
Note: See TracChangeset for help on using the changeset viewer.