2018-05-16 17:12 GMT+02:00 Sandro Bonazzola <sbonazzo(a)redhat.com>:
2018-05-16 15:20 GMT+02:00 Nir Soffer <nsoffer(a)redhat.com>:
> Ping
>
>
There's ongoing discussion about the real need of having travis testing.
What do we test in travis that Jenkins is not testing already?
Travis CI is still failing.
https://travis-ci.org/oVirt/vdsm/jobs/386053194
OK (SKIP=63)
mv .coverage .coverage-nose-py2
mv: cannot stat '.coverage': No such file or directory
make[1]: *** [check] Error 1
make[1]: Leaving directory `/vdsm/tests'
ERROR: InvocationError: '/usr/bin/make -C tests check'
def _run_cmd(cmd, cwd=None):
rc, out, err = commands.execCmd(cmd, raw=True, cwd=cwd)
if rc != 0:
raise cmdutils.Error(cmd, rc, out, err)
E
Error: Command ['/usr/bin/qemu-img', 'info', '--output',
'json', '-U', '/var/tmp/tmp89QFPD/img.img'] failed with rc=1
out=''
err="qemu-img: unrecognized option '-U'\nTry 'qemu-img --help' for
more information\n"
../lib/vdsm/storage/qemuimg.py:399: Error
this happen 3 times in the job causing the result to be:
3 failed, 1387 passed, 7 skipped, 125 deselected, 1 xfailed, 9
xpassed in 126.99 seconds
ERROR: InvocationError: '/vdsm/tests/py-watch 600 pytest -m not (slow
or stress) --durations=10 --cov=vdsm.storage
--cov-report=html:htmlcov-storage-py27 storage'
Also:
storage-py36 create: /vdsm/.tox/storage-py36
ERROR: InterpreterNotFound: python3.6
There are also several other errors.
> On Tue, May 8, 2018 at 11:59 AM Nir Soffer <nsoffer(a)redhat.com> wrote:
>
>> There are several issues:
>>
>> 1. coverage fail after this patch:
>>
https://github.com/oVirt/vdsm/commit/6b905c2c134bcf344961d28
>> eefbd05f2838d2ec8
>>
>>
https://travis-ci.org/oVirt/vdsm/builds/366574414
>> ...
>> pwd
>> /vdsm/tests
>> ls .cov*
>> ls: cannot access .cov*: No such file or directory
>> make[1]: *** [check] Error 2
>> make[1]: Leaving directory `/vdsm/tests'
>>
>> 2. pywatch_test - gdb not installed
>>
>> We need to add gdb and install install python-debuginfo package on
>> the test images.
>>
>> self = <pywatch_test.TestPyWatch object at 0x2bbc0d0>
>> def test_timeout(self):
>> rc, out, err = exec_cmd(['./py-watch', '0.1',
'sleep', '10'])
>> assert b'Watched process timed out' in out
>> > assert rc == 128 + signal.SIGTERM
>> E assert 1 == (128 + 15)
>> E + where 15 = signal.SIGTERM
>> pywatch_test.py:45: AssertionError
>> ------------------------------ Captured log call
>> -------------------------------
>> cmdutils.py 151 DEBUG ./py-watch 0.1 sleep 10 (cwd
>> None)
>> cmdutils.py 159 DEBUG FAILED: <err> = 'Traceback
(most
>> recent call last):\n File "./py-watch", line 59, in <module>\n
>> dump_trace(watched_proc)\n File "./py-watch", line 32, in
dump_trace\n
>> \'thread apply all py-bt\'])\n File
"/usr/lib64/python2.7/site-packages/subprocess32.py",
>> line 575, in call\n p = Popen(*popenargs, **kwargs)\n File
>> "/usr/lib64/python2.7/site-packages/subprocess32.py", line 822, in
>> __init__\n restore_signals, start_new_session)\n File
>> "/usr/lib64/python2.7/site-packages/subprocess32.py", line 1567, in
>> _execute_child\n raise child_exception_type(errno_num,
>> err_msg)\nOSError: [Errno 2] No such file or directory: \'gdb\'\n';
<rc> = 1
>>
>> Nir
>>
>
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)ovirt.org
>
>
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <
https://www.redhat.com/>
sbonazzo(a)redhat.com
<
https://red.ht/sig>
<
https://redhat.com/summit>
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <
https://www.redhat.com/>
sbonazzo(a)redhat.com
<
https://red.ht/sig>
<
https://redhat.com/summit>