Stderrs are captured during unit tests

Bug #1482873 reported by Yusuke Hayashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Yusuke Hayashi

Bug Description

I see frequently warning messages in the result of gate-cinder-python27.
Those messages are as below:

<Warning Message 1>
/home/jenkins/workspace/gate-cinder-python27/.tox/py27/local/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30:
UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2).
The preferable way to get client class or object you can find in novaclient.client module.

<Warning Message 2>
/home/jenkins/workspace/gate-cinder-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py:2991: SAWarning: Table 'encryption' specifies columns 'volume_type_id' as primary_key=True, not matching locally specified columns 'encryption_id'; setting the current primary key columns to 'encryption_id'. This warning may become an exception in a future release
  ", ".join("'%s'" % c.name for c in self.columns)

<Warning Message 3>
cinder/zonemanager/fc_zone_manager.py:85: DeprecationWarning: object() takes no parameters
  class_._instance = object.__new__(class_, *args, **kwargs)

Changed in cinder:
assignee: nobody → Yusuke Hayashi (hayashi-yusuke)
summary: - Warning messages are showed during unit tests
+ Warning messages are shown during unit tests
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
summary: - Warning messages are shown during unit tests
+ Stderrs are captured during unit tests
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/210737
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=000aeb9df77dc61df9f597421a10a77c32bd89b0
Submitter: Jenkins
Branch: master

commit 000aeb9df77dc61df9f597421a10a77c32bd89b0
Author: Yusuke Hayashi <email address hidden>
Date: Sat Aug 8 23:12:18 2015 +0900

    Update deprecated version of novaclient

    Update novaclient v1.1 to v2
    because warning messages are shown as below when executing run_test.sh:

    UserWarning: Module novaclient.v1_1 is deprecated
    (taken as a basis for novaclient.v2).
    The preferable way to get client class or object
    you can find in novaclient.client module.

    Change-Id: I26602aceadac9a43d4fbaa14791bf6756eef9874
    Partial-Bug: #1482873

description: updated
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Closing this for now. Please do propose patches for any other cases found, but this is not something that impacts an end user.

Changed in cinder:
status: In Progress → 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.