2026-05-09 05:25:22,043 - INFO - Domain Default found not creating 2026-05-09 05:25:22,216 - INFO - Project ctest-TestRoutersBasic-70466877 not found, creating it 2026-05-09 05:25:22,663 - INFO - Created Project:ctest-TestRoutersBasic-70466877, ID : 4c381958-2051-41e3-be39-6526fe625a6a 2026-05-09 05:25:24,152 - INFO - ================================================================================ 2026-05-09 05:25:24,152 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-09 05:25:24,152 - 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-05-09 05:25:24,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-09 05:25:24,405 - INFO - Initial checks done. Running the testcase now 2026-05-09 05:25:24,405 - INFO - 2026-05-09 05:25:25,109 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70466877 2026-05-09 05:25:25,203 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70466877 2026-05-09 05:25:25,527 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70466877', 'default']} 2026-05-09 05:25:25,817 - DEBUG - Response for create_network : {'network': {'id': '54c1dc3b-2c11-42e4-8a75-1f4f05e2ffc2', 'name': 'ctest-vn-82472801', 'tenant_id': '4c381958205141e3be396526fe625a6a', 'project_id': '4c381958205141e3be396526fe625a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70466877', 'ctest-vn-82472801'], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:25:25,999 - DEBUG - Response for create_subnet : {'subnet': {'id': '932b8939-6561-4e31-993a-2f84bb630fe5', 'name': '', 'tenant_id': '4c381958205141e3be396526fe625a6a', 'network_id': '54c1dc3b-2c11-42e4-8a75-1f4f05e2ffc2', 'ip_version': 4, 'cidr': '76.227.171.64/26', 'allocation_pools': [{'start': '76.227.171.66', 'end': '76.227.171.126'}], 'gateway_ip': '76.227.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.227.171.66', 'tags': [], 'project_id': '4c381958205141e3be396526fe625a6a'}} 2026-05-09 05:25:26,018 - INFO - Created VN ctest-vn-82472801 2026-05-09 05:25:26,071 - DEBUG - VN ctest-vn-82472801 UUID is 54c1dc3b-2c11-42e4-8a75-1f4f05e2ffc2 2026-05-09 05:25:26,374 - DEBUG - Response for create_network : {'network': {'id': '54d3357c-4224-40e0-92e1-15acdc393709', 'name': 'ctest-ext_vn-84592235', 'tenant_id': '4c381958205141e3be396526fe625a6a', 'project_id': '4c381958205141e3be396526fe625a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70466877', 'ctest-ext_vn-84592235'], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:25:26,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ea252f6-6f91-4469-8a98-efb7b676bfc0', 'name': '', 'tenant_id': '4c381958205141e3be396526fe625a6a', 'network_id': '54d3357c-4224-40e0-92e1-15acdc393709', 'ip_version': 4, 'cidr': '89.3.240.0/26', 'allocation_pools': [{'start': '89.3.240.2', 'end': '89.3.240.62'}], 'gateway_ip': '89.3.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.3.240.2', 'tags': [], 'project_id': '4c381958205141e3be396526fe625a6a'}} 2026-05-09 05:25:26,597 - INFO - Created VN ctest-ext_vn-84592235 2026-05-09 05:25:26,651 - DEBUG - VN ctest-ext_vn-84592235 UUID is 54d3357c-4224-40e0-92e1-15acdc393709 2026-05-09 05:25:26,858 - DEBUG - Services list from nova: [, , ] 2026-05-09 05:25:27,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5761-1) 2026-05-09 05:25:29,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5761-1) 2026-05-09 05:25:29,138 - INFO - Setting gateway for router 65e3e183-02f4-436a-9896-825f843257f8 to network 54d3357c-4224-40e0-92e1-15acdc393709 2026-05-09 05:25:29,198 - INFO - Adding interface with subnet_id 932b8939-6561-4e31-993a-2f84bb630fe5, port_id None to router 65e3e183-02f4-436a-9896-825f843257f8 2026-05-09 05:25:29,597 - INFO - Waiting for VM ctest-TestRoutersBasic-70466877-34062160 to be up.. 2026-05-09 05:25:29,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-09 05:25:34,850 - DEBUG - VM is in ACTIVE state now 2026-05-09 05:25:34,850 - INFO - VM name : ctest-TestRoutersBasic-70466877-34062160 2026-05-09 05:25:34,926 - DEBUG - VM ctest-TestRoutersBasic-70466877-34062160 ID is c1435f44-8e64-4329-8a71-a2127d327aff 2026-05-09 05:25:34,945 - DEBUG - VM ctest-TestRoutersBasic-70466877-34062160 launched on Node cn-jenkins-deploy-platform-ansible-os-5761-1 2026-05-09 05:25:35,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c1435f44-8e64-4329-8a71-a2127d327aff 2026-05-09 05:25:35,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c1435f44-8e64-4329-8a71-a2127d327aff 2026-05-09 05:25:35,352 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bcb65e55-354c-4c65-9fd3-c1697f6f49d9 2026-05-09 05:25:38,611 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-05-09 05:25:38,612 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70466877-34062160 failed! 2026-05-09 05:25:38,667 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70466877:ctest-vn-82472801 is 76.227.171.65 and allocation pool is NOT set 2026-05-09 05:25:40,725 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.603 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.603/1.856/3.109/1.253 ms') 2026-05-09 05:25:40,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70466877-34062160 passed 2026-05-09 05:25:40,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:25:40,879 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70466877-34062160, IP 76.227.171.67, Port 22 2026-05-09 05:25:41,035 - DEBUG - VM ctest-TestRoutersBasic-70466877-34062160 is ready for SSH connections 2026-05-09 05:25:41,035 - INFO - Waiting for VM ctest-TestRoutersBasic-70466877-02503707 to be up.. 2026-05-09 05:25:41,116 - DEBUG - VM is in ACTIVE state now 2026-05-09 05:25:41,116 - INFO - VM name : ctest-TestRoutersBasic-70466877-02503707 2026-05-09 05:25:41,187 - DEBUG - VM ctest-TestRoutersBasic-70466877-02503707 ID is c53b4e0e-b754-4b25-9c36-d511625620e1 2026-05-09 05:25:41,187 - DEBUG - VM ctest-TestRoutersBasic-70466877-02503707 launched on Node cn-jenkins-deploy-platform-ansible-os-5761-1 2026-05-09 05:25:41,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c53b4e0e-b754-4b25-9c36-d511625620e1 2026-05-09 05:25:41,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ffabb13-fa1c-4619-bff3-551d04f242a9 2026-05-09 05:25:42,500 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.54 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.538/2.980/3.423/0.442 ms') 2026-05-09 05:25:42,500 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70466877-02503707 passed 2026-05-09 05:25:42,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:25:42,651 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70466877-02503707, IP 89.3.240.3, Port 22 2026-05-09 05:25:42,806 - DEBUG - VM ctest-TestRoutersBasic-70466877-02503707 is ready for SSH connections 2026-05-09 05:25:42,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:25:42,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.3.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-09 05:25:42,807 - DEBUG - ping -s 56 -c 3 -W 1 89.3.240.3 2026-05-09 05:25:46,508 - DEBUG - PING 89.3.240.3 (89.3.240.3): 56 data bytes 64 bytes from 89.3.240.3: seq=0 ttl=62 time=5.342 ms 64 bytes from 89.3.240.3: seq=1 ttl=62 time=0.914 ms 64 bytes from 89.3.240.3: seq=2 ttl=62 time=1.156 ms --- 89.3.240.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.470/5.342 ms 2026-05-09 05:25:46,508 - INFO - Ping to IP 89.3.240.3 from VM ctest-TestRoutersBasic-70466877-34062160 passed 2026-05-09 05:25:46,508 - INFO - Deleting interface with subnet_id 932b8939-6561-4e31-993a-2f84bb630fe5, port_id None from router 65e3e183-02f4-436a-9896-825f843257f8 2026-05-09 05:25:46,686 - INFO - Deleting VM ctest-TestRoutersBasic-70466877-02503707 2026-05-09 05:25:46,768 - INFO - Deleting VM ctest-TestRoutersBasic-70466877-34062160 2026-05-09 05:25:46,847 - INFO - Deleting VN ctest-ext_vn-84592235 2026-05-09 05:25:46,913 - DEBUG - VN 54d3357c-4224-40e0-92e1-15acdc393709 still in use: Unable to complete operation on network 54d3357c-4224-40e0-92e1-15acdc393709. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ba5eee6-2e15-4142-95ba-e80108299f55'] 2026-05-09 05:25:46,914 - WARNING - Deleting VN ctest-ext_vn-84592235 failed..Will retry 2026-05-09 05:25:49,028 - DEBUG - Response for deleting network () 2026-05-09 05:25:49,028 - INFO - Deleting VN ctest-vn-82472801 2026-05-09 05:25:49,128 - DEBUG - Response for deleting network () 2026-05-09 05:25:49,393 - DEBUG - No XMPP flaps were noticed during the test 2026-05-09 05:25:49,393 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-05-09 05:25:49,393 - INFO - -------------------------------------------------------------------------------- 2026-05-09 05:25:50,058 - INFO - Deleted project: ctest-TestRoutersBasic-70466877, ID : 4c381958-2051-41e3-be39-6526fe625a6a