2026-10-22 20:58:47,509 - INFO - Domain Default found not creating 2026-10-22 20:58:47,730 - INFO - Project ctest-TestRoutersBasic-06231126 not found, creating it 2026-10-22 20:58:48,248 - INFO - Created Project:ctest-TestRoutersBasic-06231126, ID : 4feb780e-2cc5-4e26-9de3-c654b81d2674 2026-10-22 20:58:50,046 - INFO - ================================================================================ 2026-10-22 20:58:50,046 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-22 20:58:50,046 - 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-10-22 20:58:50,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-10-22 20:58:50,362 - INFO - Initial checks done. Running the testcase now 2026-10-22 20:58:50,362 - INFO - 2026-10-22 20:58:51,237 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06231126 2026-10-22 20:58:51,332 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06231126 2026-10-22 20:58:51,660 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06231126', 'default']} 2026-10-22 20:58:51,960 - DEBUG - Response for create_network : {'network': {'id': 'efc7175c-64e5-48d2-824a-ed5316f8d02c', 'name': 'ctest-vn-10607917', 'tenant_id': '4feb780e2cc54e269de3c654b81d2674', 'project_id': '4feb780e2cc54e269de3c654b81d2674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06231126', 'ctest-vn-10607917'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 20:58:52,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '181a1dc8-2a31-4164-ac84-80c066f9821e', 'name': '', 'tenant_id': '4feb780e2cc54e269de3c654b81d2674', 'network_id': 'efc7175c-64e5-48d2-824a-ed5316f8d02c', 'ip_version': 4, 'cidr': '38.227.15.192/26', 'allocation_pools': [{'start': '38.227.15.194', 'end': '38.227.15.254'}], 'gateway_ip': '38.227.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.227.15.194', 'tags': [], 'project_id': '4feb780e2cc54e269de3c654b81d2674'}} 2026-10-22 20:58:52,223 - INFO - Created VN ctest-vn-10607917 2026-10-22 20:58:52,276 - DEBUG - VN ctest-vn-10607917 UUID is efc7175c-64e5-48d2-824a-ed5316f8d02c 2026-10-22 20:58:52,698 - DEBUG - Response for create_network : {'network': {'id': '16aafcfe-934d-47e0-9b18-d63197a72713', 'name': 'ctest-ext_vn-64192946', 'tenant_id': '4feb780e2cc54e269de3c654b81d2674', 'project_id': '4feb780e2cc54e269de3c654b81d2674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06231126', 'ctest-ext_vn-64192946'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 20:58:52,914 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f659fbc0-df87-4f53-b32e-d2ee0ea8917d', 'name': '', 'tenant_id': '4feb780e2cc54e269de3c654b81d2674', 'network_id': '16aafcfe-934d-47e0-9b18-d63197a72713', 'ip_version': 4, 'cidr': '130.70.254.128/26', 'allocation_pools': [{'start': '130.70.254.130', 'end': '130.70.254.190'}], 'gateway_ip': '130.70.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.70.254.130', 'tags': [], 'project_id': '4feb780e2cc54e269de3c654b81d2674'}} 2026-10-22 20:58:52,931 - INFO - Created VN ctest-ext_vn-64192946 2026-10-22 20:58:52,988 - DEBUG - VN ctest-ext_vn-64192946 UUID is 16aafcfe-934d-47e0-9b18-d63197a72713 2026-10-22 20:58:53,185 - DEBUG - Services list from nova: [, , ] 2026-10-22 20:58:53,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6388-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6388-1) 2026-10-22 20:58:54,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6388-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6388-1) 2026-10-22 20:58:54,108 - INFO - Setting gateway for router ac42668e-9f4c-481c-8938-9f1dcb997b32 to network 16aafcfe-934d-47e0-9b18-d63197a72713 2026-10-22 20:58:54,175 - INFO - Adding interface with subnet_id 181a1dc8-2a31-4164-ac84-80c066f9821e, port_id None to router ac42668e-9f4c-481c-8938-9f1dcb997b32 2026-10-22 20:58:54,436 - INFO - Waiting for VM ctest-TestRoutersBasic-06231126-96401188 to be up.. 2026-10-22 20:58:54,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:58:59,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:04,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:09,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:14,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:20,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:25,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:30,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 20:59:35,397 - DEBUG - VM is in ACTIVE state now 2026-10-22 20:59:35,397 - INFO - VM name : ctest-TestRoutersBasic-06231126-96401188 2026-10-22 20:59:35,467 - DEBUG - VM ctest-TestRoutersBasic-06231126-96401188 ID is 12a01cfd-6c64-4c9d-9686-02f6e03fd94b 2026-10-22 20:59:35,489 - DEBUG - VM ctest-TestRoutersBasic-06231126-96401188 launched on Node cn-jenkins-deploy-platform-ansible-os-6388-1 2026-10-22 20:59:35,558 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/12a01cfd-6c64-4c9d-9686-02f6e03fd94b 2026-10-22 20:59:35,949 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/12a01cfd-6c64-4c9d-9686-02f6e03fd94b 2026-10-22 20:59:35,989 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/341ee940-0780-48fd-8281-bb4dce1d2a9e 2026-10-22 20:59:39,266 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-10-22 20:59:39,266 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-06231126-96401188 failed! 2026-10-22 20:59:39,324 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06231126:ctest-vn-10607917 is 38.227.15.193 and allocation pool is NOT set 2026-10-22 20:59:43,393 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=8.91 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 8.905/8.905/8.905/0.000 ms') 2026-10-22 20:59:43,393 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-06231126-96401188 passed 2026-10-22 20:59:43,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 20:59:43,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06231126-96401188, IP 38.227.15.195, Port 22 2026-10-22 20:59:43,717 - DEBUG - VM ctest-TestRoutersBasic-06231126-96401188 is ready for SSH connections 2026-10-22 20:59:43,717 - INFO - Waiting for VM ctest-TestRoutersBasic-06231126-66037272 to be up.. 2026-10-22 20:59:43,797 - DEBUG - VM is in ACTIVE state now 2026-10-22 20:59:43,797 - INFO - VM name : ctest-TestRoutersBasic-06231126-66037272 2026-10-22 20:59:43,876 - DEBUG - VM ctest-TestRoutersBasic-06231126-66037272 ID is b93251f8-abbd-4cc2-b5eb-5fc2d679079b 2026-10-22 20:59:43,876 - DEBUG - VM ctest-TestRoutersBasic-06231126-66037272 launched on Node cn-jenkins-deploy-platform-ansible-os-6388-1 2026-10-22 20:59:43,949 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/b93251f8-abbd-4cc2-b5eb-5fc2d679079b 2026-10-22 20:59:43,958 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/c8c48b58-08da-4bd9-a5d1-53d224f5dd21 2026-10-22 20:59:45,196 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=5.37 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.472/2.922/5.373/2.450 ms') 2026-10-22 20:59:45,197 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-06231126-66037272 passed 2026-10-22 20:59:45,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 20:59:45,352 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06231126-66037272, IP 130.70.254.132, Port 22 2026-10-22 20:59:45,521 - DEBUG - VM ctest-TestRoutersBasic-06231126-66037272 is ready for SSH connections 2026-10-22 20:59:45,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 20:59:45,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.70.254.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-10-22 20:59:45,522 - DEBUG - ping -s 56 -c 3 -W 1 130.70.254.132 2026-10-22 20:59:48,513 - DEBUG - PING 130.70.254.132 (130.70.254.132): 56 data bytes 64 bytes from 130.70.254.132: seq=0 ttl=62 time=8.046 ms 64 bytes from 130.70.254.132: seq=1 ttl=62 time=1.049 ms 64 bytes from 130.70.254.132: seq=2 ttl=62 time=1.066 ms --- 130.70.254.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/3.387/8.046 ms 2026-10-22 20:59:48,513 - INFO - Ping to IP 130.70.254.132 from VM ctest-TestRoutersBasic-06231126-96401188 passed 2026-10-22 20:59:48,514 - INFO - Deleting interface with subnet_id 181a1dc8-2a31-4164-ac84-80c066f9821e, port_id None from router ac42668e-9f4c-481c-8938-9f1dcb997b32 2026-10-22 20:59:48,799 - INFO - Deleting VM ctest-TestRoutersBasic-06231126-66037272 2026-10-22 20:59:48,885 - INFO - Deleting VM ctest-TestRoutersBasic-06231126-96401188 2026-10-22 20:59:48,968 - INFO - Deleting VN ctest-ext_vn-64192946 2026-10-22 20:59:49,043 - DEBUG - VN 16aafcfe-934d-47e0-9b18-d63197a72713 still in use: Unable to complete operation on network 16aafcfe-934d-47e0-9b18-d63197a72713. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79cf35e1-ba98-432b-ae1a-599de46a70d2'] 2026-10-22 20:59:49,044 - WARNING - Deleting VN ctest-ext_vn-64192946 failed..Will retry 2026-10-22 20:59:51,089 - DEBUG - VN 16aafcfe-934d-47e0-9b18-d63197a72713 still in use: Unable to complete operation on network 16aafcfe-934d-47e0-9b18-d63197a72713. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34099cf5-ddd9-43f6-9b6e-74e22048b406'] 2026-10-22 20:59:51,089 - WARNING - Deleting VN ctest-ext_vn-64192946 failed..Will retry 2026-10-22 20:59:53,203 - DEBUG - Response for deleting network () 2026-10-22 20:59:53,203 - INFO - Deleting VN ctest-vn-10607917 2026-10-22 20:59:53,340 - DEBUG - Response for deleting network () 2026-10-22 20:59:53,598 - DEBUG - No XMPP flaps were noticed during the test
2026-10-22 20:59:53,598 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03]
2026-10-22 20:59:53,598 - INFO - -------------------------------------------------------------------------------- 2026-10-22 20:59:54,417 - INFO - Deleted project: ctest-TestRoutersBasic-06231126, ID : 4feb780e-2cc5-4e26-9de3-c654b81d2674