[Webkit-unassigned] [Bug 187058] New: Malformed contributors.json should not cause webkit-patch apply-attachment to fail; breaks EWS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 26 11:57:04 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187058
Bug ID: 187058
Summary: Malformed contributors.json should not cause
webkit-patch apply-attachment to fail; breaks EWS
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dbates at webkit.org
CC: lforschler at apple.com
The command "webkit-patch apply-attachment" fails when the file <https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json> is malformed. Because the EWS bots use "webkit-patch apply-attachment" they will fail to apply a patch in this case and stop processing of the patch. A malformed contributors.json should not cause this command to fail and more importantly should not cause the EWS to fail a patch.
I noticed this issue on the EWS following the landing of <https://trac.webkit.org/changeset/233209/>. This changeset contained an erroneous comma that caused contributors.json to be considered malformed JSON. Here is the output seen on EWS:
[[
Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=ews104', 'apply-attachment', '--no-update', '--non-interactive', 343619, '--port=mac-wk2']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit
contributors.json is malformed: Expecting property name enclosed in double quotes: line 166 column 4 (char 3586)
]]
<https://webkit-queues.webkit.org/results/8349480>
For completeness, the syntax of contributors.json was corrected in <https://trac.webkit.org/changeset/233211/>.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180626/fdabeddd/attachment-0001.html>
More information about the webkit-unassigned
mailing list