RESOLVED FIXED84617
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+
Dirk Pranke
Comment 1 2012-04-23 12:42:21 PDT
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
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.