Ping

On Tue, May 8, 2018 at 11:59 AM Nir Soffer <nsoffer@redhat.com> wrote:
There are several issues:

1. coverage fail after this patch:
https://github.com/oVirt/vdsm/commit/6b905c2c134bcf344961d28eefbd05f2838d2ec8

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