consoleText

download

20 Started by upstream project "cubicweb-3.23" build number 138
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web
[py34-web] $ hg showconfig paths.default
[py34-web] $ hg pull
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 11 changesets with 13 changes to 13 files (+3 heads)
19 new obsolescence markers
updating bookmark cubicweb-3.22
updating bookmark cubicweb-3.23
(run 'hg heads .' to see heads, 'hg merge' to merge)
[py34-web] $ hg update --clean --rev 1bffd14221b398c725056f8d3dbdd1a4848ea4d5
10 files updated, 0 files merged, 0 files removed, 0 files unresolved
[py34-web] $ hg --config extensions.purge= clean --all
[py34-web] $ hg log --rev . --template {node}
[py34-web] $ hg log --rev . --template {rev}
[py34-web] $ hg id --branch
[py34-web] $ /bin/bash -xe /tmp/hudson9059527087048796459.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py34-web] $ /bin/bash -xe /tmp/hudson414925089877808539.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
py34-web create: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/.tox/py34-web
py34-web installdeps: hg+https://hg.logilab.org/master/yams@20b43fb67201#egg=yams, hg+https://hg.logilab.org/master/logilab/common@7ebacaa38380#egg=logilab-common, -e., -r/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/cubicweb/web/test/requirements.txt, pytest
py34-web develop-inst: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web
py34-web 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.4.1,chardet==2.3.0,colorama==0.3.2,-e hg+http://hg.logilab.org/review/cubicweb@1bffd14221b398c725056f8d3dbdd1a4848ea4d5#egg=cubicweb-dev,cubicweb-blog==1.12.0,cubicweb-file==1.18.0,cubicweb-tag==1.8.3,cwclientlib==0.4.1,html2text==2016.5.29,html5lib==0.999,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.6.0,Markdown==2.6.6,passlib==1.6.5,Pillow==3.2.0,psycopg2==2.5.4,py==1.4.31,pyasn1==0.1.7,pyflakes==0.8.1,pytest==2.9.2,python-apt==0.9.3.12,python-dateutil==2.5.3,python3-ldap==0.9.4.2,pytz==2016.4,requests==2.4.3,rql==0.34.0,six==1.8.0,tox==1.9.2,traceback2==1.4.0,Twisted==15.5.0,unattended-upgrades==0.1,unittest2==1.1.0,urllib3==1.9.1,virtualenv==1.11.6,waitress==0.9.0,WebOb==1.6.1,WebTest==2.0.21,wheel==0.24.0,yams==0.43.0,Yapps==2.2.0,Yapps2==2.2.0,zope.interface==4.1.3
py34-web runtests: PYTHONHASHSEED='1122914767'
py34-web runtests: commands[0] | touch /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/.tox/py34-web/share/cubicweb/cubes/__init__.py
py34-web runtests: commands[1] | /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/.tox/py34-web/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/cubicweb/web/test --junit-xml=test-results.xml
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web, inifile: tox.ini
collected 367 items

cubicweb/web/test/test_jscript.py .
cubicweb/web/test/test_views.py .......
cubicweb/web/test/unittest_application.py ............................
cubicweb/web/test/unittest_breadcrumbs.py .
cubicweb/web/test/unittest_controller.py ..
cubicweb/web/test/unittest_facet.py ....................
cubicweb/web/test/unittest_form.py ................
cubicweb/web/test/unittest_formfields.py ..........
cubicweb/web/test/unittest_formwidgets.py ...
cubicweb/web/test/unittest_http.py ...........................
cubicweb/web/test/unittest_http_headers.py .
cubicweb/web/test/unittest_idownloadable.py ......
cubicweb/web/test/unittest_magicsearch.py ..................
cubicweb/web/test/unittest_propertysheet.py .
cubicweb/web/test/unittest_reledit.py .s.
cubicweb/web/test/unittest_request.py ....
cubicweb/web/test/unittest_uicfg.py .........
cubicweb/web/test/unittest_urlpublisher.py .............
cubicweb/web/test/unittest_urlrewrite.py ........
cubicweb/web/test/unittest_views_actions.py ..
cubicweb/web/test/unittest_views_apacherewrite.py .
cubicweb/web/test/unittest_views_basecontrollers.py ..................................................................ss
cubicweb/web/test/unittest_views_basetemplates.py F..
cubicweb/web/test/unittest_views_baseviews.py .............
cubicweb/web/test/unittest_views_csv.py ..
cubicweb/web/test/unittest_views_cwsources.py .
cubicweb/web/test/unittest_views_editforms.py ..................
cubicweb/web/test/unittest_views_errorform.py ....
cubicweb/web/test/unittest_views_forms.py ...
cubicweb/web/test/unittest_views_json.py ..........
cubicweb/web/test/unittest_views_navigation.py ...........
cubicweb/web/test/unittest_views_pyviews.py ..
cubicweb/web/test/unittest_views_searchrestriction.py ........
cubicweb/web/test/unittest_views_staticcontrollers.py ......
cubicweb/web/test/unittest_views_treeview.py .
cubicweb/web/test/unittest_views_xmlrss.py .
cubicweb/web/test/unittest_viewselector.py .......................
cubicweb/web/test/unittest_web.py .........
cubicweb/web/test/unittest_webconfig.py ...

generated xml file: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/test-results.xml
=================================== FAILURES ===================================
____________________ LogFormTemplateTC.test_display_message ____________________

self = <unittest_views_basetemplates.LogFormTemplateTC testMethod=test_display_message>

def test_display_message(self):
with self.admin_access.web_request() as req:
req.set_message(u'houla hop')
html = self.view('logform', req=req, id='loginBox', klass='', template=None)
> self.assertIn('houla hop', html)

cubicweb/web/test/unittest_views_basetemplates.py:41:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <cubicweb.devtools.htmlparser.PageInfo object at 0x7f44d339d9b0>
text = 'houla hop'

def __contains__(self, text):
> return text in self.source
E TypeError: Type str doesn't support the buffer API

cubicweb/devtools/htmlparser.py:249: TypeError
===== 1 failed, 363 passed, 3 skipped, 1 pytest-warnings in 241.49 seconds =====
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/.tox/py34-web/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-web/cubicweb/web/test --junit-xml=test-results.xml'
___________________________________ summary ____________________________________
ERROR: py34-web: 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.
[py34-web] $ /bin/bash -xe /tmp/hudson3047999649734635099.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb 1bffd14221b3 http://jenkins.logilab.fr/job/cubicweb-3.23/TOXENV=py34-web/138/ --status failure
<br/>

log from execution
download