UVEs get logged to stdout in unit tests even if env variable LOG_DISABLE is set

Bug #1567230 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Medium
mkheni
R4.0
Fix Committed
Medium
mkheni
Trunk
Fix Committed
Medium
mkheni

Bug Description

Desired behavior is for LOG_DISABLE to disable all logging in unit tests.
This seems to have changed from 3.0 onwards.

Tags: analytics
Revision history for this message
Nischal Sheth (nsheth) wrote :

This is a bit of a pain when running tests inside gdb. Can we
please fix it? It's fine we need to introduce a new environment
variable like UVE_DISABLE if necessary.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/34295
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/34297
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/34298
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/34295
Committed: http://github.com/Juniper/contrail-controller/commit/489e73701dd634f17e556d40a27f912f13a93833
Submitter: Zuul (<email address hidden>)
Branch: master

commit 489e73701dd634f17e556d40a27f912f13a93833
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Aug 3 16:32:36 2017 -0700

Do not enable local logging if LOG_DISABLE environment variable is set

Change-Id: I7f14d20d89a6fc0ccf4c2c5804fea9130960c7d1
Closes-Bug: 1567230

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/34297
Committed: http://github.com/Juniper/contrail-controller/commit/50d14e16dca98e46be82078af4b57e0a949ecf96
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 50d14e16dca98e46be82078af4b57e0a949ecf96
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Aug 3 16:32:36 2017 -0700

Do not enable local logging if LOG_DISABLE environment variable is set

Change-Id: I7f14d20d89a6fc0ccf4c2c5804fea9130960c7d1
Closes-Bug: 1567230

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/34298
Committed: http://github.com/Juniper/contrail-controller/commit/0d4c59307275cd7021e100be843e2ae23a305a58
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 0d4c59307275cd7021e100be843e2ae23a305a58
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Aug 3 16:32:36 2017 -0700

Do not enable local logging if LOG_DISABLE environment variable is set

Change-Id: I7f14d20d89a6fc0ccf4c2c5804fea9130960c7d1
Closes-Bug: 1567230

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.