cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7762) [Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py
Date Tue, 23 Dec 2014 09:23:13 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256771#comment-14256771
] 

ASF subversion and git services commented on CLOUDSTACK-7762:
-------------------------------------------------------------

Commit 0d75682a341162b45afd1bc7784a4aaffd1a5aa6 in cloudstack's branch refs/heads/master from
SrikanteswaraRao Talluri
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0d75682 ]

Revert "CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in
smoke/test_vm_snapshots.py"

This reverts commit f510ef995baaa9addefc22ff0330cd51dee1dd95.


> [Automation] -  Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py

> -----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7762
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7762
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Test
>    Affects Versions: 4.5.0
>         Environment: Build from master
>            Reporter: Sangeetha Hariharan
>             Fix For: 4.5.0
>
>
> test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py fails in BVT runs with the
following exception:
> 2014-10-20 16:41:00,497 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-120:ctx-83b738d9
job-459) Add job-459 into job monitoring
> 2014-10-20 16:41:00,497 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-120:ctx-83b738d9
job-459) Executing AsyncJobVO {id:459, userId: 2, accountId: 2, instanceType: None, instanceId:
null, cmd: org.apache.cloudstack.api.command.admin.vmsnapshot.RevertToVMSnapshotCmdByAdmin,
cmdInfo: {"response":"json","ctxDetails":"{\"com.cloud.vm.snapshot.VMSnapshot\":\"12280973-a1e4-43e3-80b3-3afacd607909\"}","cmdEventType":"VMSNAPSHOT.REVERTTO","ctxUserId":"2","httpmethod":"GET","vmsnapshotid":"12280973-a1e4-43e3-80b3-3afacd607909","ctxAccountId":"2","ctxStartEventId":"1406","apiKey":"aJwkScf5ziRwz8gKQ9HB0Ce6hSsTJTUtmUDUQ_U2teV3vVmuLQRLad8xqAgr7CrFOEQbywdVpKSt2yC_ORXLYg","signature":"cYBxgg8eBfktovmCaHYox2xoTE8\u003d"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
11489258594360, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2014-10-20 16:41:00,529 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-120:ctx-83b738d9
job-459) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vmsnapshot.RevertToVMSnapshotCmdByAdmin
> com.cloud.exception.InvalidParameterValueException: VM Snapshot revert not allowed. This
will result in VM state change. You can revert running VM to disk and memory type snapshot
and stopped VM to disk type snapshot
>         at com.cloud.vm.snapshot.VMSnapshotManagerImpl.revertToSnapshot(VMSnapshotManagerImpl.java:581)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message