consoleText

download

20 Started by upstream project "cubicweb-3.22" build number 12
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web
[web] $ hg showconfig paths.default
[web] $ hg pull
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 2 changes to 2 files
5 new obsolescence markers
(run 'hg update' to get a working copy)
[web] $ hg update --clean --rev 50046c73cead8d535814ea6818be1849b029fba1
796 files updated, 0 files merged, 788 files removed, 0 files unresolved
[web] $ hg --config extensions.purge= clean --all
[web] $ hg log --rev . --template {node}
[web] $ hg log --rev . --template {rev}
[web] $ hg id --branch
[web] $ /bin/bash -xe /tmp/hudson8864621702345743993.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[web] $ /bin/bash -xe /tmp/hudson8080696538114556068.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ tox --recreate
web create: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web
web installdeps: -r/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/test/requirements.txt
web develop-inst: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web
web installed: You are using pip version 7.1.2, however version 8.0.3 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@50046c73cead8d535814ea6818be1849b029fba1#egg=cubicweb-dev,cubicweb-blog==1.11.1,cubicweb-file==1.17.0,cubicweb-tag==1.8.2,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.1.8,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.1.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,mercurial==3.5.2,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,Pygments==2.0.1,pyinotify==0.9.4,pyOpenSSL==0.14,pyparsing==2.0.3,pyserial==2.6,pysqlite==2.6.3,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,Twisted==15.5.0,unittest2==1.1.0,urllib3==1.9.1,virtualenv==13.1.2,waitress==0.8.10,WebOb==1.5.1,WebTest==2.0.20,wheel==0.24.0,xlrd==0.9.2,xlwt==0.7.5,yams==0.42.0,Yapps==2.2.0,Yapps2==2.2.0,zope.interface==4.1.3
web runtests: PYTHONHASHSEED='1285923595'
web runtests: commands[0] | /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/bin/python -c from logilab.common import pytest; pytest.run() -t /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/test
====================== unittest_formfields.py ======================
2016-03-03 10:10:00 - (cubicweb.appobject) WARNING: can't find any workflow for CWUser
2016-03-03 10:10:13 - (cubicweb.web) WARNING: [3.17] massmailing extracted to cube massmailing that was not found. try installing it.
2016-03-03 10:10:13 - (cubicweb.web) WARNING: [3.17] igeocoding extracted to cube geocoding that was not found. try installing it.
2016-03-03 10:10:13 - (cubicweb.web) WARNING: [3.17] embedding extracted to cube embed that was not found. try installing it.
2016-03-03 10:10:13 - (cubicweb.web) WARNING: [3.17] isioc extracted to cube sioc that was not found. try installing it.
....2016-03-03 10:10:15 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/formfields.py:1201: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype owned_by: ['CWSource', 'CWUser', 'BlogEntry', 'Folder', 'CWDataImport', 'CWComputedRType', 'CWProperty', 'Salesterm', 'CWRelation', 'CWConstraintType', 'Ticket', 'MicroBlog', 'Blog', 'CWUniqueTogetherConstraint', 'Tag', 'TrInfo', 'CWEType', 'CWAttribute', 'Personne', 'Filesystem', 'CWSourceSchemaConfig', 'Bookmark', 'EmailAddress', 'Project', 'TreeNode', 'CWCache', 'State', 'ExternalUri', 'File', 'Transition', 'Directory', 'SubWorkflowExitPoint', 'Societe', 'RQLExpression', 'CWSourceHostConfig', 'DirectoryPermission', 'Version', 'UserAccount', 'CWGroup', 'CWRType', 'BaseTransition', 'CWConstraint', 'WorkflowTransition', 'Workflow', 'MicroBlogEntry']. Yet you get the first rdef.
rdef = eschema.rdef(rschema, role)

......
==================== unittest_views_treeview.py ====================
.
======================= unittest_request.py ========================
....
==================== unittest_idownloadable.py =====================
2016-03-03 10:10:17 - (cubicweb.web) ERROR: IOError()
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/application.py", line 368, in core_handle
result = controller.publish(rset=rset)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/views/basecontrollers.py", line 134, in publish
rset=rset, view=view)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/cwvreg.py", line 225, in main_template
res = obj.render(**kwargs)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/view.py", line 138, in render
view_func(**context)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/views/basetemplates.py", line 120, in call
view.render()
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/view.py", line 138, in render
view_func(**context)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/views/idownloadable.py", line 94, in call
self.w(adapter.download_data())
File "unittest_idownloadable.py", line 56, in download_data
raise IOError()
IOError
......
===================== unittest_views_xmlrss.py =====================
.
====================== unittest_urlrewrite.py ======================
........
=================== unittest_views_editforms.py ====================
..................
========================= unittest_http.py =========================
...........................
===================== unittest_views_forms.py ======================
...
========================= test_jscript.py ==========================
2016-03-03 10:10:43 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon37bae9e288594839aabac6e3f08b800e Open session found while turning repository off
%sessionid, RuntimeWarning)

