slapos-testing: install slapos and supervisor scripts
and make sure we really use the develop version, by clearing version pin that might be for another version. Also clean up comments in version section. This will be needed for standalone tests.
Showing
-
Owner
this seem to cause error in setup of erp5.util
Traceback (most recent call last): File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/bin/python_for_test", line 110, in <module> exec(compile(__file__f.read(), __file__, "exec")) File "setup.py", line 85, in <module> 'psutil >= 0.5.0', File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/eggs/setuptools-40.4.3-py2.7.egg/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/eggs/setuptools-40.4.3-py2.7.egg/setuptools/command/test.py", line 228, in run self.run_tests() File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/eggs/setuptools-40.4.3-py2.7.egg/setuptools/command/test.py", line 250, in run_tests exit=False, File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/unittest/main.py", line 158, in createTests self.module) File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/eggs/setuptools-40.4.3-py2.7.egg/setuptools/command/test.py", line 54, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/srv/slapgrid/slappart3/srv/testnode/bvi/soft/0458d6b0035b6e095f9dd67c55797c42/parts/python2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName parent, obj = obj, getattr(obj, part) AttributeError: 'module' object has no attribute 'testERP5TestNode'
( I'll take a look )
edit: it was not releated
-
Owner
if I execute the test python and try to import the module there's a more interesting traceback:
/srv/slapgrid/slappart19/srv/testnode/cqd/soft/dec99fa5745e5ff495122f17dcb4e64e/bin/python_for_test >>> import erp5.tests.testERP5TestNode Traceback (most recent call last): File "<console>", line 1, in <module> File "/srv/slapgrid/slappart19/srv/testnode/cqd/soft/dec99fa5745e5ff495122f17dcb4e64e/parts/erp5.util-repository/erp5/tests/testERP5TestNode.py", line 6, in <module> from erp5.util.testnode.testnode import TestNode, test_type_registry File "/srv/slapgrid/slappart19/srv/testnode/cqd/soft/dec99fa5745e5ff495122f17dcb4e64e/parts/erp5.util-repository/erp5/util/testnode/testnode.py", line 38, in <module> from .ScalabilityTestRunner import ScalabilityTestRunner File "/srv/slapgrid/slappart19/srv/testnode/cqd/soft/dec99fa5745e5ff495122f17dcb4e64e/parts/erp5.util-repository/erp5/util/testnode/ScalabilityTestRunner.py", line 33, in <module> from . import SlapOSControler, SlapOSMasterCommunicator File "/srv/slapgrid/slappart19/srv/testnode/cqd/soft/dec99fa5745e5ff495122f17dcb4e64e/parts/erp5.util-repository/erp5/util/testnode/SlapOSMasterCommunicator.py", line 14, in <module> from slapos.slap.util import xml2dict ImportError: No module named util >>> from slapos.util import xml2dict
-
Owner
erp5@2f25a327 should fix
Please register or sign in to comment