[Webkit-unassigned] [Bug 64886] New: new-run-webkit-tests hung while acquiring http lock on snow leopard bots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 20 13:02:18 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64886

           Summary: new-run-webkit-tests hung while acquiring http lock on
                    snow leopard bots
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: abarth at webkit.org, ossy at webkit.org,
                    dpranke at chromium.org


new-run-webkit-tests hung while acquiring http lock on snow leopard bots

Example:
http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20%28Tests%29/builds/31580/steps/layout-test/logs/stdio

2011-07-20 09:44:53,076 67417 printing.py:469 INFO Acquiring http lock ...
2011-07-20 09:44:53,100 67417 http_lock.py:123 DEBUG Creating lock file: /var/folders/g7/g7uo9NaMFTqOewnSEAm43U+++TI/-Tmp-/WebKitHttpd.lock.21

command timed out: 1200 seconds without output, killing pid 67415
process killed by signal 9
program finished with exit code -1
elapsedTime=1240.833448

I suspect that we're hanging in this while loop:

    def wait_for_httpd_lock(self):
        """Create a lock file and wait until it's turn comes. If something goes wrong
        it wont do any locking."""
        if not self._create_lock_file():
            _log.debug("Warning, http locking failed!")
            return

        while self._curent_lock_pid() != os.getpid():
            time.sleep(1)

It's unclear why we need to loop there, since we just wrote the file. :)

Ossy wrote the code, so perhaps he has some idea what it's trying to do.  At the least that while loop should exit after some timeout.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list