2016-03-03 10:10:43 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon7a2cbcaefa834b8baa3c8654c30a7155 Open session found while turning repository off
%sessionid, RuntimeWarning)

2016-03-03 10:10:43 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anonc632e3e961844b5f9c656514c4eebf47 Open session found while turning repository off
%sessionid, RuntimeWarning)

.
===================== unittest_viewselector.py =====================
.......................
==================== unittest_views_actions.py =====================
..
===================== unittest_magicsearch.py ======================
..................
=============== unittest_views_searchrestriction.py ================
........
================= unittest_views_apacherewrite.py ==================
.
========================= unittest_web.py ==========================
..127.0.0.1 - - [03/Mar/2016 10:10:55] "POST /ajax?fname=fileupload HTTP/1.1" 200 135
2016-03-03 10:10:55 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon6181ae4510704d4cbfebf62ab2441523 Open session found while turning repository off
%sessionid, RuntimeWarning)

.127.0.0.1 - - [03/Mar/2016 10:10:56] "POST /ajax?fname=fileupload HTTP/1.1" 200 82
2016-03-03 10:10:56 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anonc55e5701b8f44d7b8051d29a07f79487 Open session found while turning repository off
%sessionid, RuntimeWarning)

.127.0.0.1 - - [03/Mar/2016 10:10:58] "GET / HTTP/1.1" 200 7786
127.0.0.1 - - [03/Mar/2016 10:10:59] "GET / HTTP/1.1" 200 7786
2016-03-03 10:10:59 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anone76a30597fbe403d8a80f71b3263ece8 Open session found while turning repository off
%sessionid, RuntimeWarning)

2016-03-03 10:10:59 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon78ef59a5a15943b6b4f36bf001b086a1 Open session found while turning repository off
%sessionid, RuntimeWarning)

.127.0.0.1 - - [03/Mar/2016 10:11:00] "GET //6 HTTP/1.1" 403 5581
127.0.0.1 - - [03/Mar/2016 10:11:01] "GET /login?__login=admin&__password=gingkow HTTP/1.1" 303 0
127.0.0.1 - - [03/Mar/2016 10:11:01] "GET //6 HTTP/1.1" 200 11845
2016-03-03 10:11:01 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon566257f76121425a95436a6eebd4225c Open session found while turning repository off
%sessionid, RuntimeWarning)

2016-03-03 10:11:01 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: admin5375859b3fee4007b68ef314eb51a583 Open session found while turning repository off
%sessionid, RuntimeWarning)

.127.0.0.1 - - [03/Mar/2016 10:11:02] "GET / HTTP/1.1" 200 7786
2016-03-03 10:11:02 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anondb5d1e95a6894a8a8cd9343d59844e5f Open session found while turning repository off
%sessionid, RuntimeWarning)

.127.0.0.1 - - [03/Mar/2016 10:11:04] "GET / HTTP/1.1" 200 7667
2016-03-03 10:11:04 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anonfcfdbd0061424ac198e96151a7b53143 Open session found while turning repository off
%sessionid, RuntimeWarning)

.127.0.0.1 - - [03/Mar/2016 10:11:05] "GET / HTTP/1.1" 200 7667
2016-03-03 10:11:05 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anond466ac01ce5b48f182af8c8116dc7c0a Open session found while turning repository off
%sessionid, RuntimeWarning)

.
=================== unittest_views_baseviews.py ====================
.............
======================== unittest_uicfg.py =========================
.........
===================== unittest_formwidgets.py ======================
...
====================== unittest_views_csv.py =======================
..
================= unittest_views_basetemplates.py ==================
..
=============== unittest_views_staticcontrollers.py ================
.2016-03-03 10:11:12 - (cubicweb.web) ERROR: concatenated data url error: u'dummy.js' file does not exist
.2016-03-03 10:11:12 - (cubicweb.web) ERROR: concatenated data url error: u'dummy.js' file does not exist
....
===================== unittest_breadcrumbs.py ======================
.
===================== unittest_application.py ======================
2016-03-03 10:11:16 - (cubicweb.web) ERROR: Exception('whatever',)
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/application.py", line 368, in core_handle
result = controller.publish(rset=rset)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/views/basecontrollers.py", line 134, in publish
rset=rset, view=view)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/cwvreg.py", line 225, in main_template
res = obj.render(**kwargs)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/view.py", line 138, in render
view_func(**context)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/views/basetemplates.py", line 163, in call
view.render(w=w)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/view.py", line 138, in render
view_func(**context)
File "unittest_application.py", line 519, in call
raise Exception('whatever')
Exception: whatever
2016-03-03 10:11:16 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon1a5a61fa606a40699d02c863f75fd72c Open session found while turning repository off
%sessionid, RuntimeWarning)

.2016-03-03 10:11:18 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon9d8f850b0a9f4e469248b0ab37082f46 Open session found while turning repository off
%sessionid, RuntimeWarning)

