log_file.txt

download

40 python2 -m tox --result-json=tox-results.json `python2 -m tox --result-json=tox-results.json` returned with status : 1
output:
GLOB sdist-make: /tmp/tmpF5va36/src/345579/setup.py
py27-cubicweb create: /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb
py27-cubicweb installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/test/requirements.txt
py27-cubicweb inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-cubicweb runtests: PYTHONHASHSEED='1319021191'
py27-cubicweb runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin/python -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master
Cannot find command 'git'
Storing debug log for failure in /var/lib/narval/.pip/pip.log
ERROR: invocation failed (exit code 1), logfile: /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/log/py27-cubicweb-3.log
ERROR: actionid=py27-cubicweb
msg=runtests
cmdargs=['/tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin/python', '-m', 'pip', 'install', '--upgrade', '--no-deps', '--quiet', 'git+git://github.com/logilab/yapps@master']
env={'LANG': 'en_US.UTF-8', 'APYCOT_ROOT': '/tmp/tmpF5va36', 'LANGUAGE': 'en_US:en', 'PYTHONPATH': '/usr/share/narval:/usr/share/narval', 'HGRCPATH': '/dev/null', 'LINES': '24', 'VIRTUAL_ENV': '/tmp/tmpF5va36/src/345579/.tox/py27-cubicweb', 'PYTHONHASHSEED': '1319021191', 'PATH': '/tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.4/bin', 'HOME': '/var/lib/narval', 'LC_ALL': 'fr_FR.UTF-8', 'COLUMNS': '80'}
Cannot find command 'git'
Storing debug log for failure in /var/lib/narval/.pip/pip.log

ERROR: InvocationError: /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin/python -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master (see /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/log/py27-cubicweb-3.log)
py27-cubicweb runtests: commands[1] | /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 300 items

cubicweb/test/unittest_binary.py .....
cubicweb/test/unittest_cwconfig.py ................
cubicweb/test/unittest_cwctl.py ..
cubicweb/test/unittest_entity.py ........................................................
cubicweb/test/unittest_mail.py .......
cubicweb/test/unittest_migration.py ....
cubicweb/test/unittest_predicates.py ............................
cubicweb/test/unittest_repoapi.py ....
cubicweb/test/unittest_req.py ........
cubicweb/test/unittest_rqlrewrite.py ....................................ss....
cubicweb/test/unittest_rset.py .........................................
cubicweb/test/unittest_rtags.py ...
cubicweb/test/unittest_schema.py .F..F.....................
cubicweb/test/unittest_spa2rql.py sssssssssssss
cubicweb/test/unittest_toolsutils.py ....
cubicweb/test/unittest_uilib.py .................
cubicweb/test/unittest_utils.py ....................
cubicweb/test/unittest_vregistry.py ....

=================================== FAILURES ===================================
_____________________ CubicWebSchemaTC.test_erqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_erqlexpression>

def test_erqlexpression(self):
> self.assertRaises(RQLSyntaxError, ERQLExpression, '1')

