2026-03-23 15:29:02,907 - INFO - Domain Default found not creating 2026-03-23 15:29:03,110 - INFO - Project ctest-TestRoutersBasic-87546610 not found, creating it 2026-03-23 15:29:03,614 - INFO - Created Project:ctest-TestRoutersBasic-87546610, ID : 0d463feb-7735-4c84-9e2a-2620b0fb8b19 2026-03-23 15:29:05,222 - INFO - ================================================================================ 2026-03-23 15:29:05,222 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-23 15:29:05,222 - 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-03-23 15:29:05,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-03-23 15:29:05,494 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:29:05,494 - INFO - 2026-03-23 15:29:06,300 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87546610 2026-03-23 15:29:06,396 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87546610 2026-03-23 15:29:06,723 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87546610', 'default']} 2026-03-23 15:29:07,041 - DEBUG - Response for create_network : {'network': {'id': 'd00f8036-4224-4346-b948-695a2f629ac8', 'name': 'ctest-vn-64254428', 'tenant_id': '0d463feb77354c849e2a2620b0fb8b19', 'project_id': '0d463feb77354c849e2a2620b0fb8b19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87546610', 'ctest-vn-64254428'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:29:07,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e877407-0fdb-4eea-9bef-d4df1e7a750a', 'name': '', 'tenant_id': '0d463feb77354c849e2a2620b0fb8b19', 'network_id': 'd00f8036-4224-4346-b948-695a2f629ac8', 'ip_version': 4, 'cidr': '200.225.11.64/26', 'allocation_pools': [{'start': '200.225.11.66', 'end': '200.225.11.126'}], 'gateway_ip': '200.225.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.225.11.66', 'tags': [], 'project_id': '0d463feb77354c849e2a2620b0fb8b19'}} 2026-03-23 15:29:07,243 - INFO - Created VN ctest-vn-64254428 2026-03-23 15:29:07,296 - DEBUG - VN ctest-vn-64254428 UUID is d00f8036-4224-4346-b948-695a2f629ac8 2026-03-23 15:29:07,619 - DEBUG - Response for create_network : {'network': {'id': '94f1f19d-8de4-4194-bf93-7459e48ff281', 'name': 'ctest-ext_vn-90238264', 'tenant_id': '0d463feb77354c849e2a2620b0fb8b19', 'project_id': '0d463feb77354c849e2a2620b0fb8b19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87546610', 'ctest-ext_vn-90238264'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:29:07,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '742faf00-8d9f-4a42-8c3b-0f0c37d3b516', 'name': '', 'tenant_id': '0d463feb77354c849e2a2620b0fb8b19', 'network_id': '94f1f19d-8de4-4194-bf93-7459e48ff281', 'ip_version': 4, 'cidr': '187.97.136.192/26', 'allocation_pools': [{'start': '187.97.136.194', 'end': '187.97.136.254'}], 'gateway_ip': '187.97.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.97.136.194', 'tags': [], 'project_id': '0d463feb77354c849e2a2620b0fb8b19'}} 2026-03-23 15:29:07,868 - INFO - Created VN ctest-ext_vn-90238264 2026-03-23 15:29:07,920 - DEBUG - VN ctest-ext_vn-90238264 UUID is 94f1f19d-8de4-4194-bf93-7459e48ff281 2026-03-23 15:29:08,098 - DEBUG - Services list from nova: [, , ] 2026-03-23 15:29:09,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5520-1) 2026-03-23 15:29:10,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5520-1) 2026-03-23 15:29:10,705 - INFO - Setting gateway for router b7b47fd6-990f-414c-8eeb-0df822d91d6c to network 94f1f19d-8de4-4194-bf93-7459e48ff281 2026-03-23 15:29:10,777 - INFO - Adding interface with subnet_id 2e877407-0fdb-4eea-9bef-d4df1e7a750a, port_id None to router b7b47fd6-990f-414c-8eeb-0df822d91d6c 2026-03-23 15:29:11,087 - INFO - Waiting for VM ctest-TestRoutersBasic-87546610-46430638 to be up.. 2026-03-23 15:29:11,255 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 15:29:16,360 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:29:16,360 - INFO - VM name : ctest-TestRoutersBasic-87546610-46430638 2026-03-23 15:29:16,441 - DEBUG - VM ctest-TestRoutersBasic-87546610-46430638 ID is d8f39121-010f-4d03-a2b1-b3fcdddaafba 2026-03-23 15:29:16,472 - DEBUG - VM ctest-TestRoutersBasic-87546610-46430638 launched on Node cn-jenkins-deploy-platform-ansible-os-5520-1 2026-03-23 15:29:16,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8f39121-010f-4d03-a2b1-b3fcdddaafba 2026-03-23 15:29:16,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8f39121-010f-4d03-a2b1-b3fcdddaafba 2026-03-23 15:29:16,923 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9de16da4-25f2-409c-8b84-fe9bb4a5be50 2026-03-23 15:29:20,184 - 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=8.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.057/8.057/8.057/0.000 ms') 2026-03-23 15:29:20,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87546610-46430638 passed 2026-03-23 15:29:20,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:29:20,336 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87546610-46430638, IP 200.225.11.67, Port 22 2026-03-23 15:29:20,491 - DEBUG - VM ctest-TestRoutersBasic-87546610-46430638 is ready for SSH connections 2026-03-23 15:29:20,491 - INFO - Waiting for VM ctest-TestRoutersBasic-87546610-49251545 to be up.. 2026-03-23 15:29:20,572 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:29:20,573 - INFO - VM name : ctest-TestRoutersBasic-87546610-49251545 2026-03-23 15:29:20,653 - DEBUG - VM ctest-TestRoutersBasic-87546610-49251545 ID is 3f860433-9c8f-4ea7-9abe-805be83ad637 2026-03-23 15:29:20,653 - DEBUG - VM ctest-TestRoutersBasic-87546610-49251545 launched on Node cn-jenkins-deploy-platform-ansible-os-5520-1 2026-03-23 15:29:20,737 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3f860433-9c8f-4ea7-9abe-805be83ad637 2026-03-23 15:29:20,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/34fe96e4-30f5-47d1-b995-4a70565fbd76 2026-03-23 15:29:21,990 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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.122/2.915/4.708/1.793 ms') 2026-03-23 15:29:21,990 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87546610-49251545 passed 2026-03-23 15:29:22,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:29:22,140 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87546610-49251545, IP 187.97.136.195, Port 22 2026-03-23 15:29:22,295 - DEBUG - VM ctest-TestRoutersBasic-87546610-49251545 is ready for SSH connections 2026-03-23 15:29:22,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:29:22,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.97.136.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-23 15:29:22,296 - DEBUG - ping -s 56 -c 3 -W 1 187.97.136.195 2026-03-23 15:29:25,944 - DEBUG - PING 187.97.136.195 (187.97.136.195): 56 data bytes 64 bytes from 187.97.136.195: seq=0 ttl=62 time=6.734 ms 64 bytes from 187.97.136.195: seq=1 ttl=62 time=1.033 ms 64 bytes from 187.97.136.195: seq=2 ttl=62 time=1.173 ms --- 187.97.136.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.033/2.980/6.734 ms 2026-03-23 15:29:25,944 - INFO - Ping to IP 187.97.136.195 from VM ctest-TestRoutersBasic-87546610-46430638 passed 2026-03-23 15:29:25,945 - INFO - Deleting interface with subnet_id 2e877407-0fdb-4eea-9bef-d4df1e7a750a, port_id None from router b7b47fd6-990f-414c-8eeb-0df822d91d6c 2026-03-23 15:29:26,145 - INFO - Deleting VM ctest-TestRoutersBasic-87546610-49251545 2026-03-23 15:29:26,220 - INFO - Deleting VM ctest-TestRoutersBasic-87546610-46430638 2026-03-23 15:29:26,308 - INFO - Deleting VN ctest-ext_vn-90238264 2026-03-23 15:29:26,377 - DEBUG - VN 94f1f19d-8de4-4194-bf93-7459e48ff281 still in use: Unable to complete operation on network 94f1f19d-8de4-4194-bf93-7459e48ff281. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a684825-7e7e-4e83-80af-9b48a65ceea0'] 2026-03-23 15:29:26,377 - WARNING - Deleting VN ctest-ext_vn-90238264 failed..Will retry 2026-03-23 15:29:28,490 - DEBUG - Response for deleting network () 2026-03-23 15:29:28,491 - INFO - Deleting VN ctest-vn-64254428 2026-03-23 15:29:28,610 - DEBUG - Response for deleting network () 2026-03-23 15:29:28,873 - DEBUG - No XMPP flaps were noticed during the test 2026-03-23 15:29:28,873 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2026-03-23 15:29:28,874 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:29:29,608 - INFO - Deleted project: ctest-TestRoutersBasic-87546610, ID : 0d463feb-7735-4c84-9e2a-2620b0fb8b19