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

Re: Fwd: RE24 testing

Brett @Google wrote:
On Thu, Sep 11, 2008 at 2:33 AM, Quanah Gibson-Mount<quanah@zimbra.com> wrote:
Please test RE24.



on suse 10.2 SMP / xen kernel, ie :

Linux suse #1 SMP 2008-06-09 13:53:20 +0200 x86_64
x86_64 x86_64 GNU/Linux

test failed - producer and consumer2 databases differ
./scripts/test050-syncrepl-multimaster failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/home/maxfieb/keep-ldap/openldap-src-RE24/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/maxfieb/keep-ldap/openldap-src-RE24/tests'
make: *** [test] Error 2

compiling against bdb 4.7.25.NC (no patched applied)

bdb options :

../dist/configure --disable-java --enable-posixmutexes
--enable-largefile --enable-cxx --disable-compat185

BerkeleyDB will use excessive CPU on Linux unless you configure --with-mutex=POSIX/pthreads. By default it uses "hybrid" mutexes, which use an assembly language spinlock loop before falling back to pthread mutex. The spinlock will chew up all of your CPU on multiprocessor machines...

make install

openldap configure :

CFLAGS="-g -g3 -ggdb -ggdb3" CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib" \
./configure --enable-slapd --enable-backends --enable-shared \
--enable-overlays --disable-ipv6 --disable-sql --disable-ndb --with-threads \
--enable-ssl --enable-collect --enable-debug

building HEAD with same openldap configure options and same bdb
binaries above, all tests succeed (albeit much more slowly.. perhaps
DB_CONFIG needs tweaking in head ?)..

There's not much difference between HEAD and RE24 really. And I've seen test050 fail on both, at random times. Still haven't tracked it down.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/