2026-02-19 14:05:41,275 - INFO - Domain Default found not creating 2026-02-19 14:05:41,480 - INFO - Project ctest-TestRoutersBasic-65036225 not found, creating it 2026-02-19 14:05:41,999 - INFO - Created Project:ctest-TestRoutersBasic-65036225, ID : ae9602d2-3269-4f1a-bf2b-5c008b4cb650 2026-02-19 14:05:43,474 - INFO - ================================================================================ 2026-02-19 14:05:43,474 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-19 14:05:43,474 - 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-02-19 14:05:43,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-02-19 14:05:43,729 - INFO - Initial checks done. Running the testcase now 2026-02-19 14:05:43,729 - INFO - 2026-02-19 14:05:44,434 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65036225 2026-02-19 14:05:44,528 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65036225 2026-02-19 14:05:44,848 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65036225', 'default']} 2026-02-19 14:05:45,142 - DEBUG - Response for create_network : {'network': {'id': 'a326f69c-7592-4de8-9746-e567aee48eb2', 'name': 'ctest-vn-29274074', 'tenant_id': 'ae9602d232694f1abf2b5c008b4cb650', 'project_id': 'ae9602d232694f1abf2b5c008b4cb650', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65036225', 'ctest-vn-29274074'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 14:05:45,348 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5f2e2f8-03e2-427f-8705-5950277f2b47', 'name': '', 'tenant_id': 'ae9602d232694f1abf2b5c008b4cb650', 'network_id': 'a326f69c-7592-4de8-9746-e567aee48eb2', 'ip_version': 4, 'cidr': '66.152.178.192/26', 'allocation_pools': [{'start': '66.152.178.194', 'end': '66.152.178.254'}], 'gateway_ip': '66.152.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.152.178.194', 'tags': [], 'project_id': 'ae9602d232694f1abf2b5c008b4cb650'}} 2026-02-19 14:05:45,380 - INFO - Created VN ctest-vn-29274074 2026-02-19 14:05:45,432 - DEBUG - VN ctest-vn-29274074 UUID is a326f69c-7592-4de8-9746-e567aee48eb2 2026-02-19 14:05:45,745 - DEBUG - Response for create_network : {'network': {'id': '70d31628-59e9-44ac-aed8-632b5883ce31', 'name': 'ctest-ext_vn-80862888', 'tenant_id': 'ae9602d232694f1abf2b5c008b4cb650', 'project_id': 'ae9602d232694f1abf2b5c008b4cb650', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65036225', 'ctest-ext_vn-80862888'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 14:05:45,968 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd1dc3cc-2b5f-4da8-b4ef-c75025bc269e', 'name': '', 'tenant_id': 'ae9602d232694f1abf2b5c008b4cb650', 'network_id': '70d31628-59e9-44ac-aed8-632b5883ce31', 'ip_version': 4, 'cidr': '104.122.252.64/26', 'allocation_pools': [{'start': '104.122.252.66', 'end': '104.122.252.126'}], 'gateway_ip': '104.122.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.122.252.66', 'tags': [], 'project_id': 'ae9602d232694f1abf2b5c008b4cb650'}} 2026-02-19 14:05:45,986 - INFO - Created VN ctest-ext_vn-80862888 2026-02-19 14:05:46,040 - DEBUG - VN ctest-ext_vn-80862888 UUID is 70d31628-59e9-44ac-aed8-632b5883ce31 2026-02-19 14:05:46,208 - DEBUG - Services list from nova: [, , ] 2026-02-19 14:05:47,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5355-1) 2026-02-19 14:05:48,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5355-1) 2026-02-19 14:05:48,570 - INFO - Setting gateway for router aa6a5de8-9d47-4ec9-982c-a25f301f585e to network 70d31628-59e9-44ac-aed8-632b5883ce31 2026-02-19 14:05:48,650 - INFO - Adding interface with subnet_id c5f2e2f8-03e2-427f-8705-5950277f2b47, port_id None to router aa6a5de8-9d47-4ec9-982c-a25f301f585e 2026-02-19 14:05:49,059 - INFO - Waiting for VM ctest-TestRoutersBasic-65036225-02824051 to be up.. 2026-02-19 14:05:49,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 14:05:54,343 - DEBUG - VM is in ACTIVE state now 2026-02-19 14:05:54,344 - INFO - VM name : ctest-TestRoutersBasic-65036225-02824051 2026-02-19 14:05:54,429 - DEBUG - VM ctest-TestRoutersBasic-65036225-02824051 ID is 9f46cd67-8077-47c4-8f38-8e1311863419 2026-02-19 14:05:54,450 - DEBUG - VM ctest-TestRoutersBasic-65036225-02824051 launched on Node cn-jenkins-deploy-platform-ansible-os-5355-1 2026-02-19 14:05:54,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9f46cd67-8077-47c4-8f38-8e1311863419 2026-02-19 14:05:54,824 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9f46cd67-8077-47c4-8f38-8e1311863419 2026-02-19 14:05:54,856 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f1d17ac1-f011-48c7-9e5e-0fcd2f4de0e1 2026-02-19 14:05:58,092 - 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 1003ms') 2026-02-19 14:05:58,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65036225-02824051 failed! 2026-02-19 14:05:58,148 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65036225:ctest-vn-29274074 is 66.152.178.193 and allocation pool is NOT set 2026-02-19 14:06:00,212 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.422/2.138/3.854/1.716 ms') 2026-02-19 14:06:00,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65036225-02824051 passed 2026-02-19 14:06:00,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:00,368 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65036225-02824051, IP 66.152.178.195, Port 22 2026-02-19 14:06:00,523 - DEBUG - VM ctest-TestRoutersBasic-65036225-02824051 is ready for SSH connections 2026-02-19 14:06:00,523 - INFO - Waiting for VM ctest-TestRoutersBasic-65036225-81088788 to be up.. 2026-02-19 14:06:00,635 - DEBUG - VM is in ACTIVE state now 2026-02-19 14:06:00,636 - INFO - VM name : ctest-TestRoutersBasic-65036225-81088788 2026-02-19 14:06:00,748 - DEBUG - VM ctest-TestRoutersBasic-65036225-81088788 ID is eb3cd3d0-1c99-47b7-87bc-018e5de568f4 2026-02-19 14:06:00,748 - DEBUG - VM ctest-TestRoutersBasic-65036225-81088788 launched on Node cn-jenkins-deploy-platform-ansible-os-5355-1 2026-02-19 14:06:00,843 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eb3cd3d0-1c99-47b7-87bc-018e5de568f4 2026-02-19 14:06:00,853 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/25e859d1-9c37-4992-826e-dbba36b72734 2026-02-19 14:06:02,097 - 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=4.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.750 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 = 0.750/2.651/4.553/1.901 ms') 2026-02-19 14:06:02,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65036225-81088788 passed 2026-02-19 14:06:02,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:02,252 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65036225-81088788, IP 104.122.252.67, Port 22 2026-02-19 14:06:02,408 - DEBUG - VM ctest-TestRoutersBasic-65036225-81088788 is ready for SSH connections 2026-02-19 14:06:02,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:02,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.122.252.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-19 14:06:02,408 - DEBUG - ping -s 56 -c 3 -W 1 104.122.252.67 2026-02-19 14:06:06,128 - DEBUG - PING 104.122.252.67 (104.122.252.67): 56 data bytes 64 bytes from 104.122.252.67: seq=0 ttl=62 time=5.789 ms 64 bytes from 104.122.252.67: seq=1 ttl=62 time=1.133 ms 64 bytes from 104.122.252.67: seq=2 ttl=62 time=1.063 ms --- 104.122.252.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/2.661/5.789 ms 2026-02-19 14:06:06,128 - INFO - Ping to IP 104.122.252.67 from VM ctest-TestRoutersBasic-65036225-02824051 passed 2026-02-19 14:06:06,128 - INFO - Deleting interface with subnet_id c5f2e2f8-03e2-427f-8705-5950277f2b47, port_id None from router aa6a5de8-9d47-4ec9-982c-a25f301f585e 2026-02-19 14:06:06,323 - INFO - Deleting VM ctest-TestRoutersBasic-65036225-81088788 2026-02-19 14:06:06,396 - INFO - Deleting VM ctest-TestRoutersBasic-65036225-02824051 2026-02-19 14:06:06,477 - INFO - Deleting VN ctest-ext_vn-80862888 2026-02-19 14:06:06,549 - DEBUG - VN 70d31628-59e9-44ac-aed8-632b5883ce31 still in use: Unable to complete operation on network 70d31628-59e9-44ac-aed8-632b5883ce31. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6734fd20-2756-4769-87d9-1d6ef0fa242c'] 2026-02-19 14:06:06,549 - WARNING - Deleting VN ctest-ext_vn-80862888 failed..Will retry 2026-02-19 14:06:08,756 - DEBUG - Response for deleting network () 2026-02-19 14:06:08,756 - INFO - Deleting VN ctest-vn-29274074 2026-02-19 14:06:08,881 - DEBUG - Response for deleting network () 2026-02-19 14:06:09,141 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 14:06:09,141 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-19 14:06:09,141 - INFO - -------------------------------------------------------------------------------- 2026-02-19 14:06:09,833 - INFO - Deleted project: ctest-TestRoutersBasic-65036225, ID : ae9602d2-3269-4f1a-bf2b-5c008b4cb650