2025-10-31 14:40:07,280 - INFO - Domain Default found not creating 2025-10-31 14:40:07,415 - INFO - Project ctest-TestRoutersBasic-43034327 not found, creating it 2025-10-31 14:40:07,841 - INFO - Created Project:ctest-TestRoutersBasic-43034327, ID : f9bc8370-1589-415a-983f-5e6dc3c99a66 2025-10-31 14:40:09,196 - INFO - ================================================================================ 2025-10-31 14:40:09,196 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 14:40:09,196 - 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-10-31 14:40:09,455 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-31 14:40:09,455 - INFO - Initial checks done. Running the testcase now 2025-10-31 14:40:09,455 - INFO - 2025-10-31 14:40:10,141 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43034327 2025-10-31 14:40:10,234 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43034327 2025-10-31 14:40:10,554 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43034327', 'default']} 2025-10-31 14:40:10,833 - DEBUG - Response for create_network : {'network': {'id': 'a6f16539-987f-4d60-b22a-30d6556ea7bd', 'name': 'ctest-vn-09256776', 'tenant_id': 'f9bc83701589415a983f5e6dc3c99a66', 'project_id': 'f9bc83701589415a983f5e6dc3c99a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43034327', 'ctest-vn-09256776'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:40:11,035 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad0dd719-5ecf-4d03-8b8a-b2d46feeb2ee', 'name': '', 'tenant_id': 'f9bc83701589415a983f5e6dc3c99a66', 'network_id': 'a6f16539-987f-4d60-b22a-30d6556ea7bd', 'ip_version': 4, 'cidr': '194.192.96.0/26', 'allocation_pools': [{'start': '194.192.96.2', 'end': '194.192.96.62'}], 'gateway_ip': '194.192.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.192.96.2', 'tags': [], 'project_id': 'f9bc83701589415a983f5e6dc3c99a66'}} 2025-10-31 14:40:11,053 - INFO - Created VN ctest-vn-09256776 2025-10-31 14:40:11,106 - DEBUG - VN ctest-vn-09256776 UUID is a6f16539-987f-4d60-b22a-30d6556ea7bd 2025-10-31 14:40:11,431 - DEBUG - Response for create_network : {'network': {'id': 'dc7e6da9-c159-4de6-b40b-a689b161e90b', 'name': 'ctest-ext_vn-55177542', 'tenant_id': 'f9bc83701589415a983f5e6dc3c99a66', 'project_id': 'f9bc83701589415a983f5e6dc3c99a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43034327', 'ctest-ext_vn-55177542'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:40:11,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '55089efe-ccac-49ff-989b-b253f21bf18b', 'name': '', 'tenant_id': 'f9bc83701589415a983f5e6dc3c99a66', 'network_id': 'dc7e6da9-c159-4de6-b40b-a689b161e90b', 'ip_version': 4, 'cidr': '110.80.195.128/26', 'allocation_pools': [{'start': '110.80.195.130', 'end': '110.80.195.190'}], 'gateway_ip': '110.80.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.80.195.130', 'tags': [], 'project_id': 'f9bc83701589415a983f5e6dc3c99a66'}} 2025-10-31 14:40:11,602 - INFO - Created VN ctest-ext_vn-55177542 2025-10-31 14:40:11,654 - DEBUG - VN ctest-ext_vn-55177542 UUID is dc7e6da9-c159-4de6-b40b-a689b161e90b 2025-10-31 14:40:11,814 - DEBUG - Services list from nova: [, , ] 2025-10-31 14:40:12,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1) 2025-10-31 14:40:13,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1) 2025-10-31 14:40:13,986 - INFO - Setting gateway for router 9591dfd9-5894-4b07-9ee9-f0da547ccbe6 to network dc7e6da9-c159-4de6-b40b-a689b161e90b 2025-10-31 14:40:14,074 - INFO - Adding interface with subnet_id ad0dd719-5ecf-4d03-8b8a-b2d46feeb2ee, port_id None to router 9591dfd9-5894-4b07-9ee9-f0da547ccbe6 2025-10-31 14:40:14,436 - INFO - Waiting for VM ctest-TestRoutersBasic-43034327-68290852 to be up.. 2025-10-31 14:40:14,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 14:40:19,634 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:40:19,634 - INFO - VM name : ctest-TestRoutersBasic-43034327-68290852 2025-10-31 14:40:19,716 - DEBUG - VM ctest-TestRoutersBasic-43034327-68290852 ID is ae87e3df-7017-4310-b761-c9b78d6d9097 2025-10-31 14:40:19,736 - DEBUG - VM ctest-TestRoutersBasic-43034327-68290852 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1 2025-10-31 14:40:19,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ae87e3df-7017-4310-b761-c9b78d6d9097 2025-10-31 14:40:20,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ae87e3df-7017-4310-b761-c9b78d6d9097 2025-10-31 14:40:20,132 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a6f0ed9a-7b44-4602-80fe-e9464adf1f4f 2025-10-31 14:40:23,374 - 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 1016ms') 2025-10-31 14:40:23,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43034327-68290852 failed! 2025-10-31 14:40:23,434 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43034327:ctest-vn-09256776 is 194.192.96.1 and allocation pool is NOT set 2025-10-31 14:40:25,492 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.561/2.698/1.136 ms') 2025-10-31 14:40:25,492 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43034327-68290852 passed 2025-10-31 14:40:25,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:40:25,646 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43034327-68290852, IP 194.192.96.3, Port 22 2025-10-31 14:40:25,841 - DEBUG - VM ctest-TestRoutersBasic-43034327-68290852 is ready for SSH connections 2025-10-31 14:40:25,841 - INFO - Waiting for VM ctest-TestRoutersBasic-43034327-51418232 to be up.. 2025-10-31 14:40:25,920 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:40:25,920 - INFO - VM name : ctest-TestRoutersBasic-43034327-51418232 2025-10-31 14:40:25,985 - DEBUG - VM ctest-TestRoutersBasic-43034327-51418232 ID is f9a019ac-0188-4c17-9395-bf1f1ef089d3 2025-10-31 14:40:25,985 - DEBUG - VM ctest-TestRoutersBasic-43034327-51418232 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1 2025-10-31 14:40:26,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f9a019ac-0188-4c17-9395-bf1f1ef089d3 2025-10-31 14:40:26,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/270b7c9b-30de-4de1-b25e-e7da72c3eb8e 2025-10-31 14:40:27,286 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 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 = 1.539/3.144/4.749/1.605 ms') 2025-10-31 14:40:27,286 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43034327-51418232 passed 2025-10-31 14:40:27,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:40:27,434 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43034327-51418232, IP 110.80.195.131, Port 22 2025-10-31 14:40:27,585 - DEBUG - VM ctest-TestRoutersBasic-43034327-51418232 is ready for SSH connections 2025-10-31 14:40:27,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:40:27,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.80.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:40:27,585 - DEBUG - ping -s 56 -c 3 -W 1 110.80.195.131 2025-10-31 14:40:31,646 - DEBUG - PING 110.80.195.131 (110.80.195.131): 56 data bytes 64 bytes from 110.80.195.131: seq=0 ttl=62 time=6.080 ms 64 bytes from 110.80.195.131: seq=1 ttl=62 time=0.791 ms 64 bytes from 110.80.195.131: seq=2 ttl=62 time=0.757 ms --- 110.80.195.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/2.542/6.080 ms 2025-10-31 14:40:31,647 - INFO - Ping to IP 110.80.195.131 from VM ctest-TestRoutersBasic-43034327-68290852 passed 2025-10-31 14:40:31,647 - INFO - Deleting interface with subnet_id ad0dd719-5ecf-4d03-8b8a-b2d46feeb2ee, port_id None from router 9591dfd9-5894-4b07-9ee9-f0da547ccbe6 2025-10-31 14:40:31,833 - INFO - Deleting VM ctest-TestRoutersBasic-43034327-51418232 2025-10-31 14:40:31,905 - INFO - Deleting VM ctest-TestRoutersBasic-43034327-68290852 2025-10-31 14:40:31,983 - INFO - Deleting VN ctest-ext_vn-55177542 2025-10-31 14:40:32,040 - DEBUG - VN dc7e6da9-c159-4de6-b40b-a689b161e90b still in use: Unable to complete operation on network dc7e6da9-c159-4de6-b40b-a689b161e90b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ee48ee7-345b-4745-a085-17c61cc74b8d'] 2025-10-31 14:40:32,040 - WARNING - Deleting VN ctest-ext_vn-55177542 failed..Will retry 2025-10-31 14:40:34,131 - DEBUG - Response for deleting network () 2025-10-31 14:40:34,131 - INFO - Deleting VN ctest-vn-09256776 2025-10-31 14:40:34,222 - DEBUG - Response for deleting network () 2025-10-31 14:40:34,474 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 14:40:34,474 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-31 14:40:34,475 - INFO - -------------------------------------------------------------------------------- 2025-10-31 14:40:35,112 - INFO - Deleted project: ctest-TestRoutersBasic-43034327, ID : f9bc8370-1589-415a-983f-5e6dc3c99a66