2026-05-14 02:22:34,003 - INFO - Domain Default found not creating 2026-05-14 02:22:34,166 - INFO - Project ctest-TestRoutersBasic-88203566 not found, creating it 2026-05-14 02:22:34,602 - INFO - Created Project:ctest-TestRoutersBasic-88203566, ID : 32993bc9-06c9-4447-9919-143ccd22366f 2026-05-14 02:22:36,037 - INFO - ================================================================================ 2026-05-14 02:22:36,038 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-14 02:22:36,038 - 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-05-14 02:22:36,290 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-05-14 02:22:36,290 - INFO - Initial checks done. Running the testcase now 2026-05-14 02:22:36,290 - INFO - 2026-05-14 02:22:36,995 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88203566 2026-05-14 02:22:37,093 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88203566 2026-05-14 02:22:37,405 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88203566', 'default']} 2026-05-14 02:22:37,687 - DEBUG - Response for create_network : {'network': {'id': '6ef3510b-f47c-49ff-9d91-8fec9b268f58', 'name': 'ctest-vn-87022787', 'tenant_id': '32993bc906c944479919143ccd22366f', 'project_id': '32993bc906c944479919143ccd22366f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88203566', 'ctest-vn-87022787'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:22:37,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ef38e7c-1f9a-4d41-a002-a3d88433f57a', 'name': '', 'tenant_id': '32993bc906c944479919143ccd22366f', 'network_id': '6ef3510b-f47c-49ff-9d91-8fec9b268f58', 'ip_version': 4, 'cidr': '41.254.203.192/26', 'allocation_pools': [{'start': '41.254.203.194', 'end': '41.254.203.254'}], 'gateway_ip': '41.254.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.254.203.194', 'tags': [], 'project_id': '32993bc906c944479919143ccd22366f'}} 2026-05-14 02:22:37,920 - INFO - Created VN ctest-vn-87022787 2026-05-14 02:22:37,969 - DEBUG - VN ctest-vn-87022787 UUID is 6ef3510b-f47c-49ff-9d91-8fec9b268f58 2026-05-14 02:22:38,303 - DEBUG - Response for create_network : {'network': {'id': '55fba519-9687-46c5-a3c4-7f7a0474b570', 'name': 'ctest-ext_vn-22181803', 'tenant_id': '32993bc906c944479919143ccd22366f', 'project_id': '32993bc906c944479919143ccd22366f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88203566', 'ctest-ext_vn-22181803'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:22:38,466 - DEBUG - Response for create_subnet : {'subnet': {'id': '90d5f3f1-18ba-4814-8484-db9391f18fd8', 'name': '', 'tenant_id': '32993bc906c944479919143ccd22366f', 'network_id': '55fba519-9687-46c5-a3c4-7f7a0474b570', 'ip_version': 4, 'cidr': '220.154.26.192/26', 'allocation_pools': [{'start': '220.154.26.194', 'end': '220.154.26.254'}], 'gateway_ip': '220.154.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.154.26.194', 'tags': [], 'project_id': '32993bc906c944479919143ccd22366f'}} 2026-05-14 02:22:38,481 - INFO - Created VN ctest-ext_vn-22181803 2026-05-14 02:22:38,533 - DEBUG - VN ctest-ext_vn-22181803 UUID is 55fba519-9687-46c5-a3c4-7f7a0474b570 2026-05-14 02:22:38,728 - DEBUG - Services list from nova: [, , ] 2026-05-14 02:22:39,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5777-1) 2026-05-14 02:22:40,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5777-1) 2026-05-14 02:22:40,835 - INFO - Setting gateway for router 95223e94-d5c9-458d-83e8-e71604769d92 to network 55fba519-9687-46c5-a3c4-7f7a0474b570 2026-05-14 02:22:40,885 - INFO - Adding interface with subnet_id 8ef38e7c-1f9a-4d41-a002-a3d88433f57a, port_id None to router 95223e94-d5c9-458d-83e8-e71604769d92 2026-05-14 02:22:41,209 - INFO - Waiting for VM ctest-TestRoutersBasic-88203566-84894234 to be up.. 2026-05-14 02:22:41,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 02:22:46,423 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:22:46,423 - INFO - VM name : ctest-TestRoutersBasic-88203566-84894234 2026-05-14 02:22:46,497 - DEBUG - VM ctest-TestRoutersBasic-88203566-84894234 ID is 53bf43c6-9b7d-423d-9ac7-e41b62d5d1d9 2026-05-14 02:22:46,516 - DEBUG - VM ctest-TestRoutersBasic-88203566-84894234 launched on Node cn-jenkins-deploy-platform-ansible-os-5777-1 2026-05-14 02:22:46,587 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/53bf43c6-9b7d-423d-9ac7-e41b62d5d1d9 2026-05-14 02:22:46,883 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/53bf43c6-9b7d-423d-9ac7-e41b62d5d1d9 2026-05-14 02:22:46,917 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cfae49f6-b5f8-417a-9593-cfcd3b202b9b 2026-05-14 02:22:50,153 - 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 1008ms') 2026-05-14 02:22:50,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88203566-84894234 failed! 2026-05-14 02:22:50,205 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88203566:ctest-vn-87022787 is 41.254.203.193 and allocation pool is NOT set 2026-05-14 02:22:52,261 - 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=3.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.756 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.756/2.301/3.846/1.545 ms') 2026-05-14 02:22:52,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88203566-84894234 passed 2026-05-14 02:22:52,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:22:52,409 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88203566-84894234, IP 41.254.203.195, Port 22 2026-05-14 02:22:52,569 - DEBUG - VM ctest-TestRoutersBasic-88203566-84894234 is ready for SSH connections 2026-05-14 02:22:52,569 - INFO - Waiting for VM ctest-TestRoutersBasic-88203566-27418015 to be up.. 2026-05-14 02:22:52,637 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:22:52,637 - INFO - VM name : ctest-TestRoutersBasic-88203566-27418015 2026-05-14 02:22:52,700 - DEBUG - VM ctest-TestRoutersBasic-88203566-27418015 ID is a7b4d595-be95-4e43-ab05-89ab50728a29 2026-05-14 02:22:52,700 - DEBUG - VM ctest-TestRoutersBasic-88203566-27418015 launched on Node cn-jenkins-deploy-platform-ansible-os-5777-1 2026-05-14 02:22:52,768 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a7b4d595-be95-4e43-ab05-89ab50728a29 2026-05-14 02:22:52,777 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5736fd88-3a6d-4b8c-aff2-e194ec70f5b0 2026-05-14 02:22:54,004 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/1.574/2.644/1.069 ms') 2026-05-14 02:22:54,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88203566-27418015 passed 2026-05-14 02:22:54,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:22:54,153 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88203566-27418015, IP 220.154.26.195, Port 22 2026-05-14 02:22:54,308 - DEBUG - VM ctest-TestRoutersBasic-88203566-27418015 is ready for SSH connections 2026-05-14 02:22:54,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:22:54,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.154.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-14 02:22:54,309 - DEBUG - ping -s 56 -c 3 -W 1 220.154.26.195 2026-05-14 02:22:58,294 - DEBUG - PING 220.154.26.195 (220.154.26.195): 56 data bytes 64 bytes from 220.154.26.195: seq=0 ttl=62 time=5.521 ms 64 bytes from 220.154.26.195: seq=1 ttl=62 time=0.811 ms 64 bytes from 220.154.26.195: seq=2 ttl=62 time=0.976 ms --- 220.154.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/2.436/5.521 ms 2026-05-14 02:22:58,294 - INFO - Ping to IP 220.154.26.195 from VM ctest-TestRoutersBasic-88203566-84894234 passed 2026-05-14 02:22:58,294 - INFO - Deleting interface with subnet_id 8ef38e7c-1f9a-4d41-a002-a3d88433f57a, port_id None from router 95223e94-d5c9-458d-83e8-e71604769d92 2026-05-14 02:22:58,474 - INFO - Deleting VM ctest-TestRoutersBasic-88203566-27418015 2026-05-14 02:22:58,543 - INFO - Deleting VM ctest-TestRoutersBasic-88203566-84894234 2026-05-14 02:22:58,616 - INFO - Deleting VN ctest-ext_vn-22181803 2026-05-14 02:22:58,674 - DEBUG - VN 55fba519-9687-46c5-a3c4-7f7a0474b570 still in use: Unable to complete operation on network 55fba519-9687-46c5-a3c4-7f7a0474b570. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18563c82-0b3c-4877-b492-49822ec3da77'] 2026-05-14 02:22:58,674 - WARNING - Deleting VN ctest-ext_vn-22181803 failed..Will retry 2026-05-14 02:23:00,770 - DEBUG - Response for deleting network () 2026-05-14 02:23:00,770 - INFO - Deleting VN ctest-vn-87022787 2026-05-14 02:23:00,863 - DEBUG - Response for deleting network () 2026-05-14 02:23:01,118 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 02:23:01,118 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-05-14 02:23:01,118 - INFO - -------------------------------------------------------------------------------- 2026-05-14 02:23:01,801 - INFO - Deleted project: ctest-TestRoutersBasic-88203566, ID : 32993bc9-06c9-4447-9919-143ccd22366f