cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koushik Das (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-6767) [Automation] integration.smoke.test_volumes.TestVolumes.test_07_resize_fail is failing on simulator
Date Tue, 27 May 2014 06:13:01 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Koushik Das reassigned CLOUDSTACK-6767:
---------------------------------------

    Assignee: Koushik Das

> [Automation] integration.smoke.test_volumes.TestVolumes.test_07_resize_fail is failing
on simulator
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6767
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6767
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>            Reporter: Koushik Das
>            Assignee: Koushik Das
>             Fix For: 4.4.0
>
>
> The test is not suppose to run on simulator. There is explicit check in code to not allow
resize volume for simulator HV.
> Exception: Job failed: {jobprocstatus : 0, created : u'2014-05-25T20:19:27-0700', cmd
: u'org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin', userid : u'338d28d4-e482-11e3-a86b-00163e0af42c',
jobstatus : 2, jobid : u'cb3ef976-6aed-4137-a393-8f90cd1cff58', jobresultcode : 530, jobresulttype
: u'object', jobresult : {errorcode : 530, errortext : u'Cloudstack currently only supports
volumes marked as KVM, VMware, XenServer hypervisor for resize'}, accountid : u'338d026e-e482-11e3-a86b-00163e0af42c'}
> test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): CRITICAL: FAILED: test_07_resize_fail:
['Traceback (most recent call last):\n', '  File "/usr/local/lib/python2.7/unittest/case.py",
line 331, in run\n    testMethod()\n', '  File "/automation/virtenv/00-16-3e-0a-f4-2c/261/test/integration/smoke/test_volumes.py",
line 552, in test_07_resize_fail\n    "ResizeVolume - verify root disks cannot be resized
by disk offering id")\n', '  File "/usr/local/lib/python2.7/unittest/case.py", line 515, in
assertEqual\n    assertion_func(first, second, msg=msg)\n', '  File "/usr/local/lib/python2.7/unittest/case.py",
line 508, in _baseAssertEqual\n    raise self.failureException(msg)\n', 'AssertionError: ResizeVolume
- verify root disks cannot be resized by disk offering id\n']
> Earlier the test was incorrectly checking for wrong error and so was passing even for
simulator. As part of the below commit the test case was fixed to check correct error and
so started failing.
> commit 8eca37056f5bb1eee10f0bedee785142d7c3437a
> Author: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
> Date:   Thu May 15 23:19:06 2014 -0400
>     CLOUDSTACK-6657: Adding condition for checking error code 530 across test cases
>     
>     Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message