Package: bzr
Version: 2.6.0-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)
I'm afraid that bzr fails a number of tests, all under
bzrlib.plugins.netrc_credential_store.tests.test_netrc.TestNetrcCS
It was first seen on the x32 buildd:
http://buildd.debian-ports.org/status/fetch.php?pkg=bzrarch=x32ver=2.6.0-2stamp=1379197991
but reproduces for me on amd64 as well, both on a real system and in
pbuilder.
That buildd runs with just one thread, so I'm attaching the output from my
system.
There is no ~/.netrc file on any account.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11.1-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
...ib.plugins.netrc_credential_store.tests.test_netrc.TestNetrcCS.test_default_passwordERROR
6ms
Empty attachments:
log
Traceback (most recent call last):
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/tests/test_netrc.py,
line 66, in test_default_password
cs = self._get_netrc_cs()
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/tests/test_netrc.py,
line 53, in _get_netrc_cs
return config.credential_store_registry.get_credential_store('netrc')
File «BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/config.py, line
2037, in get_credential_store
cs = cs()
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/__init__.py,
line 44, in __init__
self._netrc = netrc.netrc()
File /usr/lib/python2.7/netrc.py, line 33, in __init__
self._parse(file, fp, default_netrc)
File /usr/lib/python2.7/netrc.py, line 111, in _parse
the owner, file, lexer.lineno)
NetrcParseError: ~/.netrc access too permissive: access permissions must
restrict access to only the owner
(/tmp/testbzr-a9S0aZ.tmp/bzrlib.plugins.netrc_credential_store.tests.test_netrc.TestNetrcCS.test_default_password/home/.netrc,
line 2)
==
ERROR:
bzrlib.plugins.netrc_credential_store.tests.test_netrc.TestNetrcCS.test_not_matching_user
--
_StringException: Empty attachments:
log
Traceback (most recent call last):
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/tests/test_netrc.py,
line 56, in test_not_matching_user
cs = self._get_netrc_cs()
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/tests/test_netrc.py,
line 53, in _get_netrc_cs
return config.credential_store_registry.get_credential_store('netrc')
File «BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/config.py, line
2037, in get_credential_store
cs = cs()
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/__init__.py,
line 44, in __init__
self._netrc = netrc.netrc()
File /usr/lib/python2.7/netrc.py, line 33, in __init__
self._parse(file, fp, default_netrc)
File /usr/lib/python2.7/netrc.py, line 111, in _parse
the owner, file, lexer.lineno)
NetrcParseError: ~/.netrc access too permissive: access permissions must
restrict access to only the owner
(/tmp/testbzr-aHPGTK.tmp/bzrlib.plugins.netrc_credential_store.tests.test_netrc.TestNetrcCS.test_not_matching_user/home/.netrc,
line 2)
==
ERROR:
bzrlib.plugins.netrc_credential_store.tests.test_netrc.TestNetrcCS.test_default_password_without_user
--
_StringException: Empty attachments:
log
Traceback (most recent call last):
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/tests/test_netrc.py,
line 71, in test_default_password_without_user
cs = self._get_netrc_cs()
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/tests/test_netrc.py,
line 53, in _get_netrc_cs
return config.credential_store_registry.get_credential_store('netrc')
File «BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/config.py, line
2037, in get_credential_store
cs = cs()
File
«BUILD»/bzr-2.6.0/build/lib.linux-x86_64-2.7/bzrlib/plugins/netrc_credential_store/__init__.py,
line 44, in __init__
self._netrc = netrc.netrc()
File /usr/lib/python2.7/netrc.py, line 33, in __init__
self._parse(file, fp, default_netrc)
File /usr/lib/python2.7/netrc.py, line 111, in _parse
the owner, file, lexer.lineno)
NetrcParseError: ~/.netrc access too permissive: access permissions must
restrict access to only the owner