....2016-03-03 10:11:25 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/formfields.py:1201: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype parent: ['Filesystem', 'Directory']. Yet you get the first rdef.
rdef = eschema.rdef(rschema, role)

.......unhandled exception occurred while testing unittest_application
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 447, in testfile
options=self.options, outstream=sys.stderr)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 763, in __init__
testLoader=NonStrictTestLoader())
File "/usr/lib/python2.7/unittest/main.py", line 95, in __init__
self.runTests()
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 826, in runTests
return self._runTests()
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 871, in _runTests
result = self.testRunner.run(self.test)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 953, in run
test(result, runcondition=self._runcondition, options=self.options)
File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 1310, in _ts_run
self._wrapped_run(result, debug, runcondition, options)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 1288, in _ts_wrapped_run
test._wrapped_run(result, debug, runcondition=runcondition, options=options)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/logilab/common/pytest.py", line 1293, in _ts_wrapped_run
test(result, runcondition, options)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/.tox/web/local/lib/python2.7/site-packages/unittest2/case.py", line 673, in __call__
return self.run(*args, **kwds)
File "/var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/testlib.py", line 326, in run
'anymore, use subTest API instead.' % self)
RuntimeError: test_nonregr_script_kiddies (unittest_application.ApplicationTC) appears to be a generative test. This is not handled anymore, use subTest API instead.
======================= unittest_reledit.py ========================
.S2016-03-03 10:11:33 - (cubicweb.rtags) WARNING: using explict subject type in <property object at 0x7fbebda9c310>.tag_object_of() has no effect, use ("*", concerns, Project) instead of (Ticket, concerns, Project)
.
======================================================================
SKIPPED: test_default_forms (unittest_reledit.ClickAndEditFormTC)
Need to check if this test should still run post reledit/doreledit merge
======================== unittest_facet.py =========================
....................
====================== unittest_webconfig.py =======================
...
===================== unittest_urlpublisher.py =====================
.............
====================== unittest_views_json.py ======================
...2016-03-03 10:11:46 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anonad134822ca284b61970b28c970d15ac9 Open session found while turning repository off
%sessionid, RuntimeWarning)

.2016-03-03 10:11:47 - (cubicweb.web) WARNING: vid table can't be used with jsonp controller, falling back to jsonexport
2016-03-03 10:11:48 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon8d79f4a94bb947f69677716d2819745b Open session found while turning repository off
%sessionid, RuntimeWarning)

.....2016-03-03 10:11:48 - (cubicweb.web) WARNING: vid table can't be used with jsonp controller, falling back to jsonexport
.
==================== unittest_propertysheet.py =====================
.
================ unittest_views_basecontrollers.py =================
.................2016-03-03 10:12:00 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/formfields.py:1201: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype to_entity: ['CWAttribute', 'CWRelation']. Yet you get the first rdef.
rdef = eschema.rdef(rschema, role)

.....2016-03-03 10:12:04 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/formfields.py:1201: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype read_permission: ['RQLExpression', 'CWGroup']. Yet you get the first rdef.
rdef = eschema.rdef(rschema, role)

2016-03-03 10:12:04 - (cubicweb.session) WARNING: no schema for 7
2016-03-03 10:12:04 - (cubicweb.session) WARNING: no schema for 7
..2016-03-03 10:12:05 - (cubicweb.web) WARNING: param login-subject mis-formatted
.........................................2016-03-03 10:12:24 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: anon0c2b18f3537748e790964bcedfa9fcf4 Open session found while turning repository off
%sessionid, RuntimeWarning)

.
==================== unittest_views_pyviews.py =====================
..
====================== unittest_controller.py ======================
..
=================== unittest_views_cwsources.py ====================
.
========================== test_views.py ===========================
2016-03-03 10:12:27 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/devtools/__init__.py:111: RuntimeWarning: adminb6f35c6123694580b59a48bbcec57e65 Open session found while turning repository off
%sessionid, RuntimeWarning)

2016-03-03 10:12:44 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/formfields.py:1201: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype allowed_transition: ['BaseTransition', 'Transition', 'WorkflowTransition']. Yet you get the first rdef.
rdef = eschema.rdef(rschema, role)

2016-03-03 10:12:55 - (py.warnings) WARNING: /var/lib/jenkins/jobs/cubicweb-3.22/workspace/TOXENV/web/cubicweb/web/formfields.py:1201: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype constrained_by: ['CWAttribute', 'CWRelation']. Yet you get the first rdef.
rdef = eschema.rdef(rschema, role)

..Build was aborted
[PostBuildScript] - Execution post build scripts.
[web] $ /bin/bash -xe /tmp/hudson7460798996358155132.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb 50046c73cead http://jenkins.logilab.fr/job/cubicweb-3.22/TOXENV=web/12/ --status failure
<br/>

log from execution
download