[Date Prev][Date Next] [Chronological] [Thread] [Top]

2.4.43 "make test" hanging in "test039-glue-ldap-concurrency" on Solaris 10



Forgive me if this is the wrong place (maybe openldap-build?).

I've built OpenLDAP 2.4.43 on Solaris 10 1/13 OK, but when I run the
"make test" phase it hangs in the "test039-glue-ldap-concurrency" test:

--
>>>>> Starting test039-glue-ldap-concurrency for bdb...
running defines.sh

Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Starting slapd on TCP/IP port 9012...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Starting slapd on TCP/IP port 9013...
Using ldapsearch to check that slapd is running...
MONITORDB yes
SRCDIR /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/testrun/./testdata
DSTDIR /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/testrun
pwd /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests
Using tester for concurrent server access...
PID=16664 - Read(1000): entry="cn=Barbara Jensen,ou=Information Technology Division,ou=People,o=Example,c=US".

[... blah blah etc. ...]

PID=17066 - Bind(1000): dn="cn=Barbara Jensen,ou=Information Technology Division,ou=People,o=Example,c=US".
PID=17080 - Search(500): base="cn=Monitor" scope=sub filter="(objectClass=*)" attrs=cn (more...).
PID=17096 - Read(1000): entry="cn=Somewhere,ou=Meta,o=Example,c=US".

slapd-bind PID=17066: ldap_sasl_bind_s: Invalid credentials (49)

PID=17102 - Bind(1000): dn="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US".
PID=17112 - Search(500): base="cn=Monitor" scope=sub filter="(objectClass=*)" attrs=cn (more...).
PID=17118 - Read(1000): entry="cn=Backend 1,cn=Backends,cn=Monitor".
PID=17135 - Bind(1000): base="ou=People,o=Example,c=US", filter="(userPassword=*)" attr="userPassword".
  PID=17135 - Bind base="ou=People,o=Example,c=US" filter="(userPassword=*)" got 3 values.
--

This is the last output I get.  "ps" shows several test servers running
as well as the test harness clients; "lsof" shows the clients stuck in
poll() and doing nothing.  They all have ESTABLISHED connections to their
servers.

--
zorro:1:1014 [/] # truss -p 17118
pollsys(0x0002CEFC, 1, 0x00000000, 0x00000000) (sleeping...)
^C
zorro:1:1015 [/] # truss -p 17135
pollsys(0x0002C39C, 1, 0x00000000, 0x00000000) (sleeping...)
--

I did a "gcore" and it says it's waiting in ldap_int_select():

--
(dbx) where
  [1] __pollsys(0x2c39c, 0x1, 0x0, 0x0, 0xfef523f0, 0x0), at 0xfeede7ac 
  [2] _pollsys(0x2c39c, 0x1, 0x0, 0x0, 0x0, 0x2bb00), at 0xfeece490 
  [3] _poll(0x2c39c, 0x1, 0xffffffff, 0xffbfed8c, 0xff3ec2cc, 0x0), at 0xfee74ccc 
=>[4] ldap_int_select(ld = 0x289d0, timeout = (nil)), line 1139 in "os-ip.c"
  [5] wait4msg(ld = 0x289d0, msgid = 3, all = 1, timeout = (nil), result = 0xffbfef30), line 312 in "result.c"
  [6] ldap_result(ld = 0x289d0, msgid = 3, all = 1, timeout = (nil), result = 0xffbfef30), line 117 in "result.c"
  [7] ldap_sasl_bind_s(ld = 0x289d0, dn = 0x2ba58 "cn=Barbara Jensen,ou=Information Technology Division,ou=People,o=Example,c=US", mechanism = (nil), cred = 0xffbff080, sctrls = (nil), cctrls = (nil), servercredp = (nil)), line 210 in "sasl.c"
--

Why are these things just sitting here instead of completing and exiting?

BTW I am using the Solaris robust mutex fix patch (it wouldn't build
otherwise) posted a few weeks back.  Configured via

./configure --prefix=/opt/openldap --enable-modules --with-ldap-module=dynamic\
--enable-bdb --enable-rlookups --enable-wrappers --enable-dynamic \
--enable-ldap --disable-ipv6 --enable-overlays --with-threads --enable-relay\
--enable-syslog

Puzzled in Pasadena,

	- Greg

P.S. Here's the "ps" output if it matters

zorro:1:1011 [/] # ps -ax
   PID TT       S  TIME COMMAND
[...]
  4413 pts/5    S  0:00 make test
  4414 pts/5    S  0:00 sh -ce cd tests; make test
  4415 pts/5    S  0:00 make test
  4416 pts/5    S  0:00 make bdb
  4418 pts/5    S  0:00 /bin/sh ./run -b bdb all
  4429 pts/5    S  0:00 /bin/sh ./scripts/all
 13917 pts/5    S  0:00 -sh
 13922 pts/5    S  0:00 -csh
 16491 pts/5    S  0:00 /bin/sh ./scripts/test039-glue-ldap-concurrency

 16502 pts/5    S  0:44 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/servers/slapd/.libs/slapd -s0 -f /usr/local/src/networking/OpenLDAP
 16560 pts/5    S  0:05 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/servers/slapd/.libs/slapd -s0 -f /usr/local/src/networking/OpenLDAP
 16604 pts/5    S  2:05 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/servers/slapd/.libs/slapd -s0 -f /usr/local/src/networking/OpenLDAP

 16649 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-tester -P ./progs -d /usr/local/src/network
 16668 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 16674 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 16677 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-modrdn -h localhost -p 9013 -D cn=Man
 16680 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 16943 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-modrdn -h localhost -p 9013 -D cn=Man
 16957 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-modify -h localhost -p 9013 -D cn=Man
 16959 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-addel -h localhost -p 9013 -D cn=Mana
 16981 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 17005 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-search -h localhost -p 9013 -D cn=Man
 17017 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-read -h localhost -p 9013 -D cn=Manag
 17033 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 17047 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-search -h localhost -p 9013 -D cn=Man
 17061 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-read -h localhost -p 9013 -D cn=Manag
 17066 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 17080 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-search -h localhost -p 9013 -D cn=Man
 17096 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-read -h localhost -p 9013 -D cn=Manag
 17102 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L
 17112 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-search -h localhost -p 9013 -D cn=Man
 17118 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-read -h localhost -p 9013 -D cn=Manag
 17135 pts/5    S  0:00 /usr/local/src/networking/OpenLDAP/openldap-2.4.43/tests/progs/.libs/slapd-bind -h localhost -p 9013 -l 1000 -L