2026-11-29 23:52:14,429 - INFO - Domain Default found not creating 2026-11-29 23:52:14,588 - INFO - Project ctest-TestRoutersBasic-07826901 not found, creating it 2026-11-29 23:52:15,065 - INFO - Created Project:ctest-TestRoutersBasic-07826901, ID : 329c3c28-9eb3-481b-ab80-2ed57779692a 2026-11-29 23:52:16,761 - INFO - ================================================================================ 2026-11-29 23:52:16,761 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-29 23:52:16,761 - 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-29 23:52:17,021 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-11-29 23:52:17,021 - INFO - Initial checks done. Running the testcase now 2026-11-29 23:52:17,021 - INFO - 2026-11-29 23:52:17,859 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07826901 2026-11-29 23:52:17,955 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07826901 2026-11-29 23:52:18,274 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07826901', 'default']} 2026-11-29 23:52:18,550 - DEBUG - Response for create_network : {'network': {'id': '312eb7c7-1a59-4efe-83ec-b806a0f44713', 'name': 'ctest-vn-79608435', 'tenant_id': '329c3c289eb3481bab802ed57779692a', 'project_id': '329c3c289eb3481bab802ed57779692a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07826901', 'ctest-vn-79608435'], 'port_security_enabled': True, 'description': ''}} 2026-11-29 23:52:18,711 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa3c3863-b485-4bf3-97d5-286fe1e73fd3', 'name': '', 'tenant_id': '329c3c289eb3481bab802ed57779692a', 'network_id': '312eb7c7-1a59-4efe-83ec-b806a0f44713', 'ip_version': 4, 'cidr': '159.111.53.0/26', 'allocation_pools': [{'start': '159.111.53.2', 'end': '159.111.53.62'}], 'gateway_ip': '159.111.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.111.53.2', 'tags': [], 'project_id': '329c3c289eb3481bab802ed57779692a'}} 2026-11-29 23:52:18,728 - INFO - Created VN ctest-vn-79608435 2026-11-29 23:52:18,779 - DEBUG - VN ctest-vn-79608435 UUID is 312eb7c7-1a59-4efe-83ec-b806a0f44713 2026-11-29 23:52:19,086 - DEBUG - Response for create_network : {'network': {'id': '06e807be-e8be-48ac-8381-2a3a1c9ea886', 'name': 'ctest-ext_vn-44184973', 'tenant_id': '329c3c289eb3481bab802ed57779692a', 'project_id': '329c3c289eb3481bab802ed57779692a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07826901', 'ctest-ext_vn-44184973'], 'port_security_enabled': True, 'description': ''}} 2026-11-29 23:52:19,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '49f963f1-81cc-4339-9687-dbdefaa53ae7', 'name': '', 'tenant_id': '329c3c289eb3481bab802ed57779692a', 'network_id': '06e807be-e8be-48ac-8381-2a3a1c9ea886', 'ip_version': 4, 'cidr': '207.254.208.192/26', 'allocation_pools': [{'start': '207.254.208.194', 'end': '207.254.208.254'}], 'gateway_ip': '207.254.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.254.208.194', 'tags': [], 'project_id': '329c3c289eb3481bab802ed57779692a'}} 2026-11-29 23:52:19,285 - INFO - Created VN ctest-ext_vn-44184973 2026-11-29 23:52:19,339 - DEBUG - VN ctest-ext_vn-44184973 UUID is 06e807be-e8be-48ac-8381-2a3a1c9ea886 2026-11-29 23:52:19,505 - DEBUG - Services list from nova: [, , ] 2026-11-29 23:52:19,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6520-1) 2026-11-29 23:52:20,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6520-1) 2026-11-29 23:52:20,282 - INFO - Setting gateway for router bf116f76-1739-4963-aec6-5dcdc24ec32d to network 06e807be-e8be-48ac-8381-2a3a1c9ea886 2026-11-29 23:52:20,343 - INFO - Adding interface with subnet_id aa3c3863-b485-4bf3-97d5-286fe1e73fd3, port_id None to router bf116f76-1739-4963-aec6-5dcdc24ec32d 2026-11-29 23:52:20,616 - INFO - Waiting for VM ctest-TestRoutersBasic-07826901-59883786 to be up.. 2026-11-29 23:52:20,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:25,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:30,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:35,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:41,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:46,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:51,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:52:56,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 23:53:01,391 - DEBUG - VM is in ACTIVE state now 2026-11-29 23:53:01,391 - INFO - VM name : ctest-TestRoutersBasic-07826901-59883786 2026-11-29 23:53:01,463 - DEBUG - VM ctest-TestRoutersBasic-07826901-59883786 ID is ad48489f-a804-4b9d-81b3-21fad38e3563 2026-11-29 23:53:01,482 - DEBUG - VM ctest-TestRoutersBasic-07826901-59883786 launched on Node cn-jenkins-deploy-platform-ansible-os-6520-1 2026-11-29 23:53:01,562 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ad48489f-a804-4b9d-81b3-21fad38e3563 2026-11-29 23:53:01,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ad48489f-a804-4b9d-81b3-21fad38e3563 2026-11-29 23:53:01,992 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ae96de2a-0ec8-484e-bec3-849447b5f535 2026-11-29 23:53:05,233 - 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 1002ms') 2026-11-29 23:53:05,233 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07826901-59883786 failed! 2026-11-29 23:53:05,287 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07826901:ctest-vn-79608435 is 159.111.53.1 and allocation pool is NOT set 2026-11-29 23:53:07,350 - 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=1 ttl=63 time=4.66 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.443/2.549/4.656/2.106 ms') 2026-11-29 23:53:07,351 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07826901-59883786 passed 2026-11-29 23:53:07,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 23:53:07,499 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07826901-59883786, IP 159.111.53.3, Port 22 2026-11-29 23:53:07,658 - DEBUG - VM ctest-TestRoutersBasic-07826901-59883786 is ready for SSH connections 2026-11-29 23:53:07,658 - INFO - Waiting for VM ctest-TestRoutersBasic-07826901-47987993 to be up.. 2026-11-29 23:53:07,745 - DEBUG - VM is in ACTIVE state now 2026-11-29 23:53:07,745 - INFO - VM name : ctest-TestRoutersBasic-07826901-47987993 2026-11-29 23:53:07,845 - DEBUG - VM ctest-TestRoutersBasic-07826901-47987993 ID is e9683aae-ad74-4f0c-a36d-4a82388540b1 2026-11-29 23:53:07,845 - DEBUG - VM ctest-TestRoutersBasic-07826901-47987993 launched on Node cn-jenkins-deploy-platform-ansible-os-6520-1 2026-11-29 23:53:07,949 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9683aae-ad74-4f0c-a36d-4a82388540b1 2026-11-29 23:53:07,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7c6f2405-6151-4b49-956d-c9b1cba440fe 2026-11-29 23:53:09,205 - 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.47 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.417 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.417/1.941/3.465/1.524 ms') 2026-11-29 23:53:09,205 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-07826901-47987993 passed 2026-11-29 23:53:09,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 23:53:09,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07826901-47987993, IP 207.254.208.196, Port 22 2026-11-29 23:53:09,510 - DEBUG - VM ctest-TestRoutersBasic-07826901-47987993 is ready for SSH connections 2026-11-29 23:53:09,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 23:53:09,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.254.208.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-29 23:53:09,510 - DEBUG - ping -s 56 -c 3 -W 1 207.254.208.196 2026-11-29 23:53:12,483 - DEBUG - PING 207.254.208.196 (207.254.208.196): 56 data bytes 64 bytes from 207.254.208.196: seq=0 ttl=62 time=5.134 ms 64 bytes from 207.254.208.196: seq=1 ttl=62 time=0.909 ms 64 bytes from 207.254.208.196: seq=2 ttl=62 time=0.994 ms --- 207.254.208.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/2.345/5.134 ms 2026-11-29 23:53:12,484 - INFO - Ping to IP 207.254.208.196 from VM ctest-TestRoutersBasic-07826901-59883786 passed 2026-11-29 23:53:12,484 - INFO - Deleting interface with subnet_id aa3c3863-b485-4bf3-97d5-286fe1e73fd3, port_id None from router bf116f76-1739-4963-aec6-5dcdc24ec32d 2026-11-29 23:53:12,693 - INFO - Deleting VM ctest-TestRoutersBasic-07826901-47987993 2026-11-29 23:53:12,769 - INFO - Deleting VM ctest-TestRoutersBasic-07826901-59883786 2026-11-29 23:53:12,838 - INFO - Deleting VN ctest-ext_vn-44184973 2026-11-29 23:53:12,889 - DEBUG - VN 06e807be-e8be-48ac-8381-2a3a1c9ea886 still in use: Unable to complete operation on network 06e807be-e8be-48ac-8381-2a3a1c9ea886. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39dc574b-be01-4709-84d1-bbdc14e38961'] 2026-11-29 23:53:12,890 - WARNING - Deleting VN ctest-ext_vn-44184973 failed..Will retry 2026-11-29 23:53:14,926 - DEBUG - VN 06e807be-e8be-48ac-8381-2a3a1c9ea886 still in use: Unable to complete operation on network 06e807be-e8be-48ac-8381-2a3a1c9ea886. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eefbc0e1-0d70-4399-90fc-14c339d831a6'] 2026-11-29 23:53:14,926 - WARNING - Deleting VN ctest-ext_vn-44184973 failed..Will retry 2026-11-29 23:53:17,024 - DEBUG - Response for deleting network () 2026-11-29 23:53:17,025 - INFO - Deleting VN ctest-vn-79608435 2026-11-29 23:53:17,144 - DEBUG - Response for deleting network () 2026-11-29 23:53:17,411 - DEBUG - No XMPP flaps were noticed during the test 2026-11-29 23:53:17,411 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01] 2026-11-29 23:53:17,411 - INFO - -------------------------------------------------------------------------------- 2026-11-29 23:53:18,194 - INFO - Deleted project: ctest-TestRoutersBasic-07826901, ID : 329c3c28-9eb3-481b-ab80-2ed57779692a