consoleText

download

20 Started by upstream project "cubicweb-3.23" build number 132
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server
[py27-server] $ hg showconfig paths.default
[py27-server] $ hg pull
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 1 files
2 new obsolescence markers
(run 'hg update' to get a working copy)
[py27-server] $ hg update --clean --rev d9563030a5a187ad424f745d110f47b3750fe0b2
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
[py27-server] $ hg --config extensions.purge= clean --all
[py27-server] $ hg log --rev . --template {node}
[py27-server] $ hg log --rev . --template {rev}
[py27-server] $ hg id --branch
[py27-server] $ /bin/bash -xe /tmp/hudson7703414533132514682.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py27-server] $ /bin/bash -xe /tmp/hudson381716864035728754.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ tox --recreate
py27-server create: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server/.tox/py27-server
py27-server 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-server/cubicweb/server/test/requirements.txt, pytest
py27-server develop-inst: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server
py27-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.,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@d9563030a5a187ad424f745d110f47b3750fe0b2#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,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.4.2,html5lib==0.999,isodate==0.5.0,Jinja2==2.7.3,joblib==0.8.3,jsonpatch==1.3,jsonpointer==1.0,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.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.9,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.1,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-server runtests: PYTHONHASHSEED='875432952'
py27-server runtests: commands[0] | /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server/.tox/py27-server/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server/cubicweb/server/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server, inifile: tox.ini
collected 587 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...................
cubicweb/server/test/unittest_postgres.py ......F.
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 .

=================================== FAILURES ===================================
______________ PostgresStatementTimeoutTC.test_statement_timeout _______________
cubicweb/devtools/testlib.py:446: in setUp
self._init_repo()
cubicweb/devtools/testlib.py:354: in _init_repo
db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
cubicweb/devtools/__init__.py:489: in build_db_cache
if self.has_cache(test_db_id):
cubicweb/devtools/__init__.py:639: in has_cache
and backup_name in self.helper.list_databases(self.cursor))
.tox/py27-server/local/lib/python2.7/site-packages/logilab/common/decorators.py:67: in wrapped
return self.__call__(*args, **kwargs)
.tox/py27-server/local/lib/python2.7/site-packages/logilab/common/decorators.py:61: in __call__
value = __me.callable(self, *args)
cubicweb/devtools/__init__.py:628: in cursor
return self.dbcnx.cursor()
cubicweb/devtools/__init__.py:619: in dbcnx
interactive=False)
cubicweb/server/serverctl.py:127: in _db_sys_cnx
interactive=interactive)
cubicweb/server/serverctl.py:114: in system_source_cnx
interactive=interactive)
cubicweb/server/serverctl.py:93: in source_cnx
**extra)
.tox/py27-server/local/lib/python2.7/site-packages/logilab/database/__init__.py:113: in get_connection
extra_args=extra_args)
.tox/py27-server/local/lib/python2.7/site-packages/logilab/database/postgres.py:95: in connect
cnx = self._native_module.connect(cnx_string)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

dsn = 'dbname=template1 user=jenkins', database = None, user = None
password = None, host = None, port = None, connection_factory = None
cursor_factory = None, async = False, kwargs = {}, items = []

def connect(dsn=None,
database=None, user=None, password=None, host=None, port=None,
connection_factory=None, cursor_factory=None, async=False, **kwargs):
"""
Create a new database connection.

The connection parameters can be specified either as a string:

conn = psycopg2.connect("dbname=test user=postgres password=secret")

or using a set of keyword arguments:

conn = psycopg2.connect(database="test", user="postgres", password="secret")

The basic connection parameters are:

- *dbname*: the database name (only in dsn string)
- *database*: the database name (only as keyword argument)
- *user*: user name used to authenticate
- *password*: password used to authenticate
- *host*: database host address (defaults to UNIX socket if not provided)
- *port*: connection port number (defaults to 5432 if not provided)

Using the *connection_factory* parameter a different class or connections
factory can be specified. It should be a callable object taking a dsn
argument.

Using the *cursor_factory* parameter, a new default cursor factory will be
used by cursor().

Using *async*=True an asynchronous connection will be created.

Any other keyword parameter will be passed to the underlying client
library: the list of supported parameters depends on the library version.

"""
items = []
if database is not None:
items.append(('dbname', database))
if user is not None:
items.append(('user', user))
if password is not None:
items.append(('password', password))
if host is not None:
items.append(('host', host))
if port is not None:
items.append(('port', port))

items.extend([(k, v) for (k, v) in kwargs.iteritems() if v is not None])

if dsn is not None and items:
raise TypeError(
"'%s' is an invalid keyword argument when the dsn is specified"
% items[0][0])

if dsn is None:
if not items:
raise TypeError('missing dsn and no parameters')
else:
dsn = " ".join(["%s=%s" % (k, _param_escape(str(v)))
for (k, v) in items])

> conn = _connect(dsn, connection_factory=connection_factory, async=async)
E OperationalError: could not connect to server: No such file or directory
E Is the server running locally and accepting
E connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

/usr/lib/python2.7/dist-packages/psycopg2/__init__.py:164: OperationalError
===== 1 failed, 582 passed, 4 skipped, 7 pytest-warnings in 878.23 seconds =====
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server/.tox/py27-server/bin/python -m pytest /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py27-server/cubicweb/server/test'
___________________________________ summary ____________________________________
ERROR: py27-server: 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-server] $ /bin/bash -xe /tmp/hudson4010285772989384985.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb d9563030a5a1 http://jenkins.logilab.fr/job/cubicweb-3.23/TOXENV=py27-server/132/ --status failure
<br/>

log from execution
download