You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/17 11:10:36 UTC

[GitHub] [cloudstack] DaanHoogland commented on pull request #4362: Match template tags with host tag for vm deployment

DaanHoogland commented on pull request #4362:
URL: https://github.com/apache/cloudstack/pull/4362#issuecomment-921711672


   running test_host_tags.py, I get
   ```
   Test template/host tag ... === TestName: test_01_template_host_tag | Status : EXCEPTION ===
   ERROR
   
   ======================================================================
   ERROR: Test template/host tag
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File "/marvin/tests/component/test_host_tags.py", line 210, in test_01_template_host_tag
       cls.vm_3.start(cls.apiclient, hostid = host.id)
     File "/usr/local/lib/python3.6/site-packages/marvin/lib/base.py", line 722, in start
       apiclient.startVirtualMachine(cmd)
     File "/usr/local/lib/python3.6/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 4014, in startVirtualMachine
       response = self.connection.marvinRequest(command, response_type=response, method=method)
     File "/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line 381, in marvinRequest
       raise e
     File "/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line 376, in marvinRequest
       raise self.__lastError
     File "/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line 105, in __poll
       % async_response)
   Exception: Job failed: {accountid : 'e423f3e7-16f6-11ec-a2d3-1e00b900043d', userid : 'e4251d92-16f6-11ec-a2d3-1e00b900043d', cmd : 'org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin', jobstatus : 2, jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult : {errorcode : 431, errortext : 'The virtual machine dd283411-86dd-4b94-866c-3d32dd72a89c (Test VM) is already running'}, jobinstancetype : 'VirtualMachine', jobinstanceid : 'dd283411-86dd-4b94-866c-3d32dd72a89c', created : '2021-09-17T10:44:08+0000', completed : '2021-09-17T10:44:08+0000', jobid : '0e11e39a-3329-4cdd-820f-6f904480b5f1'}
   ```
   running test_template_tags.py
   ```
   executing /usr/local/bin/nosetests --with-xunit --xunit-file=/marvin/MarvinLogs/test_template_tags.py.xml --with-marvin --marvin-config=/marvin/pr4362-t2092-kvm-centos7-advanced-cfg --hypervisor=kvm -s -a tags=advanced tests/component/test_template_tags.py
   
   ==== Marvin Init Started ====
   
   === Marvin Parse Config Successful ===
   
   === Marvin Setting TestData Successful===
   
   ==== Log Folder Path: /marvin/MarvinLogs/Sep_17_2021_11_08_00_IQNIPQ All logs will be available here ====
   
   === Marvin Init Logging Successful===
   
   ==== Marvin Init Successful ====
   === TestName: test_01_update_template_tags | Status : SUCCESS ===
   
   === TestName: test_02_register_template_with_tags | Status : SUCCESS ===
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org