consoleText

download

20 Started by upstream project "cubicweb-3.23" build number 153
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server
[py34-server] $ hg showconfig paths.default
[py34-server] $ hg pull
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 4 files (+1 heads)
2 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)
[py34-server] $ hg update --clean --rev c655e19cbc35e057661c58db37180e88352e1af2
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
[py34-server] $ hg --config extensions.purge= clean --all
[py34-server] $ hg log --rev . --template {node}
[py34-server] $ hg log --rev . --template {rev}
[py34-server] $ hg id --branch
[py34-server] $ /bin/bash -xe /tmp/hudson4631979822518426268.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py34-server] $ /bin/bash -xe /tmp/hudson6378184216929354521.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-server create: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/.tox/py34-server
py34-server 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-server/cubicweb/server/test/requirements.txt, pytest
py34-server develop-inst: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server
py34-server 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.,chardet==2.3.0,colorama==0.3.2,-e hg+http://hg.logilab.org/review/cubicweb@c655e19cbc35e057661c58db37180e88352e1af2#egg=cubicweb-dev,cubicweb-basket==1.5.1,cubicweb-card==0.5.8,cubicweb-comment==1.12.1,cubicweb-file==1.18.0,cubicweb-localperms==0.3.2,cubicweb-tag==1.8.3,cwclientlib==0.4.1,docutils==0.12,html2text==2016.5.29,html5lib==0.999,ldap3==1.3.1,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.9,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,unattended-upgrades==0.1,unittest2==1.1.0,urllib3==1.9.1,virtualenv==1.11.6,wheel==0.24.0,yams==0.43.0,Yapps==2.2.0,Yapps2==2.2.0
py34-server runtests: PYTHONHASHSEED='316450445'
py34-server runtests: commands[0] | touch /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/.tox/py34-server/share/cubicweb/cubes/__init__.py
py34-server runtests: commands[1] | /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/.tox/py34-server/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/cubicweb/server/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-server, inifile: tox.ini
collected 588 items

cubicweb/server/test/unittest_checkintegrity.py ...
cubicweb/server/test/unittest_datafeed.py ....
cubicweb/server/test/unittest_hook.py .........
cubicweb/server/test/unittest_ldapsource.py ............
cubicweb/server/test/unittest_migractions.py .........................s.F..................
cubicweb/server/test/unittest_postgres.py ........
cubicweb/server/test/unittest_querier.py ................................s........................s...............................................................................................
cubicweb/server/test/unittest_repository.py ..........................................
cubicweb/server/test/unittest_rql2sql.py ....................................................................s....................................................................................
cubicweb/server/test/unittest_rqlannotation.py ..........................................................
cubicweb/server/test/unittest_schema2sql.py .
cubicweb/server/test/unittest_schemaserial.py .................
cubicweb/server/test/unittest_security.py .......................................
cubicweb/server/test/unittest_serverctl.py .
cubicweb/server/test/unittest_sources_native.py .
cubicweb/server/test/unittest_sqlutils.py ...
cubicweb/server/test/unittest_ssplanner.py ..
cubicweb/server/test/unittest_storage.py ................
cubicweb/server/test/unittest_tools.py .
cubicweb/server/test/unittest_undo.py ..................
cubicweb/server/test/unittest_utils.py .

generated xml file: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/test-results.xml
=================================== FAILURES ===================================
___________________ MigrationCommandsTC.test_storage_changed ___________________

self = <unittest_migractions.MigrationCommandsTC testMethod=test_storage_changed>

@with_tempdir
def test_storage_changed(self):
with self.mh() as (cnx, mh):
john = mh.cmd_create_entity('Personne', nom=u'john',
photo=Binary(b'something'))
bill = mh.cmd_create_entity('Personne', nom=u'bill')
mh.commit()
bfs_storage = storages.BytesFileSystemStorage(tempfile.tempdir)
storages.set_attribute_storage(self.repo, 'Personne', 'photo', bfs_storage)
mh.cmd_storage_changed('Personne', 'photo')
bob = mh.cmd_create_entity('Personne', nom=u'bob')
bffss_dir_content = os.listdir(tempfile.tempdir)
self.assertEqual(len(bffss_dir_content), 1)
john.cw_clear_all_caches()
self.assertEqual(john.photo.getvalue(),
> osp.join(tempfile.tempdir, bffss_dir_content[0]))
E AssertionError: b'/tmp/temp-lgc-ivg8z2gq/1613_photo8ubexcyo' != '/tmp/temp-lgc-ivg8z2gq/1613_photo8ubexcyo'

cubicweb/server/test/unittest_migractions.py:776: AssertionError
----------------------------- Captured stdout call -----------------------------

[========== ]
[====================]
==== 1 failed, 583 passed, 4 skipped, 7 pytest-warnings in 1023.94 seconds =====
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/.tox/py34-server/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/cubicweb/server/test --junit-xml=test-results.xml'
___________________________________ summary ____________________________________
ERROR: py34-server: 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-server] $ /bin/bash -xe /tmp/hudson8081057028626421805.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb c655e19cbc35 http://jenkins.logilab.fr/job/cubicweb-3.23/TOXENV=py34-server/153/ --status failure
<br/>

log from execution
download