vanilla test_get_configs() fails on i386

Bug #1386743 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Corey Bryant

Bug Description

vanilla test_get_configs() fails on i386. Here's a sample traceback:

Traceback (most recent call last):
  File "/build/buildd/sahara-2014.2/sahara/tests/unit/plugins/vanilla/v1_2_1/test_plugin.py", line 82, in test_get_configs
    self.assertIsInstance(cfg.default_value, int)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 389, in assertIsInstance
    self.assertThat(obj, matcher, msg)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
MismatchError: '10737418240' is not an instance of int
Traceback (most recent call last):
_StringException: Empty attachments:
  stderr
  stdout

Changed in sahara:
assignee: nobody → Corey Bryant (corey.bryant)
Changed in sahara:
milestone: none → kilo-2
Revision history for this message
Sergey Lukjanov (slukjanov) wrote :
Changed in sahara:
milestone: kilo-2 → kilo-1
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/131458
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=f8201fd53da6a362afe5c914b0e50d406887f30c
Submitter: Jenkins
Branch: master

commit f8201fd53da6a362afe5c914b0e50d406887f30c
Author: Corey Bryant <email address hidden>
Date: Tue Oct 28 10:33:06 2014 -0400

    Fix vanilla test_get_configs() for i386

    When tests are executed on i386, default config values such as
    10737418240 are instances of long, whereas when tests are executed
    on amd64, the same value is an instance of int.

    Closes-bug: 1386743
    Change-Id: Iceeb557f3daf40ab4a2ca0dec886e1a646f3b6ef

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-1 → 2015.1.0
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.