[Bug 1107464] Re: selftest fails in Ubuntu 12.10 with test_apport_report

Launchpad Bug Tracker 1107464 at bugs.launchpad.net
Wed Jan 30 03:17:52 UTC 2013


** Branch linked: lp:~dylanmccall/bzr/bug-1107464

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/1107464

Title:
  selftest fails in Ubuntu 12.10 with test_apport_report

Status in “bzr” package in Ubuntu:
  New

Bug description:
  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:

  ======================================================================
  FAIL: bzrlib.tests.test_crash.TestApportReporting.test_apport_report
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    log

  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

  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 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.

  Quickest way to reproduce this is the following:
  bzr selftest --one -s bzrlib.tests.test_crash

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/1107464/+subscriptions




More information about the foundations-bugs mailing list