2026-01-26 02:07:15,351 - INFO - Domain Default found not creating 2026-01-26 02:07:15,531 - INFO - Project ctest-TestRoutersBasic-88434431 not found, creating it 2026-01-26 02:07:16,002 - INFO - Created Project:ctest-TestRoutersBasic-88434431, ID : f771da80-9f00-4d5a-8f2e-1e09981148cd 2026-01-26 02:07:17,533 - INFO - ================================================================================ 2026-01-26 02:07:17,533 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-26 02:07:17,533 - 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-26 02:07:17,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-01-26 02:07:17,791 - INFO - Initial checks done. Running the testcase now 2026-01-26 02:07:17,792 - INFO - 2026-01-26 02:07:18,517 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88434431 2026-01-26 02:07:18,610 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88434431 2026-01-26 02:07:18,930 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88434431', 'default']} 2026-01-26 02:07:19,233 - DEBUG - Response for create_network : {'network': {'id': 'ae6cf23d-4568-4e05-95fa-424d3682f01f', 'name': 'ctest-vn-71783780', 'tenant_id': 'f771da809f004d5a8f2e1e09981148cd', 'project_id': 'f771da809f004d5a8f2e1e09981148cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88434431', 'ctest-vn-71783780'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:07:19,407 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd74e225c-f408-4fd6-9a68-8cba3eca7fe7', 'name': '', 'tenant_id': 'f771da809f004d5a8f2e1e09981148cd', 'network_id': 'ae6cf23d-4568-4e05-95fa-424d3682f01f', 'ip_version': 4, 'cidr': '125.31.253.0/26', 'allocation_pools': [{'start': '125.31.253.2', 'end': '125.31.253.62'}], 'gateway_ip': '125.31.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.31.253.2', 'tags': [], 'project_id': 'f771da809f004d5a8f2e1e09981148cd'}} 2026-01-26 02:07:19,425 - INFO - Created VN ctest-vn-71783780 2026-01-26 02:07:19,474 - DEBUG - VN ctest-vn-71783780 UUID is ae6cf23d-4568-4e05-95fa-424d3682f01f 2026-01-26 02:07:19,811 - DEBUG - Response for create_network : {'network': {'id': 'a9d12814-6ab7-433d-8af3-1bdf268f6dc9', 'name': 'ctest-ext_vn-69723137', 'tenant_id': 'f771da809f004d5a8f2e1e09981148cd', 'project_id': 'f771da809f004d5a8f2e1e09981148cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88434431', 'ctest-ext_vn-69723137'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:07:20,003 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9383e96-b9d1-40cc-8a03-f9ec41ac3651', 'name': '', 'tenant_id': 'f771da809f004d5a8f2e1e09981148cd', 'network_id': 'a9d12814-6ab7-433d-8af3-1bdf268f6dc9', 'ip_version': 4, 'cidr': '199.103.33.128/26', 'allocation_pools': [{'start': '199.103.33.130', 'end': '199.103.33.190'}], 'gateway_ip': '199.103.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.103.33.130', 'tags': [], 'project_id': 'f771da809f004d5a8f2e1e09981148cd'}} 2026-01-26 02:07:20,021 - INFO - Created VN ctest-ext_vn-69723137 2026-01-26 02:07:20,074 - DEBUG - VN ctest-ext_vn-69723137 UUID is a9d12814-6ab7-433d-8af3-1bdf268f6dc9 2026-01-26 02:07:20,242 - DEBUG - Services list from nova: [, , ] 2026-01-26 02:07:21,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5073-1) 2026-01-26 02:07:22,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5073-1) 2026-01-26 02:07:22,540 - INFO - Setting gateway for router d2ef46fa-df6c-40d5-a3f3-0e5f28686600 to network a9d12814-6ab7-433d-8af3-1bdf268f6dc9 2026-01-26 02:07:22,605 - INFO - Adding interface with subnet_id d74e225c-f408-4fd6-9a68-8cba3eca7fe7, port_id None to router d2ef46fa-df6c-40d5-a3f3-0e5f28686600 2026-01-26 02:07:22,959 - INFO - Waiting for VM ctest-TestRoutersBasic-88434431-02229026 to be up.. 2026-01-26 02:07:23,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 02:07:28,258 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:07:28,258 - INFO - VM name : ctest-TestRoutersBasic-88434431-02229026 2026-01-26 02:07:28,339 - DEBUG - VM ctest-TestRoutersBasic-88434431-02229026 ID is cb40ef2f-4640-47ae-87a4-1bb7a3b12d0f 2026-01-26 02:07:28,357 - DEBUG - VM ctest-TestRoutersBasic-88434431-02229026 launched on Node cn-jenkins-deploy-platform-ansible-os-5073-1 2026-01-26 02:07:28,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cb40ef2f-4640-47ae-87a4-1bb7a3b12d0f 2026-01-26 02:07:28,738 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cb40ef2f-4640-47ae-87a4-1bb7a3b12d0f 2026-01-26 02:07:28,781 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5563aefc-766c-4ab0-805b-04ed4d67d97a 2026-01-26 02:07:32,020 - 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 1006ms') 2026-01-26 02:07:32,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88434431-02229026 failed! 2026-01-26 02:07:32,074 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88434431:ctest-vn-71783780 is 125.31.253.1 and allocation pool is NOT set 2026-01-26 02:07:34,134 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/2.261/4.103/1.842 ms') 2026-01-26 02:07:34,135 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88434431-02229026 passed 2026-01-26 02:07:34,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:07:34,282 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88434431-02229026, IP 125.31.253.3, Port 22 2026-01-26 02:07:34,438 - DEBUG - VM ctest-TestRoutersBasic-88434431-02229026 is ready for SSH connections 2026-01-26 02:07:34,438 - INFO - Waiting for VM ctest-TestRoutersBasic-88434431-98861153 to be up.. 2026-01-26 02:07:34,515 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:07:34,515 - INFO - VM name : ctest-TestRoutersBasic-88434431-98861153 2026-01-26 02:07:34,588 - DEBUG - VM ctest-TestRoutersBasic-88434431-98861153 ID is 6bc7887d-a83b-4788-ab44-3ae08395550f 2026-01-26 02:07:34,588 - DEBUG - VM ctest-TestRoutersBasic-88434431-98861153 launched on Node cn-jenkins-deploy-platform-ansible-os-5073-1 2026-01-26 02:07:34,660 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6bc7887d-a83b-4788-ab44-3ae08395550f 2026-01-26 02:07:34,669 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/22f52a42-ad0d-44ac-9d76-22ca51243e0d 2026-01-26 02:07:35,909 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.778 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.778/2.703/4.629/1.925 ms') 2026-01-26 02:07:35,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88434431-98861153 passed 2026-01-26 02:07:36,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:07:36,062 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88434431-98861153, IP 199.103.33.131, Port 22 2026-01-26 02:07:36,222 - DEBUG - VM ctest-TestRoutersBasic-88434431-98861153 is ready for SSH connections 2026-01-26 02:07:36,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:07:36,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.103.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-26 02:07:36,223 - DEBUG - ping -s 56 -c 3 -W 1 199.103.33.131 2026-01-26 02:07:40,265 - DEBUG - PING 199.103.33.131 (199.103.33.131): 56 data bytes 64 bytes from 199.103.33.131: seq=0 ttl=62 time=4.286 ms 64 bytes from 199.103.33.131: seq=1 ttl=62 time=1.053 ms 64 bytes from 199.103.33.131: seq=2 ttl=62 time=0.893 ms --- 199.103.33.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/2.077/4.286 ms 2026-01-26 02:07:40,265 - INFO - Ping to IP 199.103.33.131 from VM ctest-TestRoutersBasic-88434431-02229026 passed 2026-01-26 02:07:40,265 - INFO - Deleting interface with subnet_id d74e225c-f408-4fd6-9a68-8cba3eca7fe7, port_id None from router d2ef46fa-df6c-40d5-a3f3-0e5f28686600 2026-01-26 02:07:40,467 - INFO - Deleting VM ctest-TestRoutersBasic-88434431-98861153 2026-01-26 02:07:40,536 - INFO - Deleting VM ctest-TestRoutersBasic-88434431-02229026 2026-01-26 02:07:40,625 - INFO - Deleting VN ctest-ext_vn-69723137 2026-01-26 02:07:40,698 - DEBUG - VN a9d12814-6ab7-433d-8af3-1bdf268f6dc9 still in use: Unable to complete operation on network a9d12814-6ab7-433d-8af3-1bdf268f6dc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3bea2cc7-fd08-4095-835c-bdc66459177c'] 2026-01-26 02:07:40,698 - WARNING - Deleting VN ctest-ext_vn-69723137 failed..Will retry 2026-01-26 02:07:42,799 - DEBUG - Response for deleting network () 2026-01-26 02:07:42,799 - INFO - Deleting VN ctest-vn-71783780 2026-01-26 02:07:42,925 - DEBUG - Response for deleting network () 2026-01-26 02:07:43,198 - DEBUG - No XMPP flaps were noticed during the test 2026-01-26 02:07:43,198 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-26 02:07:43,198 - INFO - -------------------------------------------------------------------------------- 2026-01-26 02:07:43,898 - INFO - Deleted project: ctest-TestRoutersBasic-88434431, ID : f771da80-9f00-4d5a-8f2e-1e09981148cd