2026-05-05 11:19:45,493 - INFO - Domain Default found not creating 2026-05-05 11:19:45,663 - INFO - Project ctest-TestRoutersBasic-84336348 not found, creating it 2026-05-05 11:19:46,147 - INFO - Created Project:ctest-TestRoutersBasic-84336348, ID : 51cd413f-b94b-4946-a347-449fe080fd26 2026-05-05 11:19:47,667 - INFO - ================================================================================ 2026-05-05 11:19:47,667 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-05 11:19:47,667 - 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 2026-05-05 11:19:47,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-05 11:19:47,921 - INFO - Initial checks done. Running the testcase now 2026-05-05 11:19:47,922 - INFO - 2026-05-05 11:19:48,646 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84336348 2026-05-05 11:19:48,744 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84336348 2026-05-05 11:19:49,063 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84336348', 'default']} 2026-05-05 11:19:49,363 - DEBUG - Response for create_network : {'network': {'id': '663a0231-fc34-4997-81fa-25d916ebdc85', 'name': 'ctest-vn-93047178', 'tenant_id': '51cd413fb94b4946a347449fe080fd26', 'project_id': '51cd413fb94b4946a347449fe080fd26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84336348', 'ctest-vn-93047178'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:19:49,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '9313297a-4e09-4e8d-b357-d5223c530bff', 'name': '', 'tenant_id': '51cd413fb94b4946a347449fe080fd26', 'network_id': '663a0231-fc34-4997-81fa-25d916ebdc85', 'ip_version': 4, 'cidr': '109.198.149.64/26', 'allocation_pools': [{'start': '109.198.149.66', 'end': '109.198.149.126'}], 'gateway_ip': '109.198.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.198.149.66', 'tags': [], 'project_id': '51cd413fb94b4946a347449fe080fd26'}} 2026-05-05 11:19:49,554 - INFO - Created VN ctest-vn-93047178 2026-05-05 11:19:49,603 - DEBUG - VN ctest-vn-93047178 UUID is 663a0231-fc34-4997-81fa-25d916ebdc85 2026-05-05 11:19:49,941 - DEBUG - Response for create_network : {'network': {'id': 'b3d8be00-d3a4-42b5-a0d6-fcd79db2708f', 'name': 'ctest-ext_vn-82883764', 'tenant_id': '51cd413fb94b4946a347449fe080fd26', 'project_id': '51cd413fb94b4946a347449fe080fd26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84336348', 'ctest-ext_vn-82883764'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:19:50,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '37355c06-63d1-401a-b00f-c1d0391a6fb7', 'name': '', 'tenant_id': '51cd413fb94b4946a347449fe080fd26', 'network_id': 'b3d8be00-d3a4-42b5-a0d6-fcd79db2708f', 'ip_version': 4, 'cidr': '221.92.204.0/26', 'allocation_pools': [{'start': '221.92.204.2', 'end': '221.92.204.62'}], 'gateway_ip': '221.92.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.92.204.2', 'tags': [], 'project_id': '51cd413fb94b4946a347449fe080fd26'}} 2026-05-05 11:19:50,162 - INFO - Created VN ctest-ext_vn-82883764 2026-05-05 11:19:50,216 - DEBUG - VN ctest-ext_vn-82883764 UUID is b3d8be00-d3a4-42b5-a0d6-fcd79db2708f 2026-05-05 11:19:50,419 - DEBUG - Services list from nova: [, , ] 2026-05-05 11:19:51,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5744-1) 2026-05-05 11:19:52,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5744-1) 2026-05-05 11:19:52,738 - INFO - Setting gateway for router 2b5f8583-9bc8-49cf-b547-4f77567ac63e to network b3d8be00-d3a4-42b5-a0d6-fcd79db2708f 2026-05-05 11:19:52,808 - INFO - Adding interface with subnet_id 9313297a-4e09-4e8d-b357-d5223c530bff, port_id None to router 2b5f8583-9bc8-49cf-b547-4f77567ac63e 2026-05-05 11:19:53,191 - INFO - Waiting for VM ctest-TestRoutersBasic-84336348-02880262 to be up.. 2026-05-05 11:19:53,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-05 11:19:58,477 - DEBUG - VM is in ACTIVE state now 2026-05-05 11:19:58,478 - INFO - VM name : ctest-TestRoutersBasic-84336348-02880262 2026-05-05 11:19:58,548 - DEBUG - VM ctest-TestRoutersBasic-84336348-02880262 ID is eaf44c79-2a5d-4bbb-b93e-51cbed9a4aa9 2026-05-05 11:19:58,567 - DEBUG - VM ctest-TestRoutersBasic-84336348-02880262 launched on Node cn-jenkins-deploy-platform-ansible-os-5744-1 2026-05-05 11:19:58,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/eaf44c79-2a5d-4bbb-b93e-51cbed9a4aa9 2026-05-05 11:19:58,941 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/eaf44c79-2a5d-4bbb-b93e-51cbed9a4aa9 2026-05-05 11:19:58,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91b0a528-a9c4-437a-894f-d9ff4914dbee 2026-05-05 11:20:02,226 - 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 1010ms') 2026-05-05 11:20:02,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84336348-02880262 failed! 2026-05-05 11:20:02,279 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84336348:ctest-vn-93047178 is 109.198.149.65 and allocation pool is NOT set 2026-05-05 11:20:04,345 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/1.773/3.017/1.243 ms') 2026-05-05 11:20:04,345 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84336348-02880262 passed 2026-05-05 11:20:04,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:04,500 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84336348-02880262, IP 109.198.149.67, Port 22 2026-05-05 11:20:04,659 - DEBUG - VM ctest-TestRoutersBasic-84336348-02880262 is ready for SSH connections 2026-05-05 11:20:04,659 - INFO - Waiting for VM ctest-TestRoutersBasic-84336348-89319598 to be up.. 2026-05-05 11:20:04,743 - DEBUG - VM is in ACTIVE state now 2026-05-05 11:20:04,743 - INFO - VM name : ctest-TestRoutersBasic-84336348-89319598 2026-05-05 11:20:04,825 - DEBUG - VM ctest-TestRoutersBasic-84336348-89319598 ID is d2437a93-6ba7-4dc9-a811-33d75028765d 2026-05-05 11:20:04,825 - DEBUG - VM ctest-TestRoutersBasic-84336348-89319598 launched on Node cn-jenkins-deploy-platform-ansible-os-5744-1 2026-05-05 11:20:04,904 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d2437a93-6ba7-4dc9-a811-33d75028765d 2026-05-05 11:20:04,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8bf3f6ea-ec12-4c23-b6b1-27d0282bee7e 2026-05-05 11:20:06,158 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.539 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.539/1.997/3.456/1.458 ms') 2026-05-05 11:20:06,158 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84336348-89319598 passed 2026-05-05 11:20:06,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:06,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84336348-89319598, IP 221.92.204.3, Port 22 2026-05-05 11:20:06,467 - DEBUG - VM ctest-TestRoutersBasic-84336348-89319598 is ready for SSH connections 2026-05-05 11:20:06,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:06,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.92.204.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-05 11:20:06,467 - DEBUG - ping -s 56 -c 3 -W 1 221.92.204.3 2026-05-05 11:20:10,198 - DEBUG - PING 221.92.204.3 (221.92.204.3): 56 data bytes 64 bytes from 221.92.204.3: seq=0 ttl=62 time=7.366 ms 64 bytes from 221.92.204.3: seq=1 ttl=62 time=0.901 ms 64 bytes from 221.92.204.3: seq=2 ttl=62 time=1.004 ms --- 221.92.204.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/3.090/7.366 ms 2026-05-05 11:20:10,198 - INFO - Ping to IP 221.92.204.3 from VM ctest-TestRoutersBasic-84336348-02880262 passed 2026-05-05 11:20:10,198 - INFO - Deleting interface with subnet_id 9313297a-4e09-4e8d-b357-d5223c530bff, port_id None from router 2b5f8583-9bc8-49cf-b547-4f77567ac63e 2026-05-05 11:20:10,472 - INFO - Deleting VM ctest-TestRoutersBasic-84336348-89319598 2026-05-05 11:20:10,540 - INFO - Deleting VM ctest-TestRoutersBasic-84336348-02880262 2026-05-05 11:20:10,623 - INFO - Deleting VN ctest-ext_vn-82883764 2026-05-05 11:20:10,692 - DEBUG - VN b3d8be00-d3a4-42b5-a0d6-fcd79db2708f still in use: Unable to complete operation on network b3d8be00-d3a4-42b5-a0d6-fcd79db2708f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d4b4afd-604f-419d-92aa-2d8fb5cafae1'] 2026-05-05 11:20:10,692 - WARNING - Deleting VN ctest-ext_vn-82883764 failed..Will retry 2026-05-05 11:20:12,790 - DEBUG - Response for deleting network () 2026-05-05 11:20:12,790 - INFO - Deleting VN ctest-vn-93047178 2026-05-05 11:20:12,895 - DEBUG - Response for deleting network () 2026-05-05 11:20:13,149 - DEBUG - No XMPP flaps were noticed during the test 2026-05-05 11:20:13,149 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-05 11:20:13,149 - INFO - -------------------------------------------------------------------------------- 2026-05-05 11:20:13,841 - INFO - Deleted project: ctest-TestRoutersBasic-84336348, ID : 51cd413f-b94b-4946-a347-449fe080fd26