jayapalu commented on issue #1866: Advanced isolated network egress destination cidr support added URL: https://github.com/apache/cloudstack/pull/1866#issuecomment-301048340 I have tested the below test test manually and with automation test. Those are passing working now. Please find one test result below. Some time the test failures are observed in RVR because of the RVR issues. If Some one is want to test this, either seed the template with ipset installed or bring up the VR and install the ipset command and test it. test_01_isolate_network_FW_PF_default_routes_egress_true Failed test_02_isolate_network_FW_PF_default_routes_egress_false Failed test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failed test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Failing since 2 runs $ nosetests-2.7 --with-marvin --marvin-config=/Users/jayapal_uradi/dev/advanced.cfg --with-xunit --xunit-file=/tmp/test/testslog /Users/jayapal_uradi/dev/github/cloudstack/test/integration/smoke/test_routers_network_ops.py -a tags=jayapal --zone=zone1 --hypervisor=xenserver ==== Marvin Init Started ==== === Marvin Parse Config Successful === === Marvin Setting TestData Successful=== ==== Log Folder Path: /tmp//MarvinLogs//May_12_2017_16_00_03_IL3AHU. All logs will be available here ==== === Marvin Init Logging Successful=== ==== Marvin Init Successful ==== Starting test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false... Creating Network Offering with default egress FALSE Creating network with network offering: f0ea499e-82aa-4b54-aad3-594ddfed4ca4 ===final results are now copied to: /tmp//MarvinLogs/test_routers_network_ops_OXMLIP=== HSL007948:cloudstack jayapal_uradi$ vi /tmp//MarvinLogs/test_routers_network_ops_OXMLIP/results.txt HSL007948:cloudstack jayapal_uradi$ nosetests-2.7 --with-marvin --marvin-config=/Users/jayapal_uradi/dev/advanced.cfg --with-xunit --xunit-file=/tmp/test/testslog /Users/jayapal_uradi/dev/github/cloudstack/test/integration/smoke/test_routers_network_ops.py -a tags=jayapal --zone=zone1 --hypervisor=xenserver ==== Marvin Init Started ==== === Marvin Parse Config Successful === === Marvin Setting TestData Successful=== ==== Log Folder Path: /tmp//MarvinLogs//May_12_2017_16_05_13_EDJD08. All logs will be available here ==== === Marvin Init Logging Successful=== ==== Marvin Init Successful ==== Starting test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false... Creating Network Offering with default egress FALSE Creating network with network offering: ade3a83d-71d0-4085-be9a-ec43964d23d3 Created network with ID: 303c7b2e-d228-45e2-919e-ec364c93dcfd Deploying VM in account: test-a-TestIsolatedNetworks-YGWH9M Deployed VM in network: 303c7b2e-d228-45e2-919e-ec364c93dcfd Listing routers for network: Test Network Creating Firewall rule for VM ID: 79f5c3e9-457e-4154-8c34-e72dec5eba63 Creating NAT rule for VM ID: 79f5c3e9-457e-4154-8c34-e72dec5eba63 ====Trying SSH Connection: Host:10.147.46.108 User:root Port:22 RetryCnt:5=== ===SSH to Host 10.147.46.108 port : 22 SUCCESSFUL=== {Cmd: ping -c 3 8.8.8.8 via Host: 10.147.46.108} {returns: [u'PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.', u'', u'--- 8.8.8.8 ping statistics ---', u'3 packets transmitted, 0 received, 100% packet loss, time 2009ms', u'']} {Cmd: wget -t 1 -T 1 www.google.com via Host: 10.147.46.108} {returns: [u'--2017-05-12 10:41:09-- http://www.google.com/', u'Resolving www.google.com... 216.58.199.164, 2404:6800:4009:807::2004', u'Connecting to www.google.com|216.58.199.164|:80... failed: Connection timed out.', u'Connecting to www.google.com|2404:6800:4009:807::2004|:80... failed: Address family not supported by protocol.']} {Cmd: wget -t 1 -T 5 www.google.com via Host: 10.147.46.108} {returns: [u'--2017-05-12 10:41:31-- http://www.google.com/', u'Resolving www.google.com... 216.58.199.164, 2404:6800:4009:807::2004', u'Connecting to www.google.com|216.58.199.164|:80... connected.', u'HTTP request sent, awaiting response... 302 Found', u'Location: http://www.google.co.in/?gfe_rd=cr&ei=W5EVWfWgEbPT8gfOqqHoAw [following]', u'--2017-05-12 10:41:31-- http://www.google.co.in/?gfe_rd=cr&ei=W5EVWfWgEbPT8gfOqqHoAw', u'Resolving www.google.co.in... 172.217.26.227, 2404:6800:4009:805::2003', u'Connecting to www.google.co.in|172.217.26.227|:80... connected.', u'HTTP request sent, awaiting response... 200 OK', u'Length: unspecified [text/html]', u"Saving to: `index.html?gfe_rd=cr&ei=W5EVWfWgEbPT8gfOqqHoAw'", u'', u' 0K .......... .. 1.66M=0.008s', u'', u"2017-05-12 10:41:31 (1.66 MB/s) - `index.html?gfe_rd=cr&ei=W5EVWfWgEbPT8gfOqqHoAw' saved [13167]", u'']} ===final results are now copied to: /tmp//MarvinLogs/test_routers_network_ops_60G2JL=== HSL007948:cloudstack jayapal_uradi$ HSL007948:cloudstack jayapal_uradi$ HSL007948:cloudstack jayapal_uradi$ cat /tmp//MarvinLogs/test_routers_network_ops_60G2JL/results.txt Test redundant router internals ... === TestName: test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 1 test in 377.896s OK ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services