Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2013-11-17.22:26:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384727217.05.0.199132089753.issue19633@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-11-17 22:26:57vstinnersetrecipients: + vstinner, serhiy.storchaka
2013-11-17 22:26:57vstinnersetmessageid: <1384727217.05.0.199132089753.issue19633@psf.upfronthosting.co.za>
2013-11-17 22:26:57vstinnerlinkissue19633 messages
2013-11-17 22:26:56vstinnercreate