Build failed in Jenkins: cubicweb-eac » py27,debian_jessie #71

jenkins.logilab.org noreply at logilab.org
Mon Mar 20 16:22:23 CET 2017


https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/71/------------------------------------------
[...truncated 9.87 KB...]

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
___________________ EACExportFunctionalTests.test_roundtrip ____________________

self = <test_export.EACExportFunctionalTests testMethod=test_roundtrip>

    def setUp(self):
>       super(EACExportFunctionalTests, self).setUp()

test/test_export.py:20: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:449: in setUp
    self._init_repo()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:377: in _init_repo
    db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:478: in build_db_cache
    self.init_test_database()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:796: in init_test_database
    init_config=self.init_config)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/__init__.py:225: in init_repository
    repo = Repository(config, vreg=vreg)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:189: in __init__
    self.init_cnxset_pool()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:236: in init_cnxset_pool
    self.set_schema(config.load_schema(expand_cubes=True))
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/serverconfig.py:326: in load_schema
    schema = CubicWebSchemaLoader().load(self, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1408: in load
    return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1374: in load
    path, config.appid, register_base_types=False, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/yams/reader.py:125: in load
    self._load_definition_files(modnames)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cubicweb.schema.CubicWebSchemaLoader object at 0x7fd34ac65dd0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> '...b/cubes/addressbook', '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/cubicweb_eac',> ...)

    def _load_definition_files(self, cubes):
        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
            self.info('loading %s', filepath)
            with tempattr(ybo, 'PACKAGE', 'cubicweb'):
>               self.handle_file(filepath)
E               TypeError: handle_file() takes exactly 3 arguments (2 given)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
______ SchemaConstraintsTC.test_on_create_set_end_date_before_start_date _______
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:449: in setUp
    self._init_repo()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:377: in _init_repo
    db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:478: in build_db_cache
    self.init_test_database()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:796: in init_test_database
    init_config=self.init_config)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/__init__.py:225: in init_repository
    repo = Repository(config, vreg=vreg)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:189: in __init__
    self.init_cnxset_pool()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:236: in init_cnxset_pool
    self.set_schema(config.load_schema(expand_cubes=True))
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/serverconfig.py:326: in load_schema
    schema = CubicWebSchemaLoader().load(self, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1408: in load
    return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1374: in load
    path, config.appid, register_base_types=False, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/yams/reader.py:125: in load
    self._load_definition_files(modnames)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cubicweb.schema.CubicWebSchemaLoader object at 0x7fd34aa11ed0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> '...b/cubes/addressbook', '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/cubicweb_eac',> ...)

    def _load_definition_files(self, cubes):
        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
            self.info('loading %s', filepath)
            with tempattr(ybo, 'PACKAGE', 'cubicweb'):
>               self.handle_file(filepath)
E               TypeError: handle_file() takes exactly 3 arguments (2 given)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
_________________ AuthorityRecordGraphTC.test_graph_structure __________________
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:449: in setUp
    self._init_repo()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:377: in _init_repo
    db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:478: in build_db_cache
    self.init_test_database()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:796: in init_test_database
    init_config=self.init_config)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/__init__.py:225: in init_repository
    repo = Repository(config, vreg=vreg)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:189: in __init__
    self.init_cnxset_pool()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:236: in init_cnxset_pool
    self.set_schema(config.load_schema(expand_cubes=True))
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/serverconfig.py:326: in load_schema
    schema = CubicWebSchemaLoader().load(self, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1408: in load
    return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1374: in load
    path, config.appid, register_base_types=False, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/yams/reader.py:125: in load
    self._load_definition_files(modnames)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cubicweb.schema.CubicWebSchemaLoader object at 0x7fd34af1ca10>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> '...b/cubes/addressbook', '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/cubicweb_eac',> ...)

    def _load_definition_files(self, cubes):
        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
            self.info('loading %s', filepath)
            with tempattr(ybo, 'PACKAGE', 'cubicweb'):
