cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Purushothama (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-7617) [Automation] Fix the script "" - Do not use the same name to deploy multiple VMs.
Date Tue, 23 Sep 2014 23:04:34 GMT
Chandan Purushothama created CLOUDSTACK-7617:

             Summary: [Automation] Fix the script "" - Do not use
the same name to deploy multiple VMs.
                 Key: CLOUDSTACK-7617
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, Test
    Affects Versions: 4.5.0
            Reporter: Chandan Purushothama
            Priority: Critical
             Fix For: 4.5.0

The below mentioned code is resulting in multiple test case failures in the test suite. We
should not use the same name to deploy multiple VMs in the test suite.

    def test_04_edit_display_name(self):
        """ Test Edit the Display name Through the UI.

        # Validate the following
        # 1) Set the Global Setting vm.instancename.flag to true
        # 2) Create a VM give a Display name.
        # 3) Once the VM is created stop the VM.
        # 4) Edit the VM Display name. The Display name will be changed but the
        #    internal name will not be changed. The VM functionality must not
        #    be effected.["virtual_machine"]["name"] = "TestVM4"
        # Spawn an instance in that network
        self.debug("Deploying VM in account: %s" %
        virtual_machine = VirtualMachine.create(



  File "/usr/lib/python2.7/unittest/", line 332, in run
  File "/root/cloudstack/test/integration/component/", line 540, in
  File "/usr/local/lib/python2.7/dist-packages/marvin/lib/", line 476, in create
    virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
  File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/",
line 706, in deployVirtualMachine
    response = self.connection.marvinRequest(command, response_type=response, method=method)
  File "/usr/local/lib/python2.7/dist-packages/marvin/", line 379,
in marvinRequest
    raise e
'Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:The vm with hostName
TestVM4 already exists in the network domain: cscbcloud.internal; network=Ntwk[373|Guest|8]\n

This message was sent by Atlassian JIRA

View raw message