Bug 218802 - [build.webkit.org] Update CheckOutSource step for new buildbot
Summary: [build.webkit.org] Update CheckOutSource 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 06:39 PST by Aakash Jain
Modified: 2021-02-08 07:37 PST (History)
2 users (show)

See Also:


Attachments
Patch (2.42 KB, patch)
2020-11-11 06:42 PST, Aakash Jain
no flags Details | Formatted Diff | Diff
Patch (2.49 KB, patch)
2020-11-11 12:19 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 06:39:29 PST
We are planning to upgrade build.webkit.org to latest Buildbot. The base class (SVN) used by CheckOutSource has been moved and modified in new Buildbot. We should update the step accordingly.
Comment 1 Aakash Jain 2020-11-11 06:42:23 PST
Created attachment 413816 [details]
Patch
Comment 2 Jonathan Bedard 2020-11-11 09:09:10 PST
Comment on attachment 413816 [details]
Patch

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

> Tools/CISupport/build-webkit-org/steps.py:122
> +        SVN.__init__(self, **kwargs)

Is there a reason we aren't using super?
Comment 3 Aakash Jain 2020-11-11 12:19:33 PST
Created attachment 413851 [details]
Patch
Comment 4 Aakash Jain 2020-11-11 12:20:11 PST
(In reply to Jonathan Bedard from comment #2)
> Is there a reason we aren't using super?
Updated patch uses super.
Comment 5 EWS 2020-11-11 12:57:08 PST
Committed r269699: <https://trac.webkit.org/changeset/269699>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 413851 [details].
Comment 6 Radar WebKit Bug Importer 2020-11-11 12:58:21 PST
<rdar://problem/71295484>
Comment 7 Aakash Jain 2020-11-12 05:13:52 PST
(In reply to Aakash Jain from comment #4)
> (In reply to Jonathan Bedard from comment #2)
> > Is there a reason we aren't using super?
> Updated patch uses super.
Actually unit-test (and buildbot checkconfig) on old buildbot/python fails when using super on this class (old-style class) with following error (e.g.: https://ews-build.webkit.org/#/builders/20/builds/34537).

  File "steps.py", line 145, in __init__
    super(CheckOutSource, self).__init__(**kwargs)
TypeError: super() argument 1 must be type, not classobj

This is because this SVN class in old buildbot is old-style class. See: https://stackoverflow.com/questions/1713038/super-fails-with-error-typeerror-argument-1-must-be-type-not-classobj-when
Comment 8 Aakash Jain 2020-11-12 05:18:35 PST
Committed r269731: <https://trac.webkit.org/changeset/269731>