Closed Bug 613106 Opened 14 years ago Closed 14 years ago

ensure twistd.pid is absent on boot

Categories

(Release Engineering :: General, enhancement, P4)

x86
Windows 7
enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jhford, Assigned: dustin)

References

Details

(Whiteboard: [simple])

I saw an error message complaining about a twistd.pid file containing non-numeric characters. When I cat'd the file, it was an empty file. Before we start buildbot for the first time after boot, lets make sure that we remove this file.
The buildbot-tac.py or /etc/init.d/buildbot.tac could probably do this. I see "Windows 7" on the platform - is the bug specific to the platform, or is this general?
Assignee: nobody → dustin
I'm blocking this on the slave-allocation work. When that's in place, it will be easy enough to add a --startup flag to runslave.py, which startup scripts can use to indicate "this box just started, so be confident any pid file is stale".
Depends on: 605278
Whiteboard: [simple][puppet?] → [simple]
I just saw Feb 9 15:36:41 moz2-darwin10-slave03 org.mozilla.build.buildslave[209]: Removing stale pidfile /Users/cltbld/twistd.pid so I suspect that as long as the pidfile is well-formed, this happens automatically. I've not seen a repeat of what jhford describes in comment #0.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.