2025-12-25 02:21:52,663 - INFO - Domain Default found not creating 2025-12-25 02:21:52,843 - INFO - Project ctest-TestRoutersBasic-70435031 not found, creating it 2025-12-25 02:21:53,314 - INFO - Created Project:ctest-TestRoutersBasic-70435031, ID : 45176fa8-920c-4efd-bdec-1b8b23c66e91 2025-12-25 02:21:55,002 - INFO - ================================================================================ 2025-12-25 02:21:55,003 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-25 02:21:55,003 - 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-12-25 02:21:55,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2025-12-25 02:21:55,263 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:21:55,263 - INFO - 2025-12-25 02:21:56,073 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70435031 2025-12-25 02:21:56,172 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70435031 2025-12-25 02:21:56,492 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70435031', 'default']} 2025-12-25 02:21:56,783 - DEBUG - Response for create_network : {'network': {'id': 'e3ad3a16-18b0-474c-913d-fe791abc8438', 'name': 'ctest-vn-77049358', 'tenant_id': '45176fa8920c4efdbdec1b8b23c66e91', 'project_id': '45176fa8920c4efdbdec1b8b23c66e91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70435031', 'ctest-vn-77049358'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:21:56,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '711e94c6-d85c-4b23-a58d-df420b517109', 'name': '', 'tenant_id': '45176fa8920c4efdbdec1b8b23c66e91', 'network_id': 'e3ad3a16-18b0-474c-913d-fe791abc8438', 'ip_version': 4, 'cidr': '8.78.252.192/26', 'allocation_pools': [{'start': '8.78.252.194', 'end': '8.78.252.254'}], 'gateway_ip': '8.78.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.78.252.194', 'tags': [], 'project_id': '45176fa8920c4efdbdec1b8b23c66e91'}} 2025-12-25 02:21:56,981 - INFO - Created VN ctest-vn-77049358 2025-12-25 02:21:57,036 - DEBUG - VN ctest-vn-77049358 UUID is e3ad3a16-18b0-474c-913d-fe791abc8438 2025-12-25 02:21:57,393 - DEBUG - Response for create_network : {'network': {'id': 'f55b9e7e-9c4a-4542-ac6d-9b00cabb52bd', 'name': 'ctest-ext_vn-01814219', 'tenant_id': '45176fa8920c4efdbdec1b8b23c66e91', 'project_id': '45176fa8920c4efdbdec1b8b23c66e91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70435031', 'ctest-ext_vn-01814219'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:21:57,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '99bdbb5a-f6f6-4598-bf76-12909017a035', 'name': '', 'tenant_id': '45176fa8920c4efdbdec1b8b23c66e91', 'network_id': 'f55b9e7e-9c4a-4542-ac6d-9b00cabb52bd', 'ip_version': 4, 'cidr': '131.131.114.0/26', 'allocation_pools': [{'start': '131.131.114.2', 'end': '131.131.114.62'}], 'gateway_ip': '131.131.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.131.114.2', 'tags': [], 'project_id': '45176fa8920c4efdbdec1b8b23c66e91'}} 2025-12-25 02:21:57,606 - INFO - Created VN ctest-ext_vn-01814219 2025-12-25 02:21:57,660 - DEBUG - VN ctest-ext_vn-01814219 UUID is f55b9e7e-9c4a-4542-ac6d-9b00cabb52bd 2025-12-25 02:21:57,827 - DEBUG - Services list from nova: [, , ] 2025-12-25 02:21:58,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4926-1) 2025-12-25 02:22:00,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4926-1) 2025-12-25 02:22:00,412 - INFO - Setting gateway for router 7a3de3f8-fe69-469b-9384-8aa08571f953 to network f55b9e7e-9c4a-4542-ac6d-9b00cabb52bd 2025-12-25 02:22:00,506 - INFO - Adding interface with subnet_id 711e94c6-d85c-4b23-a58d-df420b517109, port_id None to router 7a3de3f8-fe69-469b-9384-8aa08571f953 2025-12-25 02:22:00,954 - INFO - Waiting for VM ctest-TestRoutersBasic-70435031-13886943 to be up.. 2025-12-25 02:22:01,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:22:06,249 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:22:06,249 - INFO - VM name : ctest-TestRoutersBasic-70435031-13886943 2025-12-25 02:22:06,346 - DEBUG - VM ctest-TestRoutersBasic-70435031-13886943 ID is c0e8901b-3139-4edc-96b5-497f262a3331 2025-12-25 02:22:06,369 - DEBUG - VM ctest-TestRoutersBasic-70435031-13886943 launched on Node cn-jenkins-deploy-platform-ansible-os-4926-1 2025-12-25 02:22:06,453 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c0e8901b-3139-4edc-96b5-497f262a3331 2025-12-25 02:22:06,797 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c0e8901b-3139-4edc-96b5-497f262a3331 2025-12-25 02:22:06,835 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7713fd96-c567-4c4c-84e1-46f349d0aa2c 2025-12-25 02:22:10,085 - 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 1009ms') 2025-12-25 02:22:10,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70435031-13886943 failed! 2025-12-25 02:22:10,144 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70435031:ctest-vn-77049358 is 8.78.252.193 and allocation pool is NOT set 2025-12-25 02:22:12,203 - 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=4.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.750/3.195/4.641/1.445 ms') 2025-12-25 02:22:12,203 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70435031-13886943 passed 2025-12-25 02:22:12,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:22:12,352 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70435031-13886943, IP 8.78.252.195, Port 22 2025-12-25 02:22:12,508 - DEBUG - VM ctest-TestRoutersBasic-70435031-13886943 is ready for SSH connections 2025-12-25 02:22:12,508 - INFO - Waiting for VM ctest-TestRoutersBasic-70435031-23625420 to be up.. 2025-12-25 02:22:12,587 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:22:12,588 - INFO - VM name : ctest-TestRoutersBasic-70435031-23625420 2025-12-25 02:22:12,670 - DEBUG - VM ctest-TestRoutersBasic-70435031-23625420 ID is 0f7d4944-7dd5-4764-9c8d-c433f77f2351 2025-12-25 02:22:12,670 - DEBUG - VM ctest-TestRoutersBasic-70435031-23625420 launched on Node cn-jenkins-deploy-platform-ansible-os-4926-1 2025-12-25 02:22:12,770 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0f7d4944-7dd5-4764-9c8d-c433f77f2351 2025-12-25 02:22:12,778 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7f3c051a-864a-40dc-a7e2-c173b92c6d70 2025-12-25 02:22:14,020 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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.577/2.098/3.620/1.521 ms') 2025-12-25 02:22:14,020 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70435031-23625420 passed 2025-12-25 02:22:14,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:22:14,168 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70435031-23625420, IP 131.131.114.3, Port 22 2025-12-25 02:22:14,338 - DEBUG - VM ctest-TestRoutersBasic-70435031-23625420 is ready for SSH connections 2025-12-25 02:22:14,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:22:14,338 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.131.114.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-25 02:22:14,339 - DEBUG - ping -s 56 -c 3 -W 1 131.131.114.3 2025-12-25 02:22:18,080 - DEBUG - PING 131.131.114.3 (131.131.114.3): 56 data bytes 64 bytes from 131.131.114.3: seq=0 ttl=62 time=6.079 ms 64 bytes from 131.131.114.3: seq=1 ttl=62 time=0.939 ms 64 bytes from 131.131.114.3: seq=2 ttl=62 time=1.175 ms --- 131.131.114.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.731/6.079 ms 2025-12-25 02:22:18,080 - INFO - Ping to IP 131.131.114.3 from VM ctest-TestRoutersBasic-70435031-13886943 passed 2025-12-25 02:22:18,081 - INFO - Deleting interface with subnet_id 711e94c6-d85c-4b23-a58d-df420b517109, port_id None from router 7a3de3f8-fe69-469b-9384-8aa08571f953 2025-12-25 02:22:18,283 - INFO - Deleting VM ctest-TestRoutersBasic-70435031-23625420 2025-12-25 02:22:18,379 - INFO - Deleting VM ctest-TestRoutersBasic-70435031-13886943 2025-12-25 02:22:18,458 - INFO - Deleting VN ctest-ext_vn-01814219 2025-12-25 02:22:18,524 - DEBUG - VN f55b9e7e-9c4a-4542-ac6d-9b00cabb52bd still in use: Unable to complete operation on network f55b9e7e-9c4a-4542-ac6d-9b00cabb52bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6fa21a6-5d5f-4b10-802c-3164816b2ee3'] 2025-12-25 02:22:18,524 - WARNING - Deleting VN ctest-ext_vn-01814219 failed..Will retry 2025-12-25 02:22:20,625 - DEBUG - Response for deleting network () 2025-12-25 02:22:20,625 - INFO - Deleting VN ctest-vn-77049358 2025-12-25 02:22:20,735 - DEBUG - Response for deleting network () 2025-12-25 02:22:21,003 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:22:21,003 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-12-25 02:22:21,004 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:22:21,748 - INFO - Deleted project: ctest-TestRoutersBasic-70435031, ID : 45176fa8-920c-4efd-bdec-1b8b23c66e91