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:
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.
--On Wednesday, January 29, 2020 10:17 AM +0200 Lucio De Re lucio.dere@gmail.com wrote:
test060-mt-hot failed for mdb
(exit 1) *** Error code 1
I'm afraid I don't see anything else that you may find useful.
Well generally you would need to look in the directory created for the test run and see what the logs show. However, your build sounds like it's failing to properly set the run path and it's not clear to me how well concurrency works on your system. OpenLDAP 2.5 adds support for kqueue on *BSD OSes that support it, so hopefully any concurrency issues are resolved with that.
Also the test suite is highly timing dependent at this time, so slow machines often have a high rate of failure.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
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.
On 1/29/20, Howard Chu hyc@symas.com wrote:
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.
Easy enough to check. Will do as soon as I get a chance to start up that server.
Probably not an OpenLDAP issue, but on the amd64 host I've been trying this morning, I can't get past ./configure: it keep returning a 77 errno (ENOLCK - LK_SLEEPFAIL is set and a sleep was done) seemingly as soon as it invokes the compiler. I wonder if it is a shell problem?
I did try as superuser and for a while I did get some joy - but then /usr/pkg was getting in the way. I hate debugging two simultaneous, unrelated error conditions.
Lucio.
openldap-technical@openldap.org