Full_Name: Michael Str.der Version: master 0d9b8ebe4bfe584e796f683be6203d4a4eb421a2 OS: openSUSE Linux URL: Submission from: (NULL) (213.240.180.113) Currently this test fails with git master 0d9b8ebe4bfe584e796f683be6203d4a4eb421a2: michael@nb2:/usr/src/michael/openldap-git/master/openldap/tests> ./run -b hdb test007 Cleaning up test run directory leftover from previous run. Running ./scripts/test007-slapmodify for hdb... running defines.sh Running slapadd to build slapd database... Testing modify, add, and delete using slapmodify... slapmodify failed (1)! I can provide more logs if needed.
On Tue, Oct 27, 2015 at 08:24:08AM +0000, michael@stroeder.com wrote: > Currently this test fails with git master > 0d9b8ebe4bfe584e796f683be6203d4a4eb421a2: > > michael@nb2:.../openldap/tests> ./run -b hdb test007 > Cleaning up test run directory leftover from previous run. > Running ./scripts/test007-slapmodify for hdb... > running defines.sh > Running slapadd to build slapd database... > Testing modify, add, and delete using slapmodify... > slapmodify failed (1)! > > I can provide more logs if needed. Yes please. I am curious which modify/delete failed as I can't reproduce this failure. Cheers, Ondrej
ondra@mistotebe.net wrote: > On Tue, Oct 27, 2015 at 08:24:08AM +0000, michael@stroeder.com wrote: >> Currently this test fails with git master >> 0d9b8ebe4bfe584e796f683be6203d4a4eb421a2: >> >> michael@nb2:.../openldap/tests> ./run -b hdb test007 >> Cleaning up test run directory leftover from previous run. >> Running ./scripts/test007-slapmodify for hdb... >> running defines.sh >> Running slapadd to build slapd database... >> Testing modify, add, and delete using slapmodify... >> slapmodify failed (1)! >> >> I can provide more logs if needed. > > Yes please. I am curious which modify/delete failed as I can't > reproduce this failure. Strange: testrun/test.out has zero bytes. :-/ But the DB files are created. Other tests with -b hdb seem to work ok. Maybe it's just the test script? $ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean Can't see a problem on my side. BTW: It works with mdb though. Ciao, Michael.
On Tue, Oct 27, 2015 at 09:50:10AM +0000, michael@stroeder.com wrote: > Strange: testrun/test.out has zero bytes. :-/ > But the DB files are created. > > Other tests with -b hdb seem to work ok. > Maybe it's just the test script? I've let slapmodify honour logging settings in branch ITS8291 at https://github.com/mistotebe/openldap, could you paste the output of test.out with that enabled and possibly loglevel set to -1? Thanks, Ondrej
ondra@mistotebe.net wrote: > On Tue, Oct 27, 2015 at 09:50:10AM +0000, michael@stroeder.com wrote: >> Strange: testrun/test.out has zero bytes. :-/ >> But the DB files are created. >> >> Other tests with -b hdb seem to work ok. >> Maybe it's just the test script? > > I've let slapmodify honour logging settings in branch ITS8291 at > https://github.com/mistotebe/openldap, could you paste the output of > test.out with that enabled and possibly loglevel set to -1? See test.out here: http://www.stroeder.com/temp/openldap-its8291-test_out.gz Ciao, Michael.
On Sat, Dec 12, 2015 at 07:11:43PM +0000, michael@stroeder.com wrote: > ondra@mistotebe.net wrote: > > On Tue, Oct 27, 2015 at 09:50:10AM +0000, michael@stroeder.com wrote: > >> Strange: testrun/test.out has zero bytes. :-/ > >> But the DB files are created. > >> > >> Other tests with -b hdb seem to work ok. > >> Maybe it's just the test script? > > > > I've let slapmodify honour logging settings in branch ITS8291 at > > https://github.com/mistotebe/openldap, could you paste the output of > > test.out with that enabled and possibly loglevel set to -1? > > See test.out here: > > http://www.stroeder.com/temp/openldap-its8291-test_out.gz Hi, thanks for the logs, looks like an issue similar to the one fixed in ITS#7256, this time it is only BerkeleyDB 4.8 that seems to complain (have not tested with 4.7). Can you test with the latest commit at branch ITS8291 in my github repo (https://github.com/mistotebe/openldap)? Thanks, Ondrej
ondra@mistotebe.net wrote: > looks like an issue similar to the one fixed in > ITS#7256, this time it is only BerkeleyDB 4.8 that seems to complain > (have not tested with 4.7). > > Can you test with the latest commit at branch ITS8291 in my github repo > (https://github.com/mistotebe/openldap)? I've tested your branch ITS8291 with this commit: commit 47b7a1e29586793e87cacfa10fc50e2fc9d44b5f Author: Ondřej Kuzník <ondra@mistotebe.net> Date: Wed Dec 16 13:47:17 2015 +0100 ITS#8291 Reopen cursor after delete ./run -b hdb test007 works perfectly now. But ./run -b mdb test062 fails with: ldapsearch should have failed with Critical extension is unavailable (12)! ./scripts/test062-config-delete: line 164: kill: (18467) - No such process Likely the latter is unrelated. Ciao, Michael.
michael@stroeder.com wrote: > But ./run -b mdb test062 fails with: > ldapsearch should have failed with Critical extension is unavailable (12)! > ./scripts/test062-config-delete: line 164: kill: (18467) - No such process > > Likely the latter is unrelated. test062 fails *sometimes* also with upstream git master (see ITS#8151). So your solution for test007 seems to be ok. Ciao, Michael.
moved from Incoming to Software Bugs
The patches are available at ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170330-slapmodify-BerkeleyDB-fixes.tgz -- Ondřej Kuzník Senior Software Engineer Symas Corporation http://www.symas.com Packaged, certified, and supported LDAP solutions powered by OpenLDAP
changed notes
changed notes changed state Open to Test
fixed in master (master only) HDB deleted from master, closing
changed notes changed state Test to Closed