Build failed in Jenkins: cubicweb-saem_ref » py27,debian_jessie #158

jenkins.logilab.org noreply at logilab.org
Mon Mar 20 16:21:34 CET 2017


https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/158/------------------------------------------
[...truncated 79.08 KB...]
            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_agent_authority_consistency _____________
.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 0x7f02e7e20e10>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/vti...ins/workspace/cubicweb-saem_ref/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/geocoding',> ...)

    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
__________________________ AuthorityRecordTC.test_fti __________________________
.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 0x7f02e8319110>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/vti...ins/workspace/cubicweb-saem_ref/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/geocoding',> ...)

    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
_____________________ ConceptSchemeTC.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 0x7f02e80647d0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/vti...ins/workspace/cubicweb-saem_ref/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/geocoding',> ...)

    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_user __________________________
.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 0x7f02e800ea10>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/vti...ins/workspace/cubicweb-saem_ref/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/geocoding',> ...)

    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
______________________ SKOSImportTC.test_datafeed_source _______________________
.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:651: 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 0x7f02e7ee7690>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/vti...ins/workspace/cubicweb-saem_ref/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/geocoding',> ...)

    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
----------------------------- Captured stderr call -----------------------------
building tmpdb failed
_______________________ LCSVImportTC.test_cwuri_with_ark _______________________
.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 0x7f02e7e20cd0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/vti...ins/workspace/cubicweb-saem_ref/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/geocoding',> ...)

    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
============== 33 failed, 8 passed, 101 skipped in 21.44 seconds ===============
waiting for server to shut down.... done
server stopped
ERROR: InvocationError: '<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/test'>
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
Build step 'Execute shell' marked build as failure



More information about the saem-devel mailing list