2025-09-11 19:18:05,311 - INFO - Domain Default found not creating 2025-09-11 19:18:05,465 - INFO - Project ctest-TestRoutersBasic-11296827 not found, creating it 2025-09-11 19:18:05,902 - INFO - Created Project:ctest-TestRoutersBasic-11296827, ID : 349267f6-f47e-4282-a4e7-edf41688eb33 2025-09-11 19:18:07,351 - INFO - ================================================================================ 2025-09-11 19:18:07,351 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 19:18:07,351 - 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-09-11 19:18:07,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 19:18:07,608 - INFO - Initial checks done. Running the testcase now 2025-09-11 19:18:07,608 - INFO - 2025-09-11 19:18:08,317 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11296827 2025-09-11 19:18:08,418 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11296827 2025-09-11 19:18:08,746 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11296827', 'default']} 2025-09-11 19:18:09,050 - DEBUG - Response for create_network : {'network': {'id': 'f8f6e034-0342-4e57-a3ca-f7fbec8f7c14', 'name': 'ctest-vn-74986915', 'tenant_id': '349267f6f47e4282a4e7edf41688eb33', 'project_id': '349267f6f47e4282a4e7edf41688eb33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11296827', 'ctest-vn-74986915'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:18:09,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '60fd4365-9a48-47de-b22a-bf6e9daa90dd', 'name': '', 'tenant_id': '349267f6f47e4282a4e7edf41688eb33', 'network_id': 'f8f6e034-0342-4e57-a3ca-f7fbec8f7c14', 'ip_version': 4, 'cidr': '53.31.7.64/26', 'allocation_pools': [{'start': '53.31.7.66', 'end': '53.31.7.126'}], 'gateway_ip': '53.31.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.31.7.66', 'tags': [], 'project_id': '349267f6f47e4282a4e7edf41688eb33'}} 2025-09-11 19:18:09,278 - INFO - Created VN ctest-vn-74986915 2025-09-11 19:18:09,334 - DEBUG - VN ctest-vn-74986915 UUID is f8f6e034-0342-4e57-a3ca-f7fbec8f7c14 2025-09-11 19:18:09,641 - DEBUG - Response for create_network : {'network': {'id': '37d9c4c1-ebae-4d5f-96eb-7793b04735c2', 'name': 'ctest-ext_vn-71880124', 'tenant_id': '349267f6f47e4282a4e7edf41688eb33', 'project_id': '349267f6f47e4282a4e7edf41688eb33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11296827', 'ctest-ext_vn-71880124'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:18:09,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0b0ca2a-2c1c-4ec4-97fe-e03a57a0f3d6', 'name': '', 'tenant_id': '349267f6f47e4282a4e7edf41688eb33', 'network_id': '37d9c4c1-ebae-4d5f-96eb-7793b04735c2', 'ip_version': 4, 'cidr': '204.12.19.64/26', 'allocation_pools': [{'start': '204.12.19.66', 'end': '204.12.19.126'}], 'gateway_ip': '204.12.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.12.19.66', 'tags': [], 'project_id': '349267f6f47e4282a4e7edf41688eb33'}} 2025-09-11 19:18:09,872 - INFO - Created VN ctest-ext_vn-71880124 2025-09-11 19:18:09,922 - DEBUG - VN ctest-ext_vn-71880124 UUID is 37d9c4c1-ebae-4d5f-96eb-7793b04735c2 2025-09-11 19:18:10,082 - DEBUG - Services list from nova: [, , ] 2025-09-11 19:18:11,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:18:12,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:18:12,316 - INFO - Setting gateway for router f606d294-4e0d-436d-8e67-7069eb7bac9a to network 37d9c4c1-ebae-4d5f-96eb-7793b04735c2 2025-09-11 19:18:12,391 - INFO - Adding interface with subnet_id 60fd4365-9a48-47de-b22a-bf6e9daa90dd, port_id None to router f606d294-4e0d-436d-8e67-7069eb7bac9a 2025-09-11 19:18:12,797 - INFO - Waiting for VM ctest-TestRoutersBasic-11296827-29771354 to be up.. 2025-09-11 19:18:12,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 19:18:18,022 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:18:18,022 - INFO - VM name : ctest-TestRoutersBasic-11296827-29771354 2025-09-11 19:18:18,094 - DEBUG - VM ctest-TestRoutersBasic-11296827-29771354 ID is e011ce02-2f70-491d-8395-3f67cc179600 2025-09-11 19:18:18,112 - DEBUG - VM ctest-TestRoutersBasic-11296827-29771354 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:18:18,186 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e011ce02-2f70-491d-8395-3f67cc179600 2025-09-11 19:18:18,481 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e011ce02-2f70-491d-8395-3f67cc179600 2025-09-11 19:18:18,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6a41a7bc-e4fa-45bd-9311-c6472c17ee09 2025-09-11 19:18:21,774 - 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 1019ms') 2025-09-11 19:18:21,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11296827-29771354 failed! 2025-09-11 19:18:21,830 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11296827:ctest-vn-74986915 is 53.31.7.65 and allocation pool is NOT set 2025-09-11 19:18:23,891 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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.902/3.125/4.349/1.223 ms') 2025-09-11 19:18:23,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11296827-29771354 passed 2025-09-11 19:18:24,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:18:24,042 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11296827-29771354, IP 53.31.7.67, Port 22 2025-09-11 19:18:24,198 - DEBUG - VM ctest-TestRoutersBasic-11296827-29771354 is ready for SSH connections 2025-09-11 19:18:24,198 - INFO - Waiting for VM ctest-TestRoutersBasic-11296827-62278553 to be up.. 2025-09-11 19:18:24,275 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:18:24,275 - INFO - VM name : ctest-TestRoutersBasic-11296827-62278553 2025-09-11 19:18:24,359 - DEBUG - VM ctest-TestRoutersBasic-11296827-62278553 ID is 801dd479-d85b-4a01-99c9-239c451fda88 2025-09-11 19:18:24,360 - DEBUG - VM ctest-TestRoutersBasic-11296827-62278553 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:18:24,439 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/801dd479-d85b-4a01-99c9-239c451fda88 2025-09-11 19:18:24,447 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9ec971d3-f20b-4426-8b3c-3b3b749049ad 2025-09-11 19:18:25,684 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.017/2.453/3.889/1.436 ms') 2025-09-11 19:18:25,684 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11296827-62278553 passed 2025-09-11 19:18:25,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:18:25,834 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11296827-62278553, IP 204.12.19.67, Port 22 2025-09-11 19:18:25,993 - DEBUG - VM ctest-TestRoutersBasic-11296827-62278553 is ready for SSH connections 2025-09-11 19:18:25,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:18:25,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.12.19.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:18:25,994 - DEBUG - ping -s 56 -c 3 -W 1 204.12.19.67 2025-09-11 19:18:29,709 - DEBUG - PING 204.12.19.67 (204.12.19.67): 56 data bytes 64 bytes from 204.12.19.67: seq=0 ttl=62 time=6.527 ms 64 bytes from 204.12.19.67: seq=1 ttl=62 time=1.218 ms 64 bytes from 204.12.19.67: seq=2 ttl=62 time=0.866 ms --- 204.12.19.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.870/6.527 ms 2025-09-11 19:18:29,709 - INFO - Ping to IP 204.12.19.67 from VM ctest-TestRoutersBasic-11296827-29771354 passed 2025-09-11 19:18:29,709 - INFO - Deleting interface with subnet_id 60fd4365-9a48-47de-b22a-bf6e9daa90dd, port_id None from router f606d294-4e0d-436d-8e67-7069eb7bac9a 2025-09-11 19:18:29,884 - INFO - Deleting VM ctest-TestRoutersBasic-11296827-62278553 2025-09-11 19:18:29,948 - INFO - Deleting VM ctest-TestRoutersBasic-11296827-29771354 2025-09-11 19:18:30,021 - INFO - Deleting VN ctest-ext_vn-71880124 2025-09-11 19:18:30,086 - DEBUG - VN 37d9c4c1-ebae-4d5f-96eb-7793b04735c2 still in use: Unable to complete operation on network 37d9c4c1-ebae-4d5f-96eb-7793b04735c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e5f1fd7-7781-40ce-9ee4-73617201b523'] 2025-09-11 19:18:30,086 - WARNING - Deleting VN ctest-ext_vn-71880124 failed..Will retry 2025-09-11 19:18:32,190 - DEBUG - Response for deleting network () 2025-09-11 19:18:32,191 - INFO - Deleting VN ctest-vn-74986915 2025-09-11 19:18:32,285 - DEBUG - Response for deleting network () 2025-09-11 19:18:32,550 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 19:18:32,550 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-11 19:18:32,550 - INFO - -------------------------------------------------------------------------------- 2025-09-11 19:18:33,226 - INFO - Deleted project: ctest-TestRoutersBasic-11296827, ID : 349267f6-f47e-4282-a4e7-edf41688eb33