gssapi / gssproxy

A proxy for GSSAPI | Docs at https://github.com/gssapi/gssproxy/tree/main/docs
Other
43 stars 28 forks source link

Make check failed to execute normally. #69

Closed Yusong-Gao closed 1 year ago

Yusong-Gao commented 1 year ago

version info: krb5: 1.19 gssproxy: 0.8.4 nss_wrapper: 1.1.11 openldap: 2.6.0 socket_wrapper: 1.1.9

When i run make check some errors occur:

./tests/runtests.py

To pass arguments to the test suite, use CHECKARGS:
    make check CHECKARGS='--debug-num=<num>'
A full set of available options can be seen with --help

Waiting for LDAP server to start...
krb5kdc: starting...
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/gssproxy-0.8.4/./tests/runtests.py", line 89, in runtests_main
    gproc, gpsocket = setup_gssproxy(testdir, gssproxyenv)
  File "/root/rpmbuild/BUILD/gssproxy-0.8.4/tests/testlib.py", line 766, in setup_gssproxy
    gssproxy_reload(testdir, gproc.pid, {
  File "/root/rpmbuild/BUILD/gssproxy-0.8.4/tests/testlib.py", line 801, in gssproxy_reload
    raise Exception("timed out while waiting for gssproxy to reload")
Exception: timed out while waiting for gssproxy to reload
Killing LDAP(559570)
Killing KDC(559579)
make: *** [Makefile:2248: check] Error 1
simo5 commented 1 year ago

What distribution is this? I fail to reproduce running as a user in Fedora 37

Can you reproduce when running as a regular user rather than root?

Yusong-Gao commented 1 year ago

I find the problem. The test suit can't run because of valgrind error, and now I can run make tests.