consoleText

download

20 Started by upstream project "cubicweb-3.23" build number 144
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks
[py27-hooks] $ hg showconfig paths.default
[py27-hooks] $ hg pull
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 5 changesets with 4 changes to 6 files (+1 heads)
17 new obsolescence markers
(run 'hg heads .' to see heads, 'hg merge' to merge)
working directory parent is obsolete!
(use "hg evolve" to update to its successor)
[py27-hooks] $ hg update --clean --rev 4041b4a11c0fd957a24f78b05fb184f69b469e00
4 files updated, 0 files merged, 1 files removed, 0 files unresolved
[py27-hooks] $ hg --config extensions.purge= clean --all
[py27-hooks] $ hg log --rev . --template {node}
[py27-hooks] $ hg log --rev . --template {rev}
[py27-hooks] $ hg id --branch
[py27-hooks] $ /bin/bash -xe /tmp/hudson7890995995320087505.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py27-hooks] $ /bin/bash -xe /tmp/hudson6196876550197569421.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ tox --recreate -- --junit-xml=test-results.xml
py27-hooks create: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/.tox/py27-hooks
py27-hooks installdeps: hg+https://hg.logilab.org/master/yams@20b43fb67201#egg=yams, hg+https://hg.logilab.org/master/logilab/common@7ebacaa38380#egg=logilab-common, -r/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/cubicweb/hooks/test/requirements.txt, pytest
py27-hooks develop-inst: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks
py27-hooks installed: You are using pip version 7.1.2, however version 8.1.2 is available.,You should consider upgrading via the 'pip install --upgrade pip' command.,beautifulsoup4==4.3.2,boto==2.34.0,bzr-etckeeper==0.0.0,cffi==0.8.6,characteristic==0.1.0,chardet==2.3.0,Cheetah==2.4.4,cloud-init==0.7.6,colorama==0.3.2,configobj==5.0.6,coverage==3.7.1,croniter==0.3.4,cryptography==0.6.1,-e hg+http://hg.logilab.org/review/cubicweb@4041b4a11c0fd957a24f78b05fb184f69b469e00#egg=cubicweb-dev,cwclientlib==0.4.1,Cython==0.21.1,decorator==3.4.0,docutils==0.12,ecdsa==0.11,euca2ools==3.1.0,GDAL==1.10.1,hg-evolve==5.2.1,html2text==2016.5.29,html5lib==0.999,isodate==0.5.0,Jinja2==2.7.3,joblib==0.8.3,jsonpatch==1.3,jsonpointer==1.0,linecache2==1.0.0,logilab-common==1.2.0,logilab-constraint==0.6.0,logilab-database==1.15.0,logilab-mtconverter==0.9.0,lxml==3.4.0,M2Crypto==0.21.1,Mako==1.0.0,Markdown==2.5.1,MarkupSafe==0.23,matplotlib==1.4.2,mccabe==0.2.1,mercurial==3.7.3,mock==1.0.1,msgpack-python==0.4.2,nose==1.3.4,numexpr==2.4,numpy==1.8.2,oauth==1.0.1,openpyxl==1.7.0,pandas==0.14.1,paramiko==1.15.1,passlib==1.6.5,pep8==1.5.7,Pillow==2.6.1,pluggy==0.3.1,ply==3.4,prettytable==0.7.2,psycopg2==2.5.4,py==1.4.31,pyasn1==0.1.7,pyasn1-modules==0.0.5,pycparser==2.10,pycrypto==2.6.1,pyflakes==0.8.1,Pygments==2.0.1,pyinotify==0.9.4,pyOpenSSL==0.14,pyparsing==2.0.3,pyserial==2.6,pysqlite==2.6.3,pytest==2.9.2,python-apt==0.9.3.12,python-augeas==0.4.1,python-dateutil==2.2,python-jenkins==0.2.1,python-ldap==2.4.10,python-yapps==2.1.1,python3-ldap==0.9.4.2,pytz==2012rc0,PyYAML==3.11,pyzmq==14.4.0,rdflib==4.1.2,requestbuilder==0.2.3,requests==2.4.3,roman==2.0.0,rql==0.34.0,rubber==1.1,salt==2015.5.3,scikit-learn==0.14.1,scipy==0.14.0,service-identity==1.0.0,Shapely==1.4.3,simplejson==3.6.5,SimpleTAL==4.1,six==1.8.0,SPARQLWrapper==1.6.0,statsmodels==0.4.2,tables==3.1.1,tox==2.3.1,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.9.1,virtualenv==13.1.2,wheel==0.24.0,xlrd==0.9.2,xlwt==0.7.5,yams==0.43.0,Yapps==2.2.0,Yapps2==2.2.0
py27-hooks runtests: PYTHONHASHSEED='2915530401'
py27-hooks runtests: commands[0] | /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/.tox/py27-hooks/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/cubicweb/hooks/test --junit-xml=test-results.xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks, inifile: tox.ini
collected 58 items

