Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/tests/test_crash.py", line 57, in test_apport_report
stderr)
File "/usr/lib/python2.7/dist-packages/bzrlib/crash.py", line 127, in report_bug_to_apport
crash_filename = _write_apport_report_to_file(exc_info)
File "/usr/lib/python2.7/dist-packages/bzrlib/crash.py", line 173, in _write_apport_report_to_file
pr['Locale'] = os.environ.get('LANG')
File "/usr/lib/python2.7/dist-packages/problem_report.py", line 567, in __setitem__
and (hasattr(v[0], 'isalnum') or hasattr(v[0], 'read'))))
AssertionError
----------------------------------------------------------------------
Ran 27987 tests in 293.810s
I created an lxc container (sudo lxc-create -t ubuntu -n bzr-test) and ran bzr selftest --parallel=subprocess in there. It skips test_crash, due to the missing dependencies, but every test that is run passes happily. After installing apport and python-apport, test_crash runs, and fails. The included error report is from bzr selftest run inside that lxc container.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: bzr 2.6.0~beta2-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-22.34-generic 3.5.7.2
Uname: Linux 3.5.0-22-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Sun Jan 27 19:40:27 2013
InstallationDate: Installed on 2012-11-02 (86 days ago)
InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Release amd64(20121023)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: bzr
UpgradeStatus: No upgrade log present (probably fresh install)
Running bzr selftest in Ubuntu 12.10, the following test seems to fail on every machine I have tried it on, always with the following error:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ crash.TestAppor tReporting. test_apport_ report ------- ------- ------- ------- ------- ------- ------- ------- -------
FAIL: bzrlib.
-------
_StringException: Empty attachments:
log
Traceback (most recent call last): python2. 7/dist- packages/ bzrlib/ tests/test_ crash.py" , line 57, in test_apport_report python2. 7/dist- packages/ bzrlib/ crash.py" , line 127, in report_ bug_to_ apport apport_ report_ to_file( exc_info) python2. 7/dist- packages/ bzrlib/ crash.py" , line 173, in _write_ apport_ report_ to_file get('LANG' ) python2. 7/dist- packages/ problem_ report. py", line 567, in __setitem__
File "/usr/lib/
stderr)
File "/usr/lib/
crash_filename = _write_
File "/usr/lib/
pr['Locale'] = os.environ.
File "/usr/lib/
and (hasattr(v[0], 'isalnum') or hasattr(v[0], 'read'))))
AssertionError
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 27987 tests in 293.810s
FAILED (failures=1, known_failure_ count=59)
2763 tests skipped
I created an lxc container (sudo lxc-create -t ubuntu -n bzr-test) and ran bzr selftest --parallel= subprocess in there. It skips test_crash, due to the missing dependencies, but every test that is run passes happily. After installing apport and python-apport, test_crash runs, and fails. The included error report is from bzr selftest run inside that lxc container.
ProblemType: Bug 0ubuntu1 ature: Ubuntu 3.5.0-22.34-generic 3.5.7.2 ture: all
DistroRelease: Ubuntu 12.10
Package: bzr 2.6.0~beta2-
ProcVersionSign
Uname: Linux 3.5.0-22-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Sun Jan 27 19:40:27 2013
InstallationDate: Installed on 2012-11-02 (86 days ago)
InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Release amd64(20121023)
MarkForUpload: True
PackageArchitec
SourcePackage: bzr
UpgradeStatus: No upgrade log present (probably fresh install)