excessive log messages in unittests

Bug #1546861 reported by Craig Vyvial
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Amrith Kumar

Bug Description

something changed in the unittests in the last couple weeks where the unittests have a ton of log messages that look like errors but are not affecting the outcome of the tests.

something similar to the below is repeated many times. This should be resolved so it does not make the tox unittests a burden to sift through.

Trove administrative user has not been configured yet.
*************************
Unhandled message logged from guestagent.test_backups.CassandraBackupTest.test_backup_encrypted_zipped_nodetoolsnapshot_command, trove.guestagent.datastore.experimental.cassandra.service
*************************

dangming (743759846-7)
Changed in trove:
assignee: nobody → dangming (743759846-7)
Revision history for this message
Amrith Kumar (amrith) wrote :

See: https://review.openstack.org/#/c/219544/

Some tests need new mock's.

FYI: Doug Shelley is also looking into this.

Changed in trove:
status: New → Confirmed
importance: Low → High
Revision history for this message
Amrith Kumar (amrith) wrote :

dangming, this is needed for Mitaka. If you are able to get to it for m3, please confirm. otherwise I'll reassign and get it fixed.

dangming (743759846-7)
Changed in trove:
assignee: dangming (743759846-7) → nobody
Amrith Kumar (amrith)
Changed in trove:
assignee: nobody → Amrith (amrith)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/284299
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=e951cd743a3c612567a3e14ac0fd571ba26e8b28
Submitter: Jenkins
Branch: master

commit e951cd743a3c612567a3e14ac0fd571ba26e8b28
Author: Amrith Kumar <email address hidden>
Date: Wed Feb 24 12:24:25 2016 -0500

    Excessive messages logged during unit tests

    The addition of a debug message in change 01ff9529
    (01ff9529415ae46a5a8b2d3fa9981cb80e99cd5c) in
    trove/guestagent/datastore/experimental/cassandra/service.py resulted
    in unittests spewing the messages indicating that a logger was not
    defined for trove.guestagent.datastore.experimental.cassandra.service.

    Change-Id: I625b5b29a612531e8b9098fd0d8192c54d48526f
    Closes-Bug: 1546861

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/trove 5.0.0.0b3

This issue was fixed in the openstack/trove 5.0.0.0b3 development milestone.

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.