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

jenkins.logilab.org noreply at logilab.org
Thu Mar 9 10:39:43 CET 2017


https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/118/------------------------------------------
[...truncated 101.97 KB...]
    def build_class(cls, etype, parent_relations):
        # check given parent relations
        for parent_relation in parent_relations:
            assert (isinstance(parent_relation, tuple) and
                    len(parent_relation) == 2 and
                    parent_relation[-1] in ('subject', 'object')), parent_relation
        # use already created class if any
        if etype in cls._classes:
            contained_cls = cls._classes[etype]
            # ensure registered class is the same at the one that would be generated
            assert contained_cls.__bases__ == (cls,)
>           contained_cls.parent_relations |= parent_relations
E           TypeError: unsupported operand type(s) for |=: 'list' and 'list'

.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:109: 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/repository.py:327: in set_schema
    self.vreg.set_schema(schema)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:420: in set_schema
    self.reload(self.config.appobjects_path(), force_reload=False)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:470: in reload
    self.register_objects(path)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:515: in register_objects
    path, self.config.extrapath)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:684: in register_objects
    self.load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:480: in load_file
    return super(CWRegistryStore, self).load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:743: in load_file
    self.load_module(module)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:766: in load_module
    module.registration_callback(self)
cubicweb_saem_ref/entities/container.py:55: in registration_callback
    IContained.register_class(vreg, etype, parent_relations)
.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:93: in register_class
    contained_cls = cls.build_class(etype, parent_relations)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = <class 'cubes.compound.entities.IContained'>, etype = 'Concept'
parent_relations = [('broader_concept', 'subject'), ('in_scheme', 'subject')]

    @classmethod
    def build_class(cls, etype, parent_relations):
        # check given parent relations
        for parent_relation in parent_relations:
            assert (isinstance(parent_relation, tuple) and
                    len(parent_relation) == 2 and
                    parent_relation[-1] in ('subject', 'object')), parent_relation
        # use already created class if any
        if etype in cls._classes:
            contained_cls = cls._classes[etype]
            # ensure registered class is the same at the one that would be generated
            assert contained_cls.__bases__ == (cls,)
>           contained_cls.parent_relations |= parent_relations
E           TypeError: unsupported operand type(s) for |=: 'list' and 'list'

.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:109: 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/repository.py:327: in set_schema
    self.vreg.set_schema(schema)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:420: in set_schema
    self.reload(self.config.appobjects_path(), force_reload=False)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:470: in reload
    self.register_objects(path)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:515: in register_objects
    path, self.config.extrapath)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:684: in register_objects
    self.load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:480: in load_file
    return super(CWRegistryStore, self).load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:743: in load_file
    self.load_module(module)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:766: in load_module
    module.registration_callback(self)
cubicweb_saem_ref/entities/container.py:55: in registration_callback
    IContained.register_class(vreg, etype, parent_relations)
.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:93: in register_class
    contained_cls = cls.build_class(etype, parent_relations)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = <class 'cubes.compound.entities.IContained'>, etype = 'Concept'
parent_relations = [('broader_concept', 'subject'), ('in_scheme', 'subject')]

    @classmethod
    def build_class(cls, etype, parent_relations):
        # check given parent relations
        for parent_relation in parent_relations:
            assert (isinstance(parent_relation, tuple) and
                    len(parent_relation) == 2 and
                    parent_relation[-1] in ('subject', 'object')), parent_relation
        # use already created class if any
        if etype in cls._classes:
            contained_cls = cls._classes[etype]
            # ensure registered class is the same at the one that would be generated
            assert contained_cls.__bases__ == (cls,)
>           contained_cls.parent_relations |= parent_relations
E           TypeError: unsupported operand type(s) for |=: 'list' and 'list'

.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:109: 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/repository.py:327: in set_schema
    self.vreg.set_schema(schema)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:420: in set_schema
    self.reload(self.config.appobjects_path(), force_reload=False)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:470: in reload
    self.register_objects(path)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:515: in register_objects
    path, self.config.extrapath)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:684: in register_objects
    self.load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:480: in load_file
    return super(CWRegistryStore, self).load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:743: in load_file
    self.load_module(module)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:766: in load_module
    module.registration_callback(self)
cubicweb_saem_ref/entities/container.py:55: in registration_callback
    IContained.register_class(vreg, etype, parent_relations)
.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:93: in register_class
    contained_cls = cls.build_class(etype, parent_relations)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = <class 'cubes.compound.entities.IContained'>, etype = 'Concept'
parent_relations = [('broader_concept', 'subject'), ('in_scheme', 'subject')]

    @classmethod
    def build_class(cls, etype, parent_relations):
        # check given parent relations
        for parent_relation in parent_relations:
            assert (isinstance(parent_relation, tuple) and
                    len(parent_relation) == 2 and
                    parent_relation[-1] in ('subject', 'object')), parent_relation
        # use already created class if any
        if etype in cls._classes:
            contained_cls = cls._classes[etype]
            # ensure registered class is the same at the one that would be generated
            assert contained_cls.__bases__ == (cls,)
>           contained_cls.parent_relations |= parent_relations
E           TypeError: unsupported operand type(s) for |=: 'list' and 'list'

.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:109: 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/repository.py:327: in set_schema
    self.vreg.set_schema(schema)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:420: in set_schema
    self.reload(self.config.appobjects_path(), force_reload=False)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:470: in reload
    self.register_objects(path)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:515: in register_objects
    path, self.config.extrapath)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:684: in register_objects
    self.load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:480: in load_file
    return super(CWRegistryStore, self).load_file(filepath, modname)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:743: in load_file
    self.load_module(module)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:766: in load_module
    module.registration_callback(self)
cubicweb_saem_ref/entities/container.py:55: in registration_callback
    IContained.register_class(vreg, etype, parent_relations)
.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:93: in register_class
    contained_cls = cls.build_class(etype, parent_relations)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = <class 'cubes.compound.entities.IContained'>, etype = 'Concept'
parent_relations = [('broader_concept', 'subject'), ('in_scheme', 'subject')]

    @classmethod
    def build_class(cls, etype, parent_relations):
        # check given parent relations
        for parent_relation in parent_relations:
            assert (isinstance(parent_relation, tuple) and
                    len(parent_relation) == 2 and
                    parent_relation[-1] in ('subject', 'object')), parent_relation
        # use already created class if any
        if etype in cls._classes:
            contained_cls = cls._classes[etype]
            # ensure registered class is the same at the one that would be generated
            assert contained_cls.__bases__ == (cls,)
>           contained_cls.parent_relations |= parent_relations
E           TypeError: unsupported operand type(s) for |=: 'list' and 'list'

.tox/py27/local/lib/python2.7/site-packages/cubicweb_compound/entities.py:109: TypeError
============== 32 failed, 8 passed, 105 skipped in 90.74 seconds ===============
waiting for server to shut down.... done
server stopped
Exception TypeError: "'NoneType' object is not callable" in <bound method PostgresTestDataBaseHandler.__del__ of <cubicweb.devtools.PostgresTestDataBaseHandler object at 0x7f2aa78c3e90>> ignored
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