Changeset 90300 in webkit
- Timestamp:
- Jul 1, 2011, 5:09:12 PM (14 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90298 r90300 1 2011-07-01 Adam Barth <abarth@webkit.org> 2 3 Add some more debug logging to try to understand why we're getting 4 stuck acquring the HTTP lock. 5 6 * Scripts/webkitpy/layout_tests/port/http_lock.py: 7 1 8 2011-07-01 Adam Barth <abarth@webkit.org> 2 9 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/http_lock.py
r73769 r90300 88 88 lock_list = self._lock_file_list() 89 89 if not lock_list: 90 _log.debug("No lock file list") 90 91 return 91 92 try: … … 97 98 FileSystem().remove(lock_list[0]) 98 99 return 99 except (IOError, OSError): 100 except IOError, e: 101 _log.debug("IOError: %s" % e) 100 102 return 101 return int(current_pid) 103 except OSError, e: 104 _log.debug("OSError: %s" % e) 105 return 106 result = int(current_pid) 107 _log.debug("Current lock pid: %s" % result) 108 return result 102 109 103 110 def _create_lock_file(self): … … 122 129 return True 123 130 124 125 131 def wait_for_httpd_lock(self): 126 132 """Create a lock file and wait until it's turn comes. If something goes wrong … … 132 138 while self._curent_lock_pid() != os.getpid(): 133 139 time.sleep(1) 140 141 _log.debug("HTTP lock acquired")
Note:
See TracChangeset
for help on using the changeset viewer.