2026-11-16 09:03:09,436 - INFO - Domain Default found not creating 2026-11-16 09:03:09,660 - INFO - Project ctest-TestRoutersBasic-23977677 not found, creating it 2026-11-16 09:03:10,218 - INFO - Created Project:ctest-TestRoutersBasic-23977677, ID : 0c76c6cf-2e99-483f-82fc-23db82ce8746 2026-11-16 09:03:12,027 - INFO - ================================================================================ 2026-11-16 09:03:12,028 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-16 09:03:12,028 - 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-11-16 09:03:12,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-11-16 09:03:12,299 - INFO - Initial checks done. Running the testcase now 2026-11-16 09:03:12,299 - INFO - 2026-11-16 09:03:13,127 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23977677 2026-11-16 09:03:13,227 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23977677 2026-11-16 09:03:13,570 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23977677', 'default']} 2026-11-16 09:03:13,890 - DEBUG - Response for create_network : {'network': {'id': '48136ca7-5cca-45b9-9aaa-1c3b55f19415', 'name': 'ctest-vn-91408396', 'tenant_id': '0c76c6cf2e99483f82fc23db82ce8746', 'project_id': '0c76c6cf2e99483f82fc23db82ce8746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23977677', 'ctest-vn-91408396'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 09:03:14,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '4787ddcd-e74f-41d2-9755-7dd060a0e630', 'name': '', 'tenant_id': '0c76c6cf2e99483f82fc23db82ce8746', 'network_id': '48136ca7-5cca-45b9-9aaa-1c3b55f19415', 'ip_version': 4, 'cidr': '41.132.232.192/26', 'allocation_pools': [{'start': '41.132.232.194', 'end': '41.132.232.254'}], 'gateway_ip': '41.132.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.132.232.194', 'tags': [], 'project_id': '0c76c6cf2e99483f82fc23db82ce8746'}} 2026-11-16 09:03:14,128 - INFO - Created VN ctest-vn-91408396 2026-11-16 09:03:14,182 - DEBUG - VN ctest-vn-91408396 UUID is 48136ca7-5cca-45b9-9aaa-1c3b55f19415 2026-11-16 09:03:14,584 - DEBUG - Response for create_network : {'network': {'id': '3baf1fe8-2569-4675-8253-7853bc88853d', 'name': 'ctest-ext_vn-69067689', 'tenant_id': '0c76c6cf2e99483f82fc23db82ce8746', 'project_id': '0c76c6cf2e99483f82fc23db82ce8746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23977677', 'ctest-ext_vn-69067689'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 09:03:14,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d729055-5afe-407a-84a6-65963af3bcf2', 'name': '', 'tenant_id': '0c76c6cf2e99483f82fc23db82ce8746', 'network_id': '3baf1fe8-2569-4675-8253-7853bc88853d', 'ip_version': 4, 'cidr': '104.89.156.128/26', 'allocation_pools': [{'start': '104.89.156.130', 'end': '104.89.156.190'}], 'gateway_ip': '104.89.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.89.156.130', 'tags': [], 'project_id': '0c76c6cf2e99483f82fc23db82ce8746'}} 2026-11-16 09:03:14,776 - INFO - Created VN ctest-ext_vn-69067689 2026-11-16 09:03:14,830 - DEBUG - VN ctest-ext_vn-69067689 UUID is 3baf1fe8-2569-4675-8253-7853bc88853d 2026-11-16 09:03:15,027 - DEBUG - Services list from nova: [, , ] 2026-11-16 09:03:15,641 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6505-1) 2026-11-16 09:03:16,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6505-1) 2026-11-16 09:03:16,160 - INFO - Setting gateway for router 663b6f74-6ea1-4c68-9dc5-a74d900ce2ca to network 3baf1fe8-2569-4675-8253-7853bc88853d 2026-11-16 09:03:16,239 - INFO - Adding interface with subnet_id 4787ddcd-e74f-41d2-9755-7dd060a0e630, port_id None to router 663b6f74-6ea1-4c68-9dc5-a74d900ce2ca 2026-11-16 09:03:16,558 - INFO - Waiting for VM ctest-TestRoutersBasic-23977677-69230438 to be up.. 2026-11-16 09:03:16,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:21,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:26,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:31,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:37,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:42,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:47,229 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:52,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:03:57,489 - DEBUG - VM is in ACTIVE state now 2026-11-16 09:03:57,489 - INFO - VM name : ctest-TestRoutersBasic-23977677-69230438 2026-11-16 09:03:57,586 - DEBUG - VM ctest-TestRoutersBasic-23977677-69230438 ID is aec9bdde-7b83-420f-9be1-170ebf044f28 2026-11-16 09:03:57,613 - DEBUG - VM ctest-TestRoutersBasic-23977677-69230438 launched on Node cn-jenkins-deploy-platform-ansible-os-6505-1 2026-11-16 09:03:57,718 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/aec9bdde-7b83-420f-9be1-170ebf044f28 2026-11-16 09:03:58,086 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/aec9bdde-7b83-420f-9be1-170ebf044f28 2026-11-16 09:03:58,128 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/34644873-f650-4451-9b51-8a6991d1125f 2026-11-16 09:04:01,409 - 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=10.9 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 10.883/10.883/10.883/0.000 ms') 2026-11-16 09:04:01,410 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-23977677-69230438 passed 2026-11-16 09:04:01,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:04:01,567 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23977677-69230438, IP 41.132.232.195, Port 22 2026-11-16 09:04:01,737 - DEBUG - VM ctest-TestRoutersBasic-23977677-69230438 is ready for SSH connections 2026-11-16 09:04:01,737 - INFO - Waiting for VM ctest-TestRoutersBasic-23977677-61666211 to be up.. 2026-11-16 09:04:01,842 - DEBUG - VM is in ACTIVE state now 2026-11-16 09:04:01,842 - INFO - VM name : ctest-TestRoutersBasic-23977677-61666211 2026-11-16 09:04:01,942 - DEBUG - VM ctest-TestRoutersBasic-23977677-61666211 ID is 47204cbb-95e4-4fca-b5ef-c8314c352321 2026-11-16 09:04:01,943 - DEBUG - VM ctest-TestRoutersBasic-23977677-61666211 launched on Node cn-jenkins-deploy-platform-ansible-os-6505-1 2026-11-16 09:04:02,034 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/47204cbb-95e4-4fca-b5ef-c8314c352321 2026-11-16 09:04:02,044 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/b7eac075-2e96-486c-98f0-997912b52bde 2026-11-16 09:04:05,310 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-11-16 09:04:05,310 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-23977677-61666211 failed! 2026-11-16 09:04:05,370 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23977677:ctest-ext_vn-69067689 is 104.89.156.129 and allocation pool is NOT set 2026-11-16 09:04:07,442 - 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=3.92 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.765 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.765/2.340/3.916/1.575 ms') 2026-11-16 09:04:07,443 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-23977677-61666211 passed 2026-11-16 09:04:07,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:04:07,603 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23977677-61666211, IP 104.89.156.132, Port 22 2026-11-16 09:04:07,778 - DEBUG - VM ctest-TestRoutersBasic-23977677-61666211 is ready for SSH connections 2026-11-16 09:04:07,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:04:07,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.89.156.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-16 09:04:07,778 - DEBUG - ping -s 56 -c 3 -W 1 104.89.156.132 2026-11-16 09:04:10,855 - DEBUG - PING 104.89.156.132 (104.89.156.132): 56 data bytes 64 bytes from 104.89.156.132: seq=0 ttl=62 time=9.802 ms 64 bytes from 104.89.156.132: seq=1 ttl=62 time=1.184 ms 64 bytes from 104.89.156.132: seq=2 ttl=62 time=1.175 ms --- 104.89.156.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.175/4.053/9.802 ms 2026-11-16 09:04:10,855 - INFO - Ping to IP 104.89.156.132 from VM ctest-TestRoutersBasic-23977677-69230438 passed 2026-11-16 09:04:10,855 - INFO - Deleting interface with subnet_id 4787ddcd-e74f-41d2-9755-7dd060a0e630, port_id None from router 663b6f74-6ea1-4c68-9dc5-a74d900ce2ca 2026-11-16 09:04:11,103 - INFO - Deleting VM ctest-TestRoutersBasic-23977677-61666211 2026-11-16 09:04:11,230 - INFO - Deleting VM ctest-TestRoutersBasic-23977677-69230438 2026-11-16 09:04:11,324 - INFO - Deleting VN ctest-ext_vn-69067689 2026-11-16 09:04:11,441 - DEBUG - VN 3baf1fe8-2569-4675-8253-7853bc88853d still in use: Unable to complete operation on network 3baf1fe8-2569-4675-8253-7853bc88853d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-371c1754-6d82-40a2-9455-851e382f01f0'] 2026-11-16 09:04:11,441 - WARNING - Deleting VN ctest-ext_vn-69067689 failed..Will retry 2026-11-16 09:04:13,496 - DEBUG - VN 3baf1fe8-2569-4675-8253-7853bc88853d still in use: Unable to complete operation on network 3baf1fe8-2569-4675-8253-7853bc88853d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de0de1e7-3f54-4982-8bf4-e46cdddda09b'] 2026-11-16 09:04:13,496 - WARNING - Deleting VN ctest-ext_vn-69067689 failed..Will retry 2026-11-16 09:04:15,623 - DEBUG - Response for deleting network () 2026-11-16 09:04:15,623 - INFO - Deleting VN ctest-vn-91408396 2026-11-16 09:04:15,734 - DEBUG - Response for deleting network () 2026-11-16 09:04:16,004 - DEBUG - No XMPP flaps were noticed during the test
2026-11-16 09:04:16,004 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-11-16 09:04:16,004 - INFO - -------------------------------------------------------------------------------- 2026-11-16 09:04:16,755 - INFO - Deleted project: ctest-TestRoutersBasic-23977677, ID : 0c76c6cf-2e99-483f-82fc-23db82ce8746