2025-08-07 14:23:04,577 - INFO - Domain Default found not creating 2025-08-07 14:23:04,750 - INFO - Project ctest-TestRoutersBasic-34270896 not found, creating it 2025-08-07 14:23:05,232 - INFO - Created Project:ctest-TestRoutersBasic-34270896, ID : 475b6a96-6219-49cc-9421-9c58f605a839 2025-08-07 14:23:06,723 - INFO - ================================================================================ 2025-08-07 14:23:06,723 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-07 14:23:06,723 - 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-08-07 14:23:06,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 14:23:06,980 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:23:06,980 - INFO - 2025-08-07 14:23:07,685 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34270896 2025-08-07 14:23:07,787 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34270896 2025-08-07 14:23:08,110 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34270896', 'default']} 2025-08-07 14:23:08,436 - DEBUG - Response for create_network : {'network': {'id': '5f335e03-9b37-4caf-98f8-1880e6eef248', 'name': 'ctest-vn-62105724', 'tenant_id': '475b6a96621949cc94219c58f605a839', 'project_id': '475b6a96621949cc94219c58f605a839', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34270896', 'ctest-vn-62105724'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:08,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '87de660d-839c-4e13-9f51-17129eadb8b4', 'name': '', 'tenant_id': '475b6a96621949cc94219c58f605a839', 'network_id': '5f335e03-9b37-4caf-98f8-1880e6eef248', 'ip_version': 4, 'cidr': '158.165.46.0/26', 'allocation_pools': [{'start': '158.165.46.2', 'end': '158.165.46.62'}], 'gateway_ip': '158.165.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.165.46.2', 'tags': [], 'project_id': '475b6a96621949cc94219c58f605a839'}} 2025-08-07 14:23:08,620 - INFO - Created VN ctest-vn-62105724 2025-08-07 14:23:08,675 - DEBUG - VN ctest-vn-62105724 UUID is 5f335e03-9b37-4caf-98f8-1880e6eef248 2025-08-07 14:23:09,004 - DEBUG - Response for create_network : {'network': {'id': 'f5143b0b-7b87-4471-960a-2849dcb7066e', 'name': 'ctest-ext_vn-73186324', 'tenant_id': '475b6a96621949cc94219c58f605a839', 'project_id': '475b6a96621949cc94219c58f605a839', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34270896', 'ctest-ext_vn-73186324'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:09,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f90ebd3b-eaae-4d09-80b6-faefca3a9287', 'name': '', 'tenant_id': '475b6a96621949cc94219c58f605a839', 'network_id': 'f5143b0b-7b87-4471-960a-2849dcb7066e', 'ip_version': 4, 'cidr': '75.33.226.0/26', 'allocation_pools': [{'start': '75.33.226.2', 'end': '75.33.226.62'}], 'gateway_ip': '75.33.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.33.226.2', 'tags': [], 'project_id': '475b6a96621949cc94219c58f605a839'}} 2025-08-07 14:23:09,201 - INFO - Created VN ctest-ext_vn-73186324 2025-08-07 14:23:09,254 - DEBUG - VN ctest-ext_vn-73186324 UUID is f5143b0b-7b87-4471-960a-2849dcb7066e 2025-08-07 14:23:09,448 - DEBUG - Services list from nova: [, , ] 2025-08-07 14:23:10,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3771-1) 2025-08-07 14:23:11,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3771-1) 2025-08-07 14:23:11,683 - INFO - Setting gateway for router c623366e-e22a-44ac-a35f-b13c401d6fd9 to network f5143b0b-7b87-4471-960a-2849dcb7066e 2025-08-07 14:23:11,742 - INFO - Adding interface with subnet_id 87de660d-839c-4e13-9f51-17129eadb8b4, port_id None to router c623366e-e22a-44ac-a35f-b13c401d6fd9 2025-08-07 14:23:12,271 - INFO - Waiting for VM ctest-TestRoutersBasic-34270896-21457293 to be up.. 2025-08-07 14:23:12,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 14:23:17,501 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:23:17,501 - INFO - VM name : ctest-TestRoutersBasic-34270896-21457293 2025-08-07 14:23:17,569 - DEBUG - VM ctest-TestRoutersBasic-34270896-21457293 ID is e9728d8f-a7bc-46bc-a233-3db93282d3b3 2025-08-07 14:23:17,589 - DEBUG - VM ctest-TestRoutersBasic-34270896-21457293 launched on Node cn-jenkins-deploy-platform-ansible-os-3771-1 2025-08-07 14:23:17,659 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9728d8f-a7bc-46bc-a233-3db93282d3b3 2025-08-07 14:23:17,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9728d8f-a7bc-46bc-a233-3db93282d3b3 2025-08-07 14:23:17,983 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c0cf2131-fe81-49d8-bd5d-b234dc925580 2025-08-07 14:23:21,230 - 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 1007ms') 2025-08-07 14:23:21,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34270896-21457293 failed! 2025-08-07 14:23:21,286 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34270896:ctest-vn-62105724 is 158.165.46.1 and allocation pool is NOT set 2025-08-07 14:23:23,344 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.619/2.825/1.205 ms') 2025-08-07 14:23:23,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34270896-21457293 passed 2025-08-07 14:23:23,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:23:23,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34270896-21457293, IP 158.165.46.3, Port 22 2025-08-07 14:23:23,669 - DEBUG - VM ctest-TestRoutersBasic-34270896-21457293 is ready for SSH connections 2025-08-07 14:23:23,669 - INFO - Waiting for VM ctest-TestRoutersBasic-34270896-74539593 to be up.. 2025-08-07 14:23:23,759 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:23:23,759 - INFO - VM name : ctest-TestRoutersBasic-34270896-74539593 2025-08-07 14:23:23,833 - DEBUG - VM ctest-TestRoutersBasic-34270896-74539593 ID is fce29598-2092-4e40-9f86-61f67f5ae0e7 2025-08-07 14:23:23,833 - DEBUG - VM ctest-TestRoutersBasic-34270896-74539593 launched on Node cn-jenkins-deploy-platform-ansible-os-3771-1 2025-08-07 14:23:23,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fce29598-2092-4e40-9f86-61f67f5ae0e7 2025-08-07 14:23:23,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1d87c9a9-f484-4551-bd51-65e86a9d9788 2025-08-07 14:23:25,148 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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 = 0.437/1.648/2.859/1.211 ms') 2025-08-07 14:23:25,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34270896-74539593 passed 2025-08-07 14:23:25,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:23:25,298 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34270896-74539593, IP 75.33.226.3, Port 22 2025-08-07 14:23:25,454 - DEBUG - VM ctest-TestRoutersBasic-34270896-74539593 is ready for SSH connections 2025-08-07 14:23:25,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:23:25,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.33.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 14:23:25,455 - DEBUG - ping -s 56 -c 3 -W 1 75.33.226.3 2025-08-07 14:23:29,114 - DEBUG - PING 75.33.226.3 (75.33.226.3): 56 data bytes 64 bytes from 75.33.226.3: seq=0 ttl=62 time=7.433 ms 64 bytes from 75.33.226.3: seq=1 ttl=62 time=0.877 ms 64 bytes from 75.33.226.3: seq=2 ttl=62 time=0.878 ms --- 75.33.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/3.062/7.433 ms 2025-08-07 14:23:29,114 - INFO - Ping to IP 75.33.226.3 from VM ctest-TestRoutersBasic-34270896-21457293 passed 2025-08-07 14:23:29,114 - INFO - Deleting interface with subnet_id 87de660d-839c-4e13-9f51-17129eadb8b4, port_id None from router c623366e-e22a-44ac-a35f-b13c401d6fd9 2025-08-07 14:23:29,435 - INFO - Deleting VM ctest-TestRoutersBasic-34270896-74539593 2025-08-07 14:23:29,496 - INFO - Deleting VM ctest-TestRoutersBasic-34270896-21457293 2025-08-07 14:23:29,564 - INFO - Deleting VN ctest-ext_vn-73186324 2025-08-07 14:23:29,639 - DEBUG - VN f5143b0b-7b87-4471-960a-2849dcb7066e still in use: Unable to complete operation on network f5143b0b-7b87-4471-960a-2849dcb7066e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51a58055-4200-4986-a798-b438558be88b'] 2025-08-07 14:23:29,639 - WARNING - Deleting VN ctest-ext_vn-73186324 failed..Will retry 2025-08-07 14:23:31,752 - DEBUG - Response for deleting network () 2025-08-07 14:23:31,752 - INFO - Deleting VN ctest-vn-62105724 2025-08-07 14:23:31,867 - DEBUG - Response for deleting network () 2025-08-07 14:23:32,133 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 14:23:32,133 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-07 14:23:32,133 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:23:32,817 - INFO - Deleted project: ctest-TestRoutersBasic-34270896, ID : 475b6a96-6219-49cc-9421-9c58f605a839