You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Dhananjay D Pathak (JIRA)" <ji...@apache.org> on 2014/02/13 15:20:19 UTC

[jira] [Updated] (CLOUDSTACK-6098) [Automation] : test_tags.py fails with error as Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}

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

Dhananjay D Pathak updated CLOUDSTACK-6098:
-------------------------------------------

    Description: 
Marvin Test test_tags.py fails with Error as described bellow (log files are attached):


Test Create tag on LB rule and remove the LB rule ... FAIL
ERROR
Test Create tag on nat rule and remove the nat rule ... FAIL
ERROR
Test Create tag on firewall rule and remove the firewall rule ... ok
Test Create tag on vpn and remove the vpn ... SKIP: VPN resource tags are unsupported in 4.0
Test creation, listing and deletion tags on UserVM ... ok
Test creation, listing and deletion tag on templates ... ok
Test creation, listing and deletion tags on ISO ... ok
Test creation, listing and deletion tagson volume ... ok
Test creation, listing and deletion tag son snapshot ... ok
Testcreation, listing and deletion tags on guest network ... ok
Test migration of a tagged vm and delete the tag ... ERROR
Test to verify that tags are not case sensitive ... ERROR
Test multiple tags and with special characters on same machine ... ERROR
Test creation, listing and deletion tags on projects ... ok
Test Query the tags from other account ... ok
Test Query the tags from admin account ... ok
Test listAPI with invalid tags parameter ... ERROR
Test deletion and addition of same tag on a resource. ... ERROR
Test creation of same tag on multiple resources ... ERROR
Test creation of tag on stopped vm. ... ERROR
Test creation of tag on stopped vm. ... ERROR

======================================================================
ERROR: Test Create tag on LB rule and remove the LB rule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/DataDisk/temp/cloudstack/test/integration/component/test_tags.py", line 264, in tearDown
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}



=====================================================================
ERROR: Test to verify that tags are not case sensitive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/DataDisk/temp/cloudstack/test/integration/component/test_tags.py", line 1548, in test_13_tag_case_insensitive
    tags={'region': 'India'}
  File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 3019, in create
    return Tag(apiclient.createTags(cmd).__dict__)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2103, in createTags
    response = self.connection.marvinRequest(command, response_type=response, method=method)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 280, in marvinRequest
    response = self.poll(asyncJobId, response_type)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 86, in poll
    "asyncquery", asyncResonse.jobresult)
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Entity already exists: '}


  was:
Test Create tag on LB rule and remove the LB rule ... FAIL
ERROR
Test Create tag on nat rule and remove the nat rule ... FAIL
ERROR
Test Create tag on firewall rule and remove the firewall rule ... ok
Test Create tag on vpn and remove the vpn ... SKIP: VPN resource tags are unsupported in 4.0
Test creation, listing and deletion tags on UserVM ... ok
Test creation, listing and deletion tag on templates ... ok
Test creation, listing and deletion tags on ISO ... ok
Test creation, listing and deletion tagson volume ... ok
Test creation, listing and deletion tag son snapshot ... ok
Testcreation, listing and deletion tags on guest network ... ok
Test migration of a tagged vm and delete the tag ... ERROR
Test to verify that tags are not case sensitive ... ERROR
Test multiple tags and with special characters on same machine ... ERROR
Test creation, listing and deletion tags on projects ... ok
Test Query the tags from other account ... ok
Test Query the tags from admin account ... ok
Test listAPI with invalid tags parameter ... ERROR
Test deletion and addition of same tag on a resource. ... ERROR
Test creation of same tag on multiple resources ... ERROR
Test creation of tag on stopped vm. ... ERROR
Test creation of tag on stopped vm. ... ERROR

======================================================================
ERROR: Test Create tag on LB rule and remove the LB rule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/DataDisk/temp/cloudstack/test/integration/component/test_tags.py", line 264, in tearDown
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}







Added log  about issue "Entity Already Exists" in description.

> [Automation] : test_tags.py fails with error as Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6098
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6098
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: marvin
>    Affects Versions: 4.2.0
>         Environment: CloudPlatform 4.2.0 on Red Hat Enterprise Linux Server release 6.4 (Santiago) 
>            Reporter: Dhananjay D Pathak
>
> Marvin Test test_tags.py fails with Error as described bellow (log files are attached):
> Test Create tag on LB rule and remove the LB rule ... FAIL
> ERROR
> Test Create tag on nat rule and remove the nat rule ... FAIL
> ERROR
> Test Create tag on firewall rule and remove the firewall rule ... ok
> Test Create tag on vpn and remove the vpn ... SKIP: VPN resource tags are unsupported in 4.0
> Test creation, listing and deletion tags on UserVM ... ok
> Test creation, listing and deletion tag on templates ... ok
> Test creation, listing and deletion tags on ISO ... ok
> Test creation, listing and deletion tagson volume ... ok
> Test creation, listing and deletion tag son snapshot ... ok
> Testcreation, listing and deletion tags on guest network ... ok
> Test migration of a tagged vm and delete the tag ... ERROR
> Test to verify that tags are not case sensitive ... ERROR
> Test multiple tags and with special characters on same machine ... ERROR
> Test creation, listing and deletion tags on projects ... ok
> Test Query the tags from other account ... ok
> Test Query the tags from admin account ... ok
> Test listAPI with invalid tags parameter ... ERROR
> Test deletion and addition of same tag on a resource. ... ERROR
> Test creation of same tag on multiple resources ... ERROR
> Test creation of tag on stopped vm. ... ERROR
> Test creation of tag on stopped vm. ... ERROR
> ======================================================================
> ERROR: Test Create tag on LB rule and remove the LB rule
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/DataDisk/temp/cloudstack/test/integration/component/test_tags.py", line 264, in tearDown
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}
> =====================================================================
> ERROR: Test to verify that tags are not case sensitive
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/DataDisk/temp/cloudstack/test/integration/component/test_tags.py", line 1548, in test_13_tag_case_insensitive
>     tags={'region': 'India'}
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 3019, in create
>     return Tag(apiclient.createTags(cmd).__dict__)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2103, in createTags
>     response = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 280, in marvinRequest
>     response = self.poll(asyncJobId, response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 86, in poll
>     "asyncquery", asyncResonse.jobresult)
> cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Entity already exists: '}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)