WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch with updated ChangeLog
patch_ews_success_log_v2 (text/plain), 4.89 KB, created by
Aakash Jain
on 2017-09-05 08:30:16 PDT
(
hide
)
Description:
Patch with updated ChangeLog
Filename:
MIME Type:
Creator:
Aakash Jain
Created:
2017-09-05 08:30:16 PDT
Size:
4.89 KB
patch
obsolete
>Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 221615) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,22 @@ >+2017-09-05 Aakash Jain <aakash_jain@apple.com> >+ >+ EWS should report when a step succeeds >+ https://bugs.webkit.org/show_bug.cgi?id=176332 >+ <rdar://problem/25224607> >+ >+ Reviewed by Sam Weinig. >+ >+ Most of the EWSes report only if a step fails, but do not report when a step succeed. For e.g.: If a build succeeds, >+ EWS does not report it. Information about a step passing is sometimes very valuable, especially when waiting for a >+ patch to complete processing. Sometimes, patch authors know that their changes are not covered by any tests. Having EWS >+ display that build was successful and it is currently running tests is valuable. >+ >+ * Scripts/webkitpy/tool/commands/earlywarningsystem.py: >+ (AbstractEarlyWarningSystem.command_passed): Update the EWS status server when a command pass. This is >+ similar to what is done in Commit Queue and Style Queue. >+ * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: >+ (EarlyWarningSystemTest._default_expected_logs): Updated unit-tests appropriately. >+ > 2017-09-05 Carlos Garcia Campos <cgarcia@igalia.com> > > [GTK] Wrong use of PLUGIN_ARCHITECTURE(X11) in several places >Index: Tools/Scripts/webkitpy/tool/commands/earlywarningsystem.py >=================================================================== >--- Tools/Scripts/webkitpy/tool/commands/earlywarningsystem.py (revision 221615) >+++ Tools/Scripts/webkitpy/tool/commands/earlywarningsystem.py (working copy) >@@ -127,7 +127,7 @@ class AbstractEarlyWarningSystem(Abstrac > self.run_webkit_patch(command + [self._deprecated_port.flag()] + (['--architecture=%s' % self._port.architecture()] if self._port.architecture() and self._port.did_override_architecture else [])) > > def command_passed(self, message, patch): >- pass >+ self._update_status(message, patch=patch) > > def command_failed(self, message, script_error, patch): > failure_log = self._log_from_script_error_for_upload(script_error) >Index: Tools/Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py >=================================================================== >--- Tools/Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py (revision 221615) >+++ Tools/Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py (working copy) >@@ -119,13 +119,13 @@ class EarlyWarningSystemTest(QueuesTest) > } > > if ews.should_build: >- build_line = "Running: webkit-patch --status-host=example.com build --no-clean --no-update --build-style=%(build_style)s --group=%(group)s --port=%(port)s%(architecture)s\n" % string_replacements >+ build_line = "Running: webkit-patch --status-host=example.com build --no-clean --no-update --build-style=%(build_style)s --group=%(group)s --port=%(port)s%(architecture)s\nMOCK: update_status: %(name)s Built patch\n" % string_replacements > else: > build_line = "" > string_replacements['build_line'] = build_line > > if ews.run_tests: >- run_tests_line = "Running: webkit-patch --status-host=example.com build-and-test --no-clean --no-update --test --non-interactive --build-style=%(build_style)s --group=%(group)s --port=%(port)s%(architecture)s\n" % string_replacements >+ run_tests_line = "Running: webkit-patch --status-host=example.com build-and-test --no-clean --no-update --test --non-interactive --build-style=%(build_style)s --group=%(group)s --port=%(port)s%(architecture)s\nMOCK: update_status: %(name)s Passed tests\n" % string_replacements > else: > run_tests_line = "" > string_replacements['run_tests_line'] = run_tests_line >@@ -140,9 +140,13 @@ class EarlyWarningSystemTest(QueuesTest) > "begin_work_queue": self._default_begin_work_queue_logs(ews.name), > "process_work_item": """MOCK: update_status: %(name)s Started processing patch > Running: webkit-patch --status-host=example.com clean --port=%(port)s%(architecture)s >+MOCK: update_status: %(name)s Cleaned working directory > Running: webkit-patch --status-host=example.com update --port=%(port)s%(architecture)s >+MOCK: update_status: %(name)s Updated working directory > Running: webkit-patch --status-host=example.com apply-attachment --no-update --non-interactive 10000 --port=%(port)s%(architecture)s >+MOCK: update_status: %(name)s Applied patch > Running: webkit-patch --status-host=example.com check-patch-relevance --quiet --group=%(group)s --port=%(port)s%(architecture)s >+MOCK: update_status: %(name)s Checked relevance of patch > %(build_line)s%(run_tests_line)s%(result_lines)s""" % string_replacements, > "handle_unexpected_error": "Mock error message\n", > "handle_script_error": "ScriptError error message\n\nMOCK output\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 176332
:
319860
|
319874
|
319875
| 319896