Tempest is dumping debug-level messages to console output

Bug #1207066 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
Matthew Treinish

Bug Description

I'm running Tempest locally on a RHEL 6.4 installation using the latest code from github on master and executing with nosetests, not using a virtual environment, and I just started seeing (within the last 24 hours) the debug level messages going straight to the console:

http://paste.openstack.org/show/42781/

Apparently this is showing up in the gate also:

http://logs.openstack.org/26/39326/2/check/gate-tempest-devstack-vm-postgres-full/37599/console.html.gz

Revision history for this message
Clark Boylan (cboylan) wrote :

It looks like change I31b460e454123a4211c0a8a1dc91bbfd562ce81a with sha f4a9b0f55fa29f5e1a50777b0090335cb71188f5 may be causing this.

From a logging perspective this takes the console logs from about 2.5MB uncompressed to 20MB uncompressed. It adds a bunch of noise. It would be better to do like nova and friends and capture these logs into a file if necessary.

Changed in tempest:
assignee: nobody → Matthew Treinish (treinish)
importance: Undecided → High
milestone: none → havana-3
status: New → Triaged
Revision history for this message
Zhikun Liu (zhikunliu) wrote :

I got the same problem. But we can set the log_config = /opt/stack/tempest/etc/logging.conf.sample in tempest.conf to record the log in tempest.log.

Revision history for this message
Matt Riedemann (mriedem) wrote :

Yeah, I thought about doing the same as a workaround. I'm not using devstack so the location of logging.conf.sample is different, but that is a trivial matter in my case.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/39505
Committed: http://github.com/openstack/tempest/commit/bfd96e119d10bab4cd301271357f509bd47059fe
Submitter: Jenkins
Branch: master

commit bfd96e119d10bab4cd301271357f509bd47059fe
Author: Attila Fazekas <email address hidden>
Date: Wed Jul 31 17:19:10 2013 +0200

    Disable logging to the stderr

    The oslo logger logs to the stderr by default.
    This configuration change will disable the stderr logging.

    Fixing Bug 1207066

    Change-Id: I1dd238811480daf8e8e8df3684e2aadc74442ff8

Matt Riedemann (mriedem)
Changed in tempest:
status: Triaged → Fix Released
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.