https://bugs.openldap.org/show_bug.cgi?id=9931
Issue ID: 9931 Summary: test079 broken on MacOSX Product: OpenLDAP Version: 2.5.12 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
Strictly-conforming getopt doesn't allow mixing of -options and plain args. All documentation shows that LDAP attributes must be last on the ldapsearch commandline, but the script is putting additional -options after the olmDbConnURI attribute specification, which causes the following -options to be ignored and the search command fails.
https://bugs.openldap.org/show_bug.cgi?id=9931
--- Comment #1 from Howard Chu hyc@openldap.org --- test082 is also broken. sed command on slapd.1.conf not working.
https://bugs.openldap.org/show_bug.cgi?id=9931
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |TEST
https://bugs.openldap.org/show_bug.cgi?id=9931
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|build |test suite OS|All |Mac OS
--- Comment #2 from Howard Chu hyc@openldap.org --- Probably also affects FreeBSD and other *BSDs too.
https://bugs.openldap.org/show_bug.cgi?id=9931
--- Comment #3 from Howard Chu hyc@openldap.org --- standalone lloadd SEGVs on completion of most load balancer tests. Test scripts all report success.
https://bugs.openldap.org/show_bug.cgi?id=9931
--- Comment #4 from Howard Chu hyc@openldap.org --- (In reply to Howard Chu from comment #3)
standalone lloadd SEGVs on completion of most load balancer tests. Test scripts all report success.
Running tests with lloadd module works without any SEGVs showing up.
https://bugs.openldap.org/show_bug.cgi?id=9931
--- Comment #5 from Howard Chu hyc@openldap.org --- test004 fails for lloadd module
00:01:20 Starting test004-monitor for lloadd+mdb...
running defines.sh Starting the first slapd on TCP/IP port 9012... Running slapindex to index slapd database... Testing slapd searching... Waiting 7 seconds for slapd to start... Running slapadd to build slapd database... Running slapindex to index slapd database... Starting second slapd on TCP/IP port 9013... Testing slapd searching... Starting lloadd on TCP/IP port 9011... Testing slapd searching... Waiting 7 seconds for lloadd to start... Sending a search request to prime the counters... Retrieving data from cn=monitor... Adding first tier... Adding first backend server... Waiting until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... ldapcompare failed (1)!
00:02:19 Failed test004-monitor for lloadd+mdb after 59 seconds
(exit 1)
https://bugs.openldap.org/show_bug.cgi?id=9931
--- Comment #6 from Howard Chu hyc@openldap.org --- Same for test007
./run lloadd/test007 Cleaning up test run directory leftover from previous run. Running ../../r26/tests/scripts/lloadd/test007-coherence for mdb... running defines.sh Starting the first slapd on TCP/IP port 9012... Running slapindex to index slapd database... Testing slapd searching... Running slapadd to build slapd database... Running slapindex to index slapd database... Starting second slapd on TCP/IP port 9013... Testing slapd searching... Starting lloadd on TCP/IP port 9011... Testing slapd searching... Waiting 7 seconds for lloadd to start... Setting up restrictions... Sending a search request to prime the counters... Adding first tier... Adding first backend server... Waiting until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... Waiting 7 seconds until connections are established... ldapcompare failed (1)!
https://bugs.openldap.org/show_bug.cgi?id=9931
--- Comment #7 from Howard Chu hyc@openldap.org --- (In reply to Howard Chu from comment #3)
standalone lloadd SEGVs on completion of most load balancer tests. Test scripts all report success.
This is related to ITS#9907.
Will ignore any other lloadd issues for this particular ticket.
https://bugs.openldap.org/show_bug.cgi?id=9931
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.14 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9931
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #8 from Quanah Gibson-Mount quanah@openldap.org --- head:
• a858f892 by Howard Chu at 2022-10-11T14:06:46+01:00 ITS#9931 test079: fix ldapsearch invocations
• 62f52807 by Howard Chu at 2022-10-11T15:14:54+01:00 ITS#9931 test scripts: fix BSD vs GNU date syntax
• 5082754f by Howard Chu at 2022-10-11T15:21:43+01:00 ITS#9931 test082 fix sed portability
• 572a9a15 by Howard Chu at 2022-10-11T17:03:34+01:00 ITS#9931 test scripts: fix BSD vs GNU date syntax
RE26:
• 2e932438 by Howard Chu at 2022-10-13T15:43:48+00:00 ITS#9931 test079: fix ldapsearch invocations
• 03076cba by Howard Chu at 2022-10-13T15:43:58+00:00 ITS#9931 test scripts: fix BSD vs GNU date syntax
• cff7eed2 by Howard Chu at 2022-10-13T15:44:04+00:00 ITS#9931 test082 fix sed portability
• 99c0b2dd by Howard Chu at 2022-10-13T15:44:12+00:00 ITS#9931 test scripts: fix BSD vs GNU date syntax
RE25:
• ffd05c98 by Howard Chu at 2022-10-13T15:47:41+00:00 ITS#9931 test079: fix ldapsearch invocations
• edb67331 by Howard Chu at 2022-10-13T16:00:13+00:00 ITS#9931 test scripts: fix BSD vs GNU date syntax
• 6a16ee52 by Howard Chu at 2022-10-13T16:00:24+00:00 ITS#9931 test082 fix sed portability
• 1112612b by Howard Chu at 2022-10-13T16:00:56+00:00 ITS#9931 test scripts: fix BSD vs GNU date syntax
https://bugs.openldap.org/show_bug.cgi?id=9931
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9931
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED