2026-02-24 03:47:58,914 - INFO - Domain Default found not creating 2026-02-24 03:47:59,094 - INFO - Project ctest-TestRoutersBasic-53555840 not found, creating it 2026-02-24 03:47:59,577 - INFO - Created Project:ctest-TestRoutersBasic-53555840, ID : f28387c7-46c5-451e-9cc9-39c09bb61fb9 2026-02-24 03:48:01,262 - INFO - ================================================================================ 2026-02-24 03:48:01,262 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-24 03:48:01,262 - 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-24 03:48:01,534 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-24 03:48:01,534 - INFO - Initial checks done. Running the testcase now 2026-02-24 03:48:01,534 - INFO - 2026-02-24 03:48:02,326 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53555840 2026-02-24 03:48:02,425 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53555840 2026-02-24 03:48:02,749 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53555840', 'default']} 2026-02-24 03:48:03,038 - DEBUG - Response for create_network : {'network': {'id': 'c8e7c2a9-f409-49ae-b3bb-df8b297e5f34', 'name': 'ctest-vn-90249137', 'tenant_id': 'f28387c746c5451e9cc939c09bb61fb9', 'project_id': 'f28387c746c5451e9cc939c09bb61fb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53555840', 'ctest-vn-90249137'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 03:48:03,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '3832547f-1893-4013-a114-05c6db20719e', 'name': '', 'tenant_id': 'f28387c746c5451e9cc939c09bb61fb9', 'network_id': 'c8e7c2a9-f409-49ae-b3bb-df8b297e5f34', 'ip_version': 4, 'cidr': '44.149.52.64/26', 'allocation_pools': [{'start': '44.149.52.66', 'end': '44.149.52.126'}], 'gateway_ip': '44.149.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.149.52.66', 'tags': [], 'project_id': 'f28387c746c5451e9cc939c09bb61fb9'}} 2026-02-24 03:48:03,274 - INFO - Created VN ctest-vn-90249137 2026-02-24 03:48:03,325 - DEBUG - VN ctest-vn-90249137 UUID is c8e7c2a9-f409-49ae-b3bb-df8b297e5f34 2026-02-24 03:48:03,673 - DEBUG - Response for create_network : {'network': {'id': '2d13e879-81ac-431a-b8ab-b277a6654e7c', 'name': 'ctest-ext_vn-41509006', 'tenant_id': 'f28387c746c5451e9cc939c09bb61fb9', 'project_id': 'f28387c746c5451e9cc939c09bb61fb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53555840', 'ctest-ext_vn-41509006'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 03:48:03,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '959bbb8b-9bb3-4306-957e-d49519421c15', 'name': '', 'tenant_id': 'f28387c746c5451e9cc939c09bb61fb9', 'network_id': '2d13e879-81ac-431a-b8ab-b277a6654e7c', 'ip_version': 4, 'cidr': '20.100.194.128/26', 'allocation_pools': [{'start': '20.100.194.130', 'end': '20.100.194.190'}], 'gateway_ip': '20.100.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.100.194.130', 'tags': [], 'project_id': 'f28387c746c5451e9cc939c09bb61fb9'}} 2026-02-24 03:48:03,849 - INFO - Created VN ctest-ext_vn-41509006 2026-02-24 03:48:03,905 - DEBUG - VN ctest-ext_vn-41509006 UUID is 2d13e879-81ac-431a-b8ab-b277a6654e7c 2026-02-24 03:48:04,106 - DEBUG - Services list from nova: [, , ] 2026-02-24 03:48:05,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5392-1) 2026-02-24 03:48:06,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5392-1) 2026-02-24 03:48:06,537 - INFO - Setting gateway for router 6c3d5f38-b6dc-4da8-b045-1a7b522039d2 to network 2d13e879-81ac-431a-b8ab-b277a6654e7c 2026-02-24 03:48:06,631 - INFO - Adding interface with subnet_id 3832547f-1893-4013-a114-05c6db20719e, port_id None to router 6c3d5f38-b6dc-4da8-b045-1a7b522039d2 2026-02-24 03:48:07,023 - INFO - Waiting for VM ctest-TestRoutersBasic-53555840-41318410 to be up.. 2026-02-24 03:48:07,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 03:48:12,279 - DEBUG - VM is in ACTIVE state now 2026-02-24 03:48:12,279 - INFO - VM name : ctest-TestRoutersBasic-53555840-41318410 2026-02-24 03:48:12,353 - DEBUG - VM ctest-TestRoutersBasic-53555840-41318410 ID is 52a98903-8ff4-4ecf-bdd9-d82a0fe731b6 2026-02-24 03:48:12,372 - DEBUG - VM ctest-TestRoutersBasic-53555840-41318410 launched on Node cn-jenkins-deploy-platform-ansible-os-5392-1 2026-02-24 03:48:12,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/52a98903-8ff4-4ecf-bdd9-d82a0fe731b6 2026-02-24 03:48:12,780 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/52a98903-8ff4-4ecf-bdd9-d82a0fe731b6 2026-02-24 03:48:12,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/047c5bf3-e697-4994-a66b-df77cd87c36c 2026-02-24 03:48:16,071 - 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 1023ms') 2026-02-24 03:48:16,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53555840-41318410 failed! 2026-02-24 03:48:16,125 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53555840:ctest-vn-90249137 is 44.149.52.65 and allocation pool is NOT set 2026-02-24 03:48:18,182 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/2.463/4.431/1.967 ms') 2026-02-24 03:48:18,182 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53555840-41318410 passed 2026-02-24 03:48:18,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:48:18,329 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53555840-41318410, IP 44.149.52.67, Port 22 2026-02-24 03:48:18,489 - DEBUG - VM ctest-TestRoutersBasic-53555840-41318410 is ready for SSH connections 2026-02-24 03:48:18,489 - INFO - Waiting for VM ctest-TestRoutersBasic-53555840-65413975 to be up.. 2026-02-24 03:48:18,568 - DEBUG - VM is in ACTIVE state now 2026-02-24 03:48:18,568 - INFO - VM name : ctest-TestRoutersBasic-53555840-65413975 2026-02-24 03:48:18,643 - DEBUG - VM ctest-TestRoutersBasic-53555840-65413975 ID is d8508826-fae1-47fa-a8fc-afdcb570b482 2026-02-24 03:48:18,643 - DEBUG - VM ctest-TestRoutersBasic-53555840-65413975 launched on Node cn-jenkins-deploy-platform-ansible-os-5392-1 2026-02-24 03:48:18,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8508826-fae1-47fa-a8fc-afdcb570b482 2026-02-24 03:48:18,722 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/01e9e805-fa59-4f7d-b459-f19ccca5e1dc 2026-02-24 03:48:19,958 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.493/1.827/3.161/1.334 ms') 2026-02-24 03:48:19,958 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53555840-65413975 passed 2026-02-24 03:48:20,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:48:20,105 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53555840-65413975, IP 20.100.194.131, Port 22 2026-02-24 03:48:20,260 - DEBUG - VM ctest-TestRoutersBasic-53555840-65413975 is ready for SSH connections 2026-02-24 03:48:20,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:48:20,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.100.194.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-24 03:48:20,261 - DEBUG - ping -s 56 -c 3 -W 1 20.100.194.131 2026-02-24 03:48:24,020 - DEBUG - PING 20.100.194.131 (20.100.194.131): 56 data bytes 64 bytes from 20.100.194.131: seq=0 ttl=62 time=4.923 ms 64 bytes from 20.100.194.131: seq=1 ttl=62 time=0.973 ms 64 bytes from 20.100.194.131: seq=2 ttl=62 time=1.129 ms --- 20.100.194.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.973/2.341/4.923 ms 2026-02-24 03:48:24,020 - INFO - Ping to IP 20.100.194.131 from VM ctest-TestRoutersBasic-53555840-41318410 passed 2026-02-24 03:48:24,020 - INFO - Deleting interface with subnet_id 3832547f-1893-4013-a114-05c6db20719e, port_id None from router 6c3d5f38-b6dc-4da8-b045-1a7b522039d2 2026-02-24 03:48:24,194 - INFO - Deleting VM ctest-TestRoutersBasic-53555840-65413975 2026-02-24 03:48:24,269 - INFO - Deleting VM ctest-TestRoutersBasic-53555840-41318410 2026-02-24 03:48:24,362 - INFO - Deleting VN ctest-ext_vn-41509006 2026-02-24 03:48:24,448 - DEBUG - VN 2d13e879-81ac-431a-b8ab-b277a6654e7c still in use: Unable to complete operation on network 2d13e879-81ac-431a-b8ab-b277a6654e7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b4c79e1-f74a-4d3b-88b7-3ef35cbe4cf0'] 2026-02-24 03:48:24,448 - WARNING - Deleting VN ctest-ext_vn-41509006 failed..Will retry 2026-02-24 03:48:26,542 - DEBUG - Response for deleting network () 2026-02-24 03:48:26,543 - INFO - Deleting VN ctest-vn-90249137 2026-02-24 03:48:26,642 - DEBUG - Response for deleting network () 2026-02-24 03:48:26,906 - DEBUG - No XMPP flaps were noticed during the test 2026-02-24 03:48:26,906 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-24 03:48:26,906 - INFO - -------------------------------------------------------------------------------- 2026-02-24 03:48:27,646 - INFO - Deleted project: ctest-TestRoutersBasic-53555840, ID : f28387c7-46c5-451e-9cc9-39c09bb61fb9