Closed
Bug 990616
Opened 10 years ago
Closed 10 years ago
mozharness should treat warnings containing "SyntaxError" keywords as warnings
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mshal, Assigned: mshal)
References
Details
Attachments
(1 file)
1.09 KB,
patch
|
mozilla
:
review+
mshal
:
checked-in+
|
Details | Diff | Splinter Review |
Bug 903149 runs the JS minifier, and potentially displays a warning message that contains the magic word "SyntaxError" like so: 17:54:07 WARNING - Warning: JS minification verification failed for ../../dist/bin/modules/KeyValueParser.jsm: 17:54:07 ERROR - Warning: 10:26 SyntaxError: missing ) after argument list: 17:54:07 WARNING - Warning: 10:26 is.init(fstream, "UTF-8" 17:54:07 WARNING - Warning: 10:26 ..........................^ Mozharness picks up on the "SyntaxError" line, and treats it as an error even though the message is prefixed with "Warning:". It would be helpful if it was treated as a warning instead. Does it make sense to only match at the start of a line? Or as aki suggested in irc: <aki> mshal: sure, we could add a /Warning .*Error:/ to PythonErrorList before the SyntaxError: to allow for that
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mshal
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8400175 -
Flags: review?(aki)
Updated•10 years ago
|
Attachment #8400175 -
Flags: review?(aki) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8400175 [details] [diff] [review] mozharness-syntaxerror.patch https://hg.mozilla.org/build/mozharness/rev/2e43ed4bea7e
Attachment #8400175 -
Flags: checked-in+
Comment 3•10 years ago
|
||
in production.
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Component: General Automation → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•