cubicweb/test/unittest_schema.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:408: in __init__
RQLExpression.__init__(self, expression, mainvars or 'X', eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py27-cubicweb/local/lib/python2.7/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <rql.parser.HerculeScanner object at 0x7f6c976e53d0>
pos = ('<f.4793>', 1, 12), length = 0
out = <_pytest.capture.EncodedFile object at 0x7f6ca41c44d0>

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:230: TypeError
_____________________ CubicWebSchemaTC.test_rrqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_rrqlexpression>

def test_rrqlexpression(self):
self.assertRaises(Exception, RRQLExpression, '1')
> self.assertRaises(RQLSyntaxError, RRQLExpression, 'O X Y')

cubicweb/test/unittest_schema.py:145:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:482: in __init__
RQLExpression.__init__(self, expression, mainvars, eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py27-cubicweb/local/lib/python2.7/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <rql.parser.HerculeScanner object at 0x7f6c97c8c910>
pos = ('<f.4795>', 1, 14), length = 0
out = <_pytest.capture.EncodedFile object at 0x7f6ca41c44d0>

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:230: TypeError
===== 2 failed, 283 passed, 15 skipped, 5 pytest-warnings in 42.82 seconds =====
ERROR: invocation failed (exit code 1), logfile: /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/log/py27-cubicweb-4.log
ERROR: actionid=py27-cubicweb
msg=runtests
cmdargs=['/tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin/python', '-m', 'pytest', '/tmp/tmpF5va36/src/345579/cubicweb/test']
env={'LANG': 'en_US.UTF-8', 'APYCOT_ROOT': '/tmp/tmpF5va36', 'LANGUAGE': 'en_US:en', 'PYTHONPATH': '/usr/share/narval:/usr/share/narval', 'HGRCPATH': '/dev/null', 'LINES': '24', 'VIRTUAL_ENV': '/tmp/tmpF5va36/src/345579/.tox/py27-cubicweb', 'PYTHONHASHSEED': '1319021191', 'PATH': '/tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.4/bin', 'HOME': '/var/lib/narval', 'LC_ALL': 'fr_FR.UTF-8', 'COLUMNS': '80'}
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 300 items

cubicweb/test/unittest_binary.py .....
cubicweb/test/unittest_cwconfig.py ................
cubicweb/test/unittest_cwctl.py ..
cubicweb/test/unittest_entity.py ........................................................
cubicweb/test/unittest_mail.py .......
cubicweb/test/unittest_migration.py ....
cubicweb/test/unittest_predicates.py ............................
cubicweb/test/unittest_repoapi.py ....
cubicweb/test/unittest_req.py ........
cubicweb/test/unittest_rqlrewrite.py ....................................ss....
cubicweb/test/unittest_rset.py .........................................
cubicweb/test/unittest_rtags.py ...
cubicweb/test/unittest_schema.py .F..F.....................
cubicweb/test/unittest_spa2rql.py sssssssssssss
cubicweb/test/unittest_toolsutils.py ....
cubicweb/test/unittest_uilib.py .................
cubicweb/test/unittest_utils.py ....................
cubicweb/test/unittest_vregistry.py ....

=================================== FAILURES ===================================
_____________________ CubicWebSchemaTC.test_erqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_erqlexpression>

def test_erqlexpression(self):
> self.assertRaises(RQLSyntaxError, ERQLExpression, '1')

cubicweb/test/unittest_schema.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:408: in __init__
RQLExpression.__init__(self, expression, mainvars or 'X', eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py27-cubicweb/local/lib/python2.7/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <rql.parser.HerculeScanner object at 0x7f6c976e53d0>
pos = ('<f.4793>', 1, 12), length = 0
out = <_pytest.capture.EncodedFile object at 0x7f6ca41c44d0>

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:230: TypeError
_____________________ CubicWebSchemaTC.test_rrqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_rrqlexpression>

def test_rrqlexpression(self):
self.assertRaises(Exception, RRQLExpression, '1')
> self.assertRaises(RQLSyntaxError, RRQLExpression, 'O X Y')

cubicweb/test/unittest_schema.py:145:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:482: in __init__
RQLExpression.__init__(self, expression, mainvars, eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py27-cubicweb/local/lib/python2.7/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <rql.parser.HerculeScanner object at 0x7f6c97c8c910>
pos = ('<f.4795>', 1, 14), length = 0
out = <_pytest.capture.EncodedFile object at 0x7f6ca41c44d0>

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py27-cubicweb/local/lib/python2.7/site-packages/yapps/runtime.py:230: TypeError
===== 2 failed, 283 passed, 15 skipped, 5 pytest-warnings in 42.82 seconds =====

ERROR: InvocationError: /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/test (see /tmp/tmpF5va36/src/345579/.tox/py27-cubicweb/log/py27-cubicweb-4.log)
py27-dataimport create: /tmp/tmpF5va36/src/345579/.tox/py27-dataimport
py27-dataimport installdeps: -rdev-requirements.txt
py27-dataimport inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-dataimport runtests: PYTHONHASHSEED='1319021191'
py27-dataimport runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-dataimport/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/dataimport/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 55 items

cubicweb/dataimport/test/test_csv.py ..
cubicweb/dataimport/test/test_massive_store.py .................
cubicweb/dataimport/test/test_pgstore.py .........
cubicweb/dataimport/test/test_sqlgenstore.py ...
cubicweb/dataimport/test/test_stores.py .........
cubicweb/dataimport/test/unittest_importer.py ...............

========================== 55 passed in 71.94 seconds ==========================
py27-devtools create: /tmp/tmpF5va36/src/345579/.tox/py27-devtools
py27-devtools installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/devtools/test/requirements.txt
py27-devtools inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-devtools runtests: PYTHONHASHSEED='1319021191'
py27-devtools runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-devtools/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/devtools/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 52 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 .
cubicweb/devtools/test/unittest_qunit.py ..
cubicweb/devtools/test/unittest_testlib.py ......................
cubicweb/devtools/test/unittest_webtest.py ....

=========== 51 passed, 1 skipped, 1 pytest-warnings in 26.34 seconds ===========
py27-entities create: /tmp/tmpF5va36/src/345579/.tox/py27-entities
py27-entities installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/entities/test/requirements.txt
py27-entities inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-entities runtests: PYTHONHASHSEED='1319021191'
py27-entities runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-entities/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/entities/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 44 items

cubicweb/entities/test/unittest_base.py .................
cubicweb/entities/test/unittest_wfobjs.py ...........................

========================== 44 passed in 18.88 seconds ==========================
py27-etwist create: /tmp/tmpF5va36/src/345579/.tox/py27-etwist
py27-etwist installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/etwist/test/requirements.txt
py27-etwist inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-etwist runtests: PYTHONHASHSEED='1319021191'
py27-etwist runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-etwist/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/etwist/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 1 items

cubicweb/etwist/test/unittest_server.py .

=========================== 1 passed in 7.77 seconds ===========================
py27-ext create: /tmp/tmpF5va36/src/345579/.tox/py27-ext
py27-ext installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/ext/test/requirements.txt
py27-ext inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-ext runtests: PYTHONHASHSEED='1319021191'
py27-ext runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-ext/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/ext/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 17 items

cubicweb/ext/test/unittest_rest.py .................

========================== 17 passed in 6.65 seconds ===========================
py27-hooks create: /tmp/tmpF5va36/src/345579/.tox/py27-hooks
py27-hooks installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/hooks/test/requirements.txt
py27-hooks inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-hooks runtests: PYTHONHASHSEED='1319021191'
py27-hooks runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-hooks/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/hooks/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/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 .................
cubicweb/hooks/test/unittest_syncsession.py ........

========================== 61 passed in 47.58 seconds ==========================
py27-server create: /tmp/tmpF5va36/src/345579/.tox/py27-server
py27-server installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/server/test/requirements.txt
py27-server inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-server runtests: PYTHONHASHSEED='1319021191'
py27-server runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-server/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/server/test --ignore=/tmp/tmpF5va36/src/345579/cubicweb/server/test/unittest_migractions.py
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 545 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_postgres.py ........
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 .

========== 542 passed, 3 skipped, 7 pytest-warnings in 222.47 seconds ==========
py27-migractions create: /tmp/tmpF5va36/src/345579/.tox/py27-migractions
py27-migractions installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/server/test/requirements.txt
py27-migractions inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-migractions runtests: PYTHONHASHSEED='1319021191'
py27-migractions runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-migractions/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/server/test/unittest_migractions.py
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 47 items

cubicweb/server/test/unittest_migractions.py ..........................s....................

==================== 46 passed, 1 skipped in 175.46 seconds ====================
py27-sobjects create: /tmp/tmpF5va36/src/345579/.tox/py27-sobjects
py27-sobjects installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/sobjects/test/requirements.txt
py27-sobjects inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-sobjects runtests: PYTHONHASHSEED='1319021191'
py27-sobjects runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-sobjects/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/sobjects/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 18 items

cubicweb/sobjects/test/unittest_cwxmlparser.py .....
cubicweb/sobjects/test/unittest_email.py ....
cubicweb/sobjects/test/unittest_notification.py ..
cubicweb/sobjects/test/unittest_register_user.py .....
cubicweb/sobjects/test/unittest_supervising.py ..

========================== 18 passed in 10.44 seconds ==========================
py27-web create: /tmp/tmpF5va36/src/345579/.tox/py27-web
py27-web installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/web/test/requirements.txt
py27-web inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-web runtests: PYTHONHASHSEED='1319021191'
py27-web runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-web/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/web/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 367 items

cubicweb/web/test/test_jscript.py .
cubicweb/web/test/test_views.py .......
cubicweb/web/test/unittest_application.py ............................
cubicweb/web/test/unittest_breadcrumbs.py .
cubicweb/web/test/unittest_controller.py ..
cubicweb/web/test/unittest_facet.py ....................
cubicweb/web/test/unittest_form.py ................
cubicweb/web/test/unittest_formfields.py ..........
cubicweb/web/test/unittest_formwidgets.py ...
cubicweb/web/test/unittest_http.py ...........................
cubicweb/web/test/unittest_http_headers.py .
cubicweb/web/test/unittest_idownloadable.py ......
cubicweb/web/test/unittest_magicsearch.py ..................
cubicweb/web/test/unittest_propertysheet.py .
cubicweb/web/test/unittest_reledit.py .s.
cubicweb/web/test/unittest_request.py ....
cubicweb/web/test/unittest_uicfg.py .........
cubicweb/web/test/unittest_urlpublisher.py .............
cubicweb/web/test/unittest_urlrewrite.py ........
cubicweb/web/test/unittest_views_actions.py ..
cubicweb/web/test/unittest_views_apacherewrite.py .
cubicweb/web/test/unittest_views_basecontrollers.py ....................................................................
cubicweb/web/test/unittest_views_basetemplates.py ...
cubicweb/web/test/unittest_views_baseviews.py .............
cubicweb/web/test/unittest_views_csv.py ..
cubicweb/web/test/unittest_views_cwsources.py .
cubicweb/web/test/unittest_views_editforms.py ..................
cubicweb/web/test/unittest_views_errorform.py ....
cubicweb/web/test/unittest_views_forms.py ...
cubicweb/web/test/unittest_views_json.py ..........
cubicweb/web/test/unittest_views_navigation.py ...........
cubicweb/web/test/unittest_views_pyviews.py ..
cubicweb/web/test/unittest_views_searchrestriction.py ........
cubicweb/web/test/unittest_views_staticcontrollers.py ......
cubicweb/web/test/unittest_views_treeview.py .
cubicweb/web/test/unittest_views_xmlrss.py .
cubicweb/web/test/unittest_viewselector.py .......................
cubicweb/web/test/unittest_web.py .........
cubicweb/web/test/unittest_webconfig.py ...

========== 366 passed, 1 skipped, 1 pytest-warnings in 117.54 seconds ==========
py27-wsgi create: /tmp/tmpF5va36/src/345579/.tox/py27-wsgi
py27-wsgi installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/wsgi/test/requirements.txt
py27-wsgi inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py27-wsgi runtests: PYTHONHASHSEED='1319021191'
py27-wsgi runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py27-wsgi/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/wsgi/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 13 items

cubicweb/wsgi/test/unittest_wsgi.py .............

========================== 13 passed in 6.92 seconds ===========================
py34-cubicweb create: /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb
py34-cubicweb installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/test/requirements.txt
py34-cubicweb inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-cubicweb runtests: PYTHONHASHSEED='1319021191'
py34-cubicweb runtests: commands[0] | touch /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/share/cubicweb/cubes/__init__.py
py34-cubicweb runtests: commands[1] | /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin/python -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master
Cannot find command 'git'
Storing debug log for failure in /var/lib/narval/.pip/pip.log
ERROR: invocation failed (exit code 1), logfile: /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/log/py34-cubicweb-4.log
ERROR: actionid=py34-cubicweb
msg=runtests
cmdargs=['/tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin/python', '-m', 'pip', 'install', '--upgrade', '--no-deps', '--quiet', 'git+git://github.com/logilab/yapps@master']
env={'LANG': 'en_US.UTF-8', 'APYCOT_ROOT': '/tmp/tmpF5va36', 'LANGUAGE': 'en_US:en', 'PYTHONPATH': '/usr/share/narval:/usr/share/narval', 'HGRCPATH': '/dev/null', 'LINES': '24', 'VIRTUAL_ENV': '/tmp/tmpF5va36/src/345579/.tox/py34-cubicweb', 'PYTHONHASHSEED': '1319021191', 'PATH': '/tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.4/bin', 'HOME': '/var/lib/narval', 'LC_ALL': 'fr_FR.UTF-8', 'COLUMNS': '80'}
Cannot find command 'git'
Storing debug log for failure in /var/lib/narval/.pip/pip.log

ERROR: InvocationError: /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin/python -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master (see /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/log/py34-cubicweb-4.log)
py34-cubicweb runtests: commands[2] | /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 300 items

cubicweb/test/unittest_binary.py .....
cubicweb/test/unittest_cwconfig.py ................
cubicweb/test/unittest_cwctl.py ..
cubicweb/test/unittest_entity.py ........................................................
cubicweb/test/unittest_mail.py .......
cubicweb/test/unittest_migration.py ....
cubicweb/test/unittest_predicates.py ............................
cubicweb/test/unittest_repoapi.py ....
cubicweb/test/unittest_req.py ........
cubicweb/test/unittest_rqlrewrite.py ....................................ss....
cubicweb/test/unittest_rset.py .........................................
cubicweb/test/unittest_rtags.py ...
cubicweb/test/unittest_schema.py .F..F.....................
cubicweb/test/unittest_spa2rql.py sssssssssssss
cubicweb/test/unittest_toolsutils.py ....
cubicweb/test/unittest_uilib.py .................
cubicweb/test/unittest_utils.py ....................
cubicweb/test/unittest_vregistry.py ....

=================================== FAILURES ===================================
_____________________ CubicWebSchemaTC.test_erqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_erqlexpression>

def test_erqlexpression(self):
> self.assertRaises(RQLSyntaxError, ERQLExpression, '1')

cubicweb/test/unittest_schema.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:408: in __init__
RQLExpression.__init__(self, expression, mainvars or 'X', eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py34-cubicweb/lib/python3.4/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:230: TypeError
_____________________ CubicWebSchemaTC.test_rrqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_rrqlexpression>

def test_rrqlexpression(self):
self.assertRaises(Exception, RRQLExpression, '1')
> self.assertRaises(RQLSyntaxError, RRQLExpression, 'O X Y')

cubicweb/test/unittest_schema.py:145:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:482: in __init__
RQLExpression.__init__(self, expression, mainvars, eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py34-cubicweb/lib/python3.4/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:230: TypeError
===== 2 failed, 283 passed, 15 skipped, 5 pytest-warnings in 35.39 seconds =====
ERROR: invocation failed (exit code 1), logfile: /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/log/py34-cubicweb-5.log
ERROR: actionid=py34-cubicweb
msg=runtests
cmdargs=['/tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin/python', '-m', 'pytest', '/tmp/tmpF5va36/src/345579/cubicweb/test']
env={'LANG': 'en_US.UTF-8', 'APYCOT_ROOT': '/tmp/tmpF5va36', 'LANGUAGE': 'en_US:en', 'PYTHONPATH': '/usr/share/narval:/usr/share/narval', 'HGRCPATH': '/dev/null', 'LINES': '24', 'VIRTUAL_ENV': '/tmp/tmpF5va36/src/345579/.tox/py34-cubicweb', 'PYTHONHASHSEED': '1319021191', 'PATH': '/tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.4/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/tmpF5va36/src/345579, inifile: tox.ini
collected 300 items

cubicweb/test/unittest_binary.py .....
cubicweb/test/unittest_cwconfig.py ................
cubicweb/test/unittest_cwctl.py ..
cubicweb/test/unittest_entity.py ........................................................
cubicweb/test/unittest_mail.py .......
cubicweb/test/unittest_migration.py ....
cubicweb/test/unittest_predicates.py ............................
cubicweb/test/unittest_repoapi.py ....
cubicweb/test/unittest_req.py ........
cubicweb/test/unittest_rqlrewrite.py ....................................ss....
cubicweb/test/unittest_rset.py .........................................
cubicweb/test/unittest_rtags.py ...
cubicweb/test/unittest_schema.py .F..F.....................
cubicweb/test/unittest_spa2rql.py sssssssssssss
cubicweb/test/unittest_toolsutils.py ....
cubicweb/test/unittest_uilib.py .................
cubicweb/test/unittest_utils.py ....................
cubicweb/test/unittest_vregistry.py ....

=================================== FAILURES ===================================
_____________________ CubicWebSchemaTC.test_erqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_erqlexpression>

def test_erqlexpression(self):
> self.assertRaises(RQLSyntaxError, ERQLExpression, '1')

cubicweb/test/unittest_schema.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:408: in __init__
RQLExpression.__init__(self, expression, mainvars or 'X', eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py34-cubicweb/lib/python3.4/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:230: TypeError
_____________________ CubicWebSchemaTC.test_rrqlexpression _____________________

self = <unittest_schema.CubicWebSchemaTC testMethod=test_rrqlexpression>

def test_rrqlexpression(self):
self.assertRaises(Exception, RRQLExpression, '1')
> self.assertRaises(RQLSyntaxError, RRQLExpression, 'O X Y')

cubicweb/test/unittest_schema.py:145:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cubicweb/schema.py:482: in __init__
RQLExpression.__init__(self, expression, mainvars, eid)
cubicweb/schema.py:231: in __init__
self.expression = normalize_expression(expression)
cubicweb/schema.py:152: in normalize_expression
union = parse(u'Any 1 WHERE %s' % rqlstring).as_string()
.tox/py34-cubicweb/lib/python3.4/site-packages/rql/__init__.py:236: in parse
print_error(ex, parser._scanner)
.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:420: in print_error
scanner.print_line_with_pointer(pos)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

def print_line_with_pointer(self, pos, length=0, out=sys.stderr):
"""Print the line of 'text' that includes position 'p',
along with a second line with a single caret (^) at position p"""

file,line,p = pos
if file != self.filename:
if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out)
print >>out, "(%s: not in input buffer)" % file
return

text = self.input
p += length-1 # starts at pos 1

origline=line
line -= self.del_line
spos=0
if line > 0:
while 1:
line = line - 1
try:
cr = text.index("\n",spos)
except ValueError:
if line:
text = ""
break
if line == 0:
text = text[spos:cr]
break
spos = cr+1
else:
print >>out, "(%s:%d not in input buffer)" % (file,origline)
return

# Now try printing part of the line
text = text[max(p-80, 0):p+80]
p = p - max(p-80, 0)

# Strip to the left
i = text[:p].rfind('\n')
j = text[:p].rfind('\r')
if i < 0 or (0 <= j < i): i = j
if 0 <= i < p:
p = p - i - 1
text = text[i+1:]

# Strip to the right
i = text.find('\n', p)
j = text.find('\r', p)
if i < 0 or (0 <= j < i): i = j
if i >= 0:
text = text[:i]

# Now shorten the text
while len(text) > 70 and p > 60:
# Cut off 10 chars
text = "..." + text[10:]
p = p - 7

# Now print the string, along with an indicator
> print >>out, '> ',text
E TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'EncodedFile'

.tox/py34-cubicweb/lib/python3.4/site-packages/yapps/runtime.py:230: TypeError
===== 2 failed, 283 passed, 15 skipped, 5 pytest-warnings in 35.39 seconds =====

ERROR: InvocationError: /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/test (see /tmp/tmpF5va36/src/345579/.tox/py34-cubicweb/log/py34-cubicweb-5.log)
py34-dataimport create: /tmp/tmpF5va36/src/345579/.tox/py34-dataimport
py34-dataimport installdeps: -rdev-requirements.txt
py34-dataimport inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-dataimport runtests: PYTHONHASHSEED='1319021191'
py34-dataimport runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py34-dataimport/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/dataimport/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 55 items

cubicweb/dataimport/test/test_csv.py ..
cubicweb/dataimport/test/test_massive_store.py .................
cubicweb/dataimport/test/test_pgstore.py .........
cubicweb/dataimport/test/test_sqlgenstore.py ...
cubicweb/dataimport/test/test_stores.py .........
cubicweb/dataimport/test/unittest_importer.py ...............

========================== 55 passed in 30.94 seconds ==========================
py34-devtools create: /tmp/tmpF5va36/src/345579/.tox/py34-devtools
py34-devtools installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/devtools/test/requirements.txt
py34-devtools inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-devtools runtests: PYTHONHASHSEED='1319021191'
py34-devtools runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py34-devtools/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/devtools/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 52 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 sssss.....
cubicweb/devtools/test/unittest_i18n.py .
cubicweb/devtools/test/unittest_qunit.py ..
cubicweb/devtools/test/unittest_testlib.py ......................
cubicweb/devtools/test/unittest_webtest.py ....

=========== 46 passed, 6 skipped, 1 pytest-warnings in 17.35 seconds ===========
py34-entities create: /tmp/tmpF5va36/src/345579/.tox/py34-entities
py34-entities installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/entities/test/requirements.txt
py34-entities inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-entities runtests: PYTHONHASHSEED='1319021191'
py34-entities runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py34-entities/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/entities/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 44 items

cubicweb/entities/test/unittest_base.py .................
cubicweb/entities/test/unittest_wfobjs.py ...........................

========================== 44 passed in 31.06 seconds ==========================
py34-ext create: /tmp/tmpF5va36/src/345579/.tox/py34-ext
py34-ext installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/ext/test/requirements.txt
py34-ext inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-ext runtests: PYTHONHASHSEED='1319021191'
py34-ext runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py34-ext/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/ext/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 17 items

cubicweb/ext/test/unittest_rest.py .................

========================== 17 passed in 1.29 seconds ===========================
py34-hooks create: /tmp/tmpF5va36/src/345579/.tox/py34-hooks
py34-hooks installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/hooks/test/requirements.txt
py34-hooks inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-hooks runtests: PYTHONHASHSEED='1319021191'
py34-hooks runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py34-hooks/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/hooks/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/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 .................
cubicweb/hooks/test/unittest_syncsession.py ........

========================== 61 passed in 28.74 seconds ==========================
py34-server create: /tmp/tmpF5va36/src/345579/.tox/py34-server
py34-server installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/server/test/requirements.txt
py34-server inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-server runtests: PYTHONHASHSEED='1319021191'
py34-server runtests: commands[0] | touch /tmp/tmpF5va36/src/345579/.tox/py34-server/share/cubicweb/cubes/__init__.py
py34-server runtests: commands[1] | /tmp/tmpF5va36/src/345579/.tox/py34-server/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/server/test --ignore=/tmp/tmpF5va36/src/345579/cubicweb/server/test/unittest_migractions.py
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 545 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_postgres.py ........
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 .

========== 542 passed, 3 skipped, 7 pytest-warnings in 232.07 seconds ==========
py34-migractions create: /tmp/tmpF5va36/src/345579/.tox/py34-migractions
py34-migractions installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/server/test/requirements.txt
py34-migractions inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-migractions runtests: PYTHONHASHSEED='1319021191'
py34-migractions runtests: commands[0] | touch /tmp/tmpF5va36/src/345579/.tox/py34-migractions/share/cubicweb/cubes/__init__.py
py34-migractions runtests: commands[1] | /tmp/tmpF5va36/src/345579/.tox/py34-migractions/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/server/test/unittest_migractions.py
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 47 items

cubicweb/server/test/unittest_migractions.py ..........................s....................

==================== 46 passed, 1 skipped in 163.82 seconds ====================
Exception ignored in: <bound method PostgresTestDataBaseHandler.__del__ of <cubicweb.devtools.PostgresTestDataBaseHandler object at 0x7fb1da30ada0>>
Traceback (most recent call last):
File "/tmp/tmpF5va36/src/345579/cubicweb/devtools/__init__.py", line 669, in __del__
File "/tmp/tmpF5va36/src/345579/cubicweb/devtools/__init__.py", line 665, in helper_clear_cache
TypeError: 'NoneType' object is not callable
py34-sobjects create: /tmp/tmpF5va36/src/345579/.tox/py34-sobjects
py34-sobjects installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/sobjects/test/requirements.txt
py34-sobjects inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-sobjects runtests: PYTHONHASHSEED='1319021191'
py34-sobjects runtests: commands[0] | touch /tmp/tmpF5va36/src/345579/.tox/py34-sobjects/share/cubicweb/cubes/__init__.py
py34-sobjects runtests: commands[1] | /tmp/tmpF5va36/src/345579/.tox/py34-sobjects/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/sobjects/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 18 items

cubicweb/sobjects/test/unittest_cwxmlparser.py .....
cubicweb/sobjects/test/unittest_email.py ....
cubicweb/sobjects/test/unittest_notification.py ..
cubicweb/sobjects/test/unittest_register_user.py .....
cubicweb/sobjects/test/unittest_supervising.py ..

========================== 18 passed in 10.72 seconds ==========================
py34-web create: /tmp/tmpF5va36/src/345579/.tox/py34-web
py34-web installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/web/test/requirements.txt
py34-web inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-web runtests: PYTHONHASHSEED='1319021191'
py34-web runtests: commands[0] | touch /tmp/tmpF5va36/src/345579/.tox/py34-web/share/cubicweb/cubes/__init__.py
py34-web runtests: commands[1] | /tmp/tmpF5va36/src/345579/.tox/py34-web/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/web/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 367 items

cubicweb/web/test/test_jscript.py .
cubicweb/web/test/test_views.py .......
cubicweb/web/test/unittest_application.py ............................
cubicweb/web/test/unittest_breadcrumbs.py .
cubicweb/web/test/unittest_controller.py ..
cubicweb/web/test/unittest_facet.py ....................
cubicweb/web/test/unittest_form.py ................
cubicweb/web/test/unittest_formfields.py ..........
cubicweb/web/test/unittest_formwidgets.py ...
cubicweb/web/test/unittest_http.py ...........................
cubicweb/web/test/unittest_http_headers.py .
cubicweb/web/test/unittest_idownloadable.py ......
cubicweb/web/test/unittest_magicsearch.py ..................
cubicweb/web/test/unittest_propertysheet.py .
cubicweb/web/test/unittest_reledit.py .s.
cubicweb/web/test/unittest_request.py ....
cubicweb/web/test/unittest_uicfg.py .........
cubicweb/web/test/unittest_urlpublisher.py .............
cubicweb/web/test/unittest_urlrewrite.py ........
cubicweb/web/test/unittest_views_actions.py ..
cubicweb/web/test/unittest_views_apacherewrite.py .
cubicweb/web/test/unittest_views_basecontrollers.py ..................................................................ss
cubicweb/web/test/unittest_views_basetemplates.py ...
cubicweb/web/test/unittest_views_baseviews.py .............
cubicweb/web/test/unittest_views_csv.py ..
cubicweb/web/test/unittest_views_cwsources.py .
cubicweb/web/test/unittest_views_editforms.py ..................
cubicweb/web/test/unittest_views_errorform.py ....
cubicweb/web/test/unittest_views_forms.py ...
cubicweb/web/test/unittest_views_json.py ..........
cubicweb/web/test/unittest_views_navigation.py ...........
cubicweb/web/test/unittest_views_pyviews.py ..
cubicweb/web/test/unittest_views_searchrestriction.py ........
cubicweb/web/test/unittest_views_staticcontrollers.py ......
cubicweb/web/test/unittest_views_treeview.py .
cubicweb/web/test/unittest_views_xmlrss.py .
cubicweb/web/test/unittest_viewselector.py .......................
cubicweb/web/test/unittest_web.py .........
cubicweb/web/test/unittest_webconfig.py ...

========== 364 passed, 3 skipped, 1 pytest-warnings in 115.53 seconds ==========
py34-wsgi create: /tmp/tmpF5va36/src/345579/.tox/py34-wsgi
py34-wsgi installdeps: -rdev-requirements.txt, -r/tmp/tmpF5va36/src/345579/cubicweb/wsgi/test/requirements.txt
py34-wsgi inst: /tmp/tmpF5va36/src/345579/.tox/dist/cubicweb-3.23.2.zip
py34-wsgi runtests: PYTHONHASHSEED='1319021191'
py34-wsgi runtests: commands[0] | /tmp/tmpF5va36/src/345579/.tox/py34-wsgi/bin/python -m pytest /tmp/tmpF5va36/src/345579/cubicweb/wsgi/test
============================= test session starts ==============================
platform linux -- Python 3.4.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/tmpF5va36/src/345579, inifile: tox.ini
collected 13 items

cubicweb/wsgi/test/unittest_wsgi.py .............

========================== 13 passed in 1.30 seconds ===========================
___________________________________ summary ____________________________________
ERROR: py27-cubicweb: commands failed
py27-dataimport: commands succeeded
py27-devtools: commands succeeded
py27-entities: commands succeeded
py27-etwist: commands succeeded
py27-ext: commands succeeded
py27-hooks: commands succeeded
py27-server: commands succeeded
py27-migractions: commands succeeded
py27-sobjects: commands succeeded
py27-web: commands succeeded
py27-wsgi: commands succeeded
ERROR: py34-cubicweb: commands failed
py34-dataimport: commands succeeded
py34-devtools: commands succeeded
py34-entities: commands succeeded
py34-ext: commands succeeded
py34-hooks: commands succeeded
py34-server: commands succeeded
py34-migractions: commands succeeded
py34-sobjects: commands succeeded
py34-web: commands succeeded
py34-wsgi: commands succeeded
wrote json report at: /tmp/tmpF5va36/src/345579/tox-results.json
<br/>50 Error while running checker tox: `python2 -m tox --result-json=tox-results.json` returned with status : 1
Traceback (most recent call last):
File &quot;/tmp/tmpsj9kNH.py&quot;, line 63, in &lt;module&gt;
Command(toxw, toxcmd, raises=True, cwd=dst_dir).run()
File &quot;/usr/lib/python2.7/dist-packages/apycotlib/__init__.py&quot;, line 279, in run
self.handle_output(cmd.returncode, outfile, None)
File &quot;/usr/lib/python2.7/dist-packages/apycotlib/__init__.py&quot;, line 309, in handle_output
raise SetupException(short_msg)
SetupException: `python2 -m tox --result-json=tox-results.json` returned with status : 1
<br/>

log from execution