2025-10-13 12:32:22,034 - INFO - Domain Default found not creating 2025-10-13 12:32:22,222 - INFO - Project ctest-TestRoutersBasic-49663858 not found, creating it 2025-10-13 12:32:22,697 - INFO - Created Project:ctest-TestRoutersBasic-49663858, ID : de745b68-0fe9-4277-a047-293162169883 2025-10-13 12:32:24,178 - INFO - ================================================================================ 2025-10-13 12:32:24,179 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-13 12:32:24,179 - 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-10-13 12:32:24,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 12:32:24,430 - INFO - Initial checks done. Running the testcase now 2025-10-13 12:32:24,430 - INFO - 2025-10-13 12:32:25,155 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49663858 2025-10-13 12:32:25,250 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49663858 2025-10-13 12:32:25,569 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49663858', 'default']} 2025-10-13 12:32:25,863 - DEBUG - Response for create_network : {'network': {'id': 'e501013f-b2c3-47ce-91dd-23a753566373', 'name': 'ctest-vn-75131322', 'tenant_id': 'de745b680fe94277a047293162169883', 'project_id': 'de745b680fe94277a047293162169883', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49663858', 'ctest-vn-75131322'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:32:26,065 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd380cfff-5014-49dd-8f70-9318ee4e5c53', 'name': '', 'tenant_id': 'de745b680fe94277a047293162169883', 'network_id': 'e501013f-b2c3-47ce-91dd-23a753566373', 'ip_version': 4, 'cidr': '21.212.157.128/26', 'allocation_pools': [{'start': '21.212.157.130', 'end': '21.212.157.190'}], 'gateway_ip': '21.212.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.212.157.130', 'tags': [], 'project_id': 'de745b680fe94277a047293162169883'}} 2025-10-13 12:32:26,084 - INFO - Created VN ctest-vn-75131322 2025-10-13 12:32:26,137 - DEBUG - VN ctest-vn-75131322 UUID is e501013f-b2c3-47ce-91dd-23a753566373 2025-10-13 12:32:26,504 - DEBUG - Response for create_network : {'network': {'id': 'df474d3b-8146-4bc4-b245-7871d0d90385', 'name': 'ctest-ext_vn-76855191', 'tenant_id': 'de745b680fe94277a047293162169883', 'project_id': 'de745b680fe94277a047293162169883', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49663858', 'ctest-ext_vn-76855191'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:32:26,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd48f058e-1277-41fc-983c-0fab1e48bdf4', 'name': '', 'tenant_id': 'de745b680fe94277a047293162169883', 'network_id': 'df474d3b-8146-4bc4-b245-7871d0d90385', 'ip_version': 4, 'cidr': '77.254.125.0/26', 'allocation_pools': [{'start': '77.254.125.2', 'end': '77.254.125.62'}], 'gateway_ip': '77.254.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.254.125.2', 'tags': [], 'project_id': 'de745b680fe94277a047293162169883'}} 2025-10-13 12:32:26,706 - INFO - Created VN ctest-ext_vn-76855191 2025-10-13 12:32:26,757 - DEBUG - VN ctest-ext_vn-76855191 UUID is df474d3b-8146-4bc4-b245-7871d0d90385 2025-10-13 12:32:26,927 - DEBUG - Services list from nova: [, , ] 2025-10-13 12:32:27,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4302-1) 2025-10-13 12:32:29,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4302-1) 2025-10-13 12:32:29,200 - INFO - Setting gateway for router 631fb069-c2e1-4934-8b17-12e03fdcad33 to network df474d3b-8146-4bc4-b245-7871d0d90385 2025-10-13 12:32:29,278 - INFO - Adding interface with subnet_id d380cfff-5014-49dd-8f70-9318ee4e5c53, port_id None to router 631fb069-c2e1-4934-8b17-12e03fdcad33 2025-10-13 12:32:29,623 - INFO - Waiting for VM ctest-TestRoutersBasic-49663858-56701175 to be up.. 2025-10-13 12:32:29,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 12:32:34,895 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:32:34,895 - INFO - VM name : ctest-TestRoutersBasic-49663858-56701175 2025-10-13 12:32:34,967 - DEBUG - VM ctest-TestRoutersBasic-49663858-56701175 ID is 62a418a9-cfda-4b3a-8b58-9f4f2393999f 2025-10-13 12:32:34,988 - DEBUG - VM ctest-TestRoutersBasic-49663858-56701175 launched on Node cn-jenkins-deploy-platform-ansible-os-4302-1 2025-10-13 12:32:35,062 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/62a418a9-cfda-4b3a-8b58-9f4f2393999f 2025-10-13 12:32:35,363 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/62a418a9-cfda-4b3a-8b58-9f4f2393999f 2025-10-13 12:32:35,399 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f67a6e32-b962-40b4-a3f4-5fe6f9a8c877 2025-10-13 12:32:38,670 - 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 1033ms') 2025-10-13 12:32:38,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49663858-56701175 failed! 2025-10-13 12:32:38,725 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49663858:ctest-vn-75131322 is 21.212.157.129 and allocation pool is NOT set 2025-10-13 12:32:40,783 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/1.619/2.863/1.244 ms') 2025-10-13 12:32:40,784 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49663858-56701175 passed 2025-10-13 12:32:40,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:40,937 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49663858-56701175, IP 21.212.157.131, Port 22 2025-10-13 12:32:41,105 - DEBUG - VM ctest-TestRoutersBasic-49663858-56701175 is ready for SSH connections 2025-10-13 12:32:41,105 - INFO - Waiting for VM ctest-TestRoutersBasic-49663858-18505031 to be up.. 2025-10-13 12:32:41,184 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:32:41,184 - INFO - VM name : ctest-TestRoutersBasic-49663858-18505031 2025-10-13 12:32:41,259 - DEBUG - VM ctest-TestRoutersBasic-49663858-18505031 ID is 5644792e-8d42-46cd-b4d9-39ca1712b59c 2025-10-13 12:32:41,259 - DEBUG - VM ctest-TestRoutersBasic-49663858-18505031 launched on Node cn-jenkins-deploy-platform-ansible-os-4302-1 2025-10-13 12:32:41,338 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5644792e-8d42-46cd-b4d9-39ca1712b59c 2025-10-13 12:32:41,346 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2f106f95-8958-4c88-b088-015991abc8d0 2025-10-13 12:32:42,582 - 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=3.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 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.473/2.046/3.619/1.573 ms') 2025-10-13 12:32:42,582 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49663858-18505031 passed 2025-10-13 12:32:42,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:42,733 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49663858-18505031, IP 77.254.125.3, Port 22 2025-10-13 12:32:42,888 - DEBUG - VM ctest-TestRoutersBasic-49663858-18505031 is ready for SSH connections 2025-10-13 12:32:42,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:42,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.254.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 12:32:42,889 - DEBUG - ping -s 56 -c 3 -W 1 77.254.125.3 2025-10-13 12:32:46,598 - DEBUG - PING 77.254.125.3 (77.254.125.3): 56 data bytes 64 bytes from 77.254.125.3: seq=0 ttl=62 time=6.429 ms 64 bytes from 77.254.125.3: seq=1 ttl=62 time=0.968 ms 64 bytes from 77.254.125.3: seq=2 ttl=62 time=0.844 ms --- 77.254.125.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/2.747/6.429 ms 2025-10-13 12:32:46,599 - INFO - Ping to IP 77.254.125.3 from VM ctest-TestRoutersBasic-49663858-56701175 passed 2025-10-13 12:32:46,599 - INFO - Deleting interface with subnet_id d380cfff-5014-49dd-8f70-9318ee4e5c53, port_id None from router 631fb069-c2e1-4934-8b17-12e03fdcad33 2025-10-13 12:32:46,780 - INFO - Deleting VM ctest-TestRoutersBasic-49663858-18505031 2025-10-13 12:32:46,849 - INFO - Deleting VM ctest-TestRoutersBasic-49663858-56701175 2025-10-13 12:32:46,930 - INFO - Deleting VN ctest-ext_vn-76855191 2025-10-13 12:32:46,999 - DEBUG - VN df474d3b-8146-4bc4-b245-7871d0d90385 still in use: Unable to complete operation on network df474d3b-8146-4bc4-b245-7871d0d90385. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44276fce-140d-49e0-a288-ff1da2ec3484'] 2025-10-13 12:32:46,999 - WARNING - Deleting VN ctest-ext_vn-76855191 failed..Will retry 2025-10-13 12:32:49,113 - DEBUG - Response for deleting network () 2025-10-13 12:32:49,113 - INFO - Deleting VN ctest-vn-75131322 2025-10-13 12:32:49,253 - DEBUG - Response for deleting network () 2025-10-13 12:32:49,519 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 12:32:49,519 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-13 12:32:49,519 - INFO - -------------------------------------------------------------------------------- 2025-10-13 12:32:50,189 - INFO - Deleted project: ctest-TestRoutersBasic-49663858, ID : de745b68-0fe9-4277-a047-293162169883