[New-bugs-announce] [issue15748] Various symlink test failures in test_shutil on FreeBSD
Trent Nelson
report at bugs.python.org
Tue Aug 21 04:27:18 CEST 2012
New submission from Trent Nelson:
FreeBSD slaves are running into this:
======================================================================
ERROR: test_copy2_symlinks (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/test/test_shutil.py", line 490, in test_copy2_symlinks
shutil.copy2(src_link, dst, follow_symlinks=False)
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/shutil.py", line 237, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/shutil.py", line 107, in copyfile
os.symlink(os.readlink(src), dst)
TypeError: embedded NUL character
======================================================================
ERROR: test_copy_symlinks (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/test/test_shutil.py", line 463, in test_copy_symlinks
shutil.copy(src_link, dst, follow_symlinks=False)
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/shutil.py", line 221, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/shutil.py", line 107, in copyfile
os.symlink(os.readlink(src), dst)
TypeError: embedded NUL character
======================================================================
FAIL: test_copytree_symlinks (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/test/test_shutil.py", line 606, in test_copytree_symlinks
os.path.join(src_dir, 'file.txt'))
AssertionError: '/tmp/tmpqlihz5/src/file.' != '/tmp/tmpqlihz5/src/file.txt'
- /tmp/tmpqlihz5/src/file.
+ /tmp/tmpqlihz5/src/file.txt
? +++
Haven't had time to debug it any further yet. Have no clue what's going on either just from a cursory look at the error messages. Not sure if it's ZFS related like the other FreeBSD issues.
----------
assignee: trent
components: Tests
messages: 168731
nosy: trent
priority: normal
severity: normal
status: open
title: Various symlink test failures in test_shutil on FreeBSD
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15748>
_______________________________________
More information about the New-bugs-announce
mailing list