2025-11-02 10:27:40,937 - INFO - Domain Default found not creating 2025-11-02 10:27:41,092 - INFO - Project ctest-TestRoutersBasic-28593096 not found, creating it 2025-11-02 10:27:41,553 - INFO - Created Project:ctest-TestRoutersBasic-28593096, ID : 206b1dda-9bf2-4751-8ea8-fb2b40c0fbe6 2025-11-02 10:27:43,119 - INFO - ================================================================================ 2025-11-02 10:27:43,119 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-02 10:27:43,119 - 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-11-02 10:27:43,373 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 10:27:43,373 - INFO - Initial checks done. Running the testcase now 2025-11-02 10:27:43,373 - INFO - 2025-11-02 10:27:44,146 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28593096 2025-11-02 10:27:44,242 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28593096 2025-11-02 10:27:44,562 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28593096', 'default']} 2025-11-02 10:27:44,854 - DEBUG - Response for create_network : {'network': {'id': '592bbadc-f502-4e72-8d97-c21f5b099eb3', 'name': 'ctest-vn-43101286', 'tenant_id': '206b1dda9bf247518ea8fb2b40c0fbe6', 'project_id': '206b1dda9bf247518ea8fb2b40c0fbe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28593096', 'ctest-vn-43101286'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 10:27:45,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '30d6fe76-57d8-4a4f-85d7-71816159a01e', 'name': '', 'tenant_id': '206b1dda9bf247518ea8fb2b40c0fbe6', 'network_id': '592bbadc-f502-4e72-8d97-c21f5b099eb3', 'ip_version': 4, 'cidr': '80.204.46.0/26', 'allocation_pools': [{'start': '80.204.46.2', 'end': '80.204.46.62'}], 'gateway_ip': '80.204.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.204.46.2', 'tags': [], 'project_id': '206b1dda9bf247518ea8fb2b40c0fbe6'}} 2025-11-02 10:27:45,057 - INFO - Created VN ctest-vn-43101286 2025-11-02 10:27:45,110 - DEBUG - VN ctest-vn-43101286 UUID is 592bbadc-f502-4e72-8d97-c21f5b099eb3 2025-11-02 10:27:45,462 - DEBUG - Response for create_network : {'network': {'id': '3db08610-4209-41ee-a8d8-a356454e5028', 'name': 'ctest-ext_vn-69177628', 'tenant_id': '206b1dda9bf247518ea8fb2b40c0fbe6', 'project_id': '206b1dda9bf247518ea8fb2b40c0fbe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28593096', 'ctest-ext_vn-69177628'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 10:27:45,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdf4a8f5-3d98-44ee-a6c2-043fc7c297f5', 'name': '', 'tenant_id': '206b1dda9bf247518ea8fb2b40c0fbe6', 'network_id': '3db08610-4209-41ee-a8d8-a356454e5028', 'ip_version': 4, 'cidr': '218.40.34.0/26', 'allocation_pools': [{'start': '218.40.34.2', 'end': '218.40.34.62'}], 'gateway_ip': '218.40.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.40.34.2', 'tags': [], 'project_id': '206b1dda9bf247518ea8fb2b40c0fbe6'}} 2025-11-02 10:27:45,646 - INFO - Created VN ctest-ext_vn-69177628 2025-11-02 10:27:45,698 - DEBUG - VN ctest-ext_vn-69177628 UUID is 3db08610-4209-41ee-a8d8-a356454e5028 2025-11-02 10:27:45,898 - DEBUG - Services list from nova: [, , ] 2025-11-02 10:27:46,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4593-1) 2025-11-02 10:27:48,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4593-1) 2025-11-02 10:27:48,405 - INFO - Setting gateway for router 365e9282-076f-487d-b374-cc0e756fa029 to network 3db08610-4209-41ee-a8d8-a356454e5028 2025-11-02 10:27:48,496 - INFO - Adding interface with subnet_id 30d6fe76-57d8-4a4f-85d7-71816159a01e, port_id None to router 365e9282-076f-487d-b374-cc0e756fa029 2025-11-02 10:27:48,882 - INFO - Waiting for VM ctest-TestRoutersBasic-28593096-38084483 to be up.. 2025-11-02 10:27:49,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 10:27:54,136 - DEBUG - VM is in ACTIVE state now 2025-11-02 10:27:54,136 - INFO - VM name : ctest-TestRoutersBasic-28593096-38084483 2025-11-02 10:27:54,210 - DEBUG - VM ctest-TestRoutersBasic-28593096-38084483 ID is 7f06f390-611e-48a5-9245-ddadeedcbaf3 2025-11-02 10:27:54,233 - DEBUG - VM ctest-TestRoutersBasic-28593096-38084483 launched on Node cn-jenkins-deploy-platform-ansible-os-4593-1 2025-11-02 10:27:54,306 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7f06f390-611e-48a5-9245-ddadeedcbaf3 2025-11-02 10:27:54,644 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7f06f390-611e-48a5-9245-ddadeedcbaf3 2025-11-02 10:27:54,674 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c10de972-37ce-4b07-9aab-e0d0362b5f08 2025-11-02 10:27:57,930 - 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 1010ms') 2025-11-02 10:27:57,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28593096-38084483 failed! 2025-11-02 10:27:57,986 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28593096:ctest-vn-43101286 is 80.204.46.1 and allocation pool is NOT set 2025-11-02 10:28:00,049 - 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=1.23 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 = 1.233/2.541/3.850/1.308 ms') 2025-11-02 10:28:00,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28593096-38084483 passed 2025-11-02 10:28:00,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:28:00,202 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28593096-38084483, IP 80.204.46.3, Port 22 2025-11-02 10:28:00,362 - DEBUG - VM ctest-TestRoutersBasic-28593096-38084483 is ready for SSH connections 2025-11-02 10:28:00,362 - INFO - Waiting for VM ctest-TestRoutersBasic-28593096-54831350 to be up.. 2025-11-02 10:28:00,434 - DEBUG - VM is in ACTIVE state now 2025-11-02 10:28:00,435 - INFO - VM name : ctest-TestRoutersBasic-28593096-54831350 2025-11-02 10:28:00,506 - DEBUG - VM ctest-TestRoutersBasic-28593096-54831350 ID is 6dae94fb-5076-4b79-9da3-7450e53df88b 2025-11-02 10:28:00,506 - DEBUG - VM ctest-TestRoutersBasic-28593096-54831350 launched on Node cn-jenkins-deploy-platform-ansible-os-4593-1 2025-11-02 10:28:00,577 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6dae94fb-5076-4b79-9da3-7450e53df88b 2025-11-02 10:28:00,585 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2d5f6c5b-f374-4021-b9b8-6d46e5291d6c 2025-11-02 10:28:01,816 - 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=5.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 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 = 1.766/3.497/5.229/1.731 ms') 2025-11-02 10:28:01,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28593096-54831350 passed 2025-11-02 10:28:01,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:28:01,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28593096-54831350, IP 218.40.34.3, Port 22 2025-11-02 10:28:02,136 - DEBUG - VM ctest-TestRoutersBasic-28593096-54831350 is ready for SSH connections 2025-11-02 10:28:02,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:28:02,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.40.34.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:28:02,136 - DEBUG - ping -s 56 -c 3 -W 1 218.40.34.3 2025-11-02 10:28:05,890 - DEBUG - PING 218.40.34.3 (218.40.34.3): 56 data bytes 64 bytes from 218.40.34.3: seq=0 ttl=62 time=6.891 ms 64 bytes from 218.40.34.3: seq=1 ttl=62 time=0.950 ms 64 bytes from 218.40.34.3: seq=2 ttl=62 time=0.936 ms --- 218.40.34.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.925/6.891 ms 2025-11-02 10:28:05,891 - INFO - Ping to IP 218.40.34.3 from VM ctest-TestRoutersBasic-28593096-38084483 passed 2025-11-02 10:28:05,891 - INFO - Deleting interface with subnet_id 30d6fe76-57d8-4a4f-85d7-71816159a01e, port_id None from router 365e9282-076f-487d-b374-cc0e756fa029 2025-11-02 10:28:06,074 - INFO - Deleting VM ctest-TestRoutersBasic-28593096-54831350 2025-11-02 10:28:06,143 - INFO - Deleting VM ctest-TestRoutersBasic-28593096-38084483 2025-11-02 10:28:06,232 - INFO - Deleting VN ctest-ext_vn-69177628 2025-11-02 10:28:06,316 - DEBUG - VN 3db08610-4209-41ee-a8d8-a356454e5028 still in use: Unable to complete operation on network 3db08610-4209-41ee-a8d8-a356454e5028. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6ff13b9-b679-4aec-8020-bdf4c203e07e'] 2025-11-02 10:28:06,317 - WARNING - Deleting VN ctest-ext_vn-69177628 failed..Will retry 2025-11-02 10:28:08,415 - DEBUG - Response for deleting network () 2025-11-02 10:28:08,415 - INFO - Deleting VN ctest-vn-43101286 2025-11-02 10:28:08,531 - DEBUG - Response for deleting network () 2025-11-02 10:28:08,783 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 10:28:08,783 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-02 10:28:08,783 - INFO - -------------------------------------------------------------------------------- 2025-11-02 10:28:09,501 - INFO - Deleted project: ctest-TestRoutersBasic-28593096, ID : 206b1dda-9bf2-4751-8ea8-fb2b40c0fbe6