[ https://issues.apache.org/jira/browse/CLOUDSTACK-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724760#comment-13724760 ]
ASF subversion and git services commented on CLOUDSTACK-3864: ------------------------------------------------------------- Commit 7882ef512c7aadfa0a976c7028e465abb55bdca5 in branch refs/heads/master from [~yasker] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7882ef5 ] 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