2025-09-03 16:09:43,345 - INFO - Domain Default found not creating 2025-09-03 16:09:43,473 - INFO - Project ctest-TestRoutersBasic-54508249 not found, creating it 2025-09-03 16:09:43,891 - INFO - Created Project:ctest-TestRoutersBasic-54508249, ID : f49296e9-2727-4a6d-9aca-1a41439f460f 2025-09-03 16:09:45,284 - INFO - ================================================================================ 2025-09-03 16:09:45,284 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-03 16:09:45,284 - 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-03 16:09:45,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-03 16:09:45,541 - INFO - Initial checks done. Running the testcase now 2025-09-03 16:09:45,541 - INFO - 2025-09-03 16:09:46,210 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54508249 2025-09-03 16:09:46,308 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54508249 2025-09-03 16:09:46,627 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54508249', 'default']} 2025-09-03 16:09:46,967 - DEBUG - Response for create_network : {'network': {'id': '8a2c67e7-d83d-402a-bf3d-8d5038c66b08', 'name': 'ctest-vn-94403626', 'tenant_id': 'f49296e927274a6d9aca1a41439f460f', 'project_id': 'f49296e927274a6d9aca1a41439f460f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54508249', 'ctest-vn-94403626'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:09:47,211 - DEBUG - Response for create_subnet : {'subnet': {'id': '89dfa57f-da6a-4d4a-805d-b40f7839313b', 'name': '', 'tenant_id': 'f49296e927274a6d9aca1a41439f460f', 'network_id': '8a2c67e7-d83d-402a-bf3d-8d5038c66b08', 'ip_version': 4, 'cidr': '207.153.197.64/26', 'allocation_pools': [{'start': '207.153.197.66', 'end': '207.153.197.126'}], 'gateway_ip': '207.153.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.153.197.66', 'tags': [], 'project_id': 'f49296e927274a6d9aca1a41439f460f'}} 2025-09-03 16:09:47,230 - INFO - Created VN ctest-vn-94403626 2025-09-03 16:09:47,288 - DEBUG - VN ctest-vn-94403626 UUID is 8a2c67e7-d83d-402a-bf3d-8d5038c66b08 2025-09-03 16:09:47,653 - DEBUG - Response for create_network : {'network': {'id': '6b0e8f67-b159-4f7d-92af-da8c3001fa15', 'name': 'ctest-ext_vn-58749328', 'tenant_id': 'f49296e927274a6d9aca1a41439f460f', 'project_id': 'f49296e927274a6d9aca1a41439f460f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54508249', 'ctest-ext_vn-58749328'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:09:47,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e8409c4-0ece-4868-8021-316d38f8b4ad', 'name': '', 'tenant_id': 'f49296e927274a6d9aca1a41439f460f', 'network_id': '6b0e8f67-b159-4f7d-92af-da8c3001fa15', 'ip_version': 4, 'cidr': '130.192.167.128/26', 'allocation_pools': [{'start': '130.192.167.130', 'end': '130.192.167.190'}], 'gateway_ip': '130.192.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.192.167.130', 'tags': [], 'project_id': 'f49296e927274a6d9aca1a41439f460f'}} 2025-09-03 16:09:47,825 - INFO - Created VN ctest-ext_vn-58749328 2025-09-03 16:09:47,876 - DEBUG - VN ctest-ext_vn-58749328 UUID is 6b0e8f67-b159-4f7d-92af-da8c3001fa15 2025-09-03 16:09:48,028 - DEBUG - Services list from nova: [, , ] 2025-09-03 16:09:48,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:09:50,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:09:50,145 - INFO - Setting gateway for router 6073744e-b8fd-4f66-a96f-ea31f27add96 to network 6b0e8f67-b159-4f7d-92af-da8c3001fa15 2025-09-03 16:09:50,221 - INFO - Adding interface with subnet_id 89dfa57f-da6a-4d4a-805d-b40f7839313b, port_id None to router 6073744e-b8fd-4f66-a96f-ea31f27add96 2025-09-03 16:09:50,486 - INFO - Waiting for VM ctest-TestRoutersBasic-54508249-36471230 to be up.. 2025-09-03 16:09:50,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 16:09:55,642 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:09:55,642 - INFO - VM name : ctest-TestRoutersBasic-54508249-36471230 2025-09-03 16:09:55,708 - DEBUG - VM ctest-TestRoutersBasic-54508249-36471230 ID is e47d44c6-be4c-48a8-b241-fc927a01a537 2025-09-03 16:09:55,725 - DEBUG - VM ctest-TestRoutersBasic-54508249-36471230 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:09:55,791 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e47d44c6-be4c-48a8-b241-fc927a01a537 2025-09-03 16:09:56,079 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e47d44c6-be4c-48a8-b241-fc927a01a537 2025-09-03 16:09:56,106 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/67f83ec8-25d6-49fe-a84e-85f3b481f3ee 2025-09-03 16:09:59,354 - 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 1011ms') 2025-09-03 16:09:59,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54508249-36471230 failed! 2025-09-03 16:09:59,408 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54508249:ctest-vn-94403626 is 207.153.197.65 and allocation pool is NOT set 2025-09-03 16:10:01,471 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/1.579/2.766/1.187 ms') 2025-09-03 16:10:01,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54508249-36471230 passed 2025-09-03 16:10:01,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:01,724 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54508249-36471230, IP 207.153.197.67, Port 22 2025-09-03 16:10:01,884 - DEBUG - VM ctest-TestRoutersBasic-54508249-36471230 is ready for SSH connections 2025-09-03 16:10:01,884 - INFO - Waiting for VM ctest-TestRoutersBasic-54508249-18454927 to be up.. 2025-09-03 16:10:01,950 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:10:01,951 - INFO - VM name : ctest-TestRoutersBasic-54508249-18454927 2025-09-03 16:10:02,013 - DEBUG - VM ctest-TestRoutersBasic-54508249-18454927 ID is 3fd4d34b-0c76-492b-8510-7bb68f9cb699 2025-09-03 16:10:02,014 - DEBUG - VM ctest-TestRoutersBasic-54508249-18454927 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:10:02,081 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3fd4d34b-0c76-492b-8510-7bb68f9cb699 2025-09-03 16:10:02,089 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/554b95a5-bed6-40b2-b848-519a4c78eaaf 2025-09-03 16:10:03,328 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.517/2.849/4.181/1.332 ms') 2025-09-03 16:10:03,328 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54508249-18454927 passed 2025-09-03 16:10:03,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:03,476 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54508249-18454927, IP 130.192.167.131, Port 22 2025-09-03 16:10:03,643 - DEBUG - VM ctest-TestRoutersBasic-54508249-18454927 is ready for SSH connections 2025-09-03 16:10:03,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:03,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.192.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:10:03,643 - DEBUG - ping -s 56 -c 3 -W 1 130.192.167.131 2025-09-03 16:10:07,635 - DEBUG - PING 130.192.167.131 (130.192.167.131): 56 data bytes 64 bytes from 130.192.167.131: seq=0 ttl=62 time=7.576 ms 64 bytes from 130.192.167.131: seq=1 ttl=62 time=0.820 ms 64 bytes from 130.192.167.131: seq=2 ttl=62 time=0.794 ms --- 130.192.167.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/3.063/7.576 ms 2025-09-03 16:10:07,636 - INFO - Ping to IP 130.192.167.131 from VM ctest-TestRoutersBasic-54508249-36471230 passed 2025-09-03 16:10:07,636 - INFO - Deleting interface with subnet_id 89dfa57f-da6a-4d4a-805d-b40f7839313b, port_id None from router 6073744e-b8fd-4f66-a96f-ea31f27add96 2025-09-03 16:10:07,791 - INFO - Deleting VM ctest-TestRoutersBasic-54508249-18454927 2025-09-03 16:10:07,848 - INFO - Deleting VM ctest-TestRoutersBasic-54508249-36471230 2025-09-03 16:10:07,919 - INFO - Deleting VN ctest-ext_vn-58749328 2025-09-03 16:10:07,976 - DEBUG - VN 6b0e8f67-b159-4f7d-92af-da8c3001fa15 still in use: Unable to complete operation on network 6b0e8f67-b159-4f7d-92af-da8c3001fa15. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf373cb4-f868-4ba2-b322-3842ca27a802'] 2025-09-03 16:10:07,976 - WARNING - Deleting VN ctest-ext_vn-58749328 failed..Will retry 2025-09-03 16:10:10,068 - DEBUG - Response for deleting network () 2025-09-03 16:10:10,068 - INFO - Deleting VN ctest-vn-94403626 2025-09-03 16:10:10,169 - DEBUG - Response for deleting network () 2025-09-03 16:10:10,425 - DEBUG - No XMPP flaps were noticed during the test 2025-09-03 16:10:10,425 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-03 16:10:10,425 - INFO - -------------------------------------------------------------------------------- 2025-09-03 16:10:11,112 - INFO - Deleted project: ctest-TestRoutersBasic-54508249, ID : f49296e9-2727-4a6d-9aca-1a41439f460f