[Python-checkins] Python Regression Test Failures opt (1)

Neal Norwitz nnorwitz at gmail.com
Mon Apr 9 03:30:09 CEST 2007


On 4/8/07, Facundo Batista <facundobatista at gmail.com> wrote:
> 2007/4/6, Brett Cannon <brett at python.org>:
>
> > "/tmp/python-test/local/lib/python2.6/test/test_socket_ssl.py",
> > line 117, in testBasic
> > >     self.assertEqual (i, "Foo\n")
> > > AssertionError: 'ERRO' != 'Foo\n'
> > ...
> > ...
> > Anyone know what caused these two tests to start failing?
>
> Sorry for the delay, I've been in a four days vacation here, and no
> internet connection.
>
> This is my fault, I added local test (using openssl) to
> test_socket_ssl.py. The problem for which that test fails should be
> fixed, though (I mean, you shouldn't be getting that error in current
> trunk).
>
> I checked with buildbots, and all pass the tests ok, except the following:
>
> - sparc-solaris10-gcc: test_socket_ssl skipped (socket module has no
> ssl support)
> - X86 XP: test_socket_ssl passes ok (fails in test_urllib).
> - X86 W2K: test_socket_ssl passes ok (fails in test_urllib).
> - X86 OpenBSD: does not check out from SVN.
> - Alpha True64 5.1: bad system call in test_posix, it doesn't get to
> test_socket_ssl.
>
> Neil, where did you see this fail?

Note:  the machine that runs this is also one of the buildbots.  The
difference is that this is run in opt (ie, -O) mode.  This script is
Misc/build.sh.  The relevant lines are:
            $PYTHON -O $REGRTEST_ARGS >& build/$F

Which the only thing that's of interest is that python is run with -O.
 Hopefully if you run the test with -O you will be able to reproduce
it.

(Python is configured --with-pydebug.)

n


More information about the Python-checkins mailing list