[Buildbot-devel] Garbled output on Windows slaves

Daniel Svensson dsvensson at gmail.com
Thu Apr 24 12:07:37 UTC 2008


Hi,
I have a test tool written in Python that my build slaves run (with
ShellCommand). This tool prints the selected tests, and then using
subprocess executes SCons to build the tests. The problem is that
buildbot seems to mix up the output completly, and this is only seen
in buildbot slaves running on Windows, regular execution from cmd.exe,
builbot slaves on linux, command line on linux, all show the correct
output.

Something like this is the proper ouput:

Selected tests:
mytest1
mytest2
mytest3
(here subprocess is launched)
Building test1
(here it exits)
Run test1
Present the result of test1
....
....
Present the summary of all tests

And here's the what the Windows buildbot slave produces:
Building test1
Run the test1
Building test2
Run the test2
Selected tests:
mytest1
mytest2
mytest3
Present the result of test1
Present the result of test2 (can be mixed with test1)
Building test3
Present the result of test3 (or perhaps build some more before)
....
....
Present the summary of all tests

It seems like Buildbot applies some black voodoo to stdout, is there
any way to fix this? This is actually more of a estetic problem as the
summary is always correctly displayed (for now at least, but all
subprocesses are done by then so probably safe).

Oh, and this is BuildBot 0.7.6, but I didn't see anything in the "**
Bugs Fixed" section from the 0.7.7 release notes that might fix this.

-- 
Daniel Svensson




More information about the devel mailing list