2025-08-11 20:41:45,988 - INFO - Domain Default found not creating 2025-08-11 20:41:46,106 - INFO - Project ctest-TestRoutersBasic-86788451 not found, creating it 2025-08-11 20:41:46,541 - INFO - Created Project:ctest-TestRoutersBasic-86788451, ID : c7263e84-87a9-41dc-8334-953903f10375 2025-08-11 20:41:47,853 - INFO - ================================================================================ 2025-08-11 20:41:47,853 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 20:41:47,853 - 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-11 20:41:48,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 20:41:48,112 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:41:48,113 - INFO - 2025-08-11 20:41:48,784 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86788451 2025-08-11 20:41:48,883 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86788451 2025-08-11 20:41:49,211 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86788451', 'default']} 2025-08-11 20:41:49,475 - DEBUG - Response for create_network : {'network': {'id': '78931014-7445-49a5-8124-a5c40659a8ef', 'name': 'ctest-vn-40891959', 'tenant_id': 'c7263e8487a941dc8334953903f10375', 'project_id': 'c7263e8487a941dc8334953903f10375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86788451', 'ctest-vn-40891959'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:41:49,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a86b6067-65d0-4940-a013-10d050322ba3', 'name': '', 'tenant_id': 'c7263e8487a941dc8334953903f10375', 'network_id': '78931014-7445-49a5-8124-a5c40659a8ef', 'ip_version': 4, 'cidr': '211.71.188.128/26', 'allocation_pools': [{'start': '211.71.188.130', 'end': '211.71.188.190'}], 'gateway_ip': '211.71.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.71.188.130', 'tags': [], 'project_id': 'c7263e8487a941dc8334953903f10375'}} 2025-08-11 20:41:49,695 - INFO - Created VN ctest-vn-40891959 2025-08-11 20:41:49,747 - DEBUG - VN ctest-vn-40891959 UUID is 78931014-7445-49a5-8124-a5c40659a8ef 2025-08-11 20:41:50,083 - DEBUG - Response for create_network : {'network': {'id': 'deff0c72-6c88-4b09-ac4a-16cea0f58b57', 'name': 'ctest-ext_vn-76999282', 'tenant_id': 'c7263e8487a941dc8334953903f10375', 'project_id': 'c7263e8487a941dc8334953903f10375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86788451', 'ctest-ext_vn-76999282'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:41:50,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '32d4a97f-2da6-48a9-802f-99ad98f6d34a', 'name': '', 'tenant_id': 'c7263e8487a941dc8334953903f10375', 'network_id': 'deff0c72-6c88-4b09-ac4a-16cea0f58b57', 'ip_version': 4, 'cidr': '19.70.92.64/26', 'allocation_pools': [{'start': '19.70.92.66', 'end': '19.70.92.126'}], 'gateway_ip': '19.70.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.70.92.66', 'tags': [], 'project_id': 'c7263e8487a941dc8334953903f10375'}} 2025-08-11 20:41:50,277 - INFO - Created VN ctest-ext_vn-76999282 2025-08-11 20:41:50,327 - DEBUG - VN ctest-ext_vn-76999282 UUID is deff0c72-6c88-4b09-ac4a-16cea0f58b57 2025-08-11 20:41:50,516 - DEBUG - Services list from nova: [, , ] 2025-08-11 20:41:51,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:41:52,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:41:52,653 - INFO - Setting gateway for router e235334c-6545-486e-969e-8efe7760e0e9 to network deff0c72-6c88-4b09-ac4a-16cea0f58b57 2025-08-11 20:41:52,748 - INFO - Adding interface with subnet_id a86b6067-65d0-4940-a013-10d050322ba3, port_id None to router e235334c-6545-486e-969e-8efe7760e0e9 2025-08-11 20:41:53,134 - INFO - Waiting for VM ctest-TestRoutersBasic-86788451-63628903 to be up.. 2025-08-11 20:41:53,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 20:41:58,362 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:41:58,362 - INFO - VM name : ctest-TestRoutersBasic-86788451-63628903 2025-08-11 20:41:58,438 - DEBUG - VM ctest-TestRoutersBasic-86788451-63628903 ID is ab4932ce-1148-4d6c-a834-0ded90e2468b 2025-08-11 20:41:58,458 - DEBUG - VM ctest-TestRoutersBasic-86788451-63628903 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:41:58,520 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab4932ce-1148-4d6c-a834-0ded90e2468b 2025-08-11 20:41:58,807 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab4932ce-1148-4d6c-a834-0ded90e2468b 2025-08-11 20:41:58,834 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a837691d-c13f-4755-a507-832fac43615e 2025-08-11 20:42:02,078 - 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=2 ttl=63 time=10.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 10.694/10.694/10.694/0.000 ms') 2025-08-11 20:42:02,078 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86788451-63628903 passed 2025-08-11 20:42:02,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:02,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86788451-63628903, IP 211.71.188.131, Port 22 2025-08-11 20:42:02,395 - DEBUG - VM ctest-TestRoutersBasic-86788451-63628903 is ready for SSH connections 2025-08-11 20:42:02,395 - INFO - Waiting for VM ctest-TestRoutersBasic-86788451-22554501 to be up.. 2025-08-11 20:42:02,466 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:42:02,466 - INFO - VM name : ctest-TestRoutersBasic-86788451-22554501 2025-08-11 20:42:02,539 - DEBUG - VM ctest-TestRoutersBasic-86788451-22554501 ID is 5c208bab-ed16-4de4-a701-36cee6c667fb 2025-08-11 20:42:02,540 - DEBUG - VM ctest-TestRoutersBasic-86788451-22554501 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:42:02,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c208bab-ed16-4de4-a701-36cee6c667fb 2025-08-11 20:42:02,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2aafc46b-da71-46be-a50d-ee97429eb0e1 2025-08-11 20:42:03,847 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.316 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.316/1.345/2.374/1.029 ms') 2025-08-11 20:42:03,847 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86788451-22554501 passed 2025-08-11 20:42:04,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:04,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86788451-22554501, IP 19.70.92.67, Port 22 2025-08-11 20:42:04,154 - DEBUG - VM ctest-TestRoutersBasic-86788451-22554501 is ready for SSH connections 2025-08-11 20:42:04,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:04,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.70.92.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:42:04,154 - DEBUG - ping -s 56 -c 3 -W 1 19.70.92.67 2025-08-11 20:42:08,079 - DEBUG - PING 19.70.92.67 (19.70.92.67): 56 data bytes 64 bytes from 19.70.92.67: seq=0 ttl=62 time=4.723 ms 64 bytes from 19.70.92.67: seq=1 ttl=62 time=0.739 ms 64 bytes from 19.70.92.67: seq=2 ttl=62 time=0.661 ms --- 19.70.92.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.661/2.041/4.723 ms 2025-08-11 20:42:08,080 - INFO - Ping to IP 19.70.92.67 from VM ctest-TestRoutersBasic-86788451-63628903 passed 2025-08-11 20:42:08,080 - INFO - Deleting interface with subnet_id a86b6067-65d0-4940-a013-10d050322ba3, port_id None from router e235334c-6545-486e-969e-8efe7760e0e9 2025-08-11 20:42:08,246 - INFO - Deleting VM ctest-TestRoutersBasic-86788451-22554501 2025-08-11 20:42:08,310 - INFO - Deleting VM ctest-TestRoutersBasic-86788451-63628903 2025-08-11 20:42:08,373 - INFO - Deleting VN ctest-ext_vn-76999282 2025-08-11 20:42:08,436 - DEBUG - VN deff0c72-6c88-4b09-ac4a-16cea0f58b57 still in use: Unable to complete operation on network deff0c72-6c88-4b09-ac4a-16cea0f58b57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-490f54d5-bda3-41eb-9478-17edda87d19f'] 2025-08-11 20:42:08,436 - WARNING - Deleting VN ctest-ext_vn-76999282 failed..Will retry 2025-08-11 20:42:10,526 - DEBUG - Response for deleting network () 2025-08-11 20:42:10,527 - INFO - Deleting VN ctest-vn-40891959 2025-08-11 20:42:10,614 - DEBUG - Response for deleting network () 2025-08-11 20:42:10,871 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 20:42:10,871 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-08-11 20:42:10,871 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:42:11,504 - INFO - Deleted project: ctest-TestRoutersBasic-86788451, ID : c7263e84-87a9-41dc-8334-953903f10375