2026-04-30 08:48:46,536 - INFO - Domain Default found not creating 2026-04-30 08:48:46,709 - INFO - Project ctest-TestRoutersBasic-79706102 not found, creating it 2026-04-30 08:48:47,161 - INFO - Created Project:ctest-TestRoutersBasic-79706102, ID : 759a5732-be08-4213-bab2-fe925fd5afcf 2026-04-30 08:48:48,642 - INFO - ================================================================================ 2026-04-30 08:48:48,642 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-30 08:48:48,642 - 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-04-30 08:48:48,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-04-30 08:48:48,899 - INFO - Initial checks done. Running the testcase now 2026-04-30 08:48:48,899 - INFO - 2026-04-30 08:48:49,613 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79706102 2026-04-30 08:48:49,711 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79706102 2026-04-30 08:48:50,034 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79706102', 'default']} 2026-04-30 08:48:50,343 - DEBUG - Response for create_network : {'network': {'id': 'ebc6bdcd-964a-4695-9091-65c205363537', 'name': 'ctest-vn-41849117', 'tenant_id': '759a5732be084213bab2fe925fd5afcf', 'project_id': '759a5732be084213bab2fe925fd5afcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79706102', 'ctest-vn-41849117'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 08:48:50,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8238eff-0631-40d5-9318-f17796233449', 'name': '', 'tenant_id': '759a5732be084213bab2fe925fd5afcf', 'network_id': 'ebc6bdcd-964a-4695-9091-65c205363537', 'ip_version': 4, 'cidr': '195.83.95.64/26', 'allocation_pools': [{'start': '195.83.95.66', 'end': '195.83.95.126'}], 'gateway_ip': '195.83.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.83.95.66', 'tags': [], 'project_id': '759a5732be084213bab2fe925fd5afcf'}} 2026-04-30 08:48:50,550 - INFO - Created VN ctest-vn-41849117 2026-04-30 08:48:50,606 - DEBUG - VN ctest-vn-41849117 UUID is ebc6bdcd-964a-4695-9091-65c205363537 2026-04-30 08:48:50,970 - DEBUG - Response for create_network : {'network': {'id': '86bd1ec3-1aaa-42b8-acec-0f9535a1781a', 'name': 'ctest-ext_vn-95382970', 'tenant_id': '759a5732be084213bab2fe925fd5afcf', 'project_id': '759a5732be084213bab2fe925fd5afcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79706102', 'ctest-ext_vn-95382970'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 08:48:51,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bac4462-c69f-4676-ba7f-d64306356cdc', 'name': '', 'tenant_id': '759a5732be084213bab2fe925fd5afcf', 'network_id': '86bd1ec3-1aaa-42b8-acec-0f9535a1781a', 'ip_version': 4, 'cidr': '113.251.117.128/26', 'allocation_pools': [{'start': '113.251.117.130', 'end': '113.251.117.190'}], 'gateway_ip': '113.251.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.251.117.130', 'tags': [], 'project_id': '759a5732be084213bab2fe925fd5afcf'}} 2026-04-30 08:48:51,208 - INFO - Created VN ctest-ext_vn-95382970 2026-04-30 08:48:51,258 - DEBUG - VN ctest-ext_vn-95382970 UUID is 86bd1ec3-1aaa-42b8-acec-0f9535a1781a 2026-04-30 08:48:51,459 - DEBUG - Services list from nova: [, , ] 2026-04-30 08:48:52,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5729-1) 2026-04-30 08:48:53,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5729-1) 2026-04-30 08:48:53,635 - INFO - Setting gateway for router 5dc479ca-7f33-45e1-b8bd-06a4d8403b53 to network 86bd1ec3-1aaa-42b8-acec-0f9535a1781a 2026-04-30 08:48:53,685 - INFO - Adding interface with subnet_id e8238eff-0631-40d5-9318-f17796233449, port_id None to router 5dc479ca-7f33-45e1-b8bd-06a4d8403b53 2026-04-30 08:48:54,035 - INFO - Waiting for VM ctest-TestRoutersBasic-79706102-44820166 to be up.. 2026-04-30 08:48:54,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 08:48:59,274 - DEBUG - VM is in ACTIVE state now 2026-04-30 08:48:59,274 - INFO - VM name : ctest-TestRoutersBasic-79706102-44820166 2026-04-30 08:48:59,345 - DEBUG - VM ctest-TestRoutersBasic-79706102-44820166 ID is 896537bf-dbf8-4d46-a4d5-39896709af57 2026-04-30 08:48:59,363 - DEBUG - VM ctest-TestRoutersBasic-79706102-44820166 launched on Node cn-jenkins-deploy-platform-ansible-os-5729-1 2026-04-30 08:48:59,434 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/896537bf-dbf8-4d46-a4d5-39896709af57 2026-04-30 08:48:59,726 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/896537bf-dbf8-4d46-a4d5-39896709af57 2026-04-30 08:48:59,758 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/dce28e79-4c34-4bdd-b670-2a67529392bd 2026-04-30 08:49:03,013 - 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 1013ms') 2026-04-30 08:49:03,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79706102-44820166 failed! 2026-04-30 08:49:03,066 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79706102:ctest-vn-41849117 is 195.83.95.65 and allocation pool is NOT set 2026-04-30 08:49:05,126 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/2.182/3.961/1.778 ms') 2026-04-30 08:49:05,126 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79706102-44820166 passed 2026-04-30 08:49:05,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:05,275 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79706102-44820166, IP 195.83.95.67, Port 22 2026-04-30 08:49:05,430 - DEBUG - VM ctest-TestRoutersBasic-79706102-44820166 is ready for SSH connections 2026-04-30 08:49:05,431 - INFO - Waiting for VM ctest-TestRoutersBasic-79706102-65630660 to be up.. 2026-04-30 08:49:05,502 - DEBUG - VM is in ACTIVE state now 2026-04-30 08:49:05,502 - INFO - VM name : ctest-TestRoutersBasic-79706102-65630660 2026-04-30 08:49:05,573 - DEBUG - VM ctest-TestRoutersBasic-79706102-65630660 ID is 1499b893-58ac-4941-8f06-82f79599fd93 2026-04-30 08:49:05,573 - DEBUG - VM ctest-TestRoutersBasic-79706102-65630660 launched on Node cn-jenkins-deploy-platform-ansible-os-5729-1 2026-04-30 08:49:05,639 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1499b893-58ac-4941-8f06-82f79599fd93 2026-04-30 08:49:05,646 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/680b400b-e9da-4fe9-a4ca-5e7d1cd8efe0 2026-04-30 08:49:06,873 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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 = 0.454/2.000/3.547/1.546 ms') 2026-04-30 08:49:06,874 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79706102-65630660 passed 2026-04-30 08:49:07,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:07,027 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79706102-65630660, IP 113.251.117.131, Port 22 2026-04-30 08:49:07,182 - DEBUG - VM ctest-TestRoutersBasic-79706102-65630660 is ready for SSH connections 2026-04-30 08:49:07,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:07,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.251.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-30 08:49:07,183 - DEBUG - ping -s 56 -c 3 -W 1 113.251.117.131 2026-04-30 08:49:11,163 - DEBUG - PING 113.251.117.131 (113.251.117.131): 56 data bytes 64 bytes from 113.251.117.131: seq=0 ttl=62 time=4.102 ms 64 bytes from 113.251.117.131: seq=1 ttl=62 time=0.866 ms 64 bytes from 113.251.117.131: seq=2 ttl=62 time=0.948 ms --- 113.251.117.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.972/4.102 ms 2026-04-30 08:49:11,163 - INFO - Ping to IP 113.251.117.131 from VM ctest-TestRoutersBasic-79706102-44820166 passed 2026-04-30 08:49:11,163 - INFO - Deleting interface with subnet_id e8238eff-0631-40d5-9318-f17796233449, port_id None from router 5dc479ca-7f33-45e1-b8bd-06a4d8403b53 2026-04-30 08:49:11,362 - INFO - Deleting VM ctest-TestRoutersBasic-79706102-65630660 2026-04-30 08:49:11,448 - INFO - Deleting VM ctest-TestRoutersBasic-79706102-44820166 2026-04-30 08:49:11,528 - INFO - Deleting VN ctest-ext_vn-95382970 2026-04-30 08:49:11,600 - DEBUG - VN 86bd1ec3-1aaa-42b8-acec-0f9535a1781a still in use: Unable to complete operation on network 86bd1ec3-1aaa-42b8-acec-0f9535a1781a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2be973cf-0bc7-4263-af6e-463d0a6ffd13'] 2026-04-30 08:49:11,601 - WARNING - Deleting VN ctest-ext_vn-95382970 failed..Will retry 2026-04-30 08:49:13,698 - DEBUG - Response for deleting network () 2026-04-30 08:49:13,698 - INFO - Deleting VN ctest-vn-41849117 2026-04-30 08:49:13,803 - DEBUG - Response for deleting network () 2026-04-30 08:49:14,056 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 08:49:14,056 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-30 08:49:14,056 - INFO - -------------------------------------------------------------------------------- 2026-04-30 08:49:14,742 - INFO - Deleted project: ctest-TestRoutersBasic-79706102, ID : 759a5732-be08-4213-bab2-fe925fd5afcf