Bug 218805 - [build.webkit.org] Update RunWebKitTests step for new buildbot
Summary: [build.webkit.org] Update RunWebKitTests step for new buildbot
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks: 175056
  Show dependency treegraph
 
Reported: 2020-11-11 08:49 PST by Aakash Jain
Modified: 2021-02-08 07:37 PST (History)
4 users (show)

See Also:


Attachments
Patch (7.33 KB, patch)
2020-11-11 08:54 PST, Aakash Jain
no flags Details | Formatted Diff | Diff
Patch (7.97 KB, patch)
2020-11-11 09:30 PST, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2020-11-11 08:49:31 PST
We are planning to upgrade build.webkit.org to latest Buildbot. We should update RunWebKitTests as per new Buildbot, e.g.:
use logobserver instead of cmd.logs['stdio'].getText()
use getResultSummary instead of getText/getText2

Also we should take this opportunity to switch to logobserver.LineConsumerLogObserver which is more efficient in processing large logs than logobserver.BufferLogObserver.
Comment 1 Aakash Jain 2020-11-11 08:54:48 PST
Created attachment 413826 [details]
Patch
Comment 2 Aakash Jain 2020-11-11 08:55:55 PST
(In reply to Aakash Jain from comment #1)
> Created attachment 413826 [details]
> Patch
Most of this code is copied from code written by Dean in another repository.
Comment 3 Jonathan Bedard 2020-11-11 09:04:58 PST
Comment on attachment 413826 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=413826&action=review

> Tools/ChangeLog:10
> +        (RunWebKitTests):

Can we populate this changelog with a bit more information?

> Tools/CISupport/build-webkit-org/steps.py:48
> +    logobserver = lambda: None

Were we not using the log observer previously? Or does that option not exist for buildbot 0.8?
Comment 4 Aakash Jain 2020-11-11 09:29:39 PST
(In reply to Jonathan Bedard from comment #3)
> > Tools/CISupport/build-webkit-org/steps.py:48
> > +    logobserver = lambda: None
> 
> Were we not using the log observer previously? Or does that option not exist for buildbot 0.8?
Yeah, Buildbot 0.8 didn't had this logobserver module.
Comment 5 Aakash Jain 2020-11-11 09:30:31 PST
Created attachment 413829 [details]
Patch
Comment 6 EWS 2020-11-11 10:28:14 PST
Committed r269689: <https://trac.webkit.org/changeset/269689>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 413829 [details].
Comment 7 Radar WebKit Bug Importer 2020-11-11 10:29:16 PST
<rdar://problem/71288809>
Comment 8 Dean Johnson 2020-11-11 13:16:54 PST
Looks good to me; unofficial r+.