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

jenkins.logilab.org noreply at logilab.org
Fri Feb 24 16:21:18 CET 2017


https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/103/------------------------------------------
[...truncated 84.23 KB...]
    
    
    ARECORD_METADATA_FORMATS = {
        'eac': (
            MetadataFormat(
                schema='http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd',
                namespace='urn:isbn:1-931666-33-4'),
            'eac.export',
        ),
    }
    
    
>   eac.AuthorityRecord.fetch_attrs.append('ark')
E   AttributeError: 'tuple' object has no attribute 'append'

cubicweb_saem_ref/entities/eac.py:37: AttributeError
_____________________ 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:742: in load_file
    module = __import__(modname, fromlist=modname.split('.')[:-1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """cubicweb-saem-ref entity's classes for exporting agents to eac"""
    
    from cubicweb.predicates import is_instance
    
    from cubes.oaipmh import MetadataFormat
    from cubes.oaipmh.entities import RelatedEntityOAISetSpec
    from cubicweb_eac import entities as eac
    
    from . import oai
    
    
    ARECORD_METADATA_FORMATS = {
        'eac': (
            MetadataFormat(
                schema='http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd',
                namespace='urn:isbn:1-931666-33-4'),
            'eac.export',
        ),
    }
    
    
>   eac.AuthorityRecord.fetch_attrs.append('ark')
E   AttributeError: 'tuple' object has no attribute 'append'

cubicweb_saem_ref/entities/eac.py:37: AttributeError
_____________________ 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:742: in load_file
    module = __import__(modname, fromlist=modname.split('.')[:-1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """cubicweb-saem-ref entity's classes for exporting agents to eac"""
    
    from cubicweb.predicates import is_instance
    
    from cubes.oaipmh import MetadataFormat
    from cubes.oaipmh.entities import RelatedEntityOAISetSpec
    from cubicweb_eac import entities as eac
    
    from . import oai
    
    
    ARECORD_METADATA_FORMATS = {
        'eac': (
            MetadataFormat(
                schema='http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd',
                namespace='urn:isbn:1-931666-33-4'),
            'eac.export',
        ),
    }
    
    
>   eac.AuthorityRecord.fetch_attrs.append('ark')
E   AttributeError: 'tuple' object has no attribute 'append'

cubicweb_saem_ref/entities/eac.py:37: AttributeError
______________________ 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:742: in load_file
    module = __import__(modname, fromlist=modname.split('.')[:-1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """cubicweb-saem-ref entity's classes for exporting agents to eac"""
    
    from cubicweb.predicates import is_instance
    
    from cubes.oaipmh import MetadataFormat
    from cubes.oaipmh.entities import RelatedEntityOAISetSpec
    from cubicweb_eac import entities as eac
    
    from . import oai
    
    
    ARECORD_METADATA_FORMATS = {
        'eac': (
            MetadataFormat(
                schema='http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd',
                namespace='urn:isbn:1-931666-33-4'),
            'eac.export',
        ),
    }
    
    
>   eac.AuthorityRecord.fetch_attrs.append('ark')
E   AttributeError: 'tuple' object has no attribute 'append'

cubicweb_saem_ref/entities/eac.py:37: AttributeError
----------------------------- 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:742: in load_file
    module = __import__(modname, fromlist=modname.split('.')[:-1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """cubicweb-saem-ref entity's classes for exporting agents to eac"""
    
    from cubicweb.predicates import is_instance
    
    from cubes.oaipmh import MetadataFormat
    from cubes.oaipmh.entities import RelatedEntityOAISetSpec
    from cubicweb_eac import entities as eac
    
    from . import oai
    
    
    ARECORD_METADATA_FORMATS = {
        'eac': (
            MetadataFormat(
                schema='http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd',
                namespace='urn:isbn:1-931666-33-4'),
            'eac.export',
        ),
    }
    
    
>   eac.AuthorityRecord.fetch_attrs.append('ark')
E   AttributeError: 'tuple' object has no attribute 'append'

cubicweb_saem_ref/entities/eac.py:37: AttributeError
============== 32 failed, 8 passed, 103 skipped in 77.56 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