cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 85d073b
Date Fri, 31 Mar 2017 06:00:49 GMT
Merge pull request #2021 from nvazquez/CLOUDSTACK-9854

CLOUDSTACK-9854: Fix test_primary_storage test failure due to live migrationFix for test_primary_storage
integration tests on simulator.

When finding storage pool migration options for volume on running vm, API returns None as
hypervisor doesn't support live migration.

````
2017-03-28 06:07:55,958 - DEBUG - ========Sending GET Cmd : findStoragePoolsForMigration=======
2017-03-28 06:07:55,977 - DEBUG - Response : None
2017-03-28 06:07:55,983 - CRITICAL - EXCEPTION: test_03_migration_options_storage_tags: ['Traceback
(most recent call last):\n', '  File "/opt/python/2.7.12/lib/python2.7/unittest/case.py",
line 329, in run\n    testMethod()\n', '  File "/home/travis/.local/lib/python2.7/site-packages/marvin/lib/decoratorGenerators.py",
line 30, in test_wrapper\n    return test(self, *args, **kwargs)\n', '  File "/home/travis/build/apache/cloudstack/test/integration/smoke/test_primary_storage.py",
line 547, in test_03_migration_options_storage_tags\n    pools_suitable = filter(lambda p
: p.suitableformigration, pools_response)\n', "TypeError: 'NoneType' object is not iterable\n"]
````

So we simply stop vm before sending findStoragePoolsForMigration command

* pr/2021:
  CLOUDSTACK-9854: Fix test_primary_storage test failure due to live migration

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/85d073b5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/85d073b5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/85d073b5

Branch: refs/heads/master
Commit: 85d073b54025c800e57678a10affa3d8cfdfe029
Parents: 0f0d908 11562dc
Author: Rajani Karuturi <rajani.karuturi@accelerite.com>
Authored: Fri Mar 31 11:29:19 2017 +0530
Committer: Rajani Karuturi <rajani.karuturi@accelerite.com>
Committed: Fri Mar 31 11:29:19 2017 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_primary_storage.py | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------



Mime
View raw message