Logging output shown when running tests

Bug #1218462 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Julie Pichon
Icehouse
Fix Released
Low
Julie Pichon

Bug Description

When running ./run_tests.sh at the moment, logging information related to requests shows up in the test output:

(Updated description)
INFO:openstack_auth.views:Logging out user "test_user"

Revision history for this message
Floren (florenllanos) wrote :

Reproduced with Ubuntu 12.04 server (fresh install).

Changed in horizon:
status: New → Confirmed
Revision history for this message
Julie Pichon (jpichon) wrote :

This doesn't seem to be a problem anymore. The only log output remaining is " INFO:openstack_auth.views:Logging out user "test_user". " coming from openstack_dashboard.dashboards.settings.password.tests.test_change_password_shows_message_on_login_page (from commit 85f4c8b473).

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Closing out since this has been fixed to the best of my knowledge

Changed in horizon:
status: Confirmed → Invalid
Revision history for this message
Julie Pichon (jpichon) wrote :

Some openstack_auth output is still displayed (fresh devstack).

Changed in horizon:
importance: Undecided → Low
status: Invalid → Triaged
description: updated
Revision history for this message
Floren (florenllanos) wrote :

I try to reproduce again it with fresh install devstack in Ubuntu 12.04 server. This it seems solved, I don't see openstack_auth displayed.

Revision history for this message
Julie Pichon (jpichon) wrote :

Unfortunately, it's only temporarily hidden because the tests run with Keystone v2, and that particular feature is only compatible with v3.

https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/settings/password/tests.py

Revision history for this message
Julie Pichon (jpichon) wrote :

Let's wait until bug 1239757 is resolved to see if this one is still valid.

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

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

Changed in horizon:
assignee: nobody → Julie Pichon (jpichon)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/85266
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8665768523f0afa057a485a7b0194c4b71e3a627
Submitter: Jenkins
Branch: master

commit 8665768523f0afa057a485a7b0194c4b71e3a627
Author: Julie Pichon <email address hidden>
Date: Fri Apr 4 09:40:07 2014 +0100

    Add logging handler for openstack_auth in the tests

    Without it, log output below ERROR level can also be displayed in the
    tests output.

    Change-Id: I342b20fc26468a41843496f11db3e0079b50505c
    Closes-Bug: #1218462

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to horizon (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/90142

Julie Pichon (jpichon)
Changed in horizon:
milestone: none → juno-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/icehouse)

Reviewed: https://review.openstack.org/90142
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=7c47ec5e0cb8a9a90aeb032fab9627453e9777b6
Submitter: Jenkins
Branch: stable/icehouse

commit 7c47ec5e0cb8a9a90aeb032fab9627453e9777b6
Author: Julie Pichon <email address hidden>
Date: Fri Apr 4 09:40:07 2014 +0100

    Add logging handler for openstack_auth in the tests

    Without it, log output below ERROR level can also be displayed in the
    tests output.

    Change-Id: I342b20fc26468a41843496f11db3e0079b50505c
    Closes-Bug: #1218462
    (cherry picked from commit 8665768523f0afa057a485a7b0194c4b71e3a627)

tags: added: in-stable-icehouse
Alan Pevec (apevec)
tags: removed: in-stable-icehouse
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-1 → 2014.2
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.