Bug 1306419 - Unit tests for shade are failing
Summary: Unit tests for shade are failing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-shade
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Belanger
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1315111
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-10 19:29 UTC by Paul Belanger
Modified: 2016-04-20 14:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 14:05:39 UTC
Type: Bug


Attachments (Terms of Use)
current version of local spec (5.06 KB, patch)
2016-02-10 19:34 UTC, Paul Belanger
no flags Details | Diff

Description Paul Belanger 2016-02-10 19:29:15 UTC
Currently, the shades that ship with shade are failing.  This is because we are not using os-client-config >=1.13.0

FAIL: shade.tests.unit.test_users.TestUsers.test_is_user_in_group
tags: worker-7
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "/builddir/build/BUILD/shade-1.4.0/shade/tests/unit/test_users.py", line 31, in setUp
    self.cloud = shade.operator_cloud(validate=False)
  File "/builddir/build/BUILD/shade-1.4.0/shade/__init__.py", line 92, in operator_cloud
    return OperatorCloud(cloud_config=cloud_config)
  File "/builddir/build/BUILD/shade-1.4.0/shade/operatorcloud.py", line 35, in __init__
    super(OperatorCloud, self).__init__(*args, **kwargs)
  File "/builddir/build/BUILD/shade-1.4.0/shade/openstackcloud.py", line 169, in __init__
    cache_expiration_time = int(cloud_config.get_cache_expiration_time())
TypeError: 'NoneType' object is not callable

Comment 1 Paul Belanger 2016-02-10 19:30:19 UTC
The fix is to bump os-client-config >=1.13.0. I am currently working on that.

Comment 2 Paul Belanger 2016-02-10 19:34:41 UTC
Created attachment 1122890 [details]
current version of local spec

Comment 3 Jan Kurik 2016-02-24 14:28:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase


Note You need to log in before you can comment on or make changes to this bug.