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
188079
[ews-build] Add build step to run API Tests
https://bugs.webkit.org/show_bug.cgi?id=188079
Summary
[ews-build] Add build step to run API Tests
Aakash Jain
Reported
2018-07-26 14:54:59 PDT
We should have an EWS for API tests. For that we should have a build step to run API tests.
Attachments
Proposed patch
(11.42 KB, patch)
2018-07-26 15:03 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Proposed patch
(12.10 KB, patch)
2018-07-26 15:07 PDT
,
Aakash Jain
lforschler
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2018-07-26 15:03:25 PDT
Comment hidden (obsolete)
Created
attachment 345875
[details]
Proposed patch Sample run:
http://ews-build.webkit-uat.org/#/builders/18/builds/26
Aakash Jain
Comment 2
2018-07-26 15:07:14 PDT
Created
attachment 345876
[details]
Proposed patch Sample run:
http://ews-build.webkit-uat.org/#/builders/18/builds/26
EWS Watchlist
Comment 3
2018-07-26 15:08:31 PDT
Comment hidden (obsolete)
Attachment 345876
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:23: No name 'logobserver' in module 'buildbot.process' [pylint/E0611] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:123: [TestWithFailureCount.getResultSummary] Instance of 'TestWithFailureCount' has no 'results' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:126: [TestWithFailureCount.getResultSummary] Instance of 'TestWithFailureCount' has no 'results' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:127: [TestWithFailureCount.getResultSummary] Instance of 'TestWithFailureCount' has no 'results' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:892: [TestRunAPITests.test_success_mac] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:892: [TestRunAPITests.test_success_mac] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:918: [TestRunAPITests.test_success_ios_simulator] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:918: [TestRunAPITests.test_success_ios_simulator] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:958: [TestRunAPITests.test_one_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:958: [TestRunAPITests.test_one_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1012: [TestRunAPITests.test_multiple_failures_and_timeouts] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1012: [TestRunAPITests.test_multiple_failures_and_timeouts] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1028: [TestRunAPITests.test_unexpecte_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1028: [TestRunAPITests.test_unexpecte_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1055: [TestRunAPITests.test_no_failures_or_timeouts_with_disabled] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1055: [TestRunAPITests.test_no_failures_or_timeouts_with_disabled] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] Total errors found: 16 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Lucas Forschler
Comment 4
2018-07-26 15:18:33 PDT
Comment on
attachment 345876
[details]
Proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=345876&action=review
r=me as is, with a nit, and something to think about for future patches.
> Tools/BuildSlaveSupport/ews-build/steps.py:378 > + descriptionDone = ['api-tests']
api tests completed?
> Tools/BuildSlaveSupport/ews-build/steps_unittest.py:871 > + self.setProperty('fullPlatform', 'mac-sierra')
some pondering... mac-highsierra is released, and Mojave is in beta. Mac-sierra will be the next platform to fall off the supported list. I don't think it really matters for unit tests, unless we run into a problem where the fullPlatform is not in a supported list somewhere... Do we want to be in the business of updating these periodically as they fall off, or just be ok with the fact that it will soon reference really stale releases? If we try to keep them relevant, then we should be using mac-mojave everywhere, which would be a larger change in many files.
Aakash Jain
Comment 5
2018-07-26 15:53:15 PDT
Committed
r234280
: <
https://trac.webkit.org/changeset/234280
>
Radar WebKit Bug Importer
Comment 6
2018-07-26 15:54:17 PDT
<
rdar://problem/42641478
>
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