You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/18 13:36:48 UTC

[jira] [Commented] (CLOUDSTACK-3636) [Automation]Fix iintegration.component.test_accounts.TestServiceOfferingHierarchy.test_01_service_offering_hierarchy script

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

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

Commit 69462fd0cb17a0e53b42d02e773d87b5a8be14ee in branch refs/heads/master from [~sailaja]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=69462fd ]

CLOUDSTACK-3636: Fix invalid condition to check for empty response for private service offerings

                
> [Automation]Fix iintegration.component.test_accounts.TestServiceOfferingHierarchy.test_01_service_offering_hierarchy script
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3636
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3636
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>            Assignee: Sailaja Mada
>            Priority: Minor
>             Fix For: 4.2.0
>
>
> Observation:
> Regression test failed while listing private service offerings added to a domain
> Scenario: 
> When we look for private service offerings it should not list the service offerings of some other domain. 
> Failure Root Cause: 
> This API response will be none as there are no offerings for this domain . But we are looking for list of offerings.  
> Fix:
> Add condition to look for empty response. 
> ==============================================
> Failed
> integration.component.test_accounts.TestServiceOfferingHierarchy.test_01_service_offering_hierarchy (from nosetests)
> Failing for the past 9 builds (Since Unstable#47 )
> Took 0.23 sec.
> add description
> Error Message
> Check List Service Offerings for a valid response
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/root/cloudstack/test/integration/component/test_accounts.py", line 827, in test_01_service_offering_hierarchy
>     "Check List Service Offerings for a valid response"
>   File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
>     assertion_func(first, second, msg=msg)
>   File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
>     raise self.failureException(msg)
> AssertionError: Check List Service Offerings for a valid response

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira