Lucio De Re wrote:
On 1/28/20, Quanah Gibson-Mount quanah@symas.com wrote:
This is the second testing call for OpenLDAP 2.4.49. Depending on the results, this may be the only testing call.
Under NetBSD 8.1 (i386) compilation was eventually successful:
- SASL is not in the distribution, so the "/usr/pkg" prefix was needed
in a few places;
- HDB and BDB need to be disabled as at least one of them is not compatible.
When executing "make test", one of LD_LIBRARY_PATH or LD_RUN_PATH (the former, I think) had to be set to /usr/pkg/lib. Perhaps the "rpath" can be set during compilation, I'm not that familiar with the details.
Finally, a lot of tests succeeded, albeit slowly (it's an old host), they stopped with this last stanza:
Most likely slapd ran out of filedescriptors, as the BSD default for the nfiles ulimit tends to be small. Raising your ulimit should allow this to pass.
Starting test060-mt-hot for mdb...
running defines.sh Running slapadd to build slapd database... Running slapindex to index slapd database... Starting slapd on TCP/IP port 9011... /home/lucio/tmp/openldap-OPENLDAP_REL_ENG_2_4-c5ea2bb/tests/../servers/slapd/slapd -s0 -f /home/lucio/tmp/openldap-OPENLDAP_REL_ENG_2_4-c5ea2bb/tests/testrun/slapd.1.conf -h ldap://localhost:9011/ -d stats Testing basic monitor search... Monitor searches Testing basic mt-hot search: 1 threads (1 x 50000) loops... ./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 1 -L 1 -l 50000 Testing basic mt-hot search: 5 threads (1 x 10000) loops... ./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 5 -L 1 -l 10000 Testing basic mt-hot search: 100 threads (5 x 100) loops... ./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 100 -L 5 -l 100 slapd-mtread failed (1)!
test060-mt-hot failed for mdb
(exit 1) *** Error code 1
Stop. make[2]: stopped in /home/lucio/tmp/openldap-OPENLDAP_REL_ENG_2_4-c5ea2bb/tests *** Error code 1
Stop. make[1]: stopped in /home/lucio/tmp/openldap-OPENLDAP_REL_ENG_2_4-c5ea2bb/tests *** Error code 1
Stop. make: stopped in /home/lucio/tmp/openldap-OPENLDAP_REL_ENG_2_4-c5ea2bb
I'm afraid I don't see anything else that you may find useful.
Lucio.