Ticket #250 (new defect)

Opened 7 months ago

Last modified 7 months ago

tail -F command breaks buildbot on OpenBSD

Reported by: marcusl Assigned to:
Priority: major Milestone: undecided
Component: other Version:
Keywords: Cc:

Description

The fix for #141 uses -F option (rather than -f). -F is GNU-specific, so you get a bad error message. (BuildBot? does start, but you have a queasy uncertain feeling whether it did or not)

This is with v0.7.7 (it hasn't been added yet)

I've attached a (trivial) patch.

Attachments

patch-buildbot_scripts_logwatcher_py (0.6 kB) - added by marcusl on 04/22/08 07:45:36.

Change History

04/22/08 07:45:36 changed by marcusl

  • attachment patch-buildbot_scripts_logwatcher_py added.

04/28/08 15:16:19 changed by warner

I'd like to apply the patch, but I suspect we might be depending upon the "don't fail if the file doesn't exist yet" behavior of -F . We start trying to tail the file before the buildmaster has had a chance to start writing to it, and if this is the first time the buildbot has been run, then the log file won't exist already.

I'm not sure if this is actually a problem or not. If it is, we could add code to the logwatcher that polls every 100ms or so until the file exists, and only then spawn off the 'tail -f'.