[Pkg-bazaar-maint] Bug#638219: bzr-builddeb: FTBFS: IOError: [Errno 20] Not a directory

Jakub Wilk jwilk at debian.org
Wed Aug 17 19:27:01 UTC 2011


Source: bzr-builddeb
Version: 2.7.7
Severity: serious
Justification: fails to build from source

bzr-builddeb FTBFS in unstable:
| ------------
| Text attachment: traceback
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 266, in repack_tarball
|     _repack_directory(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 191, in _repack_directory
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(dir)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.gz)ERROR        7ms
|     Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-1
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.gz)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.bz2)ERROR        7ms
|     Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-2
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.bz2)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.xz)ERROR       35ms
|     Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-3
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.xz)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.lzma)ERROR       35ms
|     Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-4
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.lzma)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.zip)ERROR        6ms
|     Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-5
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.zip)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar)ERROR        6ms
|     Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-6
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(dir)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 266, in repack_tarball
|     _repack_directory(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 191, in _repack_directory
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(dir)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.gz)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-1
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.gz)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.bz2)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-2
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.bz2)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.xz)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-3
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.xz)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.lzma)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-4
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.lzma)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.zip)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-5
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.zip)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ======================================================================
| ERROR: bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar)
| ----------------------------------------------------------------------
| _StringException: Text attachment: log
| ------------
|
| ------------
| Text attachment: traceback-6
| ------------
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
|     return fn(*args, **kwargs)
|   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
|     return self._get_test_method()()
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/tests/test_repack_tarball.py", line 133, in test_repack_tarball_with_target_dir_not_dir
|     self.new_tarball, target_dir=target_dir)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1486, in assertRaises
|     callableObj(*args, **kwargs)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 268, in repack_tarball
|     _repack_other(target_transport, new_name, source_name)
|   File "/build/bzr-builddeb-l5szVk/bzr-builddeb-2.7.7/repack_tarball.py", line 209, in _repack_other
|     target_f = target_transport.open_write_stream(new_name)
|   File "/usr/lib/python2.7/dist-packages/bzrlib/transport/local.py", line 331, in open_write_stream
|     handle = osutils.open_file(abspath, 'wb')
| IOError: [Errno 20] Not a directory: u'/tmp/testbzr-2lQUSO.tmp/bzrlib.plugins.builddeb.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar)/work/tarballs/package_0.2.orig.tar.gz'
| ------------
|
| ----------------------------------------------------------------------
| Ran 472 tests in 229.600s
|
| FAILED (errors=7)

-- 
Jakub Wilk





More information about the Pkg-bazaar-maint mailing list