WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199408
[ews-build] Add build steps to Install Wpe and Gtk dependencies
https://bugs.webkit.org/show_bug.cgi?id=199408
Summary
[ews-build] Add build steps to Install Wpe and Gtk dependencies
Aakash Jain
Reported
2019-07-02 09:40:49 PDT
Add build steps to Install Wpe and Gtk Dependencies to EWS configuration. This step is required to install appropriate dependencies before compiling webkit for gtk/wpe.
Attachments
Patch
(6.41 KB, patch)
2019-07-02 09:49 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2019-07-02 09:49:11 PDT
Created
attachment 373334
[details]
Patch
EWS Watchlist
Comment 2
2019-07-02 09:50:36 PDT
Comment hidden (obsolete)
Attachment 373334
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:603: [InstallGtkDependencies.__init__] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:614: [InstallWpeDependencies.__init__] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:485: [TestInstallGtkDependencies.test_success] Instance of 'TestInstallGtkDependencies' has no 'assertEqual' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:493: [TestInstallGtkDependencies.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:493: [TestInstallGtkDependencies.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:498: [TestInstallGtkDependencies.test_failure] Instance of 'TestInstallGtkDependencies' has no 'assertEqual' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:507: [TestInstallGtkDependencies.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:507: [TestInstallGtkDependencies.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:521: [TestInstallWpeDependencies.test_success] Instance of 'TestInstallWpeDependencies' has no 'assertEqual' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:529: [TestInstallWpeDependencies.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:529: [TestInstallWpeDependencies.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:534: [TestInstallWpeDependencies.test_failure] Instance of 'TestInstallWpeDependencies' has no 'assertEqual' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:543: [TestInstallWpeDependencies.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:543: [TestInstallWpeDependencies.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] Total errors found: 14 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aakash Jain
Comment 3
2019-07-02 09:51:15 PDT
Comment on
attachment 373334
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=373334&action=review
factory.py would be updated to run this build step in subsequent patch.
> Tools/BuildSlaveSupport/ews-build/steps.py:597 > + name = 'jhbuild'
Not sure why this step is called 'jhbuild'. Copied it from build.webkit.org configuration.
Michael Catanzaro
Comment 4
2019-07-02 15:40:27 PDT
Comment on
attachment 373334
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=373334&action=review
So I don't see how these new classes get used anywhere? Is it magic? :D
>> Tools/BuildSlaveSupport/ews-build/steps.py:597 >> + name = 'jhbuild' > > Not sure why this step is called 'jhbuild'. Copied it from build.webkit.org configuration.
JHBuild is a development build environment that everything runs in. Basically it's an overlay on top of the host's system dependencies where we can build and install software to be used inside the JHBuild environment without requiring root. We usually write "jhbuild" because the Shift key requires effort to press. :)
> Tools/BuildSlaveSupport/ews-build/steps.py:601 > + haltOnFailure = False
Hm, I think failure should be fatal. We have a big problem if the JHBuild step fails. It's unlikely WebKit would actually be able to run successfully in this case anyway.
Michael Catanzaro
Comment 5
2019-07-02 15:40:56 PDT
(In reply to Aakash Jain from
comment #3
)
> Not sure why this step is called 'jhbuild'. Copied it from build.webkit.org > configuration.
Missed this. Not magic!
Aakash Jain
Comment 6
2019-07-02 16:14:20 PDT
Comment on
attachment 373334
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=373334&action=review
>> Tools/BuildSlaveSupport/ews-build/steps.py:601 >> + haltOnFailure = False > > Hm, I think failure should be fatal. We have a big problem if the JHBuild step fails. It's unlikely WebKit would actually be able to run successfully in this case anyway.
Agree it's a big problem if the JHBuild step fails. I think that problem qualify under 'infrastructure issue', and we should RETRY the build, instead of marking the build as 'FAILED" (which haltOnFailure=True will result into). In EWS "FAILED" build indicate that the patch being tested is bad.
Aakash Jain
Comment 7
2019-07-02 16:17:49 PDT
Just to clarify, subsequent build-step 'analyze-compile-webkit-results' will RETRY the build. e.g.:
https://ews-build.webkit-uat.org/#/builders/7/builds/316
WebKit Commit Bot
Comment 8
2019-07-02 16:44:23 PDT
Comment on
attachment 373334
[details]
Patch Clearing flags on attachment: 373334 Committed
r247080
: <
https://trac.webkit.org/changeset/247080
>
WebKit Commit Bot
Comment 9
2019-07-02 16:44:25 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10
2019-07-02 16:45:23 PDT
<
rdar://problem/52555552
>
Michael Catanzaro
Comment 11
2019-07-03 07:48:53 PDT
(In reply to Aakash Jain from
comment #6
)
> Agree it's a big problem if the JHBuild step fails. I think that problem > qualify under 'infrastructure issue', and we should RETRY the build, instead > of marking the build as 'FAILED" (which haltOnFailure=True will result > into). In EWS "FAILED" build indicate that the patch being tested is bad.
Well if the jhbuild step fails, it's probably because the patch has broken the jhbuild.
Carlos Alberto Lopez Perez
Comment 12
2020-02-04 07:01:21 PST
(In reply to Michael Catanzaro from
comment #11
)
> (In reply to Aakash Jain from
comment #6
) > > Agree it's a big problem if the JHBuild step fails. I think that problem > > qualify under 'infrastructure issue', and we should RETRY the build, instead > > of marking the build as 'FAILED" (which haltOnFailure=True will result > > into). In EWS "FAILED" build indicate that the patch being tested is bad. > > Well if the jhbuild step fails, it's probably because the patch has broken > the jhbuild.
Right I see this here:
https://ews-build.webkit.org/#/builders/8/builds/14753
<-- It should have halted on the jhbuild step. I think the jhbuild step should halt on failure. It doesn't make sense to continue with trying to build webkit if that step failed.
Aakash Jain
Comment 13
2020-02-04 09:14:37 PST
> I think the jhbuild step should halt on failure. It doesn't make sense to continue with trying to build webkit if that step failed.
Feel free to update 'haltOnFailure' in InstallGtkDependencies/InstallWpeDependencies at
https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps.py#L797
Carlos Alberto Lopez Perez
Comment 14
2020-02-04 15:30:45 PST
(In reply to Aakash Jain from
comment #13
)
> > I think the jhbuild step should halt on failure. It doesn't make sense to continue with trying to build webkit if that step failed. > Feel free to update 'haltOnFailure' in > InstallGtkDependencies/InstallWpeDependencies at >
https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews
- > build/steps.py#L797
Lauro did that on
bug 207220
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug