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

jenkins.logilab.org noreply at logilab.org
Fri Mar 10 16:05:34 CET 2017


https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/129/Changes:

[Sylvain Thénault <sylvain.thenault at logilab.fr>] [seda] Plug activities onto archive transfer

Related to extranet #3101354

Notice a container relation is added in the message catalog, this is because
this relation is added in post_build_callback of the seda cube. We actually
don't need, so don't bother adding migration for it.

[Sylvain Thénault <sylvain.thenault at logilab.fr>] [i18n] Sync catalogs with code

[Sylvain Thénault <sylvain.thenault at logilab.fr>] [views] Customize title of SEDAArchiveTransferCloneAction

accidentaly dropped by 57c663b9798a

------------------------------------------
Started by upstream project "cubicweb-saem_ref" build number 129
originally caused by:
 Started by an SCM change
Building remotely on docker-slave-e8d274766e58 (debian_jessie) in workspace <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/>
$ hg clone --rev 983b5ead13924db16fca8bb2d53a0264a7945977 --noupdate http://hg.logilab.org/review/cubes/saem_ref <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/>
adding changesets
adding manifests
adding file changes
added 1522 changesets with 3847 changes to 270 files
[debian_jessie] $ hg update --rev 983b5ead13924db16fca8bb2d53a0264a7945977
116 files updated, 0 files merged, 0 files removed, 0 files unresolved
[debian_jessie] $ hg log --rev . --template {node}
[debian_jessie] $ hg log --rev . --template {rev}
[debian_jessie] $ hg log --rev cb200331407a36c18b3ba823b4bcc14190ca3682 --template exists\n
exists
[debian_jessie] $ hg log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev "ancestors('983b5ead13924db16fca8bb2d53a0264a7945977') and not ancestors(cb200331407a36c18b3ba823b4bcc14190ca3682)" --encoding UTF-8 --encodingmode replace
[debian_jessie] $ /bin/sh -xe /tmp/hudson2404736870427442696.sh
+ find . ( -name pgdb* -o -name tmpdb* ) -print0
+ xargs -0 rm -rf
[debian_jessie] $ /bin/sh -xe /tmp/hudson2555970028135776188.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/games tox --recreate
GLOB sdist-make: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/setup.py>
py27 create: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27>
py27 installdeps: -rdev-requirements.txt
py27 inst: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/dist/cubicweb-saem-ref-0.14.2.zip>
py27 installed: appdirs==1.4.3,backports.functools-lru-cache==1.3,beautifulsoup4==4.5.3,chardet==2.3.0,colorama==0.3.2,cubicweb==3.24.5,cubicweb-addressbook==1.9.1,cubicweb-bootstrap==1.2.6,cubicweb-compound==0.5.0,cubicweb-eac==0.4.0,cubicweb-geocoding==0.2.1,cubicweb-oaipmh==0.4.1,cubicweb-prov==0.4.0,cubicweb-relationwidget==0.4.0,cubicweb-saem-ref==0.14.2,cubicweb-seda==0.8.0,cubicweb-signedrequest==0.3.0,cubicweb-skos==1.1.0,cubicweb-squareui==1.0.3,cubicweb-vtimeline==0.5.1,cwtags==1.1.0,decorator==3.4.0,GDAL==1.10.1,html2text==2016.9.19,html5lib==0.999,hupper==0.4.4,isodate==0.5.0,joblib==0.8.3,linecache2==1.0.0,logilab-common==1.3.0,logilab-constraint==0.6.0,logilab-database==1.15.0,logilab-mtconverter==0.9.0,lxml==3.4.0,Markdown==2.6.8,mercurial==3.9.1,numpy==1.8.2,packaging==16.8,pandas==0.14.1,passlib==1.7.1,PasteDeploy==1.5.2,Pillow==2.6.1,pluggy==0.4.0,psycopg2==2.5.4,py==1.4.32,pykerberos==1.1.5,pyparsing==2.2.0,pyramid==1.8.2,pyramid-multiauth==0.9.0,pytest==3.0.6,python-dateutil==2.2,pytz==2012rc0,pyxst==0.1.1,rdflib==4.1.2,repoze.lru==0.6,requests==2.4.3,requests-kerberos==0.5,rql==0.34.2,scikit-learn==0.14.1,scipy==0.14.0,six==1.10.0,SPARQLWrapper==1.8.0,tox==2.5.0,traceback2==1.4.0,translationstring==1.3,unittest2==1.1.0,urllib3==1.9.1,venusian==1.0,virtualenv==15.1.0,waitress==1.0.2,WebOb==1.7.1,WebTest==2.0.26,wsgicors==0.7.0,yams==0.44.1,Yapps2==2.2.0,zope.deprecation==4.2.0,zope.interface==4.3.3
py27 runtests: PYTHONHASHSEED='547928022'
py27 runtests: commands[0] | <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>
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/,> inifile: tox.ini
collected 140 items

test/test_ccplugin.py ....
test/test_eac.py ..
test/test_oai.py ....................
test/test_pviews.py ..
test/test_saem_ref.py ..
test/test_security.py .......
test/test_seda.py ...
test/test_views.py ............................
test/unittest_autocomplete.py ....
test/unittest_dataimport.py .
test/unittest_entities.py ..
test/unittest_entities_agent.py ........
test/unittest_entities_container.py FFF.
test/unittest_entities_skos.py .
test/unittest_hooks.py .............................
test/unittest_schema.py ...................
test/unittest_site_cubicweb.py .
test/unittest_sobjects_skos.py ...

=================================== FAILURES ===================================
__________________ ContainerTC.test_authorityrecord_container __________________

self = <unittest_entities_container.ContainerTC testMethod=test_authorityrecord_container>

    def test_authorityrecord_container(self):
        # line below should be copied from entities.container.registration_callback
        container_def = container.authority_record_container_def(self.schema)
        container_def = dict(sort_container(container_def))
        self.assertEqual(container_def,
                         {'Activity': [('generated', 'subject'), ('used', 'subject')],
                          'AgentFunction': [('function_agent', 'subject')],
                          'AgentPlace': [('place_agent', 'subject')],
                          'Citation': [('has_citation', 'object')],
                          'EACOtherRecordId': [('eac_other_record_id_of', 'subject')],
                          'EACResourceRelation': [('resource_relation_agent', 'subject')],
                          'EACSource': [('source_agent', 'subject')],
                          'GeneralContext': [('general_context_of', 'subject')],
                          'History': [('history_agent', 'subject')],
                          'LegalStatus': [('legal_status_agent', 'subject')],
                          'Mandate': [('mandate_agent', 'subject')],
                          'NameEntry': [('name_entry_for', 'subject')],
                          'Occupation': [('occupation_agent', 'subject')],
                          'PostalAddress': [('place_address', 'object')],
>                         'Structure': [('structure_agent', 'subject')]})
E       AssertionError: {'LegalStatus': [('legal_status_agent', 'su[641 chars]t')]} != {'GeneralContext': [('general_context_of', [702 chars]t')]}
E       Diff is 858 characters long. Set self.maxDiff to None to see it.

test/unittest_entities_container.py:51: AssertionError
______________________ ContainerTC.test_concept_container ______________________

self = <unittest_entities_container.ContainerTC testMethod=test_concept_container>

    def test_concept_container(self):
        # line below should be copied from entities.container.registration_callback
        container_def = container.concept_container_def(self.schema)
        container_def = dict(sort_container(container_def))
        self.assertEqual(container_def,
                         {'Activity': [('generated', 'subject'), ('used', 'subject')],
>                         'Label': [('label_of', 'subject')]})
E       AssertionError: {'Label': [('label_of', 'subject')]} != {'Activity': [('generated', 'subject'), ('u[49 chars]t')]}
E       + {'Activity': [('generated', 'subject'), ('used', 'subject')],
E       - {'Label': [('label_of', 'subject')]}
E       ? ^
E       
E       +  'Label': [('label_of', 'subject')]}
E       ? ^

test/unittest_entities_container.py:73: AssertionError
______________________ ContainerTC.test_scheme_container _______________________

self = <unittest_entities_container.ContainerTC testMethod=test_scheme_container>

    def test_scheme_container(self):
        # line below should be copied from entities.container.registration_callback
        container_def = container.scheme_container_def(self.schema)
        container_def = dict(sort_container(container_def))
        self.assertEqual(container_def,
                         {'Activity': [('generated', 'subject'), ('used', 'subject')],
>                         'Concept': [('in_scheme', 'subject')]})
E       AssertionError: {'Concept': [('in_scheme', 'subject')]} != {'Activity': [('generated', 'subject'), ('u[52 chars]t')]}
E       + {'Activity': [('generated', 'subject'), ('used', 'subject')],
E       - {'Concept': [('in_scheme', 'subject')]}
E       ? ^
E       
E       +  'Concept': [('in_scheme', 'subject')]}
E       ? ^

test/unittest_entities_container.py:62: AssertionError
==================== 3 failed, 137 passed in 785.93 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 0x7fa11bcfde90>> 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