2026-05-18 02:24:36,738 - INFO - Domain Default found not creating 2026-05-18 02:24:36,934 - INFO - Project ctest-TestRoutersBasic-55328520 not found, creating it 2026-05-18 02:24:37,434 - INFO - Created Project:ctest-TestRoutersBasic-55328520, ID : 090f920b-ef1c-4da1-9203-121ef8c87c19 2026-05-18 02:24:38,981 - INFO - ================================================================================ 2026-05-18 02:24:38,981 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-18 02:24:38,981 - 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-18 02:24:39,241 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2026-05-18 02:24:39,241 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:24:39,241 - INFO - 2026-05-18 02:24:39,984 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55328520 2026-05-18 02:24:40,078 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55328520 2026-05-18 02:24:40,402 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55328520', 'default']} 2026-05-18 02:24:40,716 - DEBUG - Response for create_network : {'network': {'id': 'b0996fd2-d342-4caf-bac8-f77d0d92e0b2', 'name': 'ctest-vn-13951962', 'tenant_id': '090f920bef1c4da19203121ef8c87c19', 'project_id': '090f920bef1c4da19203121ef8c87c19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55328520', 'ctest-vn-13951962'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:24:40,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a2eb0b3-d87a-4db5-b866-892d8610d2fc', 'name': '', 'tenant_id': '090f920bef1c4da19203121ef8c87c19', 'network_id': 'b0996fd2-d342-4caf-bac8-f77d0d92e0b2', 'ip_version': 4, 'cidr': '53.45.23.64/26', 'allocation_pools': [{'start': '53.45.23.66', 'end': '53.45.23.126'}], 'gateway_ip': '53.45.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.45.23.66', 'tags': [], 'project_id': '090f920bef1c4da19203121ef8c87c19'}} 2026-05-18 02:24:40,955 - INFO - Created VN ctest-vn-13951962 2026-05-18 02:24:41,010 - DEBUG - VN ctest-vn-13951962 UUID is b0996fd2-d342-4caf-bac8-f77d0d92e0b2 2026-05-18 02:24:41,323 - DEBUG - Response for create_network : {'network': {'id': 'dae0b2b9-416e-4300-ac6c-0ff1dc4ed5b3', 'name': 'ctest-ext_vn-85547358', 'tenant_id': '090f920bef1c4da19203121ef8c87c19', 'project_id': '090f920bef1c4da19203121ef8c87c19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55328520', 'ctest-ext_vn-85547358'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:24:41,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bcb82f0-2200-44bc-a190-7daa874ea0ba', 'name': '', 'tenant_id': '090f920bef1c4da19203121ef8c87c19', 'network_id': 'dae0b2b9-416e-4300-ac6c-0ff1dc4ed5b3', 'ip_version': 4, 'cidr': '145.126.47.128/26', 'allocation_pools': [{'start': '145.126.47.130', 'end': '145.126.47.190'}], 'gateway_ip': '145.126.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.126.47.130', 'tags': [], 'project_id': '090f920bef1c4da19203121ef8c87c19'}} 2026-05-18 02:24:41,503 - INFO - Created VN ctest-ext_vn-85547358 2026-05-18 02:24:41,554 - DEBUG - VN ctest-ext_vn-85547358 UUID is dae0b2b9-416e-4300-ac6c-0ff1dc4ed5b3 2026-05-18 02:24:41,753 - DEBUG - Services list from nova: [, , ] 2026-05-18 02:24:42,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5793-1) 2026-05-18 02:24:44,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5793-1) 2026-05-18 02:24:44,195 - INFO - Setting gateway for router 36246c83-62c2-4566-a890-cef941504f60 to network dae0b2b9-416e-4300-ac6c-0ff1dc4ed5b3 2026-05-18 02:24:44,254 - INFO - Adding interface with subnet_id 0a2eb0b3-d87a-4db5-b866-892d8610d2fc, port_id None to router 36246c83-62c2-4566-a890-cef941504f60 2026-05-18 02:24:44,596 - INFO - Waiting for VM ctest-TestRoutersBasic-55328520-99892471 to be up.. 2026-05-18 02:24:44,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:24:49,955 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:24:49,955 - INFO - VM name : ctest-TestRoutersBasic-55328520-99892471 2026-05-18 02:24:50,040 - DEBUG - VM ctest-TestRoutersBasic-55328520-99892471 ID is 051ca1df-422c-4dcf-bdcc-b8ea1895fab3 2026-05-18 02:24:50,064 - DEBUG - VM ctest-TestRoutersBasic-55328520-99892471 launched on Node cn-jenkins-deploy-platform-ansible-os-5793-1 2026-05-18 02:24:50,149 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/051ca1df-422c-4dcf-bdcc-b8ea1895fab3 2026-05-18 02:24:50,467 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/051ca1df-422c-4dcf-bdcc-b8ea1895fab3 2026-05-18 02:24:50,502 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d29d263f-bc24-4368-8777-b68e8e667232 2026-05-18 02:24:53,780 - 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 1025ms') 2026-05-18 02:24:53,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55328520-99892471 failed! 2026-05-18 02:24:53,834 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55328520:ctest-vn-13951962 is 53.45.23.65 and allocation pool is NOT set 2026-05-18 02:24:55,900 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 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.807/3.113/4.419/1.306 ms') 2026-05-18 02:24:55,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55328520-99892471 passed 2026-05-18 02:24:56,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:24:56,054 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55328520-99892471, IP 53.45.23.67, Port 22 2026-05-18 02:24:56,214 - DEBUG - VM ctest-TestRoutersBasic-55328520-99892471 is ready for SSH connections 2026-05-18 02:24:56,214 - INFO - Waiting for VM ctest-TestRoutersBasic-55328520-23481674 to be up.. 2026-05-18 02:24:56,302 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:24:56,302 - INFO - VM name : ctest-TestRoutersBasic-55328520-23481674 2026-05-18 02:24:56,380 - DEBUG - VM ctest-TestRoutersBasic-55328520-23481674 ID is 921ba71a-f291-4aa5-a723-99e608dd5eb8 2026-05-18 02:24:56,380 - DEBUG - VM ctest-TestRoutersBasic-55328520-23481674 launched on Node cn-jenkins-deploy-platform-ansible-os-5793-1 2026-05-18 02:24:56,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/921ba71a-f291-4aa5-a723-99e608dd5eb8 2026-05-18 02:24:56,473 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c072118e-dec2-4882-b8c8-31b60ba23988 2026-05-18 02:24:57,712 - 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=4.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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.831/3.138/4.445/1.307 ms') 2026-05-18 02:24:57,712 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55328520-23481674 passed 2026-05-18 02:24:57,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:24:57,867 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55328520-23481674, IP 145.126.47.131, Port 22 2026-05-18 02:24:58,039 - DEBUG - VM ctest-TestRoutersBasic-55328520-23481674 is ready for SSH connections 2026-05-18 02:24:58,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:24:58,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.126.47.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-18 02:24:58,039 - DEBUG - ping -s 56 -c 3 -W 1 145.126.47.131 2026-05-18 02:25:01,883 - DEBUG - PING 145.126.47.131 (145.126.47.131): 56 data bytes 64 bytes from 145.126.47.131: seq=0 ttl=62 time=5.762 ms 64 bytes from 145.126.47.131: seq=1 ttl=62 time=1.172 ms 64 bytes from 145.126.47.131: seq=2 ttl=62 time=1.033 ms --- 145.126.47.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.033/2.655/5.762 ms 2026-05-18 02:25:01,883 - INFO - Ping to IP 145.126.47.131 from VM ctest-TestRoutersBasic-55328520-99892471 passed 2026-05-18 02:25:01,883 - INFO - Deleting interface with subnet_id 0a2eb0b3-d87a-4db5-b866-892d8610d2fc, port_id None from router 36246c83-62c2-4566-a890-cef941504f60 2026-05-18 02:25:02,094 - INFO - Deleting VM ctest-TestRoutersBasic-55328520-23481674 2026-05-18 02:25:02,173 - INFO - Deleting VM ctest-TestRoutersBasic-55328520-99892471 2026-05-18 02:25:02,263 - INFO - Deleting VN ctest-ext_vn-85547358 2026-05-18 02:25:02,338 - DEBUG - VN dae0b2b9-416e-4300-ac6c-0ff1dc4ed5b3 still in use: Unable to complete operation on network dae0b2b9-416e-4300-ac6c-0ff1dc4ed5b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-172c4002-e29c-44bb-84ce-1dd3120c1d54'] 2026-05-18 02:25:02,338 - WARNING - Deleting VN ctest-ext_vn-85547358 failed..Will retry 2026-05-18 02:25:04,449 - DEBUG - Response for deleting network () 2026-05-18 02:25:04,449 - INFO - Deleting VN ctest-vn-13951962 2026-05-18 02:25:04,566 - DEBUG - Response for deleting network () 2026-05-18 02:25:04,819 - DEBUG - No XMPP flaps were noticed during the test 2026-05-18 02:25:04,819 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-18 02:25:04,819 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:25:05,526 - INFO - Deleted project: ctest-TestRoutersBasic-55328520, ID : 090f920b-ef1c-4da1-9203-121ef8c87c19