log_file.txt

download

ERROR /tmp/tmpVFdEsp/src/345579/.tox/py34-hooks/bin/python -m pytest /tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test actionid=py34-hooks
msg=runtests
cmdargs=['/tmp/tmpVFdEsp/src/345579/.tox/py34-hooks/bin/python', '-m', 'pytest', '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test']
env={'LANG': 'en_US.UTF-8', 'APYCOT_ROOT': '/tmp/tmpVFdEsp', 'LANGUAGE': 'en_US:en', 'PYTHONPATH': '/usr/share/narval:/usr/share/narval', 'HGRCPATH': '/dev/null', 'LINES': '24', 'VIRTUAL_ENV': '/tmp/tmpVFdEsp/src/345579/.tox/py34-hooks', 'PYTHONHASHSEED': '3827751083', 'PATH': '/tmp/tmpVFdEsp/src/345579/.tox/py34-hooks/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HOME': '/var/lib/narval', 'LC_ALL': 'fr_FR.UTF-8', 'COLUMNS': '80'}
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpVFdEsp/src/345579, inifile: tox.ini
collected 61 items

cubicweb/hooks/test/unittest_bookmarks.py .
cubicweb/hooks/test/unittest_hooks.py ...............
cubicweb/hooks/test/unittest_integrity.py ...........
cubicweb/hooks/test/unittest_notification.py .
cubicweb/hooks/test/unittest_security.py .
cubicweb/hooks/test/unittest_synccomputed.py .......
cubicweb/hooks/test/unittest_syncschema.py EEEEEEEEEEEEEEEEE
cubicweb/hooks/test/unittest_syncsession.py ........

==================================== ERRORS ====================================
_ ERROR at setup of SchemaModificationHooksTC.test_add_attribute_to_base_class _

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
_______ ERROR at setup of SchemaModificationHooksTC.test_add_constraint ________

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
____________ ERROR at setup of SchemaModificationHooksTC.test_base _____________

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
__ ERROR at setup of SchemaModificationHooksTC.test_change_fulltext_container __

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
___ ERROR at setup of SchemaModificationHooksTC.test_change_fulltextindexed ____

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
_______ ERROR at setup of SchemaModificationHooksTC.test_indexed_change ________

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
__ ERROR at setup of SchemaModificationHooksTC.test_is_instance_of_insertions __

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
___ ERROR at setup of SchemaModificationHooksTC.test_metartype_with_nordefs ____

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
__ ERROR at setup of SchemaModificationHooksTC.test_metartype_with_somerdefs ___

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
__ ERROR at setup of SchemaModificationHooksTC.test_nonregr_user_edit_itself ___

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
___ ERROR at setup of SchemaModificationHooksTC.test_perms_synchronization_1 ___

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
___ ERROR at setup of SchemaModificationHooksTC.test_perms_synchronization_2 ___

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
______ ERROR at setup of SchemaModificationHooksTC.test_required_change_1 ______

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
______ ERROR at setup of SchemaModificationHooksTC.test_required_change_2 ______

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
______ ERROR at setup of SchemaModificationHooksTC.test_uninline_relation ______

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
________ ERROR at setup of SchemaModificationHooksTC.test_unique_change ________

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
______ ERROR at setup of SchemaModificationHooksTC.test_update_constraint ______

def setUpModule():
> startpgcluster(__file__)

cubicweb/hooks/test/unittest_syncschema.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = '/tmp/tmpVFdEsp/src/345579/cubicweb/hooks/test/unittest_syncschema.py'

def startpgcluster(pyfile):
"""Start a postgresql cluster next to pyfile"""
datadir = join(os.path.dirname(pyfile), 'data', 'database',
'pgdb-%s' % os.path.splitext(os.path.basename(pyfile))[0])
if not exists(datadir):
try:
subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])

except OSError as err:
if err.errno == errno.ENOENT:
> raise OSError('"initdb" could not be found. '
'You should add the postgresql bin folder to your PATH '
'(/usr/lib/postgresql/9.1/bin for example).')
E OSError: "initdb" could not be found. You should add the postgresql bin folder to your PATH (/usr/lib/postgresql/9.1/bin for example).

cubicweb/devtools/__init__.py:533: OSError
===================== 44 passed, 17 error in 9.21 seconds ======================
<br/>

log from execution