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

Re: Please test RE24



Dave Horsfall wrote:
On Thu, 1 May 2008, Quanah Gibson-Mount wrote:

Please test RE24 as it has been resync'd with head to address known
issues.

FreeBSD 7.0 - seems to hang on test 50.

Starting test050-syncrepl-multimaster ...
running defines.sh
Initializing server configurations...
Starting producer slapd on TCP/IP port 9011...
Using ldapsearch to check that producer slapd is running...
Inserting syncprov overlay on producer...
Starting consumer slapd on TCP/IP port 9012...
Using ldapsearch to check that consumer slapd is running...
Configuring syncrepl on consumer...
Starting consumer2 slapd on TCP/IP port 9013...
Using ldapsearch to check that consumer2 slapd is running...
Configuring syncrepl on consumer2...
Adding schema and databases on producer...
Using ldapadd to populate producer...
Waiting 20 seconds for syncrepl to receive changes...
Using ldapadd to populate consumer...
Waiting 20 seconds for syncrepl to receive changes...
Using ldapsearch to check that syncrepl received database changes...
Using ldapsearch to check that syncrepl received database changes on consumer2...

It's been sitting there for quite a while...

92752  p2  IN+    0:00.00 make test
92753  p2  IN+    0:00.00 /bin/sh -ec cd tests; make test
92754  p2  IN+    0:00.00 make test
92755  p2  IN+    0:00.00 make bdb
92757  p2  IN+    0:00.00 /bin/sh ./run -b bdb all
92766  p2  IN+    0:00.02 /bin/sh ./scripts/all
94481  p2  INs    0:00.03 -tcsh (tcsh)
98427  p2  IN+    0:00.01 /bin/sh ./scripts/test050-syncrepl-multimaster
98442  p2  SN+    0:00.16 /home/daveh/openldap/tests/../servers/slapd/slapd -s0 -F slapd.d -h ldap://localhost:9011/ -d 261
98447  p2  SN+    0:00.15 /home/daveh/openldap/tests/../servers/slapd/slapd -s0 -F ./slapd.d -h ldap://localhost:9012/ -d 261
98452  p2  IN+    0:00.01 /home/daveh/openldap/tests/../servers/slapd/slapd -s0 -F ./slapd.d -h ldap://localhost:9013/ -d 261
98994  p2  IN+    0:00.00 /bin/sh ./scripts/test050-syncrepl-multimaster
98995  p2  IN+    0:00.00 ../clients/tools/ldapsearch -P 3 -x -LLL -H ldap://localhost:9013/ -s base -b cn=Ursula Hampster,ou=Alumni Association,ou=People,dc=example,dc=com (objectClass=*)
98996  p2  IN+    0:00.00 awk /^dn:/ {print "OK"}

I can't give it too much attention right now.

Configuration is:

env CPPFLAGS=-I/usr/local/include/db42 LDFLAGS=-L/usr/local/lib/db42 \
   ./configure --without-cyrus-sasl --without-tls \
   --localstatedir=/var/db --enable-crypt --enable-ldap=yes \
   --enable-meta=yes --disable-slurpd \
   --enable-monitor=yes --enable-bdb=yes --enable-hdb=no --prefix=/usr/local \
   --disable-ipv6 --enable-syncprov --enable-auditlog --enable-unique \
   --enable-rwm

Do I need to enable something?

That looks ok for the most part. You realize of course that slurpd doesn't exist in 2.4, so "--disable-slurpd" is a no-op...

Since the hang is while trying to search consumer2, it would be helpful to attach to that slapd with a debugger and get a trace of all the threads on it. (PID 98452 in the above case.)
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/