Build failed in Jenkins: cubicweb-compound » py27,debian_jessie #20

jenkins.logilab.org noreply at logilab.org
Wed Mar 8 10:10:45 CET 2017


https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/20/------------------------------------------
Started by upstream project "cubicweb-compound" build number 20
originally caused by:
 Started by an SCM change
Building remotely on docker-slave-51fe092e4883 (debian_jessie) in workspace <https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/ws/>
$ hg clone --rev 8f10df9fd179c2c0d7e2552635a9f202c6448d21 --noupdate http://hg.logilab.org/review/cubes/compound <https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/ws/>
adding changesets
adding manifests
adding file changes
added 89 changesets with 191 changes to 36 files
[debian_jessie] $ hg update --rev 8f10df9fd179c2c0d7e2552635a9f202c6448d21
28 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 8ddf639090723e6e5226a286ca15c3966a47136d --template exists\n
abort: unknown revision '8ddf639090723e6e5226a286ca15c3966a47136d'!
ERROR: Previously built revision 8ddf639090723e6e5226a286ca15c3966a47136d is not known in this clone; unable to determine change log
[debian_jessie] $ /bin/sh -xe /tmp/hudson2325589030875952126.sh
+ find . ( -name pgdb* -o -name tmpdb* ) -print0
+ xargs -0 rm -rf
[debian_jessie] $ /bin/sh -xe /tmp/hudson3312750430811662820.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-compound/TOXENV=py27,distributions=debian_jessie/ws/setup.py>
py27 create: <https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27>
py27 installdeps: pytest
py27 inst: <https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/ws/.tox/dist/cubicweb-compound-0.5.0.zip>
py27 installed: appdirs==1.4.3,chardet==2.3.0,colorama==0.3.2,cubicweb==3.24.5,cubicweb-compound==0.5.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.2.0,pytest==3.0.6,python-dateutil==2.2,pytz==2012rc0,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,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='3607652468'
py27 runtests: commands[0] | <https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-compound/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-compound/TOXENV=py27,distributions=debian_jessie/ws/,> inifile: 
collected 30 items

test/test_compound.py ...........................
test/test_lib.py FF.

=================================== FAILURES ===================================
______________________ LibFunctionTC.test_graph_relations ______________________

self = <test_lib.LibFunctionTC testMethod=test_graph_relations>

    def test_graph_relations(self):
        graph = CompositeGraph(self.schema)
        structure = graph.parent_structure('Agent')
        structurals, optionals, mandatories = lib.graph_relations(self.schema, structure)
        self.assertEqual(structurals,
                         set([
                             ('event', 'object'),
                             ('biography', 'object'),
                             ('relates', 'object'),
                             ('account', 'object'),
                             ('narrated_by', 'subject'),
                             ('comments', 'subject'),
                         ]))
        self.assertEqual(optionals,
                         set([
                             ('narrated_by', 'subject'),
                             ('relates', 'object'),
                         ]))
>       self.assertEqual(mandatories, set())
E       AssertionError: Items in the first set but not the second:
E       (<comments [Comment,Anecdote; Comment,Comment]>, 'subject')
E       (<account [Agent,OnlineAccount]>, 'object')
E       (<biography [Agent,Biography]>, 'object')
E       (<event [Biography,Anecdote; Biography,Event]>, 'object')

test/test_lib.py:44: AssertionError
______________________ LibFunctionTC.test_mandatory_rdefs ______________________

self = <test_lib.LibFunctionTC testMethod=test_mandatory_rdefs>

    def test_mandatory_rdefs(self):
        graph = CompositeGraph(self.schema)
        structure = graph.parent_structure('Agent')
        mandatory = [(str(rdef), role) for rdef, role in lib.mandatory_rdefs(self.schema,
                                                                             structure)]
        self.assertEqual(mandatory,
                         [
                             ('relation Comment comments Anecdote', 'object'),
                             ('relation Comment comments Comment', 'object'),
                             ('relation Agent account OnlineAccount', 'subject'),
                             ('relation Biography event Anecdote', 'subject'),
                             ('relation Agent biography Biography', 'subject'),
>                            ('relation Biography event Event', 'subject'),
                         ])
E       AssertionError: Lists differ: [('relation Agent biography Biography', 'subject'), ([242 chars]ct')] != [('relation Comment comments Anecdote', 'object'), ('[242 chars]ct')]
E       
E       First differing element 0:
E       ('relation Agent biography Biography', 'subject')
E       ('relation Comment comments Anecdote', 'object')
E       
E       Diff is 685 characters long. Set self.maxDiff to None to see it.

test/test_lib.py:68: AssertionError
===================== 2 failed, 28 passed in 27.60 seconds =====================
ERROR: InvocationError: '<https://jenkins.logilab.org/job/cubicweb-compound/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-compound/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