Build failed in Jenkins: cubicweb-seda » py27,debian_jessie #91

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


https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/91/------------------------------------------
[...truncated 80.24 KB...]
        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
____ SimplifiedFormsTC.test_create_data_object_from_archive_unit_component _____
.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 0x7fc4b693fed0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> .../jenkins/workspace/cubicweb-seda/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/squareui', ...)

    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
_____________________ CloneActionsTC.test_archive_transfer _____________________
.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 0x7fc4b60db9d0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> .../jenkins/workspace/cubicweb-seda/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/squareui', ...)

    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
_________________ CloneImportTC.test_import_multiple_entities __________________
.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 0x7fc4b679e990>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> .../jenkins/workspace/cubicweb-seda/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/squareui', ...)

    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
_____________ SEDATreeTC.test_archiveunit_reparent_to_archiveunit ______________
.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 0x7fc4b61746d0>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> .../jenkins/workspace/cubicweb-seda/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/squareui', ...)

    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
________________ ArchiveUnitVocabularyTC.test_do_ref_vocabulary ________________
.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 0x7fc4b679c550>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> .../jenkins/workspace/cubicweb-seda/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/squareui', ...)

    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
______________________ SEDANavigationTC.test_breadcrumbs _______________________
.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 0x7fc4b693f910>
cubes = ('<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/share/cubicweb/cubes/skos',> .../jenkins/workspace/cubicweb-seda/TOXENV/py27/distributions/debian_jessie/.tox/py27/share/cubicweb/cubes/squareui', ...)

    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
============== 35 failed, 12 passed, 65 skipped in 16.42 seconds ===============
ERROR: InvocationError: '<https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-seda/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