[Python-checkins] buildbot failure in amd64 gentoo 3.0

buildbot at python.org buildbot at python.org
Sat Aug 2 14:15:13 CEST 2008


The Buildbot has detected a new failure of amd64 gentoo 3.0.
Full details are available at:
 http://www.python.org/dev/buildbot/all/amd64%20gentoo%203.0/builds/872

Buildbot URL: http://www.python.org/dev/buildbot/all/

Buildslave for this Build: norwitz-amd64

Build Reason: 
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: lars.gustaebel

BUILD FAILED: failed test

Excerpt from the test logfile:
2 tests failed:
    test_io test_smtplib

======================================================================
ERROR: testBasicIO (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 823, in testBasicIO
    self.assertEquals(f.write("abc"), 3)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1459, in write
    b = encoder.encode(s)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 22, in encode
    return codecs.ascii_encode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_encode'

======================================================================
ERROR: testEncodingErrorsReading (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 661, in testEncodingErrorsReading
    self.assertRaises(UnicodeError, t.read)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/unittest.py", line 311, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1692, in read
    decoder.decode(self.buffer.read(), final=True))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

======================================================================
ERROR: testEncodingErrorsWriting (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 679, in testEncodingErrorsWriting
    self.assertRaises(UnicodeError, t.write, "\xff")
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/unittest.py", line 311, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1459, in write
    b = encoder.encode(s)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 22, in encode
    return codecs.ascii_encode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_encode'

======================================================================
ERROR: testNewlinesInput (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 784, in testNewlinesInput
    self.assertEquals(txt.readlines(), expected)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 536, in readlines
    return list(self)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1707, in __next__
    line = self.readline()
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1781, in readline
    while self._read_chunk():
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1530, in _read_chunk
    self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

======================================================================
ERROR: testNewlinesOutput (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 809, in testNewlinesOutput
    txt.write(data)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1459, in write
    b = encoder.encode(s)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 22, in encode
    return codecs.ascii_encode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_encode'

======================================================================
ERROR: test_issue1395_1 (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 1045, in test_issue1395_1
    c = txt.read(1)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1701, in read
    eof = not self._read_chunk()
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1530, in _read_chunk
    self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

======================================================================
ERROR: test_issue1395_2 (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 1057, in test_issue1395_2
    c = txt.read(4)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1701, in read
    eof = not self._read_chunk()
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1530, in _read_chunk
    self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

======================================================================
ERROR: test_issue1395_3 (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 1067, in test_issue1395_3
    reads = txt.read(4)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1701, in read
    eof = not self._read_chunk()
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1530, in _read_chunk
    self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

======================================================================
ERROR: test_issue1395_4 (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 1078, in test_issue1395_4
    reads = txt.read(4)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1701, in read
    eof = not self._read_chunk()
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1530, in _read_chunk
    self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

======================================================================
ERROR: test_issue1395_5 (test.test_io.TextIOWrapperTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_io.py", line 1086, in test_issue1395_5
    reads = txt.read(4)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1701, in read
    eof = not self._read_chunk()
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1530, in _read_chunk
    self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1267, in decode
    output = self.decoder.decode(input, final=final)
  File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
AttributeError: 'NoneType' object has no attribute 'ascii_decode'

make: *** [buildbottest] Error 1

sincerely,
 -The Buildbot



More information about the Python-checkins mailing list