WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
84617
test-webkitpy is failing
https://bugs.webkit.org/show_bug.cgi?id=84617
Summary
test-webkitpy is failing
Eric Seidel (no email)
Reported
2012-04-23 12:10:15 PDT
File "./Tools/Scripts/test-webkitpy", line 64, in <module> sys.exit(not tester.run()) File "/mnt/git/webkit-sheriff-bot/Tools/Scripts/webkitpy/test/main.py", line 138, in run return self._run_tests(names) File "/mnt/git/webkit-sheriff-bot/Tools/Scripts/webkitpy/test/main.py", line 169, in _run_tests suites.append(loader.loadTestsFromName(name, None)) File "/usr/lib/python2.6/unittest.py", line 587, in loadTestsFromName return self.loadTestsFromModule(obj) File "/usr/lib/python2.6/unittest.py", line 559, in loadTestsFromModule tests.append(self.loadTestsFromTestCase(obj)) File "/usr/lib/python2.6/unittest.py", line 550, in loadTestsFromTestCase return self.suiteClass(map(testCaseClass, testCaseNames)) File "/mnt/git/webkit-sheriff-bot/Tools/Scripts/webkitpy/layout_tests/port/http_lock_unittest.py", line 44, in __init__ self.clean_all_lockfile() File "/mnt/git/webkit-sheriff-bot/Tools/Scripts/webkitpy/layout_tests/port/http_lock_unittest.py", line 52, in clean_all_lockfile self.filesystem.unlink(file_name) AttributeError: 'FileSystem' object has no attribute 'unlink' Unclear when it started.
Attachments
Patch
(1.56 KB, patch)
2012-04-23 12:42 PDT
,
Dirk Pranke
eric
: review+
eric
: commit-queue+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-04-23 12:42:21 PDT
Created
attachment 138400
[details]
Patch
Dirk Pranke
Comment 2
2012-04-23 12:43:24 PDT
Looks like that code triggers only in error cases; it's probably been broken for a long time. This is a quick fix, but all of this test code should probably be rewritten to use a MockFileSystem (there's already a FIXME for that in the code; I'll file a separate bug).
Eric Seidel (no email)
Comment 3
2012-04-23 12:44:36 PDT
Comment on
attachment 138400
[details]
Patch LGTM. Thanks.
Dirk Pranke
Comment 4
2012-04-23 12:49:12 PDT
Committed
r114933
: <
http://trac.webkit.org/changeset/114933
>
Dirk Pranke
Comment 5
2012-04-23 12:50:00 PDT
bug 84617
filed for that.
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