LDAP debug logging during unit tests brings us close to causing jenkins to fail our tests

Bug #1427437 reported by Henry Nash
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Henry Nash

Bug Description

The Jenkins runs of our unit tests have a cap of 50Mb of log output..if we generate more than that, then it will fail out tests on the assumption that something is wrong. Our full run of our tests brings us perilously close already to this limit - primarily due to LDAP debug logging. We should switch off ldap debug logging for our unit tests.

Revision history for this message
Henry Nash (henry-nash) wrote :

This problem is currently stopping one of my patches passing (https://review.openstack.org/#/c/159675/), since I have created another LDAP scenario...and that pushes us over the 50Mb limit.

Changed in keystone:
assignee: nobody → Henry Nash (henry-nash)
importance: Undecided → High
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/160872

Changed in keystone:
status: New → In Progress
Henry Nash (henry-nash)
Changed in keystone:
importance: Critical → High
Changed in keystone:
assignee: Henry Nash (henry-nash) → Adam Young (ayoung)
Changed in keystone:
assignee: Adam Young (ayoung) → Henry Nash (henry-nash)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/160872
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=d099aecb1af3e248b2411172e8306a54a576aa17
Submitter: Jenkins
Branch: master

commit d099aecb1af3e248b2411172e8306a54a576aa17
Author: Henry Nash <email address hidden>
Date: Tue Mar 3 16:30:54 2015 +0000

    Stop debug logging of Ldap while running unit tests

    Debug logging of Ldap generates at least 25Mb of log during
    a full run of unit tests. Combine this with other logging and
    we are close to blowing the 50Mb limit for a unit test run,
    meaning we cannot currently, for instance, add new Ldap tests.

    This patch changes the log level to INFO for Ldap.

    Change-Id: I36265212d402c96c33435fb0ff5c73acbcb42c89
    Closes-bug: 1427437

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-3 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.