test_report_extension_load_failures_message failed

Bug #717663 reported by Martin von Gagern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

The bzrlib.tests.test_osutils.TestFailedToLoadExtension.test_report_extension_load_failures_message fails for me, on current bzr.dev as well as on 2.3.0 source tarball.

I'm not sure about reproducibility: encountered this in an automatic build (Gentoo ebuild), then failed to reproduce that single test on the command line a number of times, then started complete selftest but aborted it after a while, then succeeded to reproduce with this single test a number of times. Maybe I did something wrong the first time I tried to reproduce, but maybe the rest of the test suite has something to do with it as well.

$ ./bzr --no-plugins selftest test_report_extension_load_failures_message
/usr/lib64/python2.7/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)
bzr selftest: bzr.dev/bzr
   bzr.dev/bzrlib
   bzr-2.4.0dev1 python-2.7.1 Linux-2.6.37-gentoo-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.0.1

FAIL: test_osutils.TestFailedToLoadExtension.test_report_extension_load_failures_message_message
    Text attachment: log
------------

------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 499, in _run_test_method
    return self._get_test_method()()
  File "bzr.dev/bzrlib/tests/test_osutils.py", line 1949, in test_report_extension_load_failures_message
    r"bzr: warning: some compiled extensions could not be loaded; "
AssertionError: pattern "bzr: warning: some compiled extensions could not be loaded; see <https://answers\.launchpad\.net/bzr/\+faq/703>
" not found in
"""\
2.178 failed to load compiled extension: No module named _fictional_extension_py
"""

------------

======================================================================
FAIL: bzrlib.tests.test_osutils.TestFailedToLoadExtension.test_report_extension_load_failures_message
----------------------------------------------------------------------
_StringException: Text attachment: log
------------

------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 499, in _run_test_method
    return self._get_test_method()()
  File "bzr.dev/bzrlib/tests/test_osutils.py", line 1949, in test_report_extension_load_failures_message
    r"bzr: warning: some compiled extensions could not be loaded; "
AssertionError: pattern "bzr: warning: some compiled extensions could not be loaded; see <https://answers\.launchpad\.net/bzr/\+faq/703>
" not found in
"""\
2.178 failed to load compiled extension: No module named _fictional_extension_py
"""

------------

----------------------------------------------------------------------
Ran 1 test in 0.083s

FAILED (failures=1)

Revision history for this message
Martin Pool (mbp) wrote :

It's odd this would be intermittent. I'm marking it medium because it might just be something strange in the environment.

tags: added: selftest
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.