You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2011/06/21 04:38:47 UTC
[jira] [Commented] (INFRA-3662) Run Libcloud tests with Python 2.5,
Python 2.6 and Python 2.7
[ https://issues.apache.org/jira/browse/INFRA-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052328#comment-13052328 ]
Gavin commented on INFRA-3662:
------------------------------
Hi,
Ok, so 2.5 and 2.7 installed alongside 2.6 on the Buildbot slave bb-vm1 on which your build runs.
I get dependency error and subsequent easy-install error for ssl on python25, please help me with that and the python27 error pasted below also.
2.5 error is:
looking for /usr/include/openssl/ssl.h
looking for /usr/include/krb5.h
error: Setup script exited with error: SandboxViolation: open('/opt/python2.5/lib/python2.5/test/test_ssl.py', 'wb') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
......
I get the below error when doing 'python2.7 setup.py test' :
buildslave3@bb-vm1:~/slave3/libcloud-trunk/build2.5$ python2.7 setup.py test
running test
Traceback (most recent call last):
File "setup.py", line 186, in <module>
'Topic :: Software Development :: Libraries :: Python Modules'
File "/opt/python2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/python2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/opt/python2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 56, in run
status = self._run_tests()
File "setup.py", line 94, in _run_tests
tests = TestLoader().loadTestsFromNames(testfiles)
File "/opt/python2.7/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/opt/python2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_deployment'
Thanks
> Run Libcloud tests with Python 2.5, Python 2.6 and Python 2.7
> -------------------------------------------------------------
>
> Key: INFRA-3662
> URL: https://issues.apache.org/jira/browse/INFRA-3662
> Project: Infrastructure
> Issue Type: New Feature
> Security Level: public(Regular issues)
> Components: Buildbot
> Reporter: Tomaz Muraus
> Priority: Minor
>
> Hello,
> Is it possible to set up buildbot to also run Libcloud tests (python setup.py test) with Python 2.5 and Python 2.7?
> Currently it only runs them on Python 2.6, but we officially also support 2.5 and 2.7 and would like to make sure we don't break something when we commit a change (this has already happened in the past).
> Installing multiple versions on a single machine is pretty straight-forward, but please let me know if you have problems. I might be able to provide a buildslave server with Python 2.5 and 2.7 installed.
> Thanks
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira