2026-08-17 13:36:01,010 - INFO - Domain Default found not creating 2026-08-17 13:36:01,234 - INFO - Project ctest-TestRoutersBasic-43622980 not found, creating it 2026-08-17 13:36:01,822 - INFO - Created Project:ctest-TestRoutersBasic-43622980, ID : 31485767-cffd-46fe-9b51-fb116e1b272b 2026-08-17 13:36:04,425 - INFO - ================================================================================ 2026-08-17 13:36:04,425 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 13:36:04,425 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-08-17 13:36:04,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-17 13:36:04,701 - INFO - Initial checks done. Running the testcase now 2026-08-17 13:36:04,701 - INFO - 2026-08-17 13:36:05,560 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43622980 2026-08-17 13:36:05,659 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43622980 2026-08-17 13:36:05,990 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43622980', 'default']} 2026-08-17 13:36:06,341 - DEBUG - Response for create_network : {'network': {'id': 'b314d942-34b0-4077-a1ab-03828cd5ca1b', 'name': 'ctest-vn-39503968', 'tenant_id': '31485767cffd46fe9b51fb116e1b272b', 'project_id': '31485767cffd46fe9b51fb116e1b272b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43622980', 'ctest-vn-39503968'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:36:06,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bae2a85-a105-4f39-aa1d-9241cea01511', 'name': '', 'tenant_id': '31485767cffd46fe9b51fb116e1b272b', 'network_id': 'b314d942-34b0-4077-a1ab-03828cd5ca1b', 'ip_version': 4, 'cidr': '140.138.219.192/26', 'allocation_pools': [{'start': '140.138.219.194', 'end': '140.138.219.254'}], 'gateway_ip': '140.138.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.138.219.194', 'tags': [], 'project_id': '31485767cffd46fe9b51fb116e1b272b'}} 2026-08-17 13:36:06,581 - INFO - Created VN ctest-vn-39503968 2026-08-17 13:36:06,635 - DEBUG - VN ctest-vn-39503968 UUID is b314d942-34b0-4077-a1ab-03828cd5ca1b 2026-08-17 13:36:06,991 - DEBUG - Response for create_network : {'network': {'id': '46437721-bd76-45ca-adb7-473775cee4b3', 'name': 'ctest-ext_vn-29631773', 'tenant_id': '31485767cffd46fe9b51fb116e1b272b', 'project_id': '31485767cffd46fe9b51fb116e1b272b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43622980', 'ctest-ext_vn-29631773'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:36:07,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b0ec37f-040b-4df5-98a0-a4e320d4fe77', 'name': '', 'tenant_id': '31485767cffd46fe9b51fb116e1b272b', 'network_id': '46437721-bd76-45ca-adb7-473775cee4b3', 'ip_version': 4, 'cidr': '35.156.223.192/26', 'allocation_pools': [{'start': '35.156.223.194', 'end': '35.156.223.254'}], 'gateway_ip': '35.156.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.156.223.194', 'tags': [], 'project_id': '31485767cffd46fe9b51fb116e1b272b'}} 2026-08-17 13:36:07,209 - INFO - Created VN ctest-ext_vn-29631773 2026-08-17 13:36:07,262 - DEBUG - VN ctest-ext_vn-29631773 UUID is 46437721-bd76-45ca-adb7-473775cee4b3 2026-08-17 13:36:07,445 - DEBUG - Services list from nova: [, , ] 2026-08-17 13:36:07,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6175-1) 2026-08-17 13:36:08,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6175-1) 2026-08-17 13:36:08,286 - INFO - Setting gateway for router 62b30342-9300-4c62-a0b6-3320fa16510d to network 46437721-bd76-45ca-adb7-473775cee4b3 2026-08-17 13:36:08,346 - INFO - Adding interface with subnet_id 0bae2a85-a105-4f39-aa1d-9241cea01511, port_id None to router 62b30342-9300-4c62-a0b6-3320fa16510d 2026-08-17 13:36:08,627 - INFO - Waiting for VM ctest-TestRoutersBasic-43622980-91645938 to be up.. 2026-08-17 13:36:08,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:13,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:18,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:24,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:29,111 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:34,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:39,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:44,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:36:49,452 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:36:49,452 - INFO - VM name : ctest-TestRoutersBasic-43622980-91645938 2026-08-17 13:36:49,534 - DEBUG - VM ctest-TestRoutersBasic-43622980-91645938 ID is 34f391b8-58c3-44ab-8e98-8640d9436789 2026-08-17 13:36:49,555 - DEBUG - VM ctest-TestRoutersBasic-43622980-91645938 launched on Node cn-jenkins-deploy-platform-ansible-os-6175-1 2026-08-17 13:36:49,634 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/34f391b8-58c3-44ab-8e98-8640d9436789 2026-08-17 13:36:50,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/34f391b8-58c3-44ab-8e98-8640d9436789 2026-08-17 13:36:50,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/73cc5d4b-37fd-4ea4-80fc-830a102f5f4c 2026-08-17 13:36:53,301 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-08-17 13:36:53,301 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-43622980-91645938 failed! 2026-08-17 13:36:53,359 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43622980:ctest-vn-39503968 is 140.138.219.193 and allocation pool is NOT set 2026-08-17 13:36:55,424 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=12.2 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.603 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.603/6.402/12.202/5.799 ms') 2026-08-17 13:36:55,424 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-43622980-91645938 passed 2026-08-17 13:36:55,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:36:55,579 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43622980-91645938, IP 140.138.219.195, Port 22 2026-08-17 13:36:55,749 - DEBUG - VM ctest-TestRoutersBasic-43622980-91645938 is ready for SSH connections 2026-08-17 13:36:55,749 - INFO - Waiting for VM ctest-TestRoutersBasic-43622980-43727224 to be up.. 2026-08-17 13:36:55,833 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:36:55,833 - INFO - VM name : ctest-TestRoutersBasic-43622980-43727224 2026-08-17 13:36:55,918 - DEBUG - VM ctest-TestRoutersBasic-43622980-43727224 ID is b37f044c-6045-4dd1-8d7d-d9fee918aaee 2026-08-17 13:36:55,918 - DEBUG - VM ctest-TestRoutersBasic-43622980-43727224 launched on Node cn-jenkins-deploy-platform-ansible-os-6175-1 2026-08-17 13:36:56,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b37f044c-6045-4dd1-8d7d-d9fee918aaee 2026-08-17 13:36:56,009 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8e789c0-4cc6-4d9a-86e7-9e202f35753d 2026-08-17 13:36:57,260 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=6.22 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.05 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.053/3.634/6.216/2.581 ms') 2026-08-17 13:36:57,260 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-43622980-43727224 passed 2026-08-17 13:36:57,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:36:57,415 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43622980-43727224, IP 35.156.223.196, Port 22 2026-08-17 13:36:57,588 - DEBUG - VM ctest-TestRoutersBasic-43622980-43727224 is ready for SSH connections 2026-08-17 13:36:57,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:36:57,588 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.156.223.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-17 13:36:57,588 - DEBUG - ping -s 56 -c 3 -W 1 35.156.223.196 2026-08-17 13:37:00,617 - DEBUG - PING 35.156.223.196 (35.156.223.196): 56 data bytes 64 bytes from 35.156.223.196: seq=0 ttl=62 time=5.783 ms 64 bytes from 35.156.223.196: seq=1 ttl=62 time=1.277 ms 64 bytes from 35.156.223.196: seq=2 ttl=62 time=1.217 ms --- 35.156.223.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.217/2.759/5.783 ms 2026-08-17 13:37:00,617 - INFO - Ping to IP 35.156.223.196 from VM ctest-TestRoutersBasic-43622980-91645938 passed 2026-08-17 13:37:00,617 - INFO - Deleting interface with subnet_id 0bae2a85-a105-4f39-aa1d-9241cea01511, port_id None from router 62b30342-9300-4c62-a0b6-3320fa16510d 2026-08-17 13:37:00,854 - INFO - Deleting VM ctest-TestRoutersBasic-43622980-43727224 2026-08-17 13:37:00,949 - INFO - Deleting VM ctest-TestRoutersBasic-43622980-91645938 2026-08-17 13:37:01,029 - INFO - Deleting VN ctest-ext_vn-29631773 2026-08-17 13:37:01,119 - DEBUG - VN 46437721-bd76-45ca-adb7-473775cee4b3 still in use: Unable to complete operation on network 46437721-bd76-45ca-adb7-473775cee4b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86f3fc4b-d684-488b-84fb-3c0e5e53af39'] 2026-08-17 13:37:01,119 - WARNING - Deleting VN ctest-ext_vn-29631773 failed..Will retry 2026-08-17 13:37:03,163 - DEBUG - VN 46437721-bd76-45ca-adb7-473775cee4b3 still in use: Unable to complete operation on network 46437721-bd76-45ca-adb7-473775cee4b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9e46586-6e30-4e06-af90-50e4a4bd113c'] 2026-08-17 13:37:03,163 - WARNING - Deleting VN ctest-ext_vn-29631773 failed..Will retry 2026-08-17 13:37:05,295 - DEBUG - Response for deleting network () 2026-08-17 13:37:05,295 - INFO - Deleting VN ctest-vn-39503968 2026-08-17 13:37:05,420 - DEBUG - Response for deleting network () 2026-08-17 13:37:05,696 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 13:37:05,696 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-08-17 13:37:05,696 - INFO - -------------------------------------------------------------------------------- 2026-08-17 13:37:06,510 - INFO - Deleted project: ctest-TestRoutersBasic-43622980, ID : 31485767-cffd-46fe-9b51-fb116e1b272b