cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3864) [Automation] Test case TestNATRules.test_01_firewall_rules_port_fw failed with unexpected result in list call
Date Wed, 31 Jul 2013 02:05:48 GMT

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

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

Commit fae57e584351e9a9fe5ac343f8597055cd807820 in branch refs/heads/4.2 from [~yasker]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=fae57e5 ]

CLOUDSTACK-3864: Fix test_blocker_bugs.py for firewall

Currently we're using enable/disable static nat rather than create IP forwarding
command. The list of StaticNAT won't work.

Also change to use API to verify the rules rather than look into db directly.

                
> [Automation] Test case TestNATRules.test_01_firewall_rules_port_fw failed with unexpected
result in list call 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3864
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3864
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Sheng Yang
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Test case integration.component.test_blocker_bugs.TestNATRules.test_01_firewall_rules_port_fw
 failed with below error 
> Error Message
> Check list response returns a valid list
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestNATRules: DEBUG: Enabled static NAT for public IP ID: d683cdf4-71f0-4eaa-b7a2-266349bf2db5
> testclient.testcase.TestNATRules: DEBUG: Created Static NAT rule for public IP ID: d683cdf4-71f0-4eaa-b7a2-266349bf2db5
> --------------------- >> 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_blocker_bugs.py", line
338, in test_01_firewall_rules_port_fw
>     "Check list response returns a valid list"
>   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)
> Check list response returns a valid list
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestNATRules: DEBUG: Enabled static NAT for public IP ID: d683cdf4-71f0-4eaa-b7a2-266349bf2db5
> testclient.testcase.TestNATRules: DEBUG: Created Static NAT rule for public IP ID: d683cdf4-71f0-4eaa-b7a2-266349bf2db5
> --------------------- >> end captured logging << ---------------------

--
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

Mime
View raw message