You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2013/07/18 13:22:49 UTC

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

Sailaja Mada created CLOUDSTACK-3636:
----------------------------------------

             Summary: [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
            Priority: Minor


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