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

jenkins.logilab.org noreply at logilab.org
Fri Mar 3 10:59:26 CET 2017


https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/59/------------------------------------------
Started by upstream project "cubicweb-seda" build number 59
originally caused by:
 Started by an SCM change
Building remotely on docker-slave-f019da14fa00 (debian_jessie) in workspace <https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/>
$ hg clone --rev 8ac714000dd339387fa24b8c1e7b5c3495cba50b --noupdate http://hg.logilab.org/review/cubes/seda <https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/>
adding changesets
adding manifests
adding file changes
added 749 changesets with 2111 changes to 206 files
[debian_jessie] $ hg update --rev 8ac714000dd339387fa24b8c1e7b5c3495cba50b
118 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 f96c1f6fbe09215fd26374d54fa5b3e4c90025fb --template exists\n
abort: unknown revision 'f96c1f6fbe09215fd26374d54fa5b3e4c90025fb'!
ERROR: Previously built revision f96c1f6fbe09215fd26374d54fa5b3e4c90025fb is not known in this clone; unable to determine change log
[debian_jessie] $ /bin/sh -xe /tmp/hudson8253347555260333768.sh
+ find . ( -name pgdb* -o -name tmpdb* ) -print0
+ xargs -0 rm -rf
[debian_jessie] $ /bin/sh -xe /tmp/hudson6878302924719948512.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-seda/TOXENV=py27,distributions=debian_jessie/ws/setup.py>
py27 create: <https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27>
py27 installdeps: -rdev-requirements.txt
py27 inst: <https://jenkins.logilab.org/job/cubicweb-seda/TOXENV=py27,distributions=debian_jessie/ws/.tox/dist/cubicweb-seda-0.7.0.zip>
py27 installed: appdirs==1.4.2,chardet==2.3.0,colorama==0.3.2,cubicweb==3.24.5,cubicweb-addressbook==1.9.1,cubicweb-bootstrap==1.2.4,cubicweb-compound==0.4.0,cubicweb-eac==0.3.0,cubicweb-geocoding==0.2.1,cubicweb-prov==0.3.0,cubicweb-relationwidget==0.4.0,cubicweb-seda==0.7.0,cubicweb-skos==1.1.0,cubicweb-squareui==1.0.3,cwtags==1.1.0,decorator==3.4.0,GDAL==1.10.1,html2text==2016.9.19,html5lib==0.999,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,Pillow==2.6.1,pluggy==0.4.0,psycopg2==2.5.4,py==1.4.32,pykerberos==1.1.5,pyparsing==2.1.10,pytest==3.0.6,python-dateutil==2.2,pytz==2012rc0,pyxst==0.1.1,rdflib==4.1.2,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,unittest2==1.1.0,urllib3==1.9.1,virtualenv==15.1.0,yams==0.44.1,Yapps2==2.2.0
py27 runtests: PYTHONHASHSEED='3726792161'
py27 runtests: commands[0] | <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>
============================= 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-seda/TOXENV=py27,distributions=debian_jessie/ws/,> inifile: tox.ini
collected 105 items

test/test_dataimport.py .
test/test_diag.py ....
test/test_entities.py ...........
test/test_hooks.py ........
test/test_html_generation.py .
test/test_profile_generation.py ......................FF.....
test/test_schema.py ...............
test/test_views.py .........................
test/test_xsd2yams.py ...........

=================================== FAILURES ===================================
______________________ SEDAXSDExportFuncTC.test_profile1 _______________________

self = <test_profile_generation.SEDAXSDExportFuncTC testMethod=test_profile1>

    def test_profile1(self):
        """Check a minimal SEDA profile validating BV2.0_min.xml."""
        with self.admin_access.client_cnx() as cnx:
            mda_scheme = cnx.execute('ConceptScheme X').one()
            transfer = cnx.entity_from_eid(self.transfer_eid)
            root = self.profile_etree(transfer)
        self.check_xsd_profile(root, self.datapath('BV2.0_min.xml'),
>                              mda_scheme_url=mda_scheme.absolute_url())

test/test_profile_generation.py:649: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/test_profile_generation.py:113: in check_xsd_profile
    profile.assert_(etree.fromstring(sample_xml_string))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   AssertionError: Element '{fr:gouv:culture:archivesdefrance:seda:v2.0}FileFormatCodeListVersion': This element is not expected. Expected is ( {fr:gouv:culture:archivesdefrance:seda:v2.0}MimeTypeCodeListVersion )., line 13

lxml.etree.pyx:3373: AssertionError
______________________ SEDARNGExportFuncTC.test_profile1 _______________________

self = <test_profile_generation.SEDARNGExportFuncTC testMethod=test_profile1>

    def test_profile1(self):
        """Check a minimal SEDA profile validating BV2.0_min.xml."""
        with self.admin_access.client_cnx() as cnx:
            mda_scheme = cnx.execute('ConceptScheme X').one()
            transfer = cnx.entity_from_eid(self.transfer_eid)
            root = self.profile_etree(transfer)
        self.check_xsd_profile(root, self.datapath('BV2.0_min.xml'),
>                              mda_scheme_url=mda_scheme.absolute_url())

test/test_profile_generation.py:649: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/test_profile_generation.py:113: in check_xsd_profile
    profile.assert_(etree.fromstring(sample_xml_string))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   AssertionError: Did not expect element FileFormatCodeListVersion there, line 13

lxml.etree.pyx:3373: AssertionError
==================== 2 failed, 103 passed in 955.01 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