log_file.txt

download

ERROR /usr/bin/touch /tmp/tmpVFdEsp/src/345579/.tox/py34-server/share/cubicweb/cubes/__init__.py actionid=py34-server
msg=runtests
cmdargs=['/usr/bin/touch', '/tmp/tmpVFdEsp/src/345579/.tox/py34-server/share/cubicweb/cubes/__init__.py']
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-server', 'PYTHONHASHSEED': '3827751083', 'PATH': '/tmp/tmpVFdEsp/src/345579/.tox/py34-server/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'}
<br/>ERROR /tmp/tmpVFdEsp/src/345579/.tox/py34-server/bin/python -m pytest /tmp/tmpVFdEsp/src/345579/cubicweb/server/test --ignore=/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_migractions.py actionid=py34-server
msg=runtests
cmdargs=[&#39;/tmp/tmpVFdEsp/src/345579/.tox/py34-server/bin/python&#39;, &#39;-m&#39;, &#39;pytest&#39;, &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test&#39;, &#39;--ignore=/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_migractions.py&#39;]
env={&#39;LANG&#39;: &#39;en_US.UTF-8&#39;, &#39;APYCOT_ROOT&#39;: &#39;/tmp/tmpVFdEsp&#39;, &#39;LANGUAGE&#39;: &#39;en_US:en&#39;, &#39;PYTHONPATH&#39;: &#39;/usr/share/narval:/usr/share/narval&#39;, &#39;HGRCPATH&#39;: &#39;/dev/null&#39;, &#39;LINES&#39;: &#39;24&#39;, &#39;VIRTUAL_ENV&#39;: &#39;/tmp/tmpVFdEsp/src/345579/.tox/py34-server&#39;, &#39;PYTHONHASHSEED&#39;: &#39;3827751083&#39;, &#39;PATH&#39;: &#39;/tmp/tmpVFdEsp/src/345579/.tox/py34-server/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&#39;, &#39;HOME&#39;: &#39;/var/lib/narval&#39;, &#39;LC_ALL&#39;: &#39;fr_FR.UTF-8&#39;, &#39;COLUMNS&#39;: &#39;80&#39;}
============================= 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 545 items

cubicweb/server/test/unittest_checkintegrity.py ....E
cubicweb/server/test/unittest_datafeed.py ....
cubicweb/server/test/unittest_hook.py .........
cubicweb/server/test/unittest_ldapsource.py ............
cubicweb/server/test/unittest_postgres.py EEEEEEEE
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 .

==================================== ERRORS ====================================
____________ ERROR at setup of PGCheckIndexesTC.test_check_indexes _____________

cls = &lt;class &#39;unittest_checkintegrity.PGCheckIndexesTC&#39;&gt;

@classmethod
def setUpClass(cls):
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_checkintegrity.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_checkintegrity.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresFTITC.test_attr_weight _______________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresFTITC.test_constraint_validationerror ________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresFTITC.test_eid_range ________________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresFTITC.test_entity_weight ______________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresFTITC.test_occurence_count _____________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresFTITC.test_tz_datetime _______________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresStatementTimeoutTC.test_statement_timeout ______

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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 PostgresLimitSizeTC.test __________________

def setUpModule():
&gt; startpgcluster(__file__)

cubicweb/server/test/unittest_postgres.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

pyfile = &#39;/tmp/tmpVFdEsp/src/345579/cubicweb/server/test/unittest_postgres.py&#39;

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

except OSError as err:
if err.errno == errno.ENOENT:
&gt; raise OSError(&#39;&quot;initdb&quot; could not be found. &#39;
&#39;You should add the postgresql bin folder to your PATH &#39;
&#39;(/usr/lib/postgresql/9.1/bin for example).&#39;)
E OSError: &quot;initdb&quot; 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
===== 533 passed, 3 skipped, 7 pytest-warnings, 9 error in 226.59 seconds ======
<br/>

log from execution