[Openstack] Some Volume tests failed

Nikesh Kumar Mahalka nikeshmahalka at vedams.com
Mon Jul 28 09:55:55 UTC 2014


I deployed a single node devstack on Ubuntu 14.04.
This devstack belongs to Juno.

I am running below test:
cd /opt/stack/tempest
./run_tempest.sh tempest.api.volume


But some tests are failed.Manually i am able to perform all volume operations.
Can any one tell where am i wrong?
Below is portion of that:

======================================================================
FAIL: tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestXML.test_volume_from_snapshot[gate]
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2014-07-28 12:01:41,514 3278 INFO     [tempest.common.rest_client]
Request (VolumesSnapshotTestXML:test_volume_from_snapshot): 200 POST
http://192.168.2.64:8776/v1/eea01c797b0c4df7b1ead18038697a2e/snapshots
0.117s
2014-07-28 12:01:41,569 3278 INFO     [tempest.common.rest_client]
Request (VolumesSnapshotTestXML:test_volume_from_snapshot): 200 GET
http://192.168.2.64:8776/v1/eea01c797b0c4df7b1ead18038697a2e/snapshots/20d0f8ad-9b5b-49f4-a37e-34b762bd0ca7
0.054s
2014-07-28 12:01:43,621 3278 INFO     [tempest.common.rest_client]
Request (VolumesSnapshotTestXML:test_volume_from_snapshot): 200 GET
http://192.168.2.64:8776/v1/eea01c797b0c4df7b1ead18038697a2e/snapshots/20d0f8ad-9b5b-49f4-a37e-34b762bd0ca7
0.049s
}}}

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py",
line 181, in test_volume_from_snapshot
    snapshot = self.create_snapshot(self.volume_origin['id'])
  File "/opt/stack/tempest/tempest/api/volume/base.py", line 106, in
create_snapshot
    'available')
  File "/opt/stack/tempest/tempest/services/volume/xml/snapshots_client.py",
line 136, in wait_for_snapshot_status
    value = self._get_snapshot_status(snapshot_id)
  File "/opt/stack/tempest/tempest/services/volume/xml/snapshots_client.py",
line 109, in _get_snapshot_status
    snapshot_id=snapshot_id)
SnapshotBuildErrorException: Snapshot
20d0f8ad-9b5b-49f4-a37e-34b762bd0ca7 failed to build and is in ERROR
status


Ran 246 tests in 4149.523s

FAILED (failures=10)














Regards
Nikesh




More information about the Openstack mailing list