2025-10-25 17:42:52,488 - INFO - Domain Default found not creating 2025-10-25 17:42:52,609 - INFO - Project ctest-TestRoutersBasic-49950450 not found, creating it 2025-10-25 17:42:53,035 - INFO - Created Project:ctest-TestRoutersBasic-49950450, ID : 61e3a646-855c-4357-b953-7d20f76053eb 2025-10-25 17:42:54,360 - INFO - ================================================================================ 2025-10-25 17:42:54,360 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-25 17:42:54,360 - 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-25 17:42:54,609 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-25 17:42:54,609 - INFO - Initial checks done. Running the testcase now 2025-10-25 17:42:54,609 - INFO - 2025-10-25 17:42:55,286 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49950450 2025-10-25 17:42:55,384 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49950450 2025-10-25 17:42:55,696 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49950450', 'default']} 2025-10-25 17:42:55,953 - DEBUG - Response for create_network : {'network': {'id': '0ad1fff0-8eeb-4891-9763-ed8d907793a0', 'name': 'ctest-vn-78440048', 'tenant_id': '61e3a646855c4357b9537d20f76053eb', 'project_id': '61e3a646855c4357b9537d20f76053eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49950450', 'ctest-vn-78440048'], 'port_security_enabled': True, 'description': ''}} 2025-10-25 17:42:56,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5dfd2f8-7972-460a-942d-943b60e8be9a', 'name': '', 'tenant_id': '61e3a646855c4357b9537d20f76053eb', 'network_id': '0ad1fff0-8eeb-4891-9763-ed8d907793a0', 'ip_version': 4, 'cidr': '108.127.39.64/26', 'allocation_pools': [{'start': '108.127.39.66', 'end': '108.127.39.126'}], 'gateway_ip': '108.127.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.127.39.66', 'tags': [], 'project_id': '61e3a646855c4357b9537d20f76053eb'}} 2025-10-25 17:42:56,107 - INFO - Created VN ctest-vn-78440048 2025-10-25 17:42:56,156 - DEBUG - VN ctest-vn-78440048 UUID is 0ad1fff0-8eeb-4891-9763-ed8d907793a0 2025-10-25 17:42:56,468 - DEBUG - Response for create_network : {'network': {'id': 'ce5cc409-cbab-4c6d-9783-b4c5c32cc6ef', 'name': 'ctest-ext_vn-18900222', 'tenant_id': '61e3a646855c4357b9537d20f76053eb', 'project_id': '61e3a646855c4357b9537d20f76053eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49950450', 'ctest-ext_vn-18900222'], 'port_security_enabled': True, 'description': ''}} 2025-10-25 17:42:56,622 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3bc1d1c-8cbf-4c5e-817c-aca3fe54f189', 'name': '', 'tenant_id': '61e3a646855c4357b9537d20f76053eb', 'network_id': 'ce5cc409-cbab-4c6d-9783-b4c5c32cc6ef', 'ip_version': 4, 'cidr': '209.94.148.128/26', 'allocation_pools': [{'start': '209.94.148.130', 'end': '209.94.148.190'}], 'gateway_ip': '209.94.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.94.148.130', 'tags': [], 'project_id': '61e3a646855c4357b9537d20f76053eb'}} 2025-10-25 17:42:56,636 - INFO - Created VN ctest-ext_vn-18900222 2025-10-25 17:42:56,688 - DEBUG - VN ctest-ext_vn-18900222 UUID is ce5cc409-cbab-4c6d-9783-b4c5c32cc6ef 2025-10-25 17:42:56,867 - DEBUG - Services list from nova: [, , ] 2025-10-25 17:42:57,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4482-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4482-1) 2025-10-25 17:42:58,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4482-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4482-1) 2025-10-25 17:42:58,940 - INFO - Setting gateway for router 8ec4e803-174a-406e-846a-a2b1de75257b to network ce5cc409-cbab-4c6d-9783-b4c5c32cc6ef 2025-10-25 17:42:59,030 - INFO - Adding interface with subnet_id d5dfd2f8-7972-460a-942d-943b60e8be9a, port_id None to router 8ec4e803-174a-406e-846a-a2b1de75257b 2025-10-25 17:42:59,375 - INFO - Waiting for VM ctest-TestRoutersBasic-49950450-78738340 to be up.. 2025-10-25 17:42:59,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-25 17:43:04,592 - DEBUG - VM is in ACTIVE state now 2025-10-25 17:43:04,592 - INFO - VM name : ctest-TestRoutersBasic-49950450-78738340 2025-10-25 17:43:04,675 - DEBUG - VM ctest-TestRoutersBasic-49950450-78738340 ID is be60d990-fc7c-4561-a7b6-591b879ec1bd 2025-10-25 17:43:04,695 - DEBUG - VM ctest-TestRoutersBasic-49950450-78738340 launched on Node cn-jenkins-deploy-platform-ansible-os-4482-1 2025-10-25 17:43:04,771 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/be60d990-fc7c-4561-a7b6-591b879ec1bd 2025-10-25 17:43:05,085 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/be60d990-fc7c-4561-a7b6-591b879ec1bd 2025-10-25 17:43:05,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/055b8f23-823c-4a1d-b9d8-f8e8e176e3b4 2025-10-25 17:43:08,361 - 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 1016ms') 2025-10-25 17:43:08,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49950450-78738340 failed! 2025-10-25 17:43:08,412 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49950450:ctest-vn-78440048 is 108.127.39.65 and allocation pool is NOT set 2025-10-25 17:43:10,467 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.402/1.766/3.131/1.364 ms') 2025-10-25 17:43:10,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49950450-78738340 passed 2025-10-25 17:43:10,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:43:10,612 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49950450-78738340, IP 108.127.39.67, Port 22 2025-10-25 17:43:10,763 - DEBUG - VM ctest-TestRoutersBasic-49950450-78738340 is ready for SSH connections 2025-10-25 17:43:10,763 - INFO - Waiting for VM ctest-TestRoutersBasic-49950450-27515834 to be up.. 2025-10-25 17:43:10,825 - DEBUG - VM is in ACTIVE state now 2025-10-25 17:43:10,825 - INFO - VM name : ctest-TestRoutersBasic-49950450-27515834 2025-10-25 17:43:10,883 - DEBUG - VM ctest-TestRoutersBasic-49950450-27515834 ID is e3d7a1b1-6228-47c8-b829-7d306b6ba478 2025-10-25 17:43:10,883 - DEBUG - VM ctest-TestRoutersBasic-49950450-27515834 launched on Node cn-jenkins-deploy-platform-ansible-os-4482-1 2025-10-25 17:43:10,944 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e3d7a1b1-6228-47c8-b829-7d306b6ba478 2025-10-25 17:43:10,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8eaf539e-ef94-46d6-90be-20a2436d3184 2025-10-25 17:43:12,171 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.576/2.735/1.158 ms') 2025-10-25 17:43:12,171 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49950450-27515834 passed 2025-10-25 17:43:12,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:43:12,316 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49950450-27515834, IP 209.94.148.131, Port 22 2025-10-25 17:43:12,467 - DEBUG - VM ctest-TestRoutersBasic-49950450-27515834 is ready for SSH connections 2025-10-25 17:43:12,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:43:12,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.94.148.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-25 17:43:12,468 - DEBUG - ping -s 56 -c 3 -W 1 209.94.148.131 2025-10-25 17:43:16,415 - DEBUG - PING 209.94.148.131 (209.94.148.131): 56 data bytes 64 bytes from 209.94.148.131: seq=0 ttl=62 time=4.117 ms 64 bytes from 209.94.148.131: seq=1 ttl=62 time=0.760 ms 64 bytes from 209.94.148.131: seq=2 ttl=62 time=0.726 ms --- 209.94.148.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.867/4.117 ms 2025-10-25 17:43:16,415 - INFO - Ping to IP 209.94.148.131 from VM ctest-TestRoutersBasic-49950450-78738340 passed 2025-10-25 17:43:16,415 - INFO - Deleting interface with subnet_id d5dfd2f8-7972-460a-942d-943b60e8be9a, port_id None from router 8ec4e803-174a-406e-846a-a2b1de75257b 2025-10-25 17:43:16,567 - INFO - Deleting VM ctest-TestRoutersBasic-49950450-27515834 2025-10-25 17:43:16,622 - INFO - Deleting VM ctest-TestRoutersBasic-49950450-78738340 2025-10-25 17:43:16,684 - INFO - Deleting VN ctest-ext_vn-18900222 2025-10-25 17:43:16,739 - DEBUG - VN ce5cc409-cbab-4c6d-9783-b4c5c32cc6ef still in use: Unable to complete operation on network ce5cc409-cbab-4c6d-9783-b4c5c32cc6ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1ea97ad-b9b0-42b4-bace-1475537192d4'] 2025-10-25 17:43:16,739 - WARNING - Deleting VN ctest-ext_vn-18900222 failed..Will retry 2025-10-25 17:43:18,821 - DEBUG - Response for deleting network () 2025-10-25 17:43:18,821 - INFO - Deleting VN ctest-vn-78440048 2025-10-25 17:43:18,905 - DEBUG - Response for deleting network () 2025-10-25 17:43:19,152 - DEBUG - No XMPP flaps were noticed during the test 2025-10-25 17:43:19,152 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-25 17:43:19,152 - INFO - -------------------------------------------------------------------------------- 2025-10-25 17:43:19,772 - INFO - Deleted project: ctest-TestRoutersBasic-49950450, ID : 61e3a646-855c-4357-b953-7d20f76053eb