[
https://issues.apache.org/jira/browse/CLOUDSTACK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594002#comment-15594002
]
ASF subversion and git services commented on CLOUDSTACK-9527:
-------------------------------------------------------------
Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch
refs/heads/4.9 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]
Merge pull request #1692 from shapeblue/4.8-marvinpingtests
Fix Smoke Test Failuresfix ping tests to properly recognise successful ping
test (on 4.8 branch)
* pr/1692:
CLOUDSTACK-9529: Cleanup resources after marvin test completes
CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing
the cmd_line.json to create ips.json databag
CLOUDSTACK-9532: Use macchinina as a template for failing tests
CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
CLOUDSTACK-9531: Try template teardown without failure
CLOUDSTACK-9527: Skip tests not supported for hypervisor
CLOUDSTACK-9524: Check router hypervisor before ssh to VR
CLOUDSTACK-9522: Check for available attribute in marvin response
CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded
username and password
CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json,
resulting in internal LB vm not come up
CLOUDSTACK-9161: move quota test to plugins
Marvin Tests: Fix VPC network offering selection
fix macchinina template specificied for vmware in Marvin tests
fix ping tests to properly recognise successful ping test
CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical
networks
Signed-off-by: Rohit Yadav <[email protected]>
> test_01_test_vm_volume_snapshot making test negative again
> ----------------------------------------------------------
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: marvin
> Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
> Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes
> attached which has snapshots, please remove all snapshots before taking VM
> snapshot
> {
> "cserrorcode": 4350,
> "errorcode": 431,
> "errortext": "VM snapshot for this VM is not allowed. This VM has volumes
> attached which has snapshots, please remove all snapshots before taking VM
> snapshot",
> "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM
> Snapshots
> {
> "cserrorcode": 4350,
> "errorcode": 431,
> "errortext": "Volume snapshot is not allowed, please detach it from VM with
> VM Snapshots",
> "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped
> or Destroyed
> {
> "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
> "cmd":
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
> "created": "2016-10-03T14:40:22+0100",
> "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
> "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
> "jobinstancetype": "Volume",
> "jobprocstatus": 0,
> "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states:
> Stopped or Destroyed"
> },
> "jobresultcode": 530,
> "jobresulttype": "object",
> "jobstatus": 2,
> "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
> "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
> "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
> "created": "2016-10-03T14:40:51+0100",
> "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
> "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
> "jobinstancetype": "VirtualMachine",
> "jobprocstatus": 0,
> "jobresult": {
> "virtualmachine": {
> "account": "admin",
> "affinitygroup": [],
> "cpunumber": 1,
> "cpuspeed": 100,
> "cpuused": "0.21%",
> "created": "2016-10-03T14:25:16+0100",
> "details": {
> "hypervisortoolsversion": "xenserver56"
> },
> "diskioread": 0,
> "diskiowrite": 0,
> "diskkbsread": 2404,
> "diskkbswrite": 327,
> "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
> "displayvm": true,
> "domain": "ROOT",
> "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
> "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
> "haenable": false,
> "hypervisor": "XenServer",
> "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
> "instancename": "i-2-18-VM",
> "isdynamicallyscalable": true,
> "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
> "jobstatus": 0,
> "memory": 128,
> "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
> "networkkbsread": 0,
> "networkkbswrite": 0,
> "nic": [
> {
> "gateway": "10.1.1.1",
> "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
> "ipaddress": "10.1.1.2",
> "isdefault": true,
> "macaddress": "02:00:38:54:00:01",
> "netmask": "255.255.255.0",
> "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
> "networkname": "test",
> "secondaryip": [],
> "traffictype": "Guest",
> "type": "Isolated"
> }
> ],
> "ostypeid": 142,
> "passwordenabled": false,
> "rootdeviceid": 0,
> "rootdevicetype": "ROOT",
> "securitygroup": [],
> "serviceofferingid": "eae0e093-6d2e-4641-9d1a-fe004e420d55",
> "serviceofferingname": "Tiny Instance",
> "state": "Stopped",
> "tags": [],
> "templatedisplaytext": "CentOS 5.6(64-bit) no GUI (XenServer)",
> "templateid": "3f0b934e-894c-11e6-8a4c-06828c01079c",
> "templatename": "CentOS 5.6(64-bit) no GUI (XenServer)",
> "userid": "6e958637-894c-11e6-8a4c-06828c01079c",
> "username": "admin",
> "zoneid": "0ffd9c60-a8e7-4209-8e0e-4c54a0446f6d",
> "zonename": "trl-97-x-cs48-bstoyanov"
> }
> },
> "jobresultcode": 0,
> "jobresulttype": "object",
> "jobstatus": 1,
> "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 7de72a7f-cbdb-4f73-9867-89084edd2d63 failed
> Error 431, Unable to detach volume, please specify a VM that does not have VM
> snapshots
> {
> "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
> "cmd":
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
> "created": "2016-10-03T14:41:23+0100",
> "jobid": "7de72a7f-cbdb-4f73-9867-89084edd2d63",
> "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
> "jobinstancetype": "Volume",
> "jobprocstatus": 0,
> "jobresult": {
> "errorcode": 431,
> "errortext": "Unable to detach volume, please specify a VM that does not
> have VM snapshots"
> },
> "jobresultcode": 530,
> "jobresulttype": "object",
> "jobstatus": 2,
> "userid": "6e958637-894c-11e6-8a4c-06828c01079c"{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)