2025-08-15 17:27:47,662 - INFO - Domain Default found not creating 2025-08-15 17:27:47,778 - INFO - Project ctest-TestRoutersBasic-82358881 not found, creating it 2025-08-15 17:27:48,285 - INFO - Created Project:ctest-TestRoutersBasic-82358881, ID : 1fcd4436-891a-415e-908b-71f82102deaa 2025-08-15 17:27:49,573 - INFO - ================================================================================ 2025-08-15 17:27:49,573 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 17:27:49,573 - 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-15 17:27:49,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-15 17:27:49,822 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:27:49,822 - INFO - 2025-08-15 17:27:50,492 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82358881 2025-08-15 17:27:50,586 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82358881 2025-08-15 17:27:50,905 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82358881', 'default']} 2025-08-15 17:27:51,181 - DEBUG - Response for create_network : {'network': {'id': '26607111-6eb2-4eb3-ac47-3c889090930b', 'name': 'ctest-vn-88800985', 'tenant_id': '1fcd4436891a415e908b71f82102deaa', 'project_id': '1fcd4436891a415e908b71f82102deaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82358881', 'ctest-vn-88800985'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:27:51,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c550922-b9e3-4909-bf31-d241bf2800a1', 'name': '', 'tenant_id': '1fcd4436891a415e908b71f82102deaa', 'network_id': '26607111-6eb2-4eb3-ac47-3c889090930b', 'ip_version': 4, 'cidr': '75.14.71.192/26', 'allocation_pools': [{'start': '75.14.71.194', 'end': '75.14.71.254'}], 'gateway_ip': '75.14.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.14.71.194', 'tags': [], 'project_id': '1fcd4436891a415e908b71f82102deaa'}} 2025-08-15 17:27:51,407 - INFO - Created VN ctest-vn-88800985 2025-08-15 17:27:51,457 - DEBUG - VN ctest-vn-88800985 UUID is 26607111-6eb2-4eb3-ac47-3c889090930b 2025-08-15 17:27:51,796 - DEBUG - Response for create_network : {'network': {'id': '64fdcac0-c3ba-41a1-898d-4715769b4ed7', 'name': 'ctest-ext_vn-05897786', 'tenant_id': '1fcd4436891a415e908b71f82102deaa', 'project_id': '1fcd4436891a415e908b71f82102deaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82358881', 'ctest-ext_vn-05897786'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:27:51,975 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d988ef2-fbc1-44cc-94c7-8513ccd3c9a5', 'name': '', 'tenant_id': '1fcd4436891a415e908b71f82102deaa', 'network_id': '64fdcac0-c3ba-41a1-898d-4715769b4ed7', 'ip_version': 4, 'cidr': '70.155.203.128/26', 'allocation_pools': [{'start': '70.155.203.130', 'end': '70.155.203.190'}], 'gateway_ip': '70.155.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.155.203.130', 'tags': [], 'project_id': '1fcd4436891a415e908b71f82102deaa'}} 2025-08-15 17:27:51,990 - INFO - Created VN ctest-ext_vn-05897786 2025-08-15 17:27:52,041 - DEBUG - VN ctest-ext_vn-05897786 UUID is 64fdcac0-c3ba-41a1-898d-4715769b4ed7 2025-08-15 17:27:52,239 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:27:53,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:27:54,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:27:54,287 - INFO - Setting gateway for router 7d32b15e-ede9-4173-99a5-59cbf905186f to network 64fdcac0-c3ba-41a1-898d-4715769b4ed7 2025-08-15 17:27:54,351 - INFO - Adding interface with subnet_id 1c550922-b9e3-4909-bf31-d241bf2800a1, port_id None to router 7d32b15e-ede9-4173-99a5-59cbf905186f 2025-08-15 17:27:54,787 - INFO - Waiting for VM ctest-TestRoutersBasic-82358881-07091799 to be up.. 2025-08-15 17:27:54,915 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:27:54,915 - INFO - VM name : ctest-TestRoutersBasic-82358881-07091799 2025-08-15 17:27:55,048 - DEBUG - VM ctest-TestRoutersBasic-82358881-07091799 ID is 6a47ccca-6c83-4550-82a2-2a18c7900181 2025-08-15 17:27:55,081 - DEBUG - VM ctest-TestRoutersBasic-82358881-07091799 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:27:55,177 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a47ccca-6c83-4550-82a2-2a18c7900181 2025-08-15 17:27:55,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a47ccca-6c83-4550-82a2-2a18c7900181 2025-08-15 17:27:55,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa2d8e07-f488-4d3f-b55f-60a223d1279d 2025-08-15 17:27:58,794 - 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-08-15 17:27:58,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82358881-07091799 failed! 2025-08-15 17:27:58,849 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82358881:ctest-vn-88800985 is 75.14.71.193 and allocation pool is NOT set 2025-08-15 17:28:02,925 - 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 1013ms') 2025-08-15 17:28:02,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82358881-07091799 failed! 2025-08-15 17:28:02,977 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82358881:ctest-vn-88800985 is 75.14.71.193 and allocation pool is NOT set 2025-08-15 17:28:05,032 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/1.516/2.564/1.048 ms') 2025-08-15 17:28:05,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82358881-07091799 passed 2025-08-15 17:28:05,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:05,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82358881-07091799, IP 75.14.71.195, Port 22 2025-08-15 17:28:05,340 - DEBUG - VM ctest-TestRoutersBasic-82358881-07091799 is ready for SSH connections 2025-08-15 17:28:05,341 - INFO - Waiting for VM ctest-TestRoutersBasic-82358881-65449170 to be up.. 2025-08-15 17:28:05,407 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:28:05,407 - INFO - VM name : ctest-TestRoutersBasic-82358881-65449170 2025-08-15 17:28:05,471 - DEBUG - VM ctest-TestRoutersBasic-82358881-65449170 ID is 71c28f67-cc3d-402b-a564-2973c6c8bffd 2025-08-15 17:28:05,471 - DEBUG - VM ctest-TestRoutersBasic-82358881-65449170 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:28:05,530 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/71c28f67-cc3d-402b-a564-2973c6c8bffd 2025-08-15 17:28:05,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dba4a58f-45bd-4783-a1ed-dd2e29edf382 2025-08-15 17:28:06,757 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.302 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.302/1.602/2.902/1.300 ms') 2025-08-15 17:28:06,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82358881-65449170 passed 2025-08-15 17:28:06,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:06,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82358881-65449170, IP 70.155.203.131, Port 22 2025-08-15 17:28:07,064 - DEBUG - VM ctest-TestRoutersBasic-82358881-65449170 is ready for SSH connections 2025-08-15 17:28:07,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:07,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.155.203.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:28:07,064 - DEBUG - ping -s 56 -c 3 -W 1 70.155.203.131 2025-08-15 17:28:10,722 - DEBUG - PING 70.155.203.131 (70.155.203.131): 56 data bytes 64 bytes from 70.155.203.131: seq=0 ttl=62 time=5.860 ms 64 bytes from 70.155.203.131: seq=1 ttl=62 time=0.666 ms 64 bytes from 70.155.203.131: seq=2 ttl=62 time=1.217 ms --- 70.155.203.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.666/2.581/5.860 ms 2025-08-15 17:28:10,722 - INFO - Ping to IP 70.155.203.131 from VM ctest-TestRoutersBasic-82358881-07091799 passed 2025-08-15 17:28:10,722 - INFO - Deleting interface with subnet_id 1c550922-b9e3-4909-bf31-d241bf2800a1, port_id None from router 7d32b15e-ede9-4173-99a5-59cbf905186f 2025-08-15 17:28:10,903 - INFO - Deleting VM ctest-TestRoutersBasic-82358881-65449170 2025-08-15 17:28:10,972 - INFO - Deleting VM ctest-TestRoutersBasic-82358881-07091799 2025-08-15 17:28:11,059 - INFO - Deleting VN ctest-ext_vn-05897786 2025-08-15 17:28:11,128 - DEBUG - VN 64fdcac0-c3ba-41a1-898d-4715769b4ed7 still in use: Unable to complete operation on network 64fdcac0-c3ba-41a1-898d-4715769b4ed7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccb0b59f-c758-4567-83e5-a3ef83268e8a'] 2025-08-15 17:28:11,128 - WARNING - Deleting VN ctest-ext_vn-05897786 failed..Will retry 2025-08-15 17:28:13,218 - DEBUG - Response for deleting network () 2025-08-15 17:28:13,218 - INFO - Deleting VN ctest-vn-88800985 2025-08-15 17:28:13,304 - DEBUG - Response for deleting network () 2025-08-15 17:28:13,577 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 17:28:13,578 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-08-15 17:28:13,578 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:28:14,244 - INFO - Deleted project: ctest-TestRoutersBasic-82358881, ID : 1fcd4436-891a-415e-908b-71f82102deaa