New submission from STINNER Victor:

Some test_wave are failing, but only on PPC64 (big endian, right?).

It may be related to issue #1575020.

http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.x/builds/1099/steps/test/logs/stdio


======================================================================
ERROR: test_unseekable_incompleted_write (test.test_wave.WavePCM16Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 243, in test_unseekable_incompleted_write
    self.check_file(testfile, self.nframes + 1, self.frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 84, in check_file
    self.assertEqual(f.readframes(nframes), frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/wave.py",
 line 257, in readframes
    data.fromfile(chunk.file.file, nitems)
EOFError: read() didn't return enough bytes

======================================================================
ERROR: test_unseekable_incompleted_write (test.test_wave.WavePCM32Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 243, in test_unseekable_incompleted_write
    self.check_file(testfile, self.nframes + 1, self.frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 84, in check_file
    self.assertEqual(f.readframes(nframes), frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/wave.py",
 line 257, in readframes
    data.fromfile(chunk.file.file, nitems)
EOFError: read() didn't return enough bytes

======================================================================
FAIL: test_write_array (test.test_wave.WavePCM16Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 163, in test_write_array
    self.check_file(TESTFN, self.nframes, self.frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 83, in check_file
    self.assertEqual(f.getnframes(), nframes)
AssertionError: 96 != 48

======================================================================
FAIL: test_write_memoryview (test.test_wave.WavePCM16Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 171, in test_write_memoryview
    self.check_file(TESTFN, self.nframes, self.frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 83, in check_file
    self.assertEqual(f.getnframes(), nframes)
AssertionError: 96 != 48

======================================================================
FAIL: test_write_array (test.test_wave.WavePCM32Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 163, in test_write_array
    self.check_file(TESTFN, self.nframes, self.frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 83, in check_file
    self.assertEqual(f.getnframes(), nframes)
AssertionError: 192 != 48

======================================================================
FAIL: test_write_memoryview (test.test_wave.WavePCM32Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 171, in test_write_memoryview
    self.check_file(TESTFN, self.nframes, self.frames)
  File 
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/audiotests.py",
 line 83, in check_file
    self.assertEqual(f.getnframes(), nframes)
AssertionError: 192 != 48

----------
components: Tests
messages: 203217
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_wave: failures on PPC64 buildbot
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19633>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to