https://bugs.openldap.org/show_bug.cgi?id=9268
Issue ID: 9268 Summary: Test065 fails due to invalid log level Product: OpenLDAP Version: 2.4.50 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: andy@asjohnson.com Target Milestone: ---
Line #109 of tests/scripts/test065-proxyauthz:
$SLAPD -f $CONF2 -h $URI2 -d $LVL -d pcache > $LOG2 2>&1 &
Results in this:
must compile with LDAP_DEBUG for debugging unrecognized log level "pcache" (deferred)
After which the test fails.
https://bugs.openldap.org/show_bug.cgi?id=9268
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to andy from comment #0)
Line #109 of tests/scripts/test065-proxyauthz:
$SLAPD -f $CONF2 -h $URI2 -d $LVL -d pcache > $LOG2 2>&1 &
Results in this:
must compile with LDAP_DEBUG for debugging
^^ this is the relevant message. If you haven't compiled with LDAP_DEBUG support then this test cannot succeed.
unrecognized log level "pcache" (deferred)
^^ this message is normal if you built pcache as a loadable module and would not alter the outcome of the test.
After which the test fails.
Works as designed, no bug here.
https://bugs.openldap.org/show_bug.cgi?id=9268
--- Comment #2 from andy@asjohnson.com --- I didn't see this in the documentation. It might be helpful if it can't be added to the documentation for some reason that the output say something like "this test is not valid for a system not compiled with debug enabled". Is it expected that compiling with debug enabled would be used for production servers?
Andy
-------- Original Message -------- Subject: [Issue 9268] Test065 fails due to invalid log level From: openldap-its@openldap.org Date: Sat, May 23, 2020 10:15 am To: openldap-bugs@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9268
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to andy from comment #0)
Line #109 of tests/scripts/test065-proxyauthz:
$SLAPD -f $CONF2 -h $URI2 -d $LVL -d pcache > $LOG2 2>&1 &
Results in this:
must compile with LDAP_DEBUG for debugging
^^ this is the relevant message. If you haven't compiled with LDAP_DEBUG support then this test cannot succeed.
unrecognized log level "pcache" (deferred)
^^ this message is normal if you built pcache as a loadable module and would not alter the outcome of the test.
After which the test fails.
Works as designed, no bug here.
https://bugs.openldap.org/show_bug.cgi?id=9268
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to andy from comment #2)
Is it expected that compiling with debug enabled would be used for production servers?
Yes.
https://bugs.openldap.org/show_bug.cgi?id=9268
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED