Build failed in Jenkins: cubicweb-skos » py27 #22

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


https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/22/------------------------------------------
[...truncated 22.77 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
_________________ SKOSSchemaTC.test_concept_label_no_language __________________
.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 0x7fa2efd10cd0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/share/cubicweb/cubes/skos',> '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test/data')>

    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
_____________________________ DumpRelationsTC.test _____________________________
.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 0x7fa2f02dee50>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/share/cubicweb/cubes/skos',> '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test/data')>

    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
_____________________ SKOSXMLImportTC.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:481: in build_db_cache
    self.build_db_cache(DEFAULT_EMPTY_DB_ID)
.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 0x7fa2f02dea10>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/share/cubicweb/cubes/skos',> '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test/data')>

    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 stdout call -----------------------------
Building xmlparser for database tmpdb
________________________ LCSVImportTC.test_import_lcsv _________________________
.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 0x7fa2f0318590>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/share/cubicweb/cubes/skos',> '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test/data')>

    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
___________________ ViewsTC.test_flat_scheme_concepts_import ___________________
.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 0x7fa2efe26850>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/share/cubicweb/cubes/skos',> '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test/data')>

    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
_____________________ RelationWidgetTC.test_linkable_rset ______________________
.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 0x7fa2efd7e1d0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/share/cubicweb/cubes/skos',> '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test/data')>

    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
============== 12 failed, 18 passed, 41 skipped in 12.06 seconds ===============
ERROR: InvocationError: '<https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-skos/TOXENV=py27/ws/cubicweb-skos/test'>
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
Build step 'Execute shell' marked build as failure



More information about the saem-devel mailing list