RESOLVED FIXED 141191
[Win] Attempt to improve reliability of HTTP service
https://bugs.webkit.org/show_bug.cgi?id=141191
Summary [Win] Attempt to improve reliability of HTTP service
Brent Fulgham
Reported 2015-02-02 22:12:23 PST
The Windows test bots are periodically getting stuck in a mode where the httpd server is leaving a pidfile around. When this happens on Windows, the existing recovery code doesn't really work properly; I think this is primarily because webkitpy doesn't provide code to check for a running Windows PID, so the fallback code that tries to decide if a server is really running is just a no-op. This patch does two things: 1. Instead of using the Cygwin /tmp folder to hold the PID file, it switches to using the XAMPP's standard file location. Since Apache is running as a Windows Service there is some confusing interactions with Windows vs. Cygwin file ownership. I am hoping that leaving this file where the XAMPP build (and Windows service) expects it to live. 2. Since the Windows webkitpy implementation doesn't actually check whether the PID is actually running, we skip the code path where the abandoned PID file is deleted. This patch makes sure we delete the abandoned file in the case where asking httpd to stop (which will do nothing if it wasn't running) doesn't cause the file to go away.
Attachments
Patch (2.20 KB, patch)
2015-02-02 22:15 PST, Brent Fulgham
darin: review+
Brent Fulgham
Comment 1 2015-02-02 22:15:29 PST
Brent Fulgham
Comment 2 2015-02-03 09:39:03 PST
Note You need to log in before you can comment on or make changes to this bug.