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

Jayapal Reddy commented on CLOUDSTACK-3840:
-------------------------------------------


The CIDR validation issue got fixed, please check test case again.

ASF subversion and git services added a comment - 03/Sep/13 14:28
Commit 7aea599eb4f16fc919a7556d5800f105a99b708e in branch refs/heads/master 
from Jayapal Reddy
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7aea599 ]
CLOUDSTACK-4586 Added CIDR validation for SG Egress rules

> [Automation] 
> test_egress_rules.TestInvalidParametersForEgress.test_invalid_parameters 
> failed to raise expected  Exception
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3840
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3840
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Management Server
>    Affects Versions: 4.2.0
>         Environment: Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Rayees Namathponnan
>             Fix For: 4.3.0
>
>
> Test case 
> integration.component.test_egress_rules.TestInvalidParametersForEgress.test_invalid_parameters
>  failed  in automation runs, observed below error 
> Error Message
> Exception not raised
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestInvalidParametersForEgress: DEBUG: Created security 
> group with ID: 896d1c49-1c40-4090-97f9-922ff4060ed6
> testclient.testcase.TestInvalidParametersForEgress: DEBUG: Authorizing egress 
> rule for sec group ID: 896d1c49-1c40-4090-97f9-922ff4060ed6 with invalid port
> testclient.testcase.TestInvalidParametersForEgress: DEBUG: Authorizing egress 
> rule for sec group ID: 896d1c49-1c40-4090-97f9-922ff4060ed6 with invalid cidr
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_rules.py", 
> line 2098, in test_invalid_parameters
>     domainid=self.account.domainid
>   File "/usr/local/lib/python2.7/unittest/case.py", line 112, in __exit__
>     "{0} not raised".format(exc_name))
> Exception not raised
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestInvalidParametersForEgress: DEBUG: Created security 
> group with ID: 896d1c49-1c40-4090-97f9-922ff4060ed6
> testclient.testcase.TestInvalidParametersForEgress: DEBUG: Authorizing egress 
> rule for sec group ID: 896d1c49-1c40-4090-97f9-922ff4060ed6 with invalid port
> testclient.testcase.TestInvalidParametersForEgress: DEBUG: Authorizing egress 
> rule for sec group ID: 896d1c49-1c40-4090-97f9-922ff4060ed6 with invalid cidr
> --------------------- >> end captured logging << ---------------------



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to