[Buildbot-devel] buildbot slave hangs on SunOS?

Ed Hartnett ed at unidata.ucar.edu
Wed Feb 4 21:37:21 UTC 2004


Brian Warner <warner at lothar.com> writes:

> > The cvs output comes out as usual, and seems to work, but it never
> > seems to detect the end of the cvs command. (That is, the command
> > doesn't ever return.)
> 
> Interesting..
> 
> > There are some weird things about python on a sun system. There is a
> > test, relating to pty, which fails.
> > 
> > Similarly, some of the twisted tests hang on the sun:
> > 
> > <snip>
> >   PosixProcessTestCasePTY
> >     testAbnormalTermination ...                                          [FAIL]
> >     testNormalTermination ... 
> > 
> > And it hangs here. Perhaps this is related to the problem?
> 
> Yes, definitely.
> 
> (by the way, you can run the twisted tests with the -o option to get a
> similarly-verbose lists of tests and their results, but without the ANSI
> color-switching escape sequences)
> 
> So it looks like there is a solaris/pty/python problem. As a workaround, try
> telling the buildslave to not use PTYs.. in buildbot/slavecommand.py, edit
> line 169 (in ShellCommand.start) to say 'usePTY=0' instead of 'usePTY=1'.
> That will make it fall back to running the child process under a regular set
> of pipes instead of a PTY, which might avoid triggering that bug.

Yes!

This did the job. Thanks!

Suns are considered one of the most important platforms for our
product (don't ask me why), and we have about 4 suns of different OS
versions and configurations, so getting this working on a sun is very
important for me!

The quest for the Holy Grail can continue!

Thanks!

Ed





More information about the devel mailing list