>               self.handle_file(filepath)
E               TypeError: handle_file() takes exactly 3 arguments (2 given)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
_____________________ SecurityTC.test_agent_kind_relation ______________________
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:449: in setUp
    self._init_repo()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:377: in _init_repo
    db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:478: in build_db_cache
    self.init_test_database()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:796: in init_test_database
    init_config=self.init_config)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/__init__.py:225: in init_repository
    repo = Repository(config, vreg=vreg)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:189: in __init__
    self.init_cnxset_pool()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:236: in init_cnxset_pool
    self.set_schema(config.load_schema(expand_cubes=True))
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/serverconfig.py:326: in load_schema
    schema = CubicWebSchemaLoader().load(self, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1408: in load
    return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1374: in load
    path, config.appid, register_base_types=False, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/yams/reader.py:125: in load
    self._load_definition_files(modnames)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cubicweb.schema.CubicWebSchemaLoader object at 0x7fd34a874a90>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> '...b/cubes/addressbook', '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/cubicweb_eac',> ...)

    def _load_definition_files(self, cubes):
        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
            self.info('loading %s', filepath)
            with tempattr(ybo, 'PACKAGE', 'cubicweb'):
>               self.handle_file(filepath)
E               TypeError: handle_file() takes exactly 3 arguments (2 given)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
_______________________ FuncViewsTC.test_export_filename _______________________
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:449: in setUp
    self._init_repo()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:377: in _init_repo
    db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:478: in build_db_cache
    self.init_test_database()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:796: in init_test_database
    init_config=self.init_config)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/__init__.py:225: in init_repository
    repo = Repository(config, vreg=vreg)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:189: in __init__
    self.init_cnxset_pool()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:236: in init_cnxset_pool
    self.set_schema(config.load_schema(expand_cubes=True))
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/serverconfig.py:326: in load_schema
    schema = CubicWebSchemaLoader().load(self, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1408: in load
    return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1374: in load
    path, config.appid, register_base_types=False, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/yams/reader.py:125: in load
    self._load_definition_files(modnames)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cubicweb.schema.CubicWebSchemaLoader object at 0x7fd34ac30590>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> '...b/cubes/addressbook', '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/cubicweb_eac',> ...)

    def _load_definition_files(self, cubes):
        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
            self.info('loading %s', filepath)
            with tempattr(ybo, 'PACKAGE', 'cubicweb'):
>               self.handle_file(filepath)
E               TypeError: handle_file() takes exactly 3 arguments (2 given)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
__________________ AuthorityRecordFormsTC.test_no_copy_action __________________
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:449: in setUp
    self._init_repo()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:377: in _init_repo
    db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:478: in build_db_cache
    self.init_test_database()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/__init__.py:796: in init_test_database
    init_config=self.init_config)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/__init__.py:225: in init_repository
    repo = Repository(config, vreg=vreg)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:189: in __init__
    self.init_cnxset_pool()
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/repository.py:236: in init_cnxset_pool
    self.set_schema(config.load_schema(expand_cubes=True))
.tox/py27/local/lib/python2.7/site-packages/cubicweb/server/serverconfig.py:326: in load_schema
    schema = CubicWebSchemaLoader().load(self, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1408: in load
    return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1374: in load
    path, config.appid, register_base_types=False, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/yams/reader.py:125: in load
    self._load_definition_files(modnames)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cubicweb.schema.CubicWebSchemaLoader object at 0x7fd34aae0e10>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> '...b/cubes/addressbook', '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/cubicweb_eac',> ...)

    def _load_definition_files(self, cubes):
        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
            self.info('loading %s', filepath)
            with tempattr(ybo, 'PACKAGE', 'cubicweb'):
>               self.handle_file(filepath)
E               TypeError: handle_file() takes exactly 3 arguments (2 given)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/schema.py:1420: TypeError
================ 8 failed, 5 passed, 22 skipped in 3.50 seconds ================
ERROR: InvocationError: '<https://jenkins.logilab.org/job/cubicweb-eac/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest test'
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
Build step 'Execute shell' marked build as failure



More information about the saem-devel mailing list