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-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 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-server] $ hg update --clean --rev 1bffd14221b398c725056f8d3dbdd1a4848ea4d5
10 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/hudson8867118319744382483.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py34-server] $ /bin/bash -xe /tmp/hudson4307880152448130668.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@1bffd14221b398c725056f8d3dbdd1a4848ea4d5#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='4076511050'
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 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 .

generated xml file: /var/lib/jenkins/jobs/cubicweb-3.23/workspace/TOXENV/py34-server/test-results.xml
=================================== FAILURES ===================================
______________ PostgresStatementTimeoutTC.test_statement_timeout _______________
cubicweb/devtools/testlib.py:450: in setUp
self._init_repo()
cubicweb/devtools/testlib.py:358: in _init_repo
db_handler.build_db_cache(self.test_db_id, self.pre_setup_database)
cubicweb/devtools/__init__.py:487: in build_db_cache
if self.has_cache(test_db_id):
cubicweb/devtools/__init__.py:637: in has_cache
and backup_name in self.helper.list_databases(self.cursor))
.tox/py34-server/lib/python3.4/site-packages/logilab/common/decorators.py:67: in wrapped
return self.__call__(*args, **kwargs)
.tox/py34-server/lib/python3.4/site-packages/logilab/common/decorators.py:61: in __call__
value = __me.callable(self, *args)
cubicweb/devtools/__init__.py:626: in cursor
return self.dbcnx.cursor()
cubicweb/devtools/__init__.py:617: 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/py34-server/lib/python3.4/site-packages/logilab/database/__init__.py:113: in get_connection
extra_args=extra_args)
.tox/py34-server/lib/python3.4/site-packages/logilab/database/postgres.py:95: in connect
cnx = self._native_module.connect(cnx_string)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

dsn = 'dbname=template1 user=jenkins host=REPLACEME', 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.items() 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 psycopg2.OperationalError: could not translate host name "REPLACEME" to address: Name or service not known

/usr/lib/python3/dist-packages/psycopg2/__init__.py:164: OperationalError
===== 1 failed, 582 passed, 4 skipped, 7 pytest-warnings in 929.62 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/hudson3356276621661720994.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb 1bffd14221b3 http://jenkins.logilab.fr/job/cubicweb-3.23/TOXENV=py34-server/138/ --status failure
<br/>

log from execution
download