2025-09-04 22:44:00,589 - INFO - Domain Default found not creating 2025-09-04 22:44:00,762 - INFO - Project ctest-TestRoutersBasic-96598850 not found, creating it 2025-09-04 22:44:01,257 - INFO - Created Project:ctest-TestRoutersBasic-96598850, ID : 75b75da8-0eca-4922-b430-dfe7f5df597e 2025-09-04 22:44:02,686 - INFO - ================================================================================ 2025-09-04 22:44:02,686 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-04 22:44:02,686 - 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-04 22:44:02,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 22:44:02,941 - INFO - Initial checks done. Running the testcase now 2025-09-04 22:44:02,941 - INFO - 2025-09-04 22:44:03,660 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96598850 2025-09-04 22:44:03,759 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96598850 2025-09-04 22:44:04,079 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96598850', 'default']} 2025-09-04 22:44:04,383 - DEBUG - Response for create_network : {'network': {'id': 'c26f2887-8724-4371-aa13-90e051865a93', 'name': 'ctest-vn-56842988', 'tenant_id': '75b75da80eca4922b430dfe7f5df597e', 'project_id': '75b75da80eca4922b430dfe7f5df597e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96598850', 'ctest-vn-56842988'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 22:44:04,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d3c4dc3-c87d-4879-a6ab-c2bc2d8f05dc', 'name': '', 'tenant_id': '75b75da80eca4922b430dfe7f5df597e', 'network_id': 'c26f2887-8724-4371-aa13-90e051865a93', 'ip_version': 4, 'cidr': '220.112.120.128/26', 'allocation_pools': [{'start': '220.112.120.130', 'end': '220.112.120.190'}], 'gateway_ip': '220.112.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.112.120.130', 'tags': [], 'project_id': '75b75da80eca4922b430dfe7f5df597e'}} 2025-09-04 22:44:04,564 - INFO - Created VN ctest-vn-56842988 2025-09-04 22:44:04,615 - DEBUG - VN ctest-vn-56842988 UUID is c26f2887-8724-4371-aa13-90e051865a93 2025-09-04 22:44:04,901 - DEBUG - Response for create_network : {'network': {'id': '98301d01-3858-424d-a534-258891fdf487', 'name': 'ctest-ext_vn-28692527', 'tenant_id': '75b75da80eca4922b430dfe7f5df597e', 'project_id': '75b75da80eca4922b430dfe7f5df597e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96598850', 'ctest-ext_vn-28692527'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 22:44:05,067 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d0642dd-58bb-4fe2-aeab-25386d919786', 'name': '', 'tenant_id': '75b75da80eca4922b430dfe7f5df597e', 'network_id': '98301d01-3858-424d-a534-258891fdf487', 'ip_version': 4, 'cidr': '40.124.54.0/26', 'allocation_pools': [{'start': '40.124.54.2', 'end': '40.124.54.62'}], 'gateway_ip': '40.124.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.124.54.2', 'tags': [], 'project_id': '75b75da80eca4922b430dfe7f5df597e'}} 2025-09-04 22:44:05,083 - INFO - Created VN ctest-ext_vn-28692527 2025-09-04 22:44:05,135 - DEBUG - VN ctest-ext_vn-28692527 UUID is 98301d01-3858-424d-a534-258891fdf487 2025-09-04 22:44:05,341 - DEBUG - Services list from nova: [, , ] 2025-09-04 22:44:06,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4021-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4021-1) 2025-09-04 22:44:07,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4021-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4021-1) 2025-09-04 22:44:07,601 - INFO - Setting gateway for router b7ef3f2a-beec-4337-b3ce-4546faab1392 to network 98301d01-3858-424d-a534-258891fdf487 2025-09-04 22:44:07,674 - INFO - Adding interface with subnet_id 9d3c4dc3-c87d-4879-a6ab-c2bc2d8f05dc, port_id None to router b7ef3f2a-beec-4337-b3ce-4546faab1392 2025-09-04 22:44:07,938 - INFO - Waiting for VM ctest-TestRoutersBasic-96598850-56586337 to be up.. 2025-09-04 22:44:08,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 22:44:13,205 - DEBUG - VM is in ACTIVE state now 2025-09-04 22:44:13,205 - INFO - VM name : ctest-TestRoutersBasic-96598850-56586337 2025-09-04 22:44:13,281 - DEBUG - VM ctest-TestRoutersBasic-96598850-56586337 ID is 8fa5a7dc-d32f-45f4-84af-708e40afd025 2025-09-04 22:44:13,300 - DEBUG - VM ctest-TestRoutersBasic-96598850-56586337 launched on Node cn-jenkins-deploy-platform-ansible-os-4021-1 2025-09-04 22:44:13,372 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8fa5a7dc-d32f-45f4-84af-708e40afd025 2025-09-04 22:44:13,683 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8fa5a7dc-d32f-45f4-84af-708e40afd025 2025-09-04 22:44:13,711 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9c50d89f-951e-4f95-b18a-514876ea445b 2025-09-04 22:44:16,964 - 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 1015ms') 2025-09-04 22:44:16,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96598850-56586337 failed! 2025-09-04 22:44:17,019 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96598850:ctest-vn-56842988 is 220.112.120.129 and allocation pool is NOT set 2025-09-04 22:44:19,076 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/2.222/3.950/1.728 ms') 2025-09-04 22:44:19,076 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96598850-56586337 passed 2025-09-04 22:44:19,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:44:19,227 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96598850-56586337, IP 220.112.120.131, Port 22 2025-09-04 22:44:19,391 - DEBUG - VM ctest-TestRoutersBasic-96598850-56586337 is ready for SSH connections 2025-09-04 22:44:19,391 - INFO - Waiting for VM ctest-TestRoutersBasic-96598850-49289609 to be up.. 2025-09-04 22:44:19,472 - DEBUG - VM is in ACTIVE state now 2025-09-04 22:44:19,472 - INFO - VM name : ctest-TestRoutersBasic-96598850-49289609 2025-09-04 22:44:19,552 - DEBUG - VM ctest-TestRoutersBasic-96598850-49289609 ID is 51c41ca7-ec99-4291-a61f-bd6f1f23bcea 2025-09-04 22:44:19,552 - DEBUG - VM ctest-TestRoutersBasic-96598850-49289609 launched on Node cn-jenkins-deploy-platform-ansible-os-4021-1 2025-09-04 22:44:19,626 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/51c41ca7-ec99-4291-a61f-bd6f1f23bcea 2025-09-04 22:44:19,635 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5afcc215-6e86-48c1-94fc-a74a26112c7c 2025-09-04 22:44:20,878 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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 = 0.506/2.323/4.141/1.817 ms') 2025-09-04 22:44:20,878 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96598850-49289609 passed 2025-09-04 22:44:21,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:44:21,023 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96598850-49289609, IP 40.124.54.3, Port 22 2025-09-04 22:44:21,190 - DEBUG - VM ctest-TestRoutersBasic-96598850-49289609 is ready for SSH connections 2025-09-04 22:44:21,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:44:21,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.124.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:44:21,190 - DEBUG - ping -s 56 -c 3 -W 1 40.124.54.3 2025-09-04 22:44:24,910 - DEBUG - PING 40.124.54.3 (40.124.54.3): 56 data bytes 64 bytes from 40.124.54.3: seq=0 ttl=62 time=5.213 ms 64 bytes from 40.124.54.3: seq=1 ttl=62 time=0.997 ms 64 bytes from 40.124.54.3: seq=2 ttl=62 time=1.356 ms --- 40.124.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/2.522/5.213 ms 2025-09-04 22:44:24,910 - INFO - Ping to IP 40.124.54.3 from VM ctest-TestRoutersBasic-96598850-56586337 passed 2025-09-04 22:44:24,910 - INFO - Deleting interface with subnet_id 9d3c4dc3-c87d-4879-a6ab-c2bc2d8f05dc, port_id None from router b7ef3f2a-beec-4337-b3ce-4546faab1392 2025-09-04 22:44:25,085 - INFO - Deleting VM ctest-TestRoutersBasic-96598850-49289609 2025-09-04 22:44:25,150 - INFO - Deleting VM ctest-TestRoutersBasic-96598850-56586337 2025-09-04 22:44:25,234 - INFO - Deleting VN ctest-ext_vn-28692527 2025-09-04 22:44:25,299 - DEBUG - VN 98301d01-3858-424d-a534-258891fdf487 still in use: Unable to complete operation on network 98301d01-3858-424d-a534-258891fdf487. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17a410d1-fbfc-4f4c-9052-a60f7590149e'] 2025-09-04 22:44:25,299 - WARNING - Deleting VN ctest-ext_vn-28692527 failed..Will retry 2025-09-04 22:44:27,399 - DEBUG - Response for deleting network () 2025-09-04 22:44:27,399 - INFO - Deleting VN ctest-vn-56842988 2025-09-04 22:44:27,496 - DEBUG - Response for deleting network () 2025-09-04 22:44:27,753 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 22:44:27,753 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-04 22:44:27,753 - INFO - -------------------------------------------------------------------------------- 2025-09-04 22:44:28,419 - INFO - Deleted project: ctest-TestRoutersBasic-96598850, ID : 75b75da8-0eca-4922-b430-dfe7f5df597e