2025-08-11 15:54:16,099 - INFO - Domain Default found not creating 2025-08-11 15:54:16,223 - INFO - Project ctest-TestRoutersBasic-46324564 not found, creating it 2025-08-11 15:54:16,646 - INFO - Created Project:ctest-TestRoutersBasic-46324564, ID : c539ea64-c467-48a2-af22-bcf3df964507 2025-08-11 15:54:17,968 - INFO - ================================================================================ 2025-08-11 15:54:17,968 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 15:54:17,968 - 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 2025-08-11 15:54:18,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 15:54:18,224 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:54:18,224 - INFO - 2025-08-11 15:54:18,904 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46324564 2025-08-11 15:54:18,999 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46324564 2025-08-11 15:54:19,327 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46324564', 'default']} 2025-08-11 15:54:19,600 - DEBUG - Response for create_network : {'network': {'id': '46d3b3b0-0e8b-40a0-b9dc-40a5f804f43e', 'name': 'ctest-vn-82883461', 'tenant_id': 'c539ea64c46748a2af22bcf3df964507', 'project_id': 'c539ea64c46748a2af22bcf3df964507', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46324564', 'ctest-vn-82883461'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:54:19,808 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc3de4db-7354-44bb-9811-08c68cfa9370', 'name': '', 'tenant_id': 'c539ea64c46748a2af22bcf3df964507', 'network_id': '46d3b3b0-0e8b-40a0-b9dc-40a5f804f43e', 'ip_version': 4, 'cidr': '3.7.239.192/26', 'allocation_pools': [{'start': '3.7.239.194', 'end': '3.7.239.254'}], 'gateway_ip': '3.7.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.7.239.194', 'tags': [], 'project_id': 'c539ea64c46748a2af22bcf3df964507'}} 2025-08-11 15:54:19,826 - INFO - Created VN ctest-vn-82883461 2025-08-11 15:54:19,879 - DEBUG - VN ctest-vn-82883461 UUID is 46d3b3b0-0e8b-40a0-b9dc-40a5f804f43e 2025-08-11 15:54:20,176 - DEBUG - Response for create_network : {'network': {'id': '663fba9c-5cfc-46cf-8baf-4b6759e158a3', 'name': 'ctest-ext_vn-33458775', 'tenant_id': 'c539ea64c46748a2af22bcf3df964507', 'project_id': 'c539ea64c46748a2af22bcf3df964507', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46324564', 'ctest-ext_vn-33458775'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:54:20,369 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a61e60ab-9bdd-4dd3-a463-8c4a12b1f0fd', 'name': '', 'tenant_id': 'c539ea64c46748a2af22bcf3df964507', 'network_id': '663fba9c-5cfc-46cf-8baf-4b6759e158a3', 'ip_version': 4, 'cidr': '121.106.163.0/26', 'allocation_pools': [{'start': '121.106.163.2', 'end': '121.106.163.62'}], 'gateway_ip': '121.106.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.106.163.2', 'tags': [], 'project_id': 'c539ea64c46748a2af22bcf3df964507'}} 2025-08-11 15:54:20,387 - INFO - Created VN ctest-ext_vn-33458775 2025-08-11 15:54:20,439 - DEBUG - VN ctest-ext_vn-33458775 UUID is 663fba9c-5cfc-46cf-8baf-4b6759e158a3 2025-08-11 15:54:20,630 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:54:21,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:54:22,613 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:54:22,680 - INFO - Setting gateway for router 7edec756-d7a1-4b1a-80e8-9901be8a36b0 to network 663fba9c-5cfc-46cf-8baf-4b6759e158a3 2025-08-11 15:54:22,752 - INFO - Adding interface with subnet_id fc3de4db-7354-44bb-9811-08c68cfa9370, port_id None to router 7edec756-d7a1-4b1a-80e8-9901be8a36b0 2025-08-11 15:54:23,256 - INFO - Waiting for VM ctest-TestRoutersBasic-46324564-02753592 to be up.. 2025-08-11 15:54:23,417 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:54:23,417 - INFO - VM name : ctest-TestRoutersBasic-46324564-02753592 2025-08-11 15:54:23,508 - DEBUG - VM ctest-TestRoutersBasic-46324564-02753592 ID is 0a26da54-042e-464b-83aa-c73d808ea693 2025-08-11 15:54:23,530 - DEBUG - VM ctest-TestRoutersBasic-46324564-02753592 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:54:23,618 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0a26da54-042e-464b-83aa-c73d808ea693 2025-08-11 15:54:23,951 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0a26da54-042e-464b-83aa-c73d808ea693 2025-08-11 15:54:23,991 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/861f5a9b-8a3a-4f62-a5b5-7804f9659a55 2025-08-11 15:54:27,332 - 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 1031ms') 2025-08-11 15:54:27,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46324564-02753592 failed! 2025-08-11 15:54:27,387 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46324564:ctest-vn-82883461 is 3.7.239.193 and allocation pool is NOT set 2025-08-11 15:54:31,454 - 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 1008ms') 2025-08-11 15:54:31,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46324564-02753592 failed! 2025-08-11 15:54:31,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46324564:ctest-vn-82883461 is 3.7.239.193 and allocation pool is NOT set 2025-08-11 15:54:33,568 - 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=2.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.350 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.350/1.438/2.527/1.088 ms') 2025-08-11 15:54:33,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46324564-02753592 passed 2025-08-11 15:54:33,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:54:33,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46324564-02753592, IP 3.7.239.195, Port 22 2025-08-11 15:54:33,874 - DEBUG - VM ctest-TestRoutersBasic-46324564-02753592 is ready for SSH connections 2025-08-11 15:54:33,874 - INFO - Waiting for VM ctest-TestRoutersBasic-46324564-88819914 to be up.. 2025-08-11 15:54:33,940 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:54:33,940 - INFO - VM name : ctest-TestRoutersBasic-46324564-88819914 2025-08-11 15:54:34,007 - DEBUG - VM ctest-TestRoutersBasic-46324564-88819914 ID is 9d92bf69-2c38-4476-b497-90614a0fb82a 2025-08-11 15:54:34,008 - DEBUG - VM ctest-TestRoutersBasic-46324564-88819914 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:54:34,070 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9d92bf69-2c38-4476-b497-90614a0fb82a 2025-08-11 15:54:34,078 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7e10fbd4-d465-4125-b9de-ab7ca0426d2c 2025-08-11 15:54:35,319 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.560/2.685/1.125 ms') 2025-08-11 15:54:35,319 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46324564-88819914 passed 2025-08-11 15:54:35,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:54:35,467 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46324564-88819914, IP 121.106.163.3, Port 22 2025-08-11 15:54:35,618 - DEBUG - VM ctest-TestRoutersBasic-46324564-88819914 is ready for SSH connections 2025-08-11 15:54:35,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:54:35,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.106.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:54:35,618 - DEBUG - ping -s 56 -c 3 -W 1 121.106.163.3 2025-08-11 15:54:39,577 - DEBUG - PING 121.106.163.3 (121.106.163.3): 56 data bytes 64 bytes from 121.106.163.3: seq=0 ttl=62 time=6.489 ms 64 bytes from 121.106.163.3: seq=1 ttl=62 time=0.734 ms 64 bytes from 121.106.163.3: seq=2 ttl=62 time=0.771 ms --- 121.106.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/2.664/6.489 ms 2025-08-11 15:54:39,577 - INFO - Ping to IP 121.106.163.3 from VM ctest-TestRoutersBasic-46324564-02753592 passed 2025-08-11 15:54:39,578 - INFO - Deleting interface with subnet_id fc3de4db-7354-44bb-9811-08c68cfa9370, port_id None from router 7edec756-d7a1-4b1a-80e8-9901be8a36b0 2025-08-11 15:54:39,748 - INFO - Deleting VM ctest-TestRoutersBasic-46324564-88819914 2025-08-11 15:54:39,809 - INFO - Deleting VM ctest-TestRoutersBasic-46324564-02753592 2025-08-11 15:54:39,892 - INFO - Deleting VN ctest-ext_vn-33458775 2025-08-11 15:54:39,972 - DEBUG - VN 663fba9c-5cfc-46cf-8baf-4b6759e158a3 still in use: Unable to complete operation on network 663fba9c-5cfc-46cf-8baf-4b6759e158a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f90c6ae4-5bf4-4aed-810f-614019d42739'] 2025-08-11 15:54:39,972 - WARNING - Deleting VN ctest-ext_vn-33458775 failed..Will retry 2025-08-11 15:54:42,063 - DEBUG - Response for deleting network () 2025-08-11 15:54:42,063 - INFO - Deleting VN ctest-vn-82883461 2025-08-11 15:54:42,162 - DEBUG - Response for deleting network () 2025-08-11 15:54:42,421 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:54:42,421 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-11 15:54:42,421 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:54:43,083 - INFO - Deleted project: ctest-TestRoutersBasic-46324564, ID : c539ea64-c467-48a2-af22-bcf3df964507