[BUG] bzr selftest failure

Matthieu Moy Matthieu.Moy at imag.fr
Wed Aug 30 07:42:23 BST 2006


John Arbash Meinel <john at arbash-meinel.com> writes:

> Matthieu Moy wrote:
>> On a machine without paramiko installed, "bzr selftest" fails
>> (bzr.dev, which is same as 0.10rc1 today). IIRC, it has worked
>> correctly before.
>> 
>
> Does this patch work for you?

Seems to improve the situation, but I still get another (unrelated)
failure:

I don't have python2.4-dev, which probably explains it.


$ ./bzr --no-plugins selftest                                                                     
       bzr: /net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzr
    bzrlib: /net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib

running tests...
/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/transport/ftp.py:728: UserWarning: You must install medusa (http://www.amk.ca/python/code/m
edusa.html) for FTP tests                                                                                                                  
  warn("You must install medusa (http://www.amk.ca/python/code/medusa.html) for FTP tests")
bzrlib.tests.test_setup.TestSetup.test_build_and_install: FAIL                                                                              
[=================================================================================================================] OK            2966/2966
======================================================================
FAIL: test_build_and_install (bzrlib.tests.test_setup.TestSetup)

vvvv[log from bzrlib.tests.test_setup.TestSetup.test_build_and_install]-------
running clean
running install
error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)
test_build running in /net/ecrins/local/moy/usr/src/bzr/bzr.dev
source base directory: /net/ecrins/local/moy/usr/src/bzr/bzr.dev
args: ['/usr/bin/python2.4', './setup.py', 'clean']
source base directory: /net/ecrins/local/moy/usr/src/bzr/bzr.dev
args: ['/usr/bin/python2.4', './setup.py', 'install', '--prefix', '/tmp/tmpjWreEg']

^^^^[log from bzrlib.tests.test_setup.TestSetup.test_build_and_install]-------
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/test_setup.py", line 58, in test_build_and_install
    self.run_setup(['install', '--prefix', install_dir])
  File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/test_setup.py", line 74, in run_setup
    'invocation of %r failed' % args)
AssertionError: invocation of ['/usr/bin/python2.4', './setup.py', 'install', '--prefix', '/tmp/tmpjWreEg'] failed

----------------------------------------------------------------------
Ran 2966 tests in 375.987s

FAILED (failures=1)
tests failed                                                                                                                               
216.169u 98.858s 6:55.68 75.7%  0+0k 0+0io 11pf+0w

-- 
Matthieu




More information about the bazaar mailing list