2026-05-07 02:26:37,120 - INFO - Domain Default found not creating 2026-05-07 02:26:37,354 - INFO - Project ctest-TestRoutersBasic-45955095 not found, creating it 2026-05-07 02:26:37,909 - INFO - Created Project:ctest-TestRoutersBasic-45955095, ID : 4f3f7c3a-24f7-470c-b99d-6e31cdf8704c 2026-05-07 02:26:39,658 - INFO - ================================================================================ 2026-05-07 02:26:39,658 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-07 02:26:39,658 - 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-07 02:26:39,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-05-07 02:26:39,935 - INFO - Initial checks done. Running the testcase now 2026-05-07 02:26:39,935 - INFO - 2026-05-07 02:26:40,736 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45955095 2026-05-07 02:26:40,834 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45955095 2026-05-07 02:26:41,169 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45955095', 'default']} 2026-05-07 02:26:41,529 - DEBUG - Response for create_network : {'network': {'id': 'ca977c8a-7f6d-43ef-8a12-4150341f5aa6', 'name': 'ctest-vn-89981901', 'tenant_id': '4f3f7c3a24f7470cb99d6e31cdf8704c', 'project_id': '4f3f7c3a24f7470cb99d6e31cdf8704c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45955095', 'ctest-vn-89981901'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:26:41,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '96bf8476-ef3f-4c54-82a9-0bb0ad569183', 'name': '', 'tenant_id': '4f3f7c3a24f7470cb99d6e31cdf8704c', 'network_id': 'ca977c8a-7f6d-43ef-8a12-4150341f5aa6', 'ip_version': 4, 'cidr': '220.123.147.64/26', 'allocation_pools': [{'start': '220.123.147.66', 'end': '220.123.147.126'}], 'gateway_ip': '220.123.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.123.147.66', 'tags': [], 'project_id': '4f3f7c3a24f7470cb99d6e31cdf8704c'}} 2026-05-07 02:26:41,741 - INFO - Created VN ctest-vn-89981901 2026-05-07 02:26:41,798 - DEBUG - VN ctest-vn-89981901 UUID is ca977c8a-7f6d-43ef-8a12-4150341f5aa6 2026-05-07 02:26:42,192 - DEBUG - Response for create_network : {'network': {'id': 'd81dc080-7b48-4812-a79d-3de53cfc3b70', 'name': 'ctest-ext_vn-74744337', 'tenant_id': '4f3f7c3a24f7470cb99d6e31cdf8704c', 'project_id': '4f3f7c3a24f7470cb99d6e31cdf8704c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45955095', 'ctest-ext_vn-74744337'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:26:42,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '2eaf241e-5eff-46fb-889a-6920166a189b', 'name': '', 'tenant_id': '4f3f7c3a24f7470cb99d6e31cdf8704c', 'network_id': 'd81dc080-7b48-4812-a79d-3de53cfc3b70', 'ip_version': 4, 'cidr': '173.38.73.192/26', 'allocation_pools': [{'start': '173.38.73.194', 'end': '173.38.73.254'}], 'gateway_ip': '173.38.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.38.73.194', 'tags': [], 'project_id': '4f3f7c3a24f7470cb99d6e31cdf8704c'}} 2026-05-07 02:26:42,451 - INFO - Created VN ctest-ext_vn-74744337 2026-05-07 02:26:42,506 - DEBUG - VN ctest-ext_vn-74744337 UUID is d81dc080-7b48-4812-a79d-3de53cfc3b70 2026-05-07 02:26:42,707 - DEBUG - Services list from nova: [, , ] 2026-05-07 02:26:43,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5753-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5753-1) 2026-05-07 02:26:45,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5753-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5753-1) 2026-05-07 02:26:45,405 - INFO - Setting gateway for router 5cad429b-a901-4791-ad09-a784e04393dd to network d81dc080-7b48-4812-a79d-3de53cfc3b70 2026-05-07 02:26:45,479 - INFO - Adding interface with subnet_id 96bf8476-ef3f-4c54-82a9-0bb0ad569183, port_id None to router 5cad429b-a901-4791-ad09-a784e04393dd 2026-05-07 02:26:45,937 - INFO - Waiting for VM ctest-TestRoutersBasic-45955095-18452592 to be up.. 2026-05-07 02:26:46,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 02:26:51,221 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:26:51,221 - INFO - VM name : ctest-TestRoutersBasic-45955095-18452592 2026-05-07 02:26:51,312 - DEBUG - VM ctest-TestRoutersBasic-45955095-18452592 ID is 6cc25605-c46b-457e-b439-ec39a1288dd4 2026-05-07 02:26:51,337 - DEBUG - VM ctest-TestRoutersBasic-45955095-18452592 launched on Node cn-jenkins-deploy-platform-ansible-os-5753-1 2026-05-07 02:26:51,441 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6cc25605-c46b-457e-b439-ec39a1288dd4 2026-05-07 02:26:51,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6cc25605-c46b-457e-b439-ec39a1288dd4 2026-05-07 02:26:51,798 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d68a73cc-c710-44b2-9201-19645ec0a50b 2026-05-07 02:26:55,055 - 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 1018ms') 2026-05-07 02:26:55,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45955095-18452592 failed! 2026-05-07 02:26:55,110 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45955095:ctest-vn-89981901 is 220.123.147.65 and allocation pool is NOT set 2026-05-07 02:26:57,183 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.19 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 = 3.692/3.939/4.186/0.247 ms') 2026-05-07 02:26:57,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45955095-18452592 passed 2026-05-07 02:26:57,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:26:57,338 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45955095-18452592, IP 220.123.147.67, Port 22 2026-05-07 02:26:57,504 - DEBUG - VM ctest-TestRoutersBasic-45955095-18452592 is ready for SSH connections 2026-05-07 02:26:57,504 - INFO - Waiting for VM ctest-TestRoutersBasic-45955095-44320372 to be up.. 2026-05-07 02:26:57,607 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:26:57,607 - INFO - VM name : ctest-TestRoutersBasic-45955095-44320372 2026-05-07 02:26:57,698 - DEBUG - VM ctest-TestRoutersBasic-45955095-44320372 ID is 6356a4d1-58e8-4d4c-a66d-8c95308ba362 2026-05-07 02:26:57,698 - DEBUG - VM ctest-TestRoutersBasic-45955095-44320372 launched on Node cn-jenkins-deploy-platform-ansible-os-5753-1 2026-05-07 02:26:57,807 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6356a4d1-58e8-4d4c-a66d-8c95308ba362 2026-05-07 02:26:57,817 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/33a539cf-4c35-4faf-89f8-f34cbb3c573f 2026-05-07 02:26:59,068 - 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=3.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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.237/2.565/3.894/1.328 ms') 2026-05-07 02:26:59,069 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45955095-44320372 passed 2026-05-07 02:26:59,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:26:59,230 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45955095-44320372, IP 173.38.73.195, Port 22 2026-05-07 02:26:59,397 - DEBUG - VM ctest-TestRoutersBasic-45955095-44320372 is ready for SSH connections 2026-05-07 02:26:59,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:26:59,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.38.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-07 02:26:59,398 - DEBUG - ping -s 56 -c 3 -W 1 173.38.73.195 2026-05-07 02:27:03,246 - DEBUG - PING 173.38.73.195 (173.38.73.195): 56 data bytes 64 bytes from 173.38.73.195: seq=0 ttl=62 time=4.990 ms 64 bytes from 173.38.73.195: seq=1 ttl=62 time=1.358 ms 64 bytes from 173.38.73.195: seq=2 ttl=62 time=1.216 ms --- 173.38.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.216/2.521/4.990 ms 2026-05-07 02:27:03,247 - INFO - Ping to IP 173.38.73.195 from VM ctest-TestRoutersBasic-45955095-18452592 passed 2026-05-07 02:27:03,247 - INFO - Deleting interface with subnet_id 96bf8476-ef3f-4c54-82a9-0bb0ad569183, port_id None from router 5cad429b-a901-4791-ad09-a784e04393dd 2026-05-07 02:27:03,514 - INFO - Deleting VM ctest-TestRoutersBasic-45955095-44320372 2026-05-07 02:27:03,629 - INFO - Deleting VM ctest-TestRoutersBasic-45955095-18452592 2026-05-07 02:27:03,729 - INFO - Deleting VN ctest-ext_vn-74744337 2026-05-07 02:27:03,830 - DEBUG - VN d81dc080-7b48-4812-a79d-3de53cfc3b70 still in use: Unable to complete operation on network d81dc080-7b48-4812-a79d-3de53cfc3b70. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e74a6fb8-b73b-46a6-a019-6394d86548b7'] 2026-05-07 02:27:03,830 - WARNING - Deleting VN ctest-ext_vn-74744337 failed..Will retry 2026-05-07 02:27:05,959 - DEBUG - Response for deleting network () 2026-05-07 02:27:05,959 - INFO - Deleting VN ctest-vn-89981901 2026-05-07 02:27:06,085 - DEBUG - Response for deleting network () 2026-05-07 02:27:06,364 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 02:27:06,364 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-05-07 02:27:06,364 - INFO - -------------------------------------------------------------------------------- 2026-05-07 02:27:07,153 - INFO - Deleted project: ctest-TestRoutersBasic-45955095, ID : 4f3f7c3a-24f7-470c-b99d-6e31cdf8704c