2026-02-20 05:19:44,792 - INFO - Domain Default found not creating 2026-02-20 05:19:45,087 - INFO - Project ctest-TestRoutersBasic-51111863 not found, creating it 2026-02-20 05:19:45,602 - INFO - Created Project:ctest-TestRoutersBasic-51111863, ID : f0694a4a-ae67-494e-b57e-04e83bcbc5d5 2026-02-20 05:19:47,523 - INFO - ================================================================================ 2026-02-20 05:19:47,523 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-20 05:19:47,524 - 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-02-20 05:19:47,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-20 05:19:47,853 - INFO - Initial checks done. Running the testcase now 2026-02-20 05:19:47,854 - INFO - 2026-02-20 05:19:48,695 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51111863 2026-02-20 05:19:48,795 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51111863 2026-02-20 05:19:49,202 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51111863', 'default']} 2026-02-20 05:19:49,581 - DEBUG - Response for create_network : {'network': {'id': '7698ec66-a706-4ba0-a868-303a46a3d4a1', 'name': 'ctest-vn-04838406', 'tenant_id': 'f0694a4aae67494eb57e04e83bcbc5d5', 'project_id': 'f0694a4aae67494eb57e04e83bcbc5d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51111863', 'ctest-vn-04838406'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 05:19:49,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '035f4221-614e-4da7-9427-52a8c19166ae', 'name': '', 'tenant_id': 'f0694a4aae67494eb57e04e83bcbc5d5', 'network_id': '7698ec66-a706-4ba0-a868-303a46a3d4a1', 'ip_version': 4, 'cidr': '34.87.211.128/26', 'allocation_pools': [{'start': '34.87.211.130', 'end': '34.87.211.190'}], 'gateway_ip': '34.87.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.87.211.130', 'tags': [], 'project_id': 'f0694a4aae67494eb57e04e83bcbc5d5'}} 2026-02-20 05:19:49,840 - INFO - Created VN ctest-vn-04838406 2026-02-20 05:19:49,895 - DEBUG - VN ctest-vn-04838406 UUID is 7698ec66-a706-4ba0-a868-303a46a3d4a1 2026-02-20 05:19:50,296 - DEBUG - Response for create_network : {'network': {'id': 'e4a45544-f3dd-4a13-98c0-ef42d009f65b', 'name': 'ctest-ext_vn-85072108', 'tenant_id': 'f0694a4aae67494eb57e04e83bcbc5d5', 'project_id': 'f0694a4aae67494eb57e04e83bcbc5d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51111863', 'ctest-ext_vn-85072108'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 05:19:50,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee850a74-3fcc-4afc-b694-a7d471f31650', 'name': '', 'tenant_id': 'f0694a4aae67494eb57e04e83bcbc5d5', 'network_id': 'e4a45544-f3dd-4a13-98c0-ef42d009f65b', 'ip_version': 4, 'cidr': '150.11.122.192/26', 'allocation_pools': [{'start': '150.11.122.194', 'end': '150.11.122.254'}], 'gateway_ip': '150.11.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.11.122.194', 'tags': [], 'project_id': 'f0694a4aae67494eb57e04e83bcbc5d5'}} 2026-02-20 05:19:50,517 - INFO - Created VN ctest-ext_vn-85072108 2026-02-20 05:19:50,571 - DEBUG - VN ctest-ext_vn-85072108 UUID is e4a45544-f3dd-4a13-98c0-ef42d009f65b 2026-02-20 05:19:50,802 - DEBUG - Services list from nova: [, , ] 2026-02-20 05:19:52,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5368-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5368-1) 2026-02-20 05:19:53,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5368-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5368-1) 2026-02-20 05:19:53,524 - INFO - Setting gateway for router 59cf1b3e-e397-4ff1-9ff0-fded6fe98885 to network e4a45544-f3dd-4a13-98c0-ef42d009f65b 2026-02-20 05:19:53,595 - INFO - Adding interface with subnet_id 035f4221-614e-4da7-9427-52a8c19166ae, port_id None to router 59cf1b3e-e397-4ff1-9ff0-fded6fe98885 2026-02-20 05:19:54,024 - INFO - Waiting for VM ctest-TestRoutersBasic-51111863-55789174 to be up.. 2026-02-20 05:19:54,206 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 05:19:59,358 - DEBUG - VM is in ACTIVE state now 2026-02-20 05:19:59,358 - INFO - VM name : ctest-TestRoutersBasic-51111863-55789174 2026-02-20 05:19:59,448 - DEBUG - VM ctest-TestRoutersBasic-51111863-55789174 ID is 5e0e67ba-9f3a-4eb0-b630-3bbd0e583ae9 2026-02-20 05:19:59,477 - DEBUG - VM ctest-TestRoutersBasic-51111863-55789174 launched on Node cn-jenkins-deploy-platform-ansible-os-5368-1 2026-02-20 05:19:59,588 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e0e67ba-9f3a-4eb0-b630-3bbd0e583ae9 2026-02-20 05:19:59,894 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e0e67ba-9f3a-4eb0-b630-3bbd0e583ae9 2026-02-20 05:19:59,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/97c6aa78-3f53-493e-9480-c4e601c6d274 2026-02-20 05:20:03,210 - 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 1019ms') 2026-02-20 05:20:03,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51111863-55789174 failed! 2026-02-20 05:20:03,271 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51111863:ctest-vn-04838406 is 34.87.211.129 and allocation pool is NOT set 2026-02-20 05:20:05,349 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.104/2.325/3.547/1.221 ms') 2026-02-20 05:20:05,349 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51111863-55789174 passed 2026-02-20 05:20:05,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 05:20:05,503 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51111863-55789174, IP 34.87.211.131, Port 22 2026-02-20 05:20:05,686 - DEBUG - VM ctest-TestRoutersBasic-51111863-55789174 is ready for SSH connections 2026-02-20 05:20:05,686 - INFO - Waiting for VM ctest-TestRoutersBasic-51111863-31014006 to be up.. 2026-02-20 05:20:05,809 - DEBUG - VM is in ACTIVE state now 2026-02-20 05:20:05,809 - INFO - VM name : ctest-TestRoutersBasic-51111863-31014006 2026-02-20 05:20:05,918 - DEBUG - VM ctest-TestRoutersBasic-51111863-31014006 ID is a6322aab-c7a5-4d78-9ee7-b0421dc6940d 2026-02-20 05:20:05,918 - DEBUG - VM ctest-TestRoutersBasic-51111863-31014006 launched on Node cn-jenkins-deploy-platform-ansible-os-5368-1 2026-02-20 05:20:06,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6322aab-c7a5-4d78-9ee7-b0421dc6940d 2026-02-20 05:20:06,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ba271125-4493-4874-b670-d785cdcad39c 2026-02-20 05:20:07,312 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.85 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 = 1.847/3.378/4.909/1.531 ms') 2026-02-20 05:20:07,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51111863-31014006 passed 2026-02-20 05:20:07,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 05:20:07,471 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51111863-31014006, IP 150.11.122.195, Port 22 2026-02-20 05:20:07,649 - DEBUG - VM ctest-TestRoutersBasic-51111863-31014006 is ready for SSH connections 2026-02-20 05:20:07,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 05:20:07,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.11.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-20 05:20:07,650 - DEBUG - ping -s 56 -c 3 -W 1 150.11.122.195 2026-02-20 05:20:11,562 - DEBUG - PING 150.11.122.195 (150.11.122.195): 56 data bytes 64 bytes from 150.11.122.195: seq=0 ttl=62 time=7.585 ms 64 bytes from 150.11.122.195: seq=1 ttl=62 time=1.636 ms 64 bytes from 150.11.122.195: seq=2 ttl=62 time=1.377 ms --- 150.11.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.377/3.532/7.585 ms 2026-02-20 05:20:11,562 - INFO - Ping to IP 150.11.122.195 from VM ctest-TestRoutersBasic-51111863-55789174 passed 2026-02-20 05:20:11,562 - INFO - Deleting interface with subnet_id 035f4221-614e-4da7-9427-52a8c19166ae, port_id None from router 59cf1b3e-e397-4ff1-9ff0-fded6fe98885 2026-02-20 05:20:11,858 - INFO - Deleting VM ctest-TestRoutersBasic-51111863-31014006 2026-02-20 05:20:11,951 - INFO - Deleting VM ctest-TestRoutersBasic-51111863-55789174 2026-02-20 05:20:12,032 - INFO - Deleting VN ctest-ext_vn-85072108 2026-02-20 05:20:12,115 - DEBUG - VN e4a45544-f3dd-4a13-98c0-ef42d009f65b still in use: Unable to complete operation on network e4a45544-f3dd-4a13-98c0-ef42d009f65b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1c57221-e5fd-4b44-bacf-578e3bd1d10f'] 2026-02-20 05:20:12,116 - WARNING - Deleting VN ctest-ext_vn-85072108 failed..Will retry 2026-02-20 05:20:14,260 - DEBUG - Response for deleting network () 2026-02-20 05:20:14,260 - INFO - Deleting VN ctest-vn-04838406 2026-02-20 05:20:14,389 - DEBUG - Response for deleting network () 2026-02-20 05:20:14,678 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 05:20:14,679 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-02-20 05:20:14,679 - INFO - -------------------------------------------------------------------------------- 2026-02-20 05:20:15,455 - INFO - Deleted project: ctest-TestRoutersBasic-51111863, ID : f0694a4a-ae67-494e-b57e-04e83bcbc5d5