2025-10-22 12:22:13,257 - INFO - Domain Default found not creating 2025-10-22 12:22:13,450 - INFO - Project ctest-TestRoutersBasic-61384517 not found, creating it 2025-10-22 12:22:13,955 - INFO - Created Project:ctest-TestRoutersBasic-61384517, ID : 48d0d396-e0d2-4bc5-a3ae-821b4133ad0e 2025-10-22 12:22:15,531 - INFO - ================================================================================ 2025-10-22 12:22:15,531 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 12:22:15,532 - 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-22 12:22:15,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-10-22 12:22:15,791 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:22:15,791 - INFO - 2025-10-22 12:22:16,588 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61384517 2025-10-22 12:22:16,700 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61384517 2025-10-22 12:22:17,095 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61384517', 'default']} 2025-10-22 12:22:17,430 - DEBUG - Response for create_network : {'network': {'id': '33d0880a-5fb4-4fc5-b54c-88aeb9738f35', 'name': 'ctest-vn-52971986', 'tenant_id': '48d0d396e0d24bc5a3ae821b4133ad0e', 'project_id': '48d0d396e0d24bc5a3ae821b4133ad0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61384517', 'ctest-vn-52971986'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:22:17,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '34ae033d-627a-4836-be8e-546cc5ad2a85', 'name': '', 'tenant_id': '48d0d396e0d24bc5a3ae821b4133ad0e', 'network_id': '33d0880a-5fb4-4fc5-b54c-88aeb9738f35', 'ip_version': 4, 'cidr': '43.57.1.192/26', 'allocation_pools': [{'start': '43.57.1.194', 'end': '43.57.1.254'}], 'gateway_ip': '43.57.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.57.1.194', 'tags': [], 'project_id': '48d0d396e0d24bc5a3ae821b4133ad0e'}} 2025-10-22 12:22:17,671 - INFO - Created VN ctest-vn-52971986 2025-10-22 12:22:17,724 - DEBUG - VN ctest-vn-52971986 UUID is 33d0880a-5fb4-4fc5-b54c-88aeb9738f35 2025-10-22 12:22:18,046 - DEBUG - Response for create_network : {'network': {'id': '716e2ed3-50b9-4d6e-ad50-4b8dea7b3f0f', 'name': 'ctest-ext_vn-67381972', 'tenant_id': '48d0d396e0d24bc5a3ae821b4133ad0e', 'project_id': '48d0d396e0d24bc5a3ae821b4133ad0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61384517', 'ctest-ext_vn-67381972'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:22:18,221 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e299e572-6449-4089-bc07-06537896ecfc', 'name': '', 'tenant_id': '48d0d396e0d24bc5a3ae821b4133ad0e', 'network_id': '716e2ed3-50b9-4d6e-ad50-4b8dea7b3f0f', 'ip_version': 4, 'cidr': '159.174.22.192/26', 'allocation_pools': [{'start': '159.174.22.194', 'end': '159.174.22.254'}], 'gateway_ip': '159.174.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.174.22.194', 'tags': [], 'project_id': '48d0d396e0d24bc5a3ae821b4133ad0e'}} 2025-10-22 12:22:18,245 - INFO - Created VN ctest-ext_vn-67381972 2025-10-22 12:22:18,300 - DEBUG - VN ctest-ext_vn-67381972 UUID is 716e2ed3-50b9-4d6e-ad50-4b8dea7b3f0f 2025-10-22 12:22:18,489 - DEBUG - Services list from nova: [, , ] 2025-10-22 12:22:19,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:22:20,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:22:20,955 - INFO - Setting gateway for router 622b5124-8d99-4f85-9b34-b53734b34f88 to network 716e2ed3-50b9-4d6e-ad50-4b8dea7b3f0f 2025-10-22 12:22:21,067 - INFO - Adding interface with subnet_id 34ae033d-627a-4836-be8e-546cc5ad2a85, port_id None to router 622b5124-8d99-4f85-9b34-b53734b34f88 2025-10-22 12:22:21,634 - INFO - Waiting for VM ctest-TestRoutersBasic-61384517-64149096 to be up.. 2025-10-22 12:22:21,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 12:22:26,919 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:22:26,920 - INFO - VM name : ctest-TestRoutersBasic-61384517-64149096 2025-10-22 12:22:27,008 - DEBUG - VM ctest-TestRoutersBasic-61384517-64149096 ID is bb2a2882-b91d-43f1-9e92-50a252220d81 2025-10-22 12:22:27,038 - DEBUG - VM ctest-TestRoutersBasic-61384517-64149096 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:22:27,129 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/bb2a2882-b91d-43f1-9e92-50a252220d81 2025-10-22 12:22:27,442 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/bb2a2882-b91d-43f1-9e92-50a252220d81 2025-10-22 12:22:27,480 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a517c472-320b-451c-ab9f-2510764aedef 2025-10-22 12:22:30,761 - 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 1029ms') 2025-10-22 12:22:30,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61384517-64149096 failed! 2025-10-22 12:22:30,820 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61384517:ctest-vn-52971986 is 43.57.1.193 and allocation pool is NOT set 2025-10-22 12:22:32,886 - 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=5.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 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.543/3.058/5.574/2.515 ms') 2025-10-22 12:22:32,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61384517-64149096 passed 2025-10-22 12:22:33,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:22:33,048 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61384517-64149096, IP 43.57.1.195, Port 22 2025-10-22 12:22:33,212 - DEBUG - VM ctest-TestRoutersBasic-61384517-64149096 is ready for SSH connections 2025-10-22 12:22:33,212 - INFO - Waiting for VM ctest-TestRoutersBasic-61384517-50297886 to be up.. 2025-10-22 12:22:33,309 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:22:33,310 - INFO - VM name : ctest-TestRoutersBasic-61384517-50297886 2025-10-22 12:22:33,404 - DEBUG - VM ctest-TestRoutersBasic-61384517-50297886 ID is 4d53b8de-7aea-4591-b817-6eaa2cefec68 2025-10-22 12:22:33,404 - DEBUG - VM ctest-TestRoutersBasic-61384517-50297886 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:22:33,490 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4d53b8de-7aea-4591-b817-6eaa2cefec68 2025-10-22 12:22:33,501 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/df5f3950-58ae-4c1c-9928-df6d2a66f8de 2025-10-22 12:22:34,753 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.664 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.664/1.923/3.182/1.259 ms') 2025-10-22 12:22:34,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61384517-50297886 passed 2025-10-22 12:22:34,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:22:34,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61384517-50297886, IP 159.174.22.195, Port 22 2025-10-22 12:22:35,078 - DEBUG - VM ctest-TestRoutersBasic-61384517-50297886 is ready for SSH connections 2025-10-22 12:22:35,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:22:35,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.174.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:22:35,078 - DEBUG - ping -s 56 -c 3 -W 1 159.174.22.195 2025-10-22 12:22:38,820 - DEBUG - PING 159.174.22.195 (159.174.22.195): 56 data bytes 64 bytes from 159.174.22.195: seq=0 ttl=62 time=5.256 ms 64 bytes from 159.174.22.195: seq=1 ttl=62 time=1.449 ms 64 bytes from 159.174.22.195: seq=2 ttl=62 time=1.011 ms --- 159.174.22.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/2.572/5.256 ms 2025-10-22 12:22:38,821 - INFO - Ping to IP 159.174.22.195 from VM ctest-TestRoutersBasic-61384517-64149096 passed 2025-10-22 12:22:38,821 - INFO - Deleting interface with subnet_id 34ae033d-627a-4836-be8e-546cc5ad2a85, port_id None from router 622b5124-8d99-4f85-9b34-b53734b34f88 2025-10-22 12:22:39,036 - INFO - Deleting VM ctest-TestRoutersBasic-61384517-50297886 2025-10-22 12:22:39,123 - INFO - Deleting VM ctest-TestRoutersBasic-61384517-64149096 2025-10-22 12:22:39,212 - INFO - Deleting VN ctest-ext_vn-67381972 2025-10-22 12:22:39,295 - DEBUG - VN 716e2ed3-50b9-4d6e-ad50-4b8dea7b3f0f still in use: Unable to complete operation on network 716e2ed3-50b9-4d6e-ad50-4b8dea7b3f0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c89d9cb3-51fc-46d8-9d66-e59dd3c39834'] 2025-10-22 12:22:39,295 - WARNING - Deleting VN ctest-ext_vn-67381972 failed..Will retry 2025-10-22 12:22:41,425 - DEBUG - Response for deleting network () 2025-10-22 12:22:41,425 - INFO - Deleting VN ctest-vn-52971986 2025-10-22 12:22:41,553 - DEBUG - Response for deleting network () 2025-10-22 12:22:41,829 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 12:22:41,829 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-22 12:22:41,829 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:22:42,554 - INFO - Deleted project: ctest-TestRoutersBasic-61384517, ID : 48d0d396-e0d2-4bc5-a3ae-821b4133ad0e