WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 58589
commit-queue fails to catch IOError when results.html is missing
https://bugs.webkit.org/show_bug.cgi?id=58589
Summary
commit-queue fails to catch IOError when results.html is missing
Eric Seidel (no email)
Reported
2011-04-14 15:48:34 PDT
commit-queue fails to catch IOError when results.html is missing
Attachments
Patch
(2.63 KB, patch)
2011-04-14 15:49 PDT
,
Eric Seidel (no email)
abarth
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2011-04-14 15:49:31 PDT
Created
attachment 89675
[details]
Patch
Eric Seidel (no email)
Comment 2
2011-04-14 15:50:09 PDT
Traceback (most recent call last): File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/bot/queueengine.py", line 108, in run if not self._delegate.process_work_item(work_item): File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/commands/queues.py", line 281, in process_work_item if task.run(): File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/bot/commitqueuetask.py", line 252, in run if not self._test_patch(): File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/bot/commitqueuetask.py", line 189, in _test_patch if self._test(): File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/bot/commitqueuetask.py", line 149, in _test self._expected_failures.shrink_expected_failures(self._delegate.layout_test_results(), success) File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/commands/queues.py", line 331, in layout_test_results results = self._create_layout_test_results() File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/commands/queues.py", line 325, in _create_layout_test_results results_html = self._read_file_contents(results_path) File "/Projects/CommitQueue/Tools/Scripts/webkitpy/tool/commands/queues.py", line 318, in _read_file_contents return self._tool.filesystem.read_text_file(path) File "/Projects/CommitQueue/Tools/Scripts/webkitpy/common/system/filesystem.py", line 263, in read_text_file with codecs.open(path, 'r', 'utf8') as f: File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 865, in open file = __builtin__.open(filename, mode, buffering) IOError: [Errno 2] No such file or directory: '/tmp/layout-test-results/results.html' ORWT doesn't create a results.html file if all tests pass. :)
Eric Seidel (no email)
Comment 3
2011-04-14 15:56:16 PDT
Committed
r83906
: <
http://trac.webkit.org/changeset/83906
>
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