2025-09-16 12:22:07,889 - INFO - Domain Default found not creating 2025-09-16 12:22:08,047 - INFO - Project ctest-TestRoutersBasic-83717183 not found, creating it 2025-09-16 12:22:08,503 - INFO - Created Project:ctest-TestRoutersBasic-83717183, ID : b7311ab1-c2b8-433e-9fc0-9ed862759963 2025-09-16 12:22:10,005 - INFO - ================================================================================ 2025-09-16 12:22:10,005 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-16 12:22:10,005 - 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-16 12:22:10,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-16 12:22:10,260 - INFO - Initial checks done. Running the testcase now 2025-09-16 12:22:10,260 - INFO - 2025-09-16 12:22:10,986 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83717183 2025-09-16 12:22:11,083 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83717183 2025-09-16 12:22:11,403 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83717183', 'default']} 2025-09-16 12:22:11,702 - DEBUG - Response for create_network : {'network': {'id': '91baf78f-199d-41e7-bf3f-8f6d54e87db8', 'name': 'ctest-vn-10865307', 'tenant_id': 'b7311ab1c2b8433e9fc09ed862759963', 'project_id': 'b7311ab1c2b8433e9fc09ed862759963', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83717183', 'ctest-vn-10865307'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:22:11,916 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6b3fbfd-d990-43a1-a3ff-9ebe9fa86d21', 'name': '', 'tenant_id': 'b7311ab1c2b8433e9fc09ed862759963', 'network_id': '91baf78f-199d-41e7-bf3f-8f6d54e87db8', 'ip_version': 4, 'cidr': '28.7.111.128/26', 'allocation_pools': [{'start': '28.7.111.130', 'end': '28.7.111.190'}], 'gateway_ip': '28.7.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.7.111.130', 'tags': [], 'project_id': 'b7311ab1c2b8433e9fc09ed862759963'}} 2025-09-16 12:22:11,939 - INFO - Created VN ctest-vn-10865307 2025-09-16 12:22:11,995 - DEBUG - VN ctest-vn-10865307 UUID is 91baf78f-199d-41e7-bf3f-8f6d54e87db8 2025-09-16 12:22:12,351 - DEBUG - Response for create_network : {'network': {'id': '1be0cc96-8ebd-4ee1-849c-286bd0d31541', 'name': 'ctest-ext_vn-65465664', 'tenant_id': 'b7311ab1c2b8433e9fc09ed862759963', 'project_id': 'b7311ab1c2b8433e9fc09ed862759963', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83717183', 'ctest-ext_vn-65465664'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:22:12,535 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd752fa9f-638d-45b9-a5c9-adcc3e067a52', 'name': '', 'tenant_id': 'b7311ab1c2b8433e9fc09ed862759963', 'network_id': '1be0cc96-8ebd-4ee1-849c-286bd0d31541', 'ip_version': 4, 'cidr': '71.230.110.128/26', 'allocation_pools': [{'start': '71.230.110.130', 'end': '71.230.110.190'}], 'gateway_ip': '71.230.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.230.110.130', 'tags': [], 'project_id': 'b7311ab1c2b8433e9fc09ed862759963'}} 2025-09-16 12:22:12,555 - INFO - Created VN ctest-ext_vn-65465664 2025-09-16 12:22:12,607 - DEBUG - VN ctest-ext_vn-65465664 UUID is 1be0cc96-8ebd-4ee1-849c-286bd0d31541 2025-09-16 12:22:12,813 - DEBUG - Services list from nova: [, , ] 2025-09-16 12:22:13,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4123-1) 2025-09-16 12:22:14,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4123-1) 2025-09-16 12:22:15,051 - INFO - Setting gateway for router 8d9b3912-63b2-4bdc-b08a-45137d8004a7 to network 1be0cc96-8ebd-4ee1-849c-286bd0d31541 2025-09-16 12:22:15,139 - INFO - Adding interface with subnet_id f6b3fbfd-d990-43a1-a3ff-9ebe9fa86d21, port_id None to router 8d9b3912-63b2-4bdc-b08a-45137d8004a7 2025-09-16 12:22:15,571 - INFO - Waiting for VM ctest-TestRoutersBasic-83717183-52548705 to be up.. 2025-09-16 12:22:15,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 12:22:20,834 - DEBUG - VM is in ACTIVE state now 2025-09-16 12:22:20,834 - INFO - VM name : ctest-TestRoutersBasic-83717183-52548705 2025-09-16 12:22:20,903 - DEBUG - VM ctest-TestRoutersBasic-83717183-52548705 ID is fb2dcf6c-e29c-481b-ab3a-308a704e5cbd 2025-09-16 12:22:20,921 - DEBUG - VM ctest-TestRoutersBasic-83717183-52548705 launched on Node cn-jenkins-deploy-platform-ansible-os-4123-1 2025-09-16 12:22:20,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb2dcf6c-e29c-481b-ab3a-308a704e5cbd 2025-09-16 12:22:21,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb2dcf6c-e29c-481b-ab3a-308a704e5cbd 2025-09-16 12:22:21,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/71976ed4-89df-472e-8334-fec49fb96e69 2025-09-16 12:22:24,572 - 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 1015ms') 2025-09-16 12:22:24,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83717183-52548705 failed! 2025-09-16 12:22:24,627 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83717183:ctest-vn-10865307 is 28.7.111.129 and allocation pool is NOT set 2025-09-16 12:22:26,691 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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.577/2.077/3.578/1.500 ms') 2025-09-16 12:22:26,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83717183-52548705 passed 2025-09-16 12:22:26,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:22:26,839 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83717183-52548705, IP 28.7.111.131, Port 22 2025-09-16 12:22:27,003 - DEBUG - VM ctest-TestRoutersBasic-83717183-52548705 is ready for SSH connections 2025-09-16 12:22:27,003 - INFO - Waiting for VM ctest-TestRoutersBasic-83717183-44556241 to be up.. 2025-09-16 12:22:27,083 - DEBUG - VM is in ACTIVE state now 2025-09-16 12:22:27,083 - INFO - VM name : ctest-TestRoutersBasic-83717183-44556241 2025-09-16 12:22:27,158 - DEBUG - VM ctest-TestRoutersBasic-83717183-44556241 ID is 11d0701d-5fbe-483e-9f70-76c56b4734ef 2025-09-16 12:22:27,158 - DEBUG - VM ctest-TestRoutersBasic-83717183-44556241 launched on Node cn-jenkins-deploy-platform-ansible-os-4123-1 2025-09-16 12:22:27,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/11d0701d-5fbe-483e-9f70-76c56b4734ef 2025-09-16 12:22:27,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0569dfbe-f445-499c-8445-b63d3a8360ca 2025-09-16 12:22:28,495 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/2.092/3.707/1.614 ms') 2025-09-16 12:22:28,495 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83717183-44556241 passed 2025-09-16 12:22:28,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:22:28,647 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83717183-44556241, IP 71.230.110.131, Port 22 2025-09-16 12:22:28,803 - DEBUG - VM ctest-TestRoutersBasic-83717183-44556241 is ready for SSH connections 2025-09-16 12:22:28,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:22:28,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.230.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 12:22:28,803 - DEBUG - ping -s 56 -c 3 -W 1 71.230.110.131 2025-09-16 12:22:32,871 - DEBUG - PING 71.230.110.131 (71.230.110.131): 56 data bytes 64 bytes from 71.230.110.131: seq=0 ttl=62 time=7.000 ms 64 bytes from 71.230.110.131: seq=1 ttl=62 time=1.041 ms 64 bytes from 71.230.110.131: seq=2 ttl=62 time=1.141 ms --- 71.230.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/3.060/7.000 ms 2025-09-16 12:22:32,871 - INFO - Ping to IP 71.230.110.131 from VM ctest-TestRoutersBasic-83717183-52548705 passed 2025-09-16 12:22:32,871 - INFO - Deleting interface with subnet_id f6b3fbfd-d990-43a1-a3ff-9ebe9fa86d21, port_id None from router 8d9b3912-63b2-4bdc-b08a-45137d8004a7 2025-09-16 12:22:33,092 - INFO - Deleting VM ctest-TestRoutersBasic-83717183-44556241 2025-09-16 12:22:33,173 - INFO - Deleting VM ctest-TestRoutersBasic-83717183-52548705 2025-09-16 12:22:33,270 - INFO - Deleting VN ctest-ext_vn-65465664 2025-09-16 12:22:33,355 - DEBUG - VN 1be0cc96-8ebd-4ee1-849c-286bd0d31541 still in use: Unable to complete operation on network 1be0cc96-8ebd-4ee1-849c-286bd0d31541. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-614e1505-ba08-4e42-8059-abbeaa8ea3fe'] 2025-09-16 12:22:33,356 - WARNING - Deleting VN ctest-ext_vn-65465664 failed..Will retry 2025-09-16 12:22:35,463 - DEBUG - Response for deleting network () 2025-09-16 12:22:35,464 - INFO - Deleting VN ctest-vn-10865307 2025-09-16 12:22:35,572 - DEBUG - Response for deleting network () 2025-09-16 12:22:35,837 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 12:22:35,837 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-16 12:22:35,837 - INFO - -------------------------------------------------------------------------------- 2025-09-16 12:22:36,534 - INFO - Deleted project: ctest-TestRoutersBasic-83717183, ID : b7311ab1-c2b8-433e-9fc0-9ed862759963