2026-08-20 19:16:49,675 - INFO - Domain Default found not creating 2026-08-20 19:16:49,861 - INFO - Project ctest-TestRoutersBasic-90493778 not found, creating it 2026-08-20 19:16:50,376 - INFO - Created Project:ctest-TestRoutersBasic-90493778, ID : f938bd64-ef9c-44b6-8b88-317d4d7128ac 2026-08-20 19:16:52,227 - INFO - ================================================================================ 2026-08-20 19:16:52,227 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-20 19:16:52,227 - 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-20 19:16:52,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-20 19:16:52,497 - INFO - Initial checks done. Running the testcase now 2026-08-20 19:16:52,498 - INFO - 2026-08-20 19:16:53,386 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90493778 2026-08-20 19:16:53,485 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90493778 2026-08-20 19:16:53,812 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90493778', 'default']} 2026-08-20 19:16:54,154 - DEBUG - Response for create_network : {'network': {'id': '11040102-890f-4099-ab86-1454c5302c80', 'name': 'ctest-vn-00901662', 'tenant_id': 'f938bd64ef9c44b68b88317d4d7128ac', 'project_id': 'f938bd64ef9c44b68b88317d4d7128ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90493778', 'ctest-vn-00901662'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:16:54,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a28f54a7-392d-4ba8-9fef-670815e2b28e', 'name': '', 'tenant_id': 'f938bd64ef9c44b68b88317d4d7128ac', 'network_id': '11040102-890f-4099-ab86-1454c5302c80', 'ip_version': 4, 'cidr': '210.125.181.192/26', 'allocation_pools': [{'start': '210.125.181.194', 'end': '210.125.181.254'}], 'gateway_ip': '210.125.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.125.181.194', 'tags': [], 'project_id': 'f938bd64ef9c44b68b88317d4d7128ac'}} 2026-08-20 19:16:54,379 - INFO - Created VN ctest-vn-00901662 2026-08-20 19:16:54,432 - DEBUG - VN ctest-vn-00901662 UUID is 11040102-890f-4099-ab86-1454c5302c80 2026-08-20 19:16:54,776 - DEBUG - Response for create_network : {'network': {'id': '7438d1b8-dacc-49f3-b31d-2b13f7112c23', 'name': 'ctest-ext_vn-37314077', 'tenant_id': 'f938bd64ef9c44b68b88317d4d7128ac', 'project_id': 'f938bd64ef9c44b68b88317d4d7128ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90493778', 'ctest-ext_vn-37314077'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:16:54,970 - DEBUG - Response for create_subnet : {'subnet': {'id': '67f0b644-887f-491b-9e4d-42501e9c5454', 'name': '', 'tenant_id': 'f938bd64ef9c44b68b88317d4d7128ac', 'network_id': '7438d1b8-dacc-49f3-b31d-2b13f7112c23', 'ip_version': 4, 'cidr': '15.185.169.192/26', 'allocation_pools': [{'start': '15.185.169.194', 'end': '15.185.169.254'}], 'gateway_ip': '15.185.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.185.169.194', 'tags': [], 'project_id': 'f938bd64ef9c44b68b88317d4d7128ac'}} 2026-08-20 19:16:54,989 - INFO - Created VN ctest-ext_vn-37314077 2026-08-20 19:16:55,044 - DEBUG - VN ctest-ext_vn-37314077 UUID is 7438d1b8-dacc-49f3-b31d-2b13f7112c23 2026-08-20 19:16:55,215 - DEBUG - Services list from nova: [, , ] 2026-08-20 19:16:55,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6194-1) 2026-08-20 19:16:55,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6194-1) 2026-08-20 19:16:56,033 - INFO - Setting gateway for router db98b25e-e4bf-401b-92ec-afda012cb6fc to network 7438d1b8-dacc-49f3-b31d-2b13f7112c23 2026-08-20 19:16:56,096 - INFO - Adding interface with subnet_id a28f54a7-392d-4ba8-9fef-670815e2b28e, port_id None to router db98b25e-e4bf-401b-92ec-afda012cb6fc 2026-08-20 19:16:56,464 - INFO - Waiting for VM ctest-TestRoutersBasic-90493778-96458402 to be up.. 2026-08-20 19:16:56,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:01,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:06,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:11,906 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:17,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:22,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:27,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:32,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:17:37,376 - DEBUG - VM is in ACTIVE state now 2026-08-20 19:17:37,376 - INFO - VM name : ctest-TestRoutersBasic-90493778-96458402 2026-08-20 19:17:37,466 - DEBUG - VM ctest-TestRoutersBasic-90493778-96458402 ID is aac5d6dd-fbcb-4499-abde-02de439ada40 2026-08-20 19:17:37,487 - DEBUG - VM ctest-TestRoutersBasic-90493778-96458402 launched on Node cn-jenkins-deploy-platform-ansible-os-6194-1 2026-08-20 19:17:37,574 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/aac5d6dd-fbcb-4499-abde-02de439ada40 2026-08-20 19:17:37,948 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/aac5d6dd-fbcb-4499-abde-02de439ada40 2026-08-20 19:17:37,987 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0b24a00c-0ae1-4f4f-a2ff-48716d3e5d26 2026-08-20 19:17:41,235 - 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=2 ttl=63 time=10.4 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 10.377/10.377/10.377/0.000 ms') 2026-08-20 19:17:41,236 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90493778-96458402 passed 2026-08-20 19:17:41,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:17:41,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90493778-96458402, IP 210.125.181.195, Port 22 2026-08-20 19:17:41,562 - DEBUG - VM ctest-TestRoutersBasic-90493778-96458402 is ready for SSH connections 2026-08-20 19:17:41,563 - INFO - Waiting for VM ctest-TestRoutersBasic-90493778-26765370 to be up.. 2026-08-20 19:17:41,661 - DEBUG - VM is in ACTIVE state now 2026-08-20 19:17:41,661 - INFO - VM name : ctest-TestRoutersBasic-90493778-26765370 2026-08-20 19:17:41,763 - DEBUG - VM ctest-TestRoutersBasic-90493778-26765370 ID is 224a639e-0fe6-48e0-b854-3aec8ce35b84 2026-08-20 19:17:41,764 - DEBUG - VM ctest-TestRoutersBasic-90493778-26765370 launched on Node cn-jenkins-deploy-platform-ansible-os-6194-1 2026-08-20 19:17:41,857 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/224a639e-0fe6-48e0-b854-3aec8ce35b84 2026-08-20 19:17:41,869 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/cadf5564-bb6e-49db-977f-49ed5a8cd40d 2026-08-20 19:17:45,145 - 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 1020ms') 2026-08-20 19:17:45,145 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90493778-26765370 failed! 2026-08-20 19:17:45,200 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90493778:ctest-ext_vn-37314077 is 15.185.169.193 and allocation pool is NOT set 2026-08-20 19:17:47,259 - 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=4.70 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.500 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.500/2.601/4.703/2.101 ms') 2026-08-20 19:17:47,259 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90493778-26765370 passed 2026-08-20 19:17:47,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:17:47,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90493778-26765370, IP 15.185.169.196, Port 22 2026-08-20 19:17:47,574 - DEBUG - VM ctest-TestRoutersBasic-90493778-26765370 is ready for SSH connections 2026-08-20 19:17:47,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:17:47,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.185.169.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 19:17:47,575 - DEBUG - ping -s 56 -c 3 -W 1 15.185.169.196 2026-08-20 19:17:50,568 - DEBUG - PING 15.185.169.196 (15.185.169.196): 56 data bytes 64 bytes from 15.185.169.196: seq=0 ttl=62 time=8.663 ms 64 bytes from 15.185.169.196: seq=1 ttl=62 time=1.175 ms 64 bytes from 15.185.169.196: seq=2 ttl=62 time=1.550 ms --- 15.185.169.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.175/3.796/8.663 ms 2026-08-20 19:17:50,568 - INFO - Ping to IP 15.185.169.196 from VM ctest-TestRoutersBasic-90493778-96458402 passed 2026-08-20 19:17:50,569 - INFO - Deleting interface with subnet_id a28f54a7-392d-4ba8-9fef-670815e2b28e, port_id None from router db98b25e-e4bf-401b-92ec-afda012cb6fc 2026-08-20 19:17:50,825 - INFO - Deleting VM ctest-TestRoutersBasic-90493778-26765370 2026-08-20 19:17:50,922 - INFO - Deleting VM ctest-TestRoutersBasic-90493778-96458402 2026-08-20 19:17:51,011 - INFO - Deleting VN ctest-ext_vn-37314077 2026-08-20 19:17:51,090 - DEBUG - VN 7438d1b8-dacc-49f3-b31d-2b13f7112c23 still in use: Unable to complete operation on network 7438d1b8-dacc-49f3-b31d-2b13f7112c23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43572082-431a-4789-90c1-936455c94e3a'] 2026-08-20 19:17:51,090 - WARNING - Deleting VN ctest-ext_vn-37314077 failed..Will retry 2026-08-20 19:17:53,161 - DEBUG - VN 7438d1b8-dacc-49f3-b31d-2b13f7112c23 still in use: Unable to complete operation on network 7438d1b8-dacc-49f3-b31d-2b13f7112c23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bdb55ffb-4a72-4f07-b346-6fd21ee61ab8'] 2026-08-20 19:17:53,161 - WARNING - Deleting VN ctest-ext_vn-37314077 failed..Will retry 2026-08-20 19:17:55,275 - DEBUG - Response for deleting network () 2026-08-20 19:17:55,275 - INFO - Deleting VN ctest-vn-00901662 2026-08-20 19:17:55,406 - DEBUG - Response for deleting network () 2026-08-20 19:17:55,678 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 19:17:55,678 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-08-20 19:17:55,678 - INFO - -------------------------------------------------------------------------------- 2026-08-20 19:17:56,497 - INFO - Deleted project: ctest-TestRoutersBasic-90493778, ID : f938bd64-ef9c-44b6-8b88-317d4d7128ac