[Buildbot] #3024: logfilewatcher is not synchronously finished at the end of the command
Buildbot trac
trac at buildbot.net
Sat Nov 15 16:43:59 UTC 2014
#3024: logfilewatcher is not synchronously finished at the end of the command
-------------------+--------------------
Reporter: tardyp | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.9.+
Version: 0.8.9 | Resolution:
Keywords: |
-------------------+--------------------
Comment (by tardyp):
I'm not sure if this is clear. This is about logwatchers. not about stdio
logs. The feature that watches file on the slave on a particular path, and
report it. Do we really have build-in-steps that process such files. I
only know of steps processing the stdio.
Fixing on the slave is looking harder than expected, as code style of this
file is from prehistoric twisted. i couldn't find the function that
actually return a defered we could wait on.
For master workaround, instead of waiting one second, I think a better
option is to poll wait until the log is finished by the slave. poll is
evil, but hardcoded sleeps are hell.
Another option would be a DeferredSemaphore that is locked until the log
is finished.
--
Ticket URL: <http://trac.buildbot.net/ticket/3024#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list