2026-06-08 06:19:29,696 - INFO - Domain Default found not creating 2026-06-08 06:19:29,881 - INFO - Project ctest-TestRoutersBasic-26325208 not found, creating it 2026-06-08 06:19:30,572 - INFO - Created Project:ctest-TestRoutersBasic-26325208, ID : 6d398d1a-1f2f-4301-a98f-56b69bc2ce73 2026-06-08 06:19:32,077 - INFO - ================================================================================ 2026-06-08 06:19:32,077 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-08 06:19:32,077 - 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-06-08 06:19:33,336 - WARNING - Test is running with cores: {'10.0.0.38': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-1.1780898019'], '10.0.0.33': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-3.1780898019']} 2026-06-08 06:19:33,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-06-08 06:19:33,350 - INFO - Initial checks done. Running the testcase now 2026-06-08 06:19:33,350 - INFO - 2026-06-08 06:19:34,096 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26325208 2026-06-08 06:19:34,165 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26325208 2026-06-08 06:19:34,504 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26325208', 'default']} 2026-06-08 06:19:34,952 - DEBUG - Response for create_network : {'network': {'id': 'd1066bfc-0fce-481a-9412-58a0251f5524', 'name': 'ctest-vn-44872434', 'tenant_id': '6d398d1a1f2f4301a98f56b69bc2ce73', 'project_id': '6d398d1a1f2f4301a98f56b69bc2ce73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26325208', 'ctest-vn-44872434'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 06:19:35,260 - DEBUG - Response for create_subnet : {'subnet': {'id': '31342ce8-8ff8-49ec-bd9d-ab0cc201e61e', 'name': '', 'tenant_id': '6d398d1a1f2f4301a98f56b69bc2ce73', 'network_id': 'd1066bfc-0fce-481a-9412-58a0251f5524', 'ip_version': 4, 'cidr': '173.115.176.0/26', 'allocation_pools': [{'start': '173.115.176.2', 'end': '173.115.176.62'}], 'gateway_ip': '173.115.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.115.176.2', 'tags': [], 'project_id': '6d398d1a1f2f4301a98f56b69bc2ce73'}} 2026-06-08 06:19:35,283 - INFO - Created VN ctest-vn-44872434 2026-06-08 06:19:35,296 - DEBUG - VN ctest-vn-44872434 UUID is d1066bfc-0fce-481a-9412-58a0251f5524 2026-06-08 06:19:35,770 - DEBUG - Response for create_network : {'network': {'id': 'a9cd6575-e6ea-4dd8-91e3-d68c2a80a4c8', 'name': 'ctest-ext_vn-63076084', 'tenant_id': '6d398d1a1f2f4301a98f56b69bc2ce73', 'project_id': '6d398d1a1f2f4301a98f56b69bc2ce73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26325208', 'ctest-ext_vn-63076084'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 06:19:36,083 - DEBUG - Response for create_subnet : {'subnet': {'id': '710538fd-7a9d-486d-8423-31a49f6a6ef8', 'name': '', 'tenant_id': '6d398d1a1f2f4301a98f56b69bc2ce73', 'network_id': 'a9cd6575-e6ea-4dd8-91e3-d68c2a80a4c8', 'ip_version': 4, 'cidr': '77.15.15.64/26', 'allocation_pools': [{'start': '77.15.15.66', 'end': '77.15.15.126'}], 'gateway_ip': '77.15.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.15.15.66', 'tags': [], 'project_id': '6d398d1a1f2f4301a98f56b69bc2ce73'}} 2026-06-08 06:19:36,110 - INFO - Created VN ctest-ext_vn-63076084 2026-06-08 06:19:36,127 - DEBUG - VN ctest-ext_vn-63076084 UUID is a9cd6575-e6ea-4dd8-91e3-d68c2a80a4c8 2026-06-08 06:19:36,273 - DEBUG - Services list from nova: [, , , ] 2026-06-08 06:19:37,320 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5902-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5902-2) 2026-06-08 06:19:38,703 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5902-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5902-1) 2026-06-08 06:19:38,842 - INFO - Setting gateway for router 17c13b3f-3b1d-4092-b1bf-33815edcdf50 to network a9cd6575-e6ea-4dd8-91e3-d68c2a80a4c8 2026-06-08 06:19:38,961 - INFO - Adding interface with subnet_id 31342ce8-8ff8-49ec-bd9d-ab0cc201e61e, port_id None to router 17c13b3f-3b1d-4092-b1bf-33815edcdf50 2026-06-08 06:19:39,531 - INFO - Waiting for VM ctest-TestRoutersBasic-26325208-16900523 to be up.. 2026-06-08 06:19:39,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-08 06:19:44,854 - DEBUG - VM is in ACTIVE state now 2026-06-08 06:19:44,855 - INFO - VM name : ctest-TestRoutersBasic-26325208-16900523 2026-06-08 06:19:44,957 - DEBUG - VM ctest-TestRoutersBasic-26325208-16900523 ID is 0fadf5d0-ab73-4f08-a32d-846afd3b5a66 2026-06-08 06:19:44,991 - DEBUG - VM ctest-TestRoutersBasic-26325208-16900523 launched on Node an-jenkins-deploy-platform-ansible-os-5902-2 2026-06-08 06:19:45,083 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0fadf5d0-ab73-4f08-a32d-846afd3b5a66 2026-06-08 06:19:45,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0fadf5d0-ab73-4f08-a32d-846afd3b5a66 2026-06-08 06:19:45,429 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4017d918-08e2-49ae-8a2c-edd19815793c 2026-06-08 06:19:48,607 - 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 1007ms') 2026-06-08 06:19:48,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26325208-16900523 failed! 2026-06-08 06:19:48,624 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26325208:ctest-vn-44872434 is 173.115.176.1 and allocation pool is NOT set 2026-06-08 06:19:50,685 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.470/1.903/3.336/1.433 ms') 2026-06-08 06:19:50,685 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26325208-16900523 passed 2026-06-08 06:19:50,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:19:50,759 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26325208-16900523, IP 173.115.176.3, Port 22 2026-06-08 06:19:50,920 - DEBUG - VM ctest-TestRoutersBasic-26325208-16900523 is ready for SSH connections 2026-06-08 06:19:50,921 - INFO - Waiting for VM ctest-TestRoutersBasic-26325208-73912920 to be up.. 2026-06-08 06:19:51,016 - DEBUG - VM is in ACTIVE state now 2026-06-08 06:19:51,016 - INFO - VM name : ctest-TestRoutersBasic-26325208-73912920 2026-06-08 06:19:51,102 - DEBUG - VM ctest-TestRoutersBasic-26325208-73912920 ID is e1ed728e-9d6f-4ce1-bf5d-48226d3a0658 2026-06-08 06:19:51,103 - DEBUG - VM ctest-TestRoutersBasic-26325208-73912920 launched on Node an-jenkins-deploy-platform-ansible-os-5902-1 2026-06-08 06:19:51,188 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e1ed728e-9d6f-4ce1-bf5d-48226d3a0658 2026-06-08 06:19:51,198 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e5f3ad5a-454d-4d04-93c7-23838d09eb97 2026-06-08 06:19:52,373 - 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=5.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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 = 1.716/3.615/5.514/1.899 ms') 2026-06-08 06:19:52,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26325208-73912920 passed 2026-06-08 06:19:52,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:19:52,441 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26325208-73912920, IP 77.15.15.67, Port 22 2026-06-08 06:19:52,599 - DEBUG - VM ctest-TestRoutersBasic-26325208-73912920 is ready for SSH connections 2026-06-08 06:19:52,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:19:52,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.15.15.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-08 06:19:52,599 - DEBUG - ping -s 56 -c 3 -W 1 77.15.15.67 2026-06-08 06:19:56,268 - DEBUG - PING 77.15.15.67 (77.15.15.67): 56 data bytes 64 bytes from 77.15.15.67: seq=0 ttl=62 time=8.650 ms 64 bytes from 77.15.15.67: seq=1 ttl=62 time=1.531 ms 64 bytes from 77.15.15.67: seq=2 ttl=62 time=1.907 ms --- 77.15.15.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.531/4.029/8.650 ms 2026-06-08 06:19:56,268 - INFO - Ping to IP 77.15.15.67 from VM ctest-TestRoutersBasic-26325208-16900523 passed 2026-06-08 06:19:56,268 - INFO - Deleting interface with subnet_id 31342ce8-8ff8-49ec-bd9d-ab0cc201e61e, port_id None from router 17c13b3f-3b1d-4092-b1bf-33815edcdf50 2026-06-08 06:19:56,730 - INFO - Deleting VM ctest-TestRoutersBasic-26325208-73912920 2026-06-08 06:19:56,821 - INFO - Deleting VM ctest-TestRoutersBasic-26325208-16900523 2026-06-08 06:19:56,898 - INFO - Deleting VN ctest-ext_vn-63076084 2026-06-08 06:19:57,055 - DEBUG - VN a9cd6575-e6ea-4dd8-91e3-d68c2a80a4c8 still in use: Unable to complete operation on network a9cd6575-e6ea-4dd8-91e3-d68c2a80a4c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e5a02c7-b791-4cee-9e26-f83583774f13'] 2026-06-08 06:19:57,055 - WARNING - Deleting VN ctest-ext_vn-63076084 failed..Will retry 2026-06-08 06:19:59,247 - DEBUG - Response for deleting network () 2026-06-08 06:19:59,247 - INFO - Deleting VN ctest-vn-44872434 2026-06-08 06:19:59,449 - DEBUG - Response for deleting network () 2026-06-08 06:20:00,726 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 06:20:00,726 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-06-08 06:20:00,726 - INFO - -------------------------------------------------------------------------------- 2026-06-08 06:20:01,546 - INFO - Deleted project: ctest-TestRoutersBasic-26325208, ID : 6d398d1a-1f2f-4301-a98f-56b69bc2ce73