[Buildbot-devel] problem about test buildbot on ubuntu-8.04

Guo Hongruan camelguo at gmail.com
Sat Jan 2 03:44:24 UTC 2010


When running as root, there are no such errors. But the test lock3 failed.

在 Sat, 02 Jan 2010 11:39:44 +0800,Nicolas Alvarez  
<nicolas.alvarez at gmail.com> 写道:

> Guo Hongruan wrote:
>> Hi guys,
>>    I tried to test buildbot on ubuntu-8.04 and found the following
>>    warning.
>> Does it mean the installation of buildbot on my machine failed.
>>
>> By the way, do I have to run the test using root account?
>>
>> camelguo at guohr-laptop-ubuntu:~$ PYTHONPATH=. trial buildbot.test
>> Traceback (most recent call last):
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/python/usage.py",
>> line 241, in parseOptions
>>      self.postOptions()
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/scripts/trial.py",
>> line 295, in postOptions
>>      self['reporter'] = self._loadReporterByName(self['reporter'])
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/scripts/trial.py",
>> line 281, in _loadReporterByName
>>      for p in plugin.getPlugins(itrial.IReporter):
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/plugin.py",
>> line 200, in getPlugins
>>      allDropins = getCache(package)
>> --- <exception caught here> ---
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/plugin.py",
>> line 179, in getCache
>>      dropinPath.setContent(pickle.dumps(dropinDotCache))
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/python/filepath.py",
>> line 644, in setContent
>>      f = sib.open('w')
>>    File
>> "/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/python/filepath.py",
>> line 454, in open
>>      return open(self.path, mode+'b')
>> exceptions.IOError: [Errno 13] Permission denied:
>> '/usr/lib/python2.5/site-packages/Twisted-9.0.0-py2.5-linux-
> i686.egg/twisted/plugins/dropin.cache.new'
>> buildbot.test.test__versions
>>    Versions
>
> When I run tests on Debian (twisted installed from packages), I get the  
> same
> error, but then the tests run just fine.
>


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com




More information about the devel mailing list