[New-bugs-announce] [issue18296] test_os.test_trailers() is failing on AMD64 FreeBSD 9.0 dtrace 3.x

STINNER Victor report at bugs.python.org
Tue Jun 25 02:25:42 CEST 2013


New submission from STINNER Victor:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.x/builds/1560/steps/test/logs/stdio

======================================================================
FAIL: test_trailers (test.test_os.TestSendfile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd/build/Lib/test/test_os.py", line 1962, in test_trailers
    self.assertEqual(data, b"abcde12345")
AssertionError: b'abcde\x00\x00\x00...\x00\x0012345' != b'abcde12345'
Warning -- threading._dangling was modified by test_os
test test_os failed

(I replaced a long list of \x00 with "...")

I don't understand why test_trailers() of test_os tries to copy 4096 bytes using os.sendto(), whereas the input file only contains 5 bytes.

----------
messages: 191827
nosy: haypo
priority: normal
severity: normal
status: open
title: test_os.test_trailers() is failing on AMD64 FreeBSD 9.0 dtrace 3.x
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18296>
_______________________________________


More information about the New-bugs-announce mailing list