consoleText

download

20 Started by upstream project "cubicweb-3.23" build number 42
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools
[py27-devtools] $ hg showconfig paths.default
[py27-devtools] $ hg pull
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 4 changesets with 4 changes to 4 files (+1 heads)
(run 'hg heads .' to see heads, 'hg merge' to merge)
[py27-devtools] $ hg update --clean --rev 3b1bff31f3c5903fd87b4fdbffdd250b3b0404ce
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
[py27-devtools] $ hg --config extensions.purge= clean --all
[py27-devtools] $ hg log --rev . --template {node}
[py27-devtools] $ hg log --rev . --template {rev}
[py27-devtools] $ hg id --branch
[py27-devtools] $ /bin/bash -xe /tmp/hudson1596979989229447760.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py27-devtools] $ /bin/bash -xe /tmp/hudson7243188300462527774.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ tox --recreate
py27-devtools create: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools
py27-devtools installdeps: -r/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/cubicweb/devtools/test/requirements.txt, pytest
py27-devtools develop-inst: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools
py27-devtools installed: You are using pip version 7.1.2, however version 8.1.0 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@3b1bff31f3c5903fd87b4fdbffdd250b3b0404ce#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.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,pytest==2.9.0,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
py27-devtools runtests: PYTHONHASHSEED='2586505577'
py27-devtools runtests: commands[0] | /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/cubicweb/devtools/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.0, py-1.4.31, pluggy-0.3.1
rootdir: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools, inifile: tox.ini
collected 51 items

cubicweb/devtools/test/unittest_dbfill.py .......s
cubicweb/devtools/test/unittest_devctl.py .
cubicweb/devtools/test/unittest_fill.py ...
cubicweb/devtools/test/unittest_httptest.py ..........
cubicweb/devtools/test/unittest_i18n.py F
cubicweb/devtools/test/unittest_qunit.py ..
cubicweb/devtools/test/unittest_testlib.py ......................
cubicweb/devtools/test/unittest_webtest.py ....

=================================== FAILURES ===================================
_______________________ cubePotGeneratorTC.test_i18ncube _______________________

self = <unittest_i18n.cubePotGeneratorTC testMethod=test_i18ncube>

def test_i18ncube(self):
env = os.environ.copy()
env['CW_CUBES_PATH'] = osp.join(DATADIR, 'cubes')
if 'PYTHONPATH' in env:
env['PYTHONPATH'] += os.pathsep
else:
env['PYTHONPATH'] = ''
env['PYTHONPATH'] += DATADIR
with open(os.devnull, 'w') as devnull:
subprocess.check_call(
[sys.executable, '-m', 'cubicweb', 'i18ncube', 'i18ntestcube'],
> env=env, stdout=devnull)

cubicweb/devtools/test/unittest_i18n.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

popenargs = (['/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/bin/python', '-m', 'cubicweb', 'i18ncube', 'i18ntestcube'],)
kwargs = {'env': {'CW_CUBES_PATH': '/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/cubicweb/devtools/test/d...mes:/usr/games', 'PYTHONHASHSEED': '2586505577', ...}, 'stdout': <closed file '/dev/null', mode 'w' at 0x7f215c4d8030>}
retcode = 2
cmd = ['/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/bin/python', '-m', 'cubicweb', 'i18ncube', 'i18ntestcube']

def check_call(*popenargs, **kwargs):
"""Run command with arguments. Wait for command to complete. If
the exit code was zero then return, otherwise raise
CalledProcessError. The CalledProcessError object will have the
return code in the returncode attribute.

The arguments are the same as for the Popen constructor. Example:

check_call(["ls", "-l"])
"""
retcode = call(*popenargs, **kwargs)
if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
> raise CalledProcessError(retcode, cmd)
E CalledProcessError: Command '['/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/bin/python', '-m', 'cubicweb', 'i18ncube', 'i18ntestcube']' returned non-zero exit status 2

/usr/lib/python2.7/subprocess.py:540: CalledProcessError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
File "cubicweb/devtools/devctl.py", line 412, in update_cubes_catalogs
toedit = update_cube_catalogs(cubedir)
File "cubicweb/devtools/devctl.py", line 457, in update_cube_catalogs
generate_schema_pot(schemapotstream.write, cubedir)
File "cubicweb/devtools/devctl.py", line 126, in generate_schema_pot
schema = config.load_schema(remove_unused_rtypes=False)
File "cubicweb/server/serverconfig.py", line 326, in load_schema
schema = CubicWebSchemaLoader().load(self, **kwargs)
File "cubicweb/schema.py", line 1381, in load
return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs)
File "cubicweb/schema.py", line 1345, in load
path, config.appid, register_base_types=False, **kwargs)
File "/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/local/lib/python2.7/site-packages/yams/reader.py", line 115, in load
self._load_definition_files(directories)
File "cubicweb/schema.py", line 1393, in _load_definition_files
self.handle_file(filepath)
File "/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/local/lib/python2.7/site-packages/yams/reader.py", line 173, in handle_file
modname, module = self.exec_file(filepath)
File "/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/local/lib/python2.7/site-packages/yams/reader.py", line 228, in exec_file
__import__(package)
ImportError: No module named schemas
====== 1 failed, 49 passed, 1 skipped, 1 pytest-warnings in 51.41 seconds ======
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/.tox/py27-devtools/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-devtools/cubicweb/devtools/test'
___________________________________ summary ____________________________________
ERROR: py27-devtools: commands failed
Build step 'Execute shell' marked build as failure
Sending e-mails to: dlaxalde@logilab.fr jcr@logilab.fr syt@logilab.fr david@logilab.fr
[PostBuildScript] - Execution post build scripts.
[py27-devtools] $ /bin/bash -xe /tmp/hudson8441530328107159449.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb 3b1bff31f3c5 http://jenkins.logilab.fr/job/cubicweb-3.23/TOXENV=py27-devtools/42/ --status failure
<br/>

log from execution
download