[libvirt] libvirt 6.0.0 make check-TESTS fails "FAIL: test-ptsname_r"

Satheesh Rajendran sathnaga at linux.vnet.ibm.com
Mon Jan 13 16:00:53 UTC 2020


Hi,

libvirt 6.0.0 (commit:bfd5f69d6038daeac03d2684fcd98aeee4ef1e24), "make rpm" fails at 
make check-TESTS

...
..
PASS: test-memchr
PASS: test-send
../../../build-aux/test-driver: line 107: 453114 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: test-ptsname_r
PASS: test-setsockopt
PASS: test-sigaction
PASS: test-signal-h
...
-------
# cat /root/rpmbuild/BUILD/libvirt-6.0.0/ppc64le-redhat-linux-gnu/gnulib/tests/test-suite.log
================================================
   libvirt 6.0.0: gnulib/tests/test-suite.log
================================================

# TOTAL: 149
# PASS:  148
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-ptsname_r
====================

../../../gnulib/tests/test-ptsname_r.c:89: assertion 'result == EINVAL' failed
FAIL test-ptsname_r (exit status: 134)

--------


Env:
HW: Power8
ArcH: ppc64le
OS: Fedora 31
GCC: 9.2.1 20190827 (Red Hat 9.2.1-1)
Glibc: glibc-2.30-8.fc31.ppc64le


Gdb output:

# gdb /root/rpmbuild/BUILD/libvirt-6.0.0/ppc64le-redhat-linux-gnu/gnulib/tests/test-ptsname_r -c core.test-ptsname_r.0.1a9e4ce7d7ec4d7e81e295f7f67c7029.317503.1578922893000000000000
GNU gdb (GDB) Fedora 8.3.50.20190824-26.fc31
..
..
Reading symbols from /root/rpmbuild/BUILD/libvirt-6.0.0/ppc64le-redhat-linux-gnu/gnulib/tests/test-ptsname_r...
[New LWP 317503]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./test-ptsname_r '.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fffac447358 in __libc_signal_restore_set (set=0x7fffefdc3078) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
84	  return INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, set, NULL,
(gdb) start
Temporary breakpoint 1 at 0x11d850c88: file ../../../gnulib/tests/test-ptsname_r.c, line 94.
Starting program: /root/rpmbuild/BUILD/libvirt-6.0.0/ppc64le-redhat-linux-gnu/gnulib/tests/test-ptsname_r 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Temporary breakpoint 1, 0x0000000100000c88 in main () at ../../../gnulib/tests/test-ptsname_r.c:94
94	{
(gdb) c
Continuing.
../../../gnulib/tests/test-ptsname_r.c:89: assertion 'result == EINVAL' failed
Program received signal SIGABRT, Aborted.
0x00007ffff7d57358 in __libc_signal_restore_set (set=0x7fffffffe438) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
84	  return INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, set, NULL,
(gdb) print result
$1 = '\000' <repeats 113 times>
(gdb)

Any help would be appreciated, Thanks in advance.

Regards,
-Satheesh.





More information about the libvir-list mailing list