[ovirt-devel] [VDSM] Failing tests on fresh install

Nir Soffer nsoffer at redhat.com
Tue Jun 28 19:03:43 UTC 2016


On Tue, Jun 28, 2016 at 11:15 AM, Edward Haas <ehaas at redhat.com> wrote:
> Hello,
>
> I got the error below when running make check after a fresh install.
> Has anyone seen this before?

Never - can you reproduce it or it fails randomly?

>
> Thanks,
> Edy.
>
> ======================================================================
> ERROR: testAlignedAppend (miscTests.DdWatchCopy)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/workspace/vdsm/tests/miscTests.py", line 373, in
> testAlignedAppend
>     "/dev/zero", path, None, misc.MEGA, os.stat(path).st_size)
>   File "/root/workspace/vdsm/lib/vdsm/storage/misc.py", line 308, in
> ddWatchCopy
>     deathSignal=signal.SIGKILL)
>   File "/root/workspace/vdsm/lib/vdsm/commands.py", line 71, in execCmd
>     deathSignal=deathSignal)
>   File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 63, in
> __init__
>     **kw)
>   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
>     errread, errwrite)
>   File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 82, in
> _execute_child_v276
>     restore_sigpipe=restore_sigpipe
>   File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 107, in
> _execute_child_v275
>     restore_sigpipe
> OSError: [Errno 0] Error

This looks like cpopen issue - someone is raising fake OSError when errno is 0
- maybe bad error handling?

> -------------------- >> begin captured logging << --------------------
> 2016-06-28 03:51:05,481 DEBUG   [Storage.Misc.excCmd] (MainThread)
> /usr/bin/taskset --cpu-list 0-0

This looks like an issue in our taskset wrapper, I don't see reason to use
cpu pinning when there is only one cpu.

Can you open a bug about this?

> /usr/bin/nice -n 19 /usr/bin/ionice -c 3
> /usr/bin/dd if=/dev/zero of=/var/tmp/tmp_HJ3St bs=1048576 seek=1 skip=1
> conv=notrunc count=1 oflag=direct (cwd None)
> --------------------- >> end captured logging << ---------------------
>
> ----------------------------------------------------------------------
> Ran 2468 tests in 126.028s
>
> FAILED (SKIP=133, errors=1)
>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



More information about the Devel mailing list