cubicweb/hooks/test/unittest_bookmarks.py .
cubicweb/hooks/test/unittest_hooks.py ...............
cubicweb/hooks/test/unittest_integrity.py ...........
cubicweb/hooks/test/unittest_notification.py .
cubicweb/hooks/test/unittest_security.py .
cubicweb/hooks/test/unittest_synccomputed.py .......
cubicweb/hooks/test/unittest_syncschema.py .F...............
cubicweb/hooks/test/unittest_syncsession.py .....

generated xml file: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/test-results.xml
=================================== FAILURES ===================================
________________ SchemaModificationHooksTC.test_add_constraint _________________

self = <unittest_syncschema.SchemaModificationHooksTC testMethod=test_add_constraint>

def test_add_constraint(self):
with self.admin_access.repo_cnx() as cnx:
rdef = self.schema['EmailPart'].rdef('ordernum')
cstr = BoundaryConstraint('>=', 0)
cnx.execute('INSERT CWConstraint X: X value %(v)s, X cstrtype CT, '
'EDEF constrained_by X WHERE CT name %(ct)s, EDEF eid %(x)s',
{'ct': cstr.__class__.__name__, 'v': cstr.serialize(), 'x': rdef.eid})
cnx.commit()
cstr2 = rdef.constraint_by_type('BoundaryConstraint')
self.assertEqual(cstr, cstr2)
cstr3 = BoundaryConstraint('<=', 1000)
cnx.execute('INSERT CWConstraint X: X value %(v)s, X cstrtype CT, '
'EDEF constrained_by X WHERE CT name %(ct)s, EDEF eid %(x)s',
{'ct': cstr3.__class__.__name__, 'v': cstr3.serialize(), 'x': rdef.eid})
cnx.commit()
> self.assertCountEqual(rdef.constraints, [cstr, cstr3])
E AssertionError: Sequences differ: [<yam[46 chars]f9c05c59ed0>, <yams.constraints.BoundaryConstr[26 chars]a10>] != [<yam[46 chars]f9c0599e110>, <yams.constraints.BoundaryConstr[26 chars]150>]
E
E First differing element 0:
E value {"boundary": 0, "operator": ">="}
E value {"boundary": 1000, "operator": "<="}
E
E - [<yams.constraints.BoundaryConstraint object at 0x7f9c05c59ed0>,
E ? ^^ ^
E
E + [<yams.constraints.BoundaryConstraint object at 0x7f9c0599e110>,
E ? ^ ^^
E
E - <yams.constraints.BoundaryConstraint object at 0x7f9c0611fa10>]
E ? ^ ^^^^
E
E + <yams.constraints.BoundaryConstraint object at 0x7f9c05a0c150>]
E ? ^^^^ ^

cubicweb/hooks/test/unittest_syncschema.py:401: AssertionError
===================== 1 failed, 57 passed in 96.74 seconds =====================
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/.tox/py27-hooks/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-hooks/cubicweb/hooks/test --junit-xml=test-results.xml'
___________________________________ summary ____________________________________
ERROR: py27-hooks: commands failed
Build step 'Execute shell' marked build as failure
Recording test results
Sending e-mails to: dlaxalde@logilab.fr fcayre@logilab.fr syt@logilab.fr david@logilab.fr
[PostBuildScript] - Execution post build scripts.
[py27-hooks] $ /bin/bash -xe /tmp/hudson3290111310787882465.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb 4041b4a11c0f http://jenkins.logilab.fr/job/cubicweb-3.23/TOXENV=py27-hooks/144/ --status failure
<br/>

log from execution
download