tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestJSON.test_volume_list_details_with_multiple_params

Bug #1313970 reported by Ramy Asselin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
Abhijeet Jain

Bug Description

2014-04-26 01:20:38.248 | ======================================================================
2014-04-26 01:20:38.248 | FAIL: tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestJSON.test_volume_list_details_with_multiple_params[gate]
2014-04-26 01:20:38.248 | tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestJSON.test_volume_list_details_with_multiple_params[gate]
2014-04-26 01:20:38.248 | ----------------------------------------------------------------------
2014-04-26 01:20:38.248 | _StringException: Empty attachments:
2014-04-26 01:20:38.248 | stderr
2014-04-26 01:20:38.249 | stdout
2014-04-26 01:20:38.249 |
2014-04-26 01:20:38.249 | pythonlogging:'': {{{2014-04-26 01:12:27,856 Request (VolumesV2ListTestJSON:test_volume_list_details_with_multiple_params): 200 GET http://127.0.0.1:8776/v2/cc3343f530684ed681fe6b5de41ac796/volumes/detail?status=available&sort_dir=asc&limit=2&sort_key=created_at 0.077s}}}
2014-04-26 01:20:38.249 |
2014-04-26 01:20:38.249 | Traceback (most recent call last):
2014-04-26 01:20:38.249 | File "tempest/api/volume/v2/test_volumes_list.py", line 228, in test_volume_list_details_with_multiple_params
2014-04-26 01:20:38.249 | _list_details_with_multiple_params()
2014-04-26 01:20:38.249 | File "tempest/api/volume/v2/test_volumes_list.py", line 223, in _list_details_with_multiple_params
2014-04-26 01:20:38.249 | "%s < %s" % (val0, val1))
2014-04-26 01:20:38.249 | File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue
2014-04-26 01:20:38.249 | raise self.failureException(msg)
2014-04-26 01:20:38.250 | AssertionError: 2014-04-26T01:12:24.000000 < 2014-04-26T01:12:24.000000

Revision history for this message
Ramy Asselin (ramy-asselin) wrote :
Revision history for this message
Ramy Asselin (ramy-asselin) wrote :

I haven't looked in detail at this test, but perhaps there's an issue with the < vs <= since the timestamps are equal:

AssertionError:
2014-04-26T01:12:24.000000 <
2014-04-26T01:12:24.000000

Changed in tempest:
assignee: nobody → Abhijeet Jain (abhijeet-jain)
status: New → Confirmed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
status: Confirmed → In Progress
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
Changed in tempest:
importance: Undecided → High
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/91528
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=99f269b4839c04a201378b7bb89c851645fb9182
Submitter: Jenkins
Branch: master

commit 99f269b4839c04a201378b7bb89c851645fb9182
Author: Abhijeet.Jain <email address hidden>
Date: Thu May 1 12:55:08 2014 +0530

    modifies the test to sort based on UUID

    This patch modifies the volume-list filter test to perform the sorting
    based on UUID instead of created_at timestamp as this timestamp might
    be same for two volumes but UUID for every volume is unique.

    Change-Id: Ibe1ab23c12ad8afe8d5adab6fe0c617445adc90d
    Closes-Bug: 1313970

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
Sean Dague (sdague) wrote :

Dropped from ER tracking

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.