2026-08-18 05:40:41,712 - INFO - Domain Default found not creating 2026-08-18 05:40:41,872 - INFO - Project ctest-TestRoutersBasic-01540714 not found, creating it 2026-08-18 05:40:42,341 - INFO - Created Project:ctest-TestRoutersBasic-01540714, ID : 211b7ff3-96e2-4fff-b45d-7dde46cf560e 2026-08-18 05:40:43,869 - INFO - ================================================================================ 2026-08-18 05:40:43,869 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-18 05:40:43,869 - 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-18 05:40:44,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with 2026-08-18 05:40:44,130 - INFO - Initial checks done. Running the testcase now 2026-08-18 05:40:44,130 - INFO - 2026-08-18 05:40:44,900 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01540714 2026-08-18 05:40:44,996 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01540714 2026-08-18 05:40:45,327 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01540714', 'default']} 2026-08-18 05:40:45,619 - DEBUG - Response for create_network : {'network': {'id': '4bc13b04-817e-4a30-a9f1-aa6548d5eb12', 'name': 'ctest-vn-52038619', 'tenant_id': '211b7ff396e24fffb45d7dde46cf560e', 'project_id': '211b7ff396e24fffb45d7dde46cf560e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01540714', 'ctest-vn-52038619'], 'port_security_enabled': True, 'description': ''}} 2026-08-18 05:40:45,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0fcba3d-4b5d-4013-b2e5-2a5fec65a86a', 'name': '', 'tenant_id': '211b7ff396e24fffb45d7dde46cf560e', 'network_id': '4bc13b04-817e-4a30-a9f1-aa6548d5eb12', 'ip_version': 4, 'cidr': '8.23.173.64/26', 'allocation_pools': [{'start': '8.23.173.66', 'end': '8.23.173.126'}], 'gateway_ip': '8.23.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.23.173.66', 'tags': [], 'project_id': '211b7ff396e24fffb45d7dde46cf560e'}} 2026-08-18 05:40:45,855 - INFO - Created VN ctest-vn-52038619 2026-08-18 05:40:45,908 - DEBUG - VN ctest-vn-52038619 UUID is 4bc13b04-817e-4a30-a9f1-aa6548d5eb12 2026-08-18 05:40:46,261 - DEBUG - Response for create_network : {'network': {'id': '40451c9a-3980-4af3-a9d0-70cfdca74a69', 'name': 'ctest-ext_vn-12947281', 'tenant_id': '211b7ff396e24fffb45d7dde46cf560e', 'project_id': '211b7ff396e24fffb45d7dde46cf560e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01540714', 'ctest-ext_vn-12947281'], 'port_security_enabled': True, 'description': ''}} 2026-08-18 05:40:46,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5fe02bb-7ac5-4bc4-a6c6-92328c39bf45', 'name': '', 'tenant_id': '211b7ff396e24fffb45d7dde46cf560e', 'network_id': '40451c9a-3980-4af3-a9d0-70cfdca74a69', 'ip_version': 4, 'cidr': '131.31.240.128/26', 'allocation_pools': [{'start': '131.31.240.130', 'end': '131.31.240.190'}], 'gateway_ip': '131.31.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.31.240.130', 'tags': [], 'project_id': '211b7ff396e24fffb45d7dde46cf560e'}} 2026-08-18 05:40:46,499 - INFO - Created VN ctest-ext_vn-12947281 2026-08-18 05:40:46,552 - DEBUG - VN ctest-ext_vn-12947281 UUID is 40451c9a-3980-4af3-a9d0-70cfdca74a69 2026-08-18 05:40:46,752 - DEBUG - Services list from nova: [, , ] 2026-08-18 05:40:47,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6178-1) 2026-08-18 05:40:47,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6178-1) 2026-08-18 05:40:47,536 - INFO - Setting gateway for router 63e6e94d-15bd-4643-8076-8290e3cdac27 to network 40451c9a-3980-4af3-a9d0-70cfdca74a69 2026-08-18 05:40:47,641 - INFO - Adding interface with subnet_id d0fcba3d-4b5d-4013-b2e5-2a5fec65a86a, port_id None to router 63e6e94d-15bd-4643-8076-8290e3cdac27 2026-08-18 05:40:47,878 - INFO - Waiting for VM ctest-TestRoutersBasic-01540714-27559311 to be up.. 2026-08-18 05:40:47,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:40:53,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:40:58,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:41:03,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:41:08,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:41:13,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:41:18,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:41:23,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:41:28,695 - DEBUG - VM is in ACTIVE state now 2026-08-18 05:41:28,696 - INFO - VM name : ctest-TestRoutersBasic-01540714-27559311 2026-08-18 05:41:28,763 - DEBUG - VM ctest-TestRoutersBasic-01540714-27559311 ID is 640e0cca-3117-49b9-a1ee-b0a25803ce2c 2026-08-18 05:41:28,782 - DEBUG - VM ctest-TestRoutersBasic-01540714-27559311 launched on Node cn-jenkins-deploy-platform-ansible-os-6178-1 2026-08-18 05:41:28,852 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/640e0cca-3117-49b9-a1ee-b0a25803ce2c 2026-08-18 05:41:29,184 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/640e0cca-3117-49b9-a1ee-b0a25803ce2c 2026-08-18 05:41:29,212 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/c163f31a-ccdd-40fc-aa32-fb845830d444 2026-08-18 05:41:30,458 - 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=6.63 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.634 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.634/3.629/6.625/2.995 ms') 2026-08-18 05:41:30,458 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-01540714-27559311 passed 2026-08-18 05:41:30,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:41:30,616 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01540714-27559311, IP 8.23.173.67, Port 22 2026-08-18 05:41:30,780 - DEBUG - VM ctest-TestRoutersBasic-01540714-27559311 is ready for SSH connections 2026-08-18 05:41:30,780 - INFO - Waiting for VM ctest-TestRoutersBasic-01540714-10393569 to be up.. 2026-08-18 05:41:30,872 - DEBUG - VM is in ACTIVE state now 2026-08-18 05:41:30,872 - INFO - VM name : ctest-TestRoutersBasic-01540714-10393569 2026-08-18 05:41:30,945 - DEBUG - VM ctest-TestRoutersBasic-01540714-10393569 ID is e06de4b9-cdfa-4e75-92bb-b28977595a7c 2026-08-18 05:41:30,945 - DEBUG - VM ctest-TestRoutersBasic-01540714-10393569 launched on Node cn-jenkins-deploy-platform-ansible-os-6178-1 2026-08-18 05:41:31,020 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/e06de4b9-cdfa-4e75-92bb-b28977595a7c 2026-08-18 05:41:31,028 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/2a020fca-6349-4bf1-a48e-7729e99ab264 2026-08-18 05:41:34,295 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2026-08-18 05:41:34,295 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-01540714-10393569 failed! 2026-08-18 05:41:34,352 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01540714:ctest-ext_vn-12947281 is 131.31.240.129 and allocation pool is NOT set 2026-08-18 05:41:36,420 - 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=3.80 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.537/2.169/3.802/1.632 ms') 2026-08-18 05:41:36,421 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-01540714-10393569 passed 2026-08-18 05:41:36,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:41:36,572 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01540714-10393569, IP 131.31.240.132, Port 22 2026-08-18 05:41:36,738 - DEBUG - VM ctest-TestRoutersBasic-01540714-10393569 is ready for SSH connections 2026-08-18 05:41:36,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:41:36,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.31.240.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-18 05:41:36,738 - DEBUG - ping -s 56 -c 3 -W 1 131.31.240.132 2026-08-18 05:41:39,639 - DEBUG - PING 131.31.240.132 (131.31.240.132): 56 data bytes 64 bytes from 131.31.240.132: seq=0 ttl=62 time=9.114 ms 64 bytes from 131.31.240.132: seq=1 ttl=62 time=0.988 ms 64 bytes from 131.31.240.132: seq=2 ttl=62 time=1.575 ms --- 131.31.240.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/3.892/9.114 ms 2026-08-18 05:41:39,639 - INFO - Ping to IP 131.31.240.132 from VM ctest-TestRoutersBasic-01540714-27559311 passed 2026-08-18 05:41:39,639 - INFO - Deleting interface with subnet_id d0fcba3d-4b5d-4013-b2e5-2a5fec65a86a, port_id None from router 63e6e94d-15bd-4643-8076-8290e3cdac27 2026-08-18 05:41:39,853 - INFO - Deleting VM ctest-TestRoutersBasic-01540714-10393569 2026-08-18 05:41:39,932 - INFO - Deleting VM ctest-TestRoutersBasic-01540714-27559311 2026-08-18 05:41:40,007 - INFO - Deleting VN ctest-ext_vn-12947281 2026-08-18 05:41:40,066 - DEBUG - VN 40451c9a-3980-4af3-a9d0-70cfdca74a69 still in use: Unable to complete operation on network 40451c9a-3980-4af3-a9d0-70cfdca74a69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b901b3f3-7eef-4a32-b120-962a1089a40f'] 2026-08-18 05:41:40,066 - WARNING - Deleting VN ctest-ext_vn-12947281 failed..Will retry 2026-08-18 05:41:42,215 - DEBUG - Response for deleting network () 2026-08-18 05:41:42,215 - INFO - Deleting VN ctest-vn-52038619 2026-08-18 05:41:42,330 - DEBUG - Response for deleting network () 2026-08-18 05:41:42,591 - DEBUG - No XMPP flaps were noticed during the test
2026-08-18 05:41:42,591 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59]
2026-08-18 05:41:42,591 - INFO - -------------------------------------------------------------------------------- 2026-08-18 05:41:43,364 - INFO - Deleted project: ctest-TestRoutersBasic-01540714, ID : 211b7ff3-96e2-4fff-b45d-7dde46cf560e