2026-06-18 15:02:38,297 - INFO - Domain Default found not creating 2026-06-18 15:02:38,450 - INFO - Project ctest-TestRoutersBasic-14644147 not found, creating it 2026-06-18 15:02:38,925 - INFO - Created Project:ctest-TestRoutersBasic-14644147, ID : 002e4b88-0e68-4a6c-a5f7-2701772386c0 2026-06-18 15:02:40,536 - INFO - ================================================================================ 2026-06-18 15:02:40,537 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-18 15:02:40,537 - 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-06-18 15:02:40,789 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-06-18 15:02:40,789 - INFO - Initial checks done. Running the testcase now 2026-06-18 15:02:40,789 - INFO - 2026-06-18 15:02:41,629 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14644147 2026-06-18 15:02:41,724 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14644147 2026-06-18 15:02:42,043 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14644147', 'default']} 2026-06-18 15:02:42,321 - DEBUG - Response for create_network : {'network': {'id': '4a04a56c-916e-43d0-b6d7-d465937fbce6', 'name': 'ctest-vn-49703292', 'tenant_id': '002e4b880e684a6ca5f72701772386c0', 'project_id': '002e4b880e684a6ca5f72701772386c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14644147', 'ctest-vn-49703292'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 15:02:42,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b81e774-fbd7-433f-b4fd-4d3c26e685ba', 'name': '', 'tenant_id': '002e4b880e684a6ca5f72701772386c0', 'network_id': '4a04a56c-916e-43d0-b6d7-d465937fbce6', 'ip_version': 4, 'cidr': '78.225.168.0/26', 'allocation_pools': [{'start': '78.225.168.2', 'end': '78.225.168.62'}], 'gateway_ip': '78.225.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.225.168.2', 'tags': [], 'project_id': '002e4b880e684a6ca5f72701772386c0'}} 2026-06-18 15:02:42,561 - INFO - Created VN ctest-vn-49703292 2026-06-18 15:02:42,612 - DEBUG - VN ctest-vn-49703292 UUID is 4a04a56c-916e-43d0-b6d7-d465937fbce6 2026-06-18 15:02:42,949 - DEBUG - Response for create_network : {'network': {'id': '0006f311-dd96-46b3-baff-8cb36af3ee92', 'name': 'ctest-ext_vn-33636694', 'tenant_id': '002e4b880e684a6ca5f72701772386c0', 'project_id': '002e4b880e684a6ca5f72701772386c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14644147', 'ctest-ext_vn-33636694'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 15:02:43,111 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c977c2cc-1328-4272-819f-bfae34579ef1', 'name': '', 'tenant_id': '002e4b880e684a6ca5f72701772386c0', 'network_id': '0006f311-dd96-46b3-baff-8cb36af3ee92', 'ip_version': 4, 'cidr': '161.109.82.192/26', 'allocation_pools': [{'start': '161.109.82.194', 'end': '161.109.82.254'}], 'gateway_ip': '161.109.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.109.82.194', 'tags': [], 'project_id': '002e4b880e684a6ca5f72701772386c0'}} 2026-06-18 15:02:43,130 - INFO - Created VN ctest-ext_vn-33636694 2026-06-18 15:02:43,184 - DEBUG - VN ctest-ext_vn-33636694 UUID is 0006f311-dd96-46b3-baff-8cb36af3ee92 2026-06-18 15:02:43,372 - DEBUG - Services list from nova: [, , ] 2026-06-18 15:02:44,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5987-1) 2026-06-18 15:02:45,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5987-1) 2026-06-18 15:02:45,787 - INFO - Setting gateway for router fb507c2f-bee0-418c-8f42-89680887be75 to network 0006f311-dd96-46b3-baff-8cb36af3ee92 2026-06-18 15:02:45,838 - INFO - Adding interface with subnet_id 5b81e774-fbd7-433f-b4fd-4d3c26e685ba, port_id None to router fb507c2f-bee0-418c-8f42-89680887be75 2026-06-18 15:02:46,106 - INFO - Waiting for VM ctest-TestRoutersBasic-14644147-12050401 to be up.. 2026-06-18 15:02:46,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 15:02:51,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 15:02:56,321 - DEBUG - VM is in ACTIVE state now 2026-06-18 15:02:56,321 - INFO - VM name : ctest-TestRoutersBasic-14644147-12050401 2026-06-18 15:02:56,392 - DEBUG - VM ctest-TestRoutersBasic-14644147-12050401 ID is 2ef8f265-925a-4fcd-b23c-7fe3a4e101da 2026-06-18 15:02:56,410 - DEBUG - VM ctest-TestRoutersBasic-14644147-12050401 launched on Node cn-jenkins-deploy-platform-ansible-os-5987-1 2026-06-18 15:02:56,482 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2ef8f265-925a-4fcd-b23c-7fe3a4e101da 2026-06-18 15:02:56,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2ef8f265-925a-4fcd-b23c-7fe3a4e101da 2026-06-18 15:02:56,879 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f92c4c91-ca77-4f2d-ae95-226376d70fbf 2026-06-18 15:03:00,146 - 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 1031ms') 2026-06-18 15:03:00,146 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14644147-12050401 failed! 2026-06-18 15:03:00,200 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14644147:ctest-vn-49703292 is 78.225.168.1 and allocation pool is NOT set 2026-06-18 15:03:02,262 - 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=8.59 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.374 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.374/4.481/8.589/4.107 ms') 2026-06-18 15:03:02,262 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14644147-12050401 passed 2026-06-18 15:03:02,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:02,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14644147-12050401, IP 78.225.168.3, Port 22 2026-06-18 15:03:02,590 - DEBUG - VM ctest-TestRoutersBasic-14644147-12050401 is ready for SSH connections 2026-06-18 15:03:02,590 - INFO - Waiting for VM ctest-TestRoutersBasic-14644147-92812056 to be up.. 2026-06-18 15:03:02,670 - DEBUG - VM is in ACTIVE state now 2026-06-18 15:03:02,670 - INFO - VM name : ctest-TestRoutersBasic-14644147-92812056 2026-06-18 15:03:02,748 - DEBUG - VM ctest-TestRoutersBasic-14644147-92812056 ID is 2bb829fe-d912-4baa-9788-94d8b53574ad 2026-06-18 15:03:02,748 - DEBUG - VM ctest-TestRoutersBasic-14644147-92812056 launched on Node cn-jenkins-deploy-platform-ansible-os-5987-1 2026-06-18 15:03:02,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2bb829fe-d912-4baa-9788-94d8b53574ad 2026-06-18 15:03:02,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ed415609-c9ae-4c57-a82c-25b6b592f1a8 2026-06-18 15:03:04,060 - 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=10.4 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.442 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 = 0.442/5.397/10.353/4.955 ms') 2026-06-18 15:03:04,060 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-14644147-92812056 passed 2026-06-18 15:03:04,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:04,216 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14644147-92812056, IP 161.109.82.196, Port 22 2026-06-18 15:03:04,381 - DEBUG - VM ctest-TestRoutersBasic-14644147-92812056 is ready for SSH connections 2026-06-18 15:03:04,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:04,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.109.82.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 15:03:04,382 - DEBUG - ping -s 56 -c 3 -W 1 161.109.82.196 2026-06-18 15:03:07,214 - DEBUG - PING 161.109.82.196 (161.109.82.196): 56 data bytes 64 bytes from 161.109.82.196: seq=0 ttl=62 time=6.548 ms 64 bytes from 161.109.82.196: seq=1 ttl=62 time=0.858 ms 64 bytes from 161.109.82.196: seq=2 ttl=62 time=0.916 ms --- 161.109.82.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/2.774/6.548 ms 2026-06-18 15:03:07,214 - INFO - Ping to IP 161.109.82.196 from VM ctest-TestRoutersBasic-14644147-12050401 passed 2026-06-18 15:03:07,214 - INFO - Deleting interface with subnet_id 5b81e774-fbd7-433f-b4fd-4d3c26e685ba, port_id None from router fb507c2f-bee0-418c-8f42-89680887be75 2026-06-18 15:03:07,391 - INFO - Deleting VM ctest-TestRoutersBasic-14644147-92812056 2026-06-18 15:03:07,464 - INFO - Deleting VM ctest-TestRoutersBasic-14644147-12050401 2026-06-18 15:03:07,532 - INFO - Deleting VN ctest-ext_vn-33636694 2026-06-18 15:03:07,592 - DEBUG - VN 0006f311-dd96-46b3-baff-8cb36af3ee92 still in use: Unable to complete operation on network 0006f311-dd96-46b3-baff-8cb36af3ee92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0fca9c7-4f87-4a2d-a8a6-47e41ce50d60'] 2026-06-18 15:03:07,592 - WARNING - Deleting VN ctest-ext_vn-33636694 failed..Will retry 2026-06-18 15:03:09,713 - DEBUG - Response for deleting network () 2026-06-18 15:03:09,714 - INFO - Deleting VN ctest-vn-49703292 2026-06-18 15:03:09,802 - DEBUG - Response for deleting network () 2026-06-18 15:03:10,065 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 15:03:10,065 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-06-18 15:03:10,065 - INFO - -------------------------------------------------------------------------------- 2026-06-18 15:03:10,804 - INFO - Deleted project: ctest-TestRoutersBasic-14644147, ID : 002e4b88-0e68-4a6c-a5f7-2701772386c0