[Pkg-bazaar-maint] Bug#735762: bzr-git: FTBFS: AssertionError: /«PKGBUILDDIR»/branch.py:558: DeprecationWarning: Repo.ref(name) is deprecated. Use Repo.refs[name] instead.

David Suárez david.sephirot at gmail.com
Fri Jan 17 17:44:49 UTC 2014


Source: bzr-git
Version: 0.6.12-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140114 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> bzrlib.plugins.git.tests.test_unpeel_map.TestUnpeelMap.test_load   OK        2ms
> bzrlib.plugins.git.tests.test_unpeel_map.TestUnpeelMap.test_new   OK        2ms
> bzrlib.plugins.git.tests.test_unpeel_map.TestUnpeelMap.test_update   OK        2ms
> bzrlib.plugins.git.tests.test_workingtree.GitWorkingTreeTests.test_conflicts   OK        7ms
> ======================================================================
> FAIL: bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_branch
> ----------------------------------------------------------------------
> _StringException: log: {{{
> 0.478  creating repository in file:///tmp/testbzr-uk04tc.tmp/.bzr/.
> 0.482  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x2deaed0> in file:///tmp/testbzr-uk04tc.tmp/
> 0.491  trying to create missing lock '/tmp/testbzr-uk04tc.tmp/.bzr/checkout/dirstate'
> 0.492  opening working tree '/tmp/testbzr-uk04tc.tmp'
> 0.510  run bzr: ['branch', 'gitbranch', 'bzrbranch']
> 0.511  bazaar version: 2.6.0
> 0.511  bzr arguments: [u'branch', u'gitbranch', u'bzrbranch']
> 0.514  encoding stdout as sys.stdout encoding 'ascii'
> 0.526  creating repository in file:///tmp/testbzr-uk04tc.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_branch/work/bzrbranch/.bzr/.
> 0.550  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x3ef6310> in file:///tmp/testbzr-uk04tc.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_branch/work/bzrbranch/
> 0.562  trying to create missing lock '/tmp/testbzr-uk04tc.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_branch/work/bzrbranch/.bzr/checkout/dirstate'
> 0.563  opening working tree '/tmp/testbzr-uk04tc.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_branch/work/bzrbranch'
>     INFO  Branched 1 revision.
> 0.587  errors:
> '/«PKGBUILDDIR»/branch.py:558: DeprecationWarning: Repo.ref(name) is deprecated. Use Repo.refs[name] instead.\n  return self.repository._git.ref(self.ref or "HEAD")\nBranched 1 revision.\n'
> }}}
> 
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/test_blackbox.py", line 77, in test_branch
>     error)
>   File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
>     raise self.failureException(msg)
> AssertionError: /«PKGBUILDDIR»/branch.py:558: DeprecationWarning: Repo.ref(name) is deprecated. Use Repo.refs[name] instead.
>   return self.repository._git.ref(self.ref or "HEAD")
> Branched 1 revision.
> 
> ----------------------------------------------------------------------
> Ran 244 tests in 6.317s
> 
> FAILED (failures=1, known_failure_count=2)
> 1 test skipped
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/01/14/bzr-git_0.6.12-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-bazaar-maint mailing list