[
https://issues.apache.org/jira/browse/CLOUDSTACK-3900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722328#comment-13722328
]
ASF subversion and git services commented on CLOUDSTACK-3900:
-------------------------------------------------------------
Commit d66edb5e2bc7d0396709ffcc35dfc61d563f307a in branch refs/heads/4.2 from
[~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d66edb5 ]
CLOUDSTACK-3900: Remove the offering that is deleted before cleanup
One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.
Signed-off-by: Prasanna Santhanam <[email protected]>
> test_vpc_offerings.py:test_08_list_vpc_off fails in tearDown
> ------------------------------------------------------------
>
> Key: CLOUDSTACK-3900
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3900
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Prasanna Santhanam
> Assignee: Prasanna Santhanam
> Priority: Critical
> Fix For: 4.2.0
>
>
> One of the offerings is deleted before going to cleanup. Remove from cleanup
> list.
> nosetests --with-marvin --marvin-config=setup/dev/advanced.cfg
> test/integration/component/test_vpc_offerings.py --load -a tags=needle
>
> Test list VPC offering ... ERROR
> ======================================================================
> ERROR: Test list VPC offering
> Traceback (most recent call last):
> File
> "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_vpc_offerings.py",
> line 191, 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'unable to find vpc offering
> 6'}
> testclient.testcase.TestVPCOffering: DEBUG: Creating multiple VPC offerings
> testclient.testcase.TestVPCOffering: DEBUG: Check if the VPC offering is
> created successfully?
> testclient.testcase.TestVPCOffering: DEBUG: VPC offering is created
> successfully - VPC off-L0N64S
> testclient.testcase.TestVPCOffering: DEBUG: Disabling the VPC offering created
> testclient.testcase.TestVPCOffering: DEBUG: Check if the VPC offering is
> created successfully?
> testclient.testcase.TestVPCOffering: DEBUG: VPC offering is created
> successfully - VPC off-AMKH9X
> testclient.testcase.TestVPCOffering: DEBUG: Enabling the VPC offering created
> testclient.testcase.TestVPCOffering: DEBUG: Check if the VPC offering is
> created successfully?
> testclient.testcase.TestVPCOffering: DEBUG: VPC offering is created
> successfully - VPC off-QP94GF
> testclient.testcase.TestVPCOffering: DEBUG: Enabling the VPC offering created
> testclient.testcase.TestVPCOffering: DEBUG: Enabling the VPC offering created
> testclient.testcase.TestVPCOffering: DEBUG: Deleting the VPC offering: VPC
> off-X6ZQS6
> testclient.testcase.TestVPCOffering: DEBUG: Cheking if listVPCOff return the
> deleted VPC off
> testclient.testcase.TestVPCOffering: DEBUG: Validating the listVPCOfferings
> repsonse by ids
> testclient.testcase.TestVPCOffering: DEBUG: Check if the VPC offering is
> created successfully?
> testclient.testcase.TestVPCOffering: DEBUG: VPC offering is created
> successfully - VPC off-QP94GF
> testclient.testcase.TestVPCOffering: DEBUG: ListVPCOfferings by displaytext &
> verifying the response
> testclient.testcase.TestVPCOffering: DEBUG: ListVPCOfferings by name and
> verifying the response
> testclient.testcase.TestVPCOffering: DEBUG: ListVPCOfferings by supported
> services & verifying the response
> testclient.testcase.TestVPCOffering: DEBUG: {name : u'VPC off-AMKH9X',
> service : [{name : u'SourceNat', provider : [{name : u'VpcVirtualRouter'}]},
> {name : u'NetworkACL', provider : [{name : u'VpcVirtualRouter'}]}], state :
> u'Enabled', displaytext : u'VPC off', id :
> u'4bbc0994-96ac-4d10-a99d-ff31cfc88955', isdefault : False}
> testclient.testcase.TestVPCOffering: DEBUG: {name : u'VPC off-QP94GF',
> service : [{name : u'SourceNat', provider : [{name : u'VpcVirtualRouter'}]},
> {name : u'NetworkACL', provider : [{name : u'VpcVirtualRouter'}]}], state :
> u'Enabled', displaytext : u'VPC off', id :
> u'032263e6-5bdd-4c2c-a167-8ea97b8c6c3a', isdefault : False}
> testclient.testcase.TestVPCOffering: DEBUG: {name : u'VPC off-L0N64S',
> service : [{name : u'SourceNat', provider : [{name : u'VpcVirtualRouter'}]},
> {name : u'NetworkACL', provider : [{name : u'VpcVirtualRouter'}]}], state :
> u'Disabled', displaytext : u'VPC off', id :
> u'14d8a34b-7b18-4c64-91e3-84f0bfa3d13c', isdefault : False}
> testclient.testcase.TestVPCOffering: DEBUG: {name : u'Default VPC offering',
> service : [{name : u'SourceNat', provider : [{name : u'VpcVirtualRouter'}]},
> {name : u'Vpn', provider : [{name : u'VpcVirtualRouter'}]}, {name :
> u'StaticNat', provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Dns',
> provider : [{name : u'VpcVirtualRouter'}]}, {name : u'PortForwarding',
> provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Dhcp', provider :
> [{name : u'VpcVirtualRouter'}]}, {name : u'UserData', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'NetworkACL', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'Lb', provider : [{name :
> u'VpcVirtualRouter'}]}], state : u'Enabled', displaytext : u'Default VPC
> offering', id : u'e4852522-b71b-480d-826f-f36199e02c00', isdefault : True}
> testclient.testcase.TestVPCOffering: DEBUG: {name : u'Default VPC offering
> with Netscaler', service : [{name : u'SourceNat', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'Vpn', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'StaticNat', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'Dns', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'PortForwarding', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'Dhcp', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'UserData', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'NetworkACL', provider : [{name :
> u'VpcVirtualRouter'}]}, {name : u'Lb', provider : [{name : u'Netscaler'}]}],
> state : u'Enabled', displaytext : u'Default VPC offering with Netscaler', id
> : u'24e0653b-7d9c-465a-bbd3-c649a0114a5b', isdefault : False}
> testclient.testcase.TestVPCOffering: DEBUG: ListVPCOfferings by state &
> verifying the response
> testclient.testcase.TestVPCOffering: DEBUG: ListVPCOfferings by state &
> verifying the response
> Ran 1 test in 20.801s
> FAILED (errors=1)
--
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