WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
65606
[webkitpy] missing log import in common/net/resultsjsonparser.py
https://bugs.webkit.org/show_bug.cgi?id=65606
Summary
[webkitpy] missing log import in common/net/resultsjsonparser.py
Philippe Normand
Reported
2011-08-03 04:17:21 PDT
Traceback (most recent call last): File "/home/phil/gst/jhbuild/build/WebKit/Tools/Scripts/webkit-patch", line 66, in <module> main() File "/home/phil/gst/jhbuild/build/WebKit/Tools/Scripts/webkit-patch", line 61, in main WebKitPatch(__file__).main() File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 308, in main result = command.check_arguments_and_execute(options, args, self) File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 117, in check_arguments_and_execute return self.execute(options, args, tool) or 0 File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py", line 186, in execute for test in self._tests_to_update(build): File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py", line 173, in _tests_to_update failing_tests = build.layout_test_results().tests_matching_failure_types([test_failures.FailureTextMismatch]) File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot.py", line 269, in layout_test_results self._layout_test_results = LayoutTestResults.results_from_string(results_file) File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/common/net/layouttestresults.py", line 137, in results_from_string test_results = ResultsJSONParser.parse_results_json(string) File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/common/net/resultsjsonparser.py", line 149, in parse_results_json unexpected_failures = [result.test_result() for result in json_results if not result.did_pass_or_run_as_expected()] File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/common/net/resultsjsonparser.py", line 132, in test_result return test_results.TestResult(self._test_name, self._failures()) File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/common/net/resultsjsonparser.py", line 128, in _failures return sum(map(self._failure_types_from_actual_result, self._actual_as_tokens()), []) File "/wk/gst/jhbuild/build/WebKit/Tools/Scripts/webkitpy/common/net/resultsjsonparser.py", line 122, in _failure_types_from_actual_result log("Failed to handle: %s" % self._result_dict['actual']) NameError: global name 'log' is not defined
Attachments
proposed patch
(1.64 KB, patch)
2011-08-03 04:19 PDT
,
Philippe Normand
mrobinson
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2011-08-03 04:19:06 PDT
Created
attachment 102764
[details]
proposed patch
Philippe Normand
Comment 2
2011-08-30 23:59:14 PDT
Committed
r94154
: <
http://trac.webkit.org/changeset/94154
>
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