2025-11-04 17:10:10,557 - INFO - Domain Default found not creating 2025-11-04 17:10:10,719 - INFO - Project ctest-TestRoutersBasic-88885341 not found, creating it 2025-11-04 17:10:11,211 - INFO - Created Project:ctest-TestRoutersBasic-88885341, ID : a538a58e-045b-4d1f-ac33-86599fc8de0d 2025-11-04 17:10:12,949 - INFO - ================================================================================ 2025-11-04 17:10:12,949 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-04 17:10:12,949 - 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-11-04 17:10:13,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 17:10:13,229 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:10:13,229 - INFO - 2025-11-04 17:10:14,103 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88885341 2025-11-04 17:10:14,206 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88885341 2025-11-04 17:10:14,542 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88885341', 'default']} 2025-11-04 17:10:14,844 - DEBUG - Response for create_network : {'network': {'id': 'f456141a-711d-4bfc-8256-299d0eec4398', 'name': 'ctest-vn-63360000', 'tenant_id': 'a538a58e045b4d1fac3386599fc8de0d', 'project_id': 'a538a58e045b4d1fac3386599fc8de0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88885341', 'ctest-vn-63360000'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:10:14,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '3505fb2e-9191-4b8b-b0ab-d82d8e93dc04', 'name': '', 'tenant_id': 'a538a58e045b4d1fac3386599fc8de0d', 'network_id': 'f456141a-711d-4bfc-8256-299d0eec4398', 'ip_version': 4, 'cidr': '139.64.74.64/26', 'allocation_pools': [{'start': '139.64.74.66', 'end': '139.64.74.126'}], 'gateway_ip': '139.64.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.64.74.66', 'tags': [], 'project_id': 'a538a58e045b4d1fac3386599fc8de0d'}} 2025-11-04 17:10:15,016 - INFO - Created VN ctest-vn-63360000 2025-11-04 17:10:15,070 - DEBUG - VN ctest-vn-63360000 UUID is f456141a-711d-4bfc-8256-299d0eec4398 2025-11-04 17:10:15,393 - DEBUG - Response for create_network : {'network': {'id': 'ca9334fe-5c81-4e61-bba8-4f0bac60d4fb', 'name': 'ctest-ext_vn-97096176', 'tenant_id': 'a538a58e045b4d1fac3386599fc8de0d', 'project_id': 'a538a58e045b4d1fac3386599fc8de0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88885341', 'ctest-ext_vn-97096176'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:10:15,583 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea462d82-a5f5-4a41-a497-95460c903191', 'name': '', 'tenant_id': 'a538a58e045b4d1fac3386599fc8de0d', 'network_id': 'ca9334fe-5c81-4e61-bba8-4f0bac60d4fb', 'ip_version': 4, 'cidr': '70.161.252.64/26', 'allocation_pools': [{'start': '70.161.252.66', 'end': '70.161.252.126'}], 'gateway_ip': '70.161.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.161.252.66', 'tags': [], 'project_id': 'a538a58e045b4d1fac3386599fc8de0d'}} 2025-11-04 17:10:15,600 - INFO - Created VN ctest-ext_vn-97096176 2025-11-04 17:10:15,655 - DEBUG - VN ctest-ext_vn-97096176 UUID is ca9334fe-5c81-4e61-bba8-4f0bac60d4fb 2025-11-04 17:10:15,859 - DEBUG - Services list from nova: [, , ] 2025-11-04 17:10:17,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4618-1) 2025-11-04 17:10:18,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4618-1) 2025-11-04 17:10:18,784 - INFO - Setting gateway for router bfae56f7-3b68-458e-87d4-36e4d1885540 to network ca9334fe-5c81-4e61-bba8-4f0bac60d4fb 2025-11-04 17:10:18,894 - INFO - Adding interface with subnet_id 3505fb2e-9191-4b8b-b0ab-d82d8e93dc04, port_id None to router bfae56f7-3b68-458e-87d4-36e4d1885540 2025-11-04 17:10:19,477 - INFO - Waiting for VM ctest-TestRoutersBasic-88885341-19588419 to be up.. 2025-11-04 17:10:19,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 17:10:24,770 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:10:24,771 - INFO - VM name : ctest-TestRoutersBasic-88885341-19588419 2025-11-04 17:10:24,862 - DEBUG - VM ctest-TestRoutersBasic-88885341-19588419 ID is 5b48c1a0-600b-44f8-8cfe-ee03d0674f0b 2025-11-04 17:10:24,887 - DEBUG - VM ctest-TestRoutersBasic-88885341-19588419 launched on Node cn-jenkins-deploy-platform-ansible-os-4618-1 2025-11-04 17:10:24,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5b48c1a0-600b-44f8-8cfe-ee03d0674f0b 2025-11-04 17:10:25,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5b48c1a0-600b-44f8-8cfe-ee03d0674f0b 2025-11-04 17:10:25,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7072748d-c95c-4790-a26c-26a79ec29b67 2025-11-04 17:10:28,650 - 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=2 ttl=63 time=6.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 6.952/6.952/6.952/0.000 ms') 2025-11-04 17:10:28,650 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88885341-19588419 passed 2025-11-04 17:10:28,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:10:28,807 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88885341-19588419, IP 139.64.74.67, Port 22 2025-11-04 17:10:28,985 - DEBUG - VM ctest-TestRoutersBasic-88885341-19588419 is ready for SSH connections 2025-11-04 17:10:28,985 - INFO - Waiting for VM ctest-TestRoutersBasic-88885341-64118945 to be up.. 2025-11-04 17:10:29,089 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:10:29,089 - INFO - VM name : ctest-TestRoutersBasic-88885341-64118945 2025-11-04 17:10:29,181 - DEBUG - VM ctest-TestRoutersBasic-88885341-64118945 ID is d353eca4-1040-4889-8484-4442aff8f0bb 2025-11-04 17:10:29,181 - DEBUG - VM ctest-TestRoutersBasic-88885341-64118945 launched on Node cn-jenkins-deploy-platform-ansible-os-4618-1 2025-11-04 17:10:29,269 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d353eca4-1040-4889-8484-4442aff8f0bb 2025-11-04 17:10:29,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/429cf0b0-9588-4cc7-8c15-384a3acee6fb 2025-11-04 17:10:30,533 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.19 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.193/4.472/4.751/0.279 ms') 2025-11-04 17:10:30,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88885341-64118945 passed 2025-11-04 17:10:30,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:10:30,690 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88885341-64118945, IP 70.161.252.67, Port 22 2025-11-04 17:10:30,861 - DEBUG - VM ctest-TestRoutersBasic-88885341-64118945 is ready for SSH connections 2025-11-04 17:10:30,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:10:30,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.161.252.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 17:10:30,861 - DEBUG - ping -s 56 -c 3 -W 1 70.161.252.67 2025-11-04 17:10:34,494 - DEBUG - PING 70.161.252.67 (70.161.252.67): 56 data bytes 64 bytes from 70.161.252.67: seq=0 ttl=62 time=7.969 ms 64 bytes from 70.161.252.67: seq=1 ttl=62 time=1.104 ms 64 bytes from 70.161.252.67: seq=2 ttl=62 time=0.984 ms --- 70.161.252.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/3.352/7.969 ms 2025-11-04 17:10:34,494 - INFO - Ping to IP 70.161.252.67 from VM ctest-TestRoutersBasic-88885341-19588419 passed 2025-11-04 17:10:34,494 - INFO - Deleting interface with subnet_id 3505fb2e-9191-4b8b-b0ab-d82d8e93dc04, port_id None from router bfae56f7-3b68-458e-87d4-36e4d1885540 2025-11-04 17:10:34,677 - INFO - Deleting VM ctest-TestRoutersBasic-88885341-64118945 2025-11-04 17:10:34,760 - INFO - Deleting VM ctest-TestRoutersBasic-88885341-19588419 2025-11-04 17:10:34,840 - INFO - Deleting VN ctest-ext_vn-97096176 2025-11-04 17:10:34,931 - DEBUG - VN ca9334fe-5c81-4e61-bba8-4f0bac60d4fb still in use: Unable to complete operation on network ca9334fe-5c81-4e61-bba8-4f0bac60d4fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ac60dff-6c26-42b5-8d1d-9f8c6220c73d'] 2025-11-04 17:10:34,931 - WARNING - Deleting VN ctest-ext_vn-97096176 failed..Will retry 2025-11-04 17:10:37,039 - DEBUG - Response for deleting network () 2025-11-04 17:10:37,039 - INFO - Deleting VN ctest-vn-63360000 2025-11-04 17:10:37,137 - DEBUG - Response for deleting network () 2025-11-04 17:10:37,399 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 17:10:37,399 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-04 17:10:37,400 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:10:38,141 - INFO - Deleted project: ctest-TestRoutersBasic-88885341, ID : a538a58e-045b-4d1f-ac33-86599fc8de0d