2026-01-19 02:25:41,578 - INFO - Domain Default found not creating 2026-01-19 02:25:41,769 - INFO - Project ctest-TestRoutersBasic-02165647 not found, creating it 2026-01-19 02:25:42,240 - INFO - Created Project:ctest-TestRoutersBasic-02165647, ID : aeda7772-d6a5-4981-8cfd-a1775a136913 2026-01-19 02:25:43,764 - INFO - ================================================================================ 2026-01-19 02:25:43,765 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-19 02:25:43,765 - 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-01-19 02:25:44,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2026-01-19 02:25:44,026 - INFO - Initial checks done. Running the testcase now 2026-01-19 02:25:44,026 - INFO - 2026-01-19 02:25:44,758 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02165647 2026-01-19 02:25:44,856 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02165647 2026-01-19 02:25:45,191 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02165647', 'default']} 2026-01-19 02:25:45,493 - DEBUG - Response for create_network : {'network': {'id': 'e1839aa7-a233-4965-a926-beda5a25f068', 'name': 'ctest-vn-22002902', 'tenant_id': 'aeda7772d6a549818cfda1775a136913', 'project_id': 'aeda7772d6a549818cfda1775a136913', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02165647', 'ctest-vn-22002902'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:25:45,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9e02f98-9c25-4743-925d-45530d9e1313', 'name': '', 'tenant_id': 'aeda7772d6a549818cfda1775a136913', 'network_id': 'e1839aa7-a233-4965-a926-beda5a25f068', 'ip_version': 4, 'cidr': '75.71.29.192/26', 'allocation_pools': [{'start': '75.71.29.194', 'end': '75.71.29.254'}], 'gateway_ip': '75.71.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.71.29.194', 'tags': [], 'project_id': 'aeda7772d6a549818cfda1775a136913'}} 2026-01-19 02:25:45,718 - INFO - Created VN ctest-vn-22002902 2026-01-19 02:25:45,772 - DEBUG - VN ctest-vn-22002902 UUID is e1839aa7-a233-4965-a926-beda5a25f068 2026-01-19 02:25:46,104 - DEBUG - Response for create_network : {'network': {'id': 'a290128e-a92b-4524-85c9-27570e60796e', 'name': 'ctest-ext_vn-22850816', 'tenant_id': 'aeda7772d6a549818cfda1775a136913', 'project_id': 'aeda7772d6a549818cfda1775a136913', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02165647', 'ctest-ext_vn-22850816'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:25:46,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b9c27ed-a333-45ce-b52d-d60390836889', 'name': '', 'tenant_id': 'aeda7772d6a549818cfda1775a136913', 'network_id': 'a290128e-a92b-4524-85c9-27570e60796e', 'ip_version': 4, 'cidr': '146.9.135.128/26', 'allocation_pools': [{'start': '146.9.135.130', 'end': '146.9.135.190'}], 'gateway_ip': '146.9.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.9.135.130', 'tags': [], 'project_id': 'aeda7772d6a549818cfda1775a136913'}} 2026-01-19 02:25:46,321 - INFO - Created VN ctest-ext_vn-22850816 2026-01-19 02:25:46,376 - DEBUG - VN ctest-ext_vn-22850816 UUID is a290128e-a92b-4524-85c9-27570e60796e 2026-01-19 02:25:46,550 - DEBUG - Services list from nova: [, , ] 2026-01-19 02:25:47,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5041-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5041-1) 2026-01-19 02:25:48,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5041-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5041-1) 2026-01-19 02:25:48,886 - INFO - Setting gateway for router 0ff143bd-2cc5-4368-9b1a-dd0d28f34296 to network a290128e-a92b-4524-85c9-27570e60796e 2026-01-19 02:25:48,959 - INFO - Adding interface with subnet_id b9e02f98-9c25-4743-925d-45530d9e1313, port_id None to router 0ff143bd-2cc5-4368-9b1a-dd0d28f34296 2026-01-19 02:25:49,280 - INFO - Waiting for VM ctest-TestRoutersBasic-02165647-24974863 to be up.. 2026-01-19 02:25:49,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 02:25:54,495 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:25:54,495 - INFO - VM name : ctest-TestRoutersBasic-02165647-24974863 2026-01-19 02:25:54,579 - DEBUG - VM ctest-TestRoutersBasic-02165647-24974863 ID is 270969b5-0364-4f30-84cf-08b70c6521aa 2026-01-19 02:25:54,606 - DEBUG - VM ctest-TestRoutersBasic-02165647-24974863 launched on Node cn-jenkins-deploy-platform-ansible-os-5041-1 2026-01-19 02:25:54,693 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/270969b5-0364-4f30-84cf-08b70c6521aa 2026-01-19 02:25:54,993 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/270969b5-0364-4f30-84cf-08b70c6521aa 2026-01-19 02:25:55,028 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/078a48c8-6242-423d-9aa2-a5803e949871 2026-01-19 02:25:58,275 - 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-01-19 02:25:58,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02165647-24974863 failed! 2026-01-19 02:25:58,336 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02165647:ctest-vn-22002902 is 75.71.29.193 and allocation pool is NOT set 2026-01-19 02:26:00,402 - 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=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.095/2.841/4.587/1.746 ms') 2026-01-19 02:26:00,402 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02165647-24974863 passed 2026-01-19 02:26:00,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:26:00,516 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02165647-24974863, IP 75.71.29.195, Port 22 2026-01-19 02:26:00,676 - DEBUG - VM ctest-TestRoutersBasic-02165647-24974863 is ready for SSH connections 2026-01-19 02:26:00,676 - INFO - Waiting for VM ctest-TestRoutersBasic-02165647-75884156 to be up.. 2026-01-19 02:26:00,750 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:26:00,750 - INFO - VM name : ctest-TestRoutersBasic-02165647-75884156 2026-01-19 02:26:00,830 - DEBUG - VM ctest-TestRoutersBasic-02165647-75884156 ID is 07880707-8898-49d2-8e19-5ef59954a3fe 2026-01-19 02:26:00,831 - DEBUG - VM ctest-TestRoutersBasic-02165647-75884156 launched on Node cn-jenkins-deploy-platform-ansible-os-5041-1 2026-01-19 02:26:00,909 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/07880707-8898-49d2-8e19-5ef59954a3fe 2026-01-19 02:26:00,918 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ca18d7b1-8fce-45b2-9284-8baea29734fe 2026-01-19 02:26:02,172 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.941 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.941/2.558/4.175/1.617 ms') 2026-01-19 02:26:02,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02165647-75884156 passed 2026-01-19 02:26:02,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:26:02,320 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02165647-75884156, IP 146.9.135.131, Port 22 2026-01-19 02:26:02,475 - DEBUG - VM ctest-TestRoutersBasic-02165647-75884156 is ready for SSH connections 2026-01-19 02:26:02,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:26:02,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.9.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-19 02:26:02,475 - DEBUG - ping -s 56 -c 3 -W 1 146.9.135.131 2026-01-19 02:26:06,175 - DEBUG - PING 146.9.135.131 (146.9.135.131): 56 data bytes 64 bytes from 146.9.135.131: seq=0 ttl=62 time=4.394 ms 64 bytes from 146.9.135.131: seq=1 ttl=62 time=0.884 ms 64 bytes from 146.9.135.131: seq=2 ttl=62 time=1.012 ms --- 146.9.135.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/2.096/4.394 ms 2026-01-19 02:26:06,176 - INFO - Ping to IP 146.9.135.131 from VM ctest-TestRoutersBasic-02165647-24974863 passed 2026-01-19 02:26:06,176 - INFO - Deleting interface with subnet_id b9e02f98-9c25-4743-925d-45530d9e1313, port_id None from router 0ff143bd-2cc5-4368-9b1a-dd0d28f34296 2026-01-19 02:26:06,361 - INFO - Deleting VM ctest-TestRoutersBasic-02165647-75884156 2026-01-19 02:26:06,428 - INFO - Deleting VM ctest-TestRoutersBasic-02165647-24974863 2026-01-19 02:26:06,511 - INFO - Deleting VN ctest-ext_vn-22850816 2026-01-19 02:26:06,573 - DEBUG - VN a290128e-a92b-4524-85c9-27570e60796e still in use: Unable to complete operation on network a290128e-a92b-4524-85c9-27570e60796e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4eef704-4a76-423a-b8a9-6b999a6937c6'] 2026-01-19 02:26:06,573 - WARNING - Deleting VN ctest-ext_vn-22850816 failed..Will retry 2026-01-19 02:26:08,701 - DEBUG - Response for deleting network () 2026-01-19 02:26:08,701 - INFO - Deleting VN ctest-vn-22002902 2026-01-19 02:26:08,803 - DEBUG - Response for deleting network () 2026-01-19 02:26:09,069 - DEBUG - No XMPP flaps were noticed during the test 2026-01-19 02:26:09,069 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-19 02:26:09,069 - INFO - -------------------------------------------------------------------------------- 2026-01-19 02:26:09,819 - INFO - Deleted project: ctest-TestRoutersBasic-02165647, ID : aeda7772-d6a5-4981-8cfd-a1775a136913