2026-11-06 11:48:06,287 - INFO - Domain Default found not creating 2026-11-06 11:48:06,476 - INFO - Project ctest-TestRoutersBasic-93419655 not found, creating it 2026-11-06 11:48:06,957 - INFO - Created Project:ctest-TestRoutersBasic-93419655, ID : 9347308e-f250-4ece-8fc0-f9ba199e8286 2026-11-06 11:48:08,714 - INFO - ================================================================================ 2026-11-06 11:48:08,714 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-06 11:48:08,714 - 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-06 11:48:08,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-06 11:48:08,971 - INFO - Initial checks done. Running the testcase now 2026-11-06 11:48:08,971 - INFO - 2026-11-06 11:48:09,844 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93419655 2026-11-06 11:48:09,941 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93419655 2026-11-06 11:48:10,269 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93419655', 'default']} 2026-11-06 11:48:10,563 - DEBUG - Response for create_network : {'network': {'id': '439d92fd-84b7-498c-b153-6691b0f45db9', 'name': 'ctest-vn-85159399', 'tenant_id': '9347308ef2504ece8fc0f9ba199e8286', 'project_id': '9347308ef2504ece8fc0f9ba199e8286', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93419655', 'ctest-vn-85159399'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 11:48:10,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff9bb69c-3478-41b3-9d87-1e28c798c222', 'name': '', 'tenant_id': '9347308ef2504ece8fc0f9ba199e8286', 'network_id': '439d92fd-84b7-498c-b153-6691b0f45db9', 'ip_version': 4, 'cidr': '202.69.187.192/26', 'allocation_pools': [{'start': '202.69.187.194', 'end': '202.69.187.254'}], 'gateway_ip': '202.69.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.69.187.194', 'tags': [], 'project_id': '9347308ef2504ece8fc0f9ba199e8286'}} 2026-11-06 11:48:10,817 - INFO - Created VN ctest-vn-85159399 2026-11-06 11:48:10,873 - DEBUG - VN ctest-vn-85159399 UUID is 439d92fd-84b7-498c-b153-6691b0f45db9 2026-11-06 11:48:11,259 - DEBUG - Response for create_network : {'network': {'id': '8dbabf39-9b97-4941-9833-2938af87926a', 'name': 'ctest-ext_vn-14193081', 'tenant_id': '9347308ef2504ece8fc0f9ba199e8286', 'project_id': '9347308ef2504ece8fc0f9ba199e8286', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93419655', 'ctest-ext_vn-14193081'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 11:48:11,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ae8c492-62fc-45f5-a058-9b3347cc7102', 'name': '', 'tenant_id': '9347308ef2504ece8fc0f9ba199e8286', 'network_id': '8dbabf39-9b97-4941-9833-2938af87926a', 'ip_version': 4, 'cidr': '80.189.8.192/26', 'allocation_pools': [{'start': '80.189.8.194', 'end': '80.189.8.254'}], 'gateway_ip': '80.189.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.189.8.194', 'tags': [], 'project_id': '9347308ef2504ece8fc0f9ba199e8286'}} 2026-11-06 11:48:11,497 - INFO - Created VN ctest-ext_vn-14193081 2026-11-06 11:48:11,549 - DEBUG - VN ctest-ext_vn-14193081 UUID is 8dbabf39-9b97-4941-9833-2938af87926a 2026-11-06 11:48:11,761 - DEBUG - Services list from nova: [, , ] 2026-11-06 11:48:12,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6488-1) 2026-11-06 11:48:12,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6488-1) 2026-11-06 11:48:12,587 - INFO - Setting gateway for router 17179865-49e9-4595-97a1-89f1dfe1b757 to network 8dbabf39-9b97-4941-9833-2938af87926a 2026-11-06 11:48:12,670 - INFO - Adding interface with subnet_id ff9bb69c-3478-41b3-9d87-1e28c798c222, port_id None to router 17179865-49e9-4595-97a1-89f1dfe1b757 2026-11-06 11:48:12,975 - INFO - Waiting for VM ctest-TestRoutersBasic-93419655-49771927 to be up.. 2026-11-06 11:48:13,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:18,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:23,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:28,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:33,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:38,612 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:43,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:48,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 11:48:53,857 - DEBUG - VM is in ACTIVE state now 2026-11-06 11:48:53,857 - INFO - VM name : ctest-TestRoutersBasic-93419655-49771927 2026-11-06 11:48:53,932 - DEBUG - VM ctest-TestRoutersBasic-93419655-49771927 ID is d271fe9d-5b86-4972-b811-7c8fc0b68b7b 2026-11-06 11:48:53,956 - DEBUG - VM ctest-TestRoutersBasic-93419655-49771927 launched on Node cn-jenkins-deploy-platform-ansible-os-6488-1 2026-11-06 11:48:54,033 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d271fe9d-5b86-4972-b811-7c8fc0b68b7b 2026-11-06 11:48:54,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d271fe9d-5b86-4972-b811-7c8fc0b68b7b 2026-11-06 11:48:54,434 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7f07775-32ec-4cf6-927b-5e34b2bb4b01 2026-11-06 11:48:57,706 - 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 1029ms') 2026-11-06 11:48:57,706 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-93419655-49771927 failed! 2026-11-06 11:48:57,761 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93419655:ctest-vn-85159399 is 202.69.187.193 and allocation pool is NOT set 2026-11-06 11:48:59,824 - 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=10.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.452 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.452/5.294/10.136/4.842 ms') 2026-11-06 11:48:59,824 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-93419655-49771927 passed 2026-11-06 11:48:59,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 11:48:59,977 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93419655-49771927, IP 202.69.187.195, Port 22 2026-11-06 11:49:00,143 - DEBUG - VM ctest-TestRoutersBasic-93419655-49771927 is ready for SSH connections 2026-11-06 11:49:00,143 - INFO - Waiting for VM ctest-TestRoutersBasic-93419655-17645425 to be up.. 2026-11-06 11:49:00,223 - DEBUG - VM is in ACTIVE state now 2026-11-06 11:49:00,223 - INFO - VM name : ctest-TestRoutersBasic-93419655-17645425 2026-11-06 11:49:00,304 - DEBUG - VM ctest-TestRoutersBasic-93419655-17645425 ID is d474bbe1-e76b-4051-8fd3-0d034fc02b9c 2026-11-06 11:49:00,304 - DEBUG - VM ctest-TestRoutersBasic-93419655-17645425 launched on Node cn-jenkins-deploy-platform-ansible-os-6488-1 2026-11-06 11:49:00,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d474bbe1-e76b-4051-8fd3-0d034fc02b9c 2026-11-06 11:49:00,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/972bdafc-ba06-4010-825f-92e3ce6f4fba 2026-11-06 11:49:01,634 - 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=6.42 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.889 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.889/3.656/6.424/2.767 ms') 2026-11-06 11:49:01,635 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-93419655-17645425 passed 2026-11-06 11:49:01,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 11:49:01,785 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93419655-17645425, IP 80.189.8.196, Port 22 2026-11-06 11:49:01,955 - DEBUG - VM ctest-TestRoutersBasic-93419655-17645425 is ready for SSH connections 2026-11-06 11:49:01,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 11:49:01,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.189.8.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-06 11:49:01,955 - DEBUG - ping -s 56 -c 3 -W 1 80.189.8.196 2026-11-06 11:49:04,928 - DEBUG - PING 80.189.8.196 (80.189.8.196): 56 data bytes 64 bytes from 80.189.8.196: seq=0 ttl=62 time=5.634 ms 64 bytes from 80.189.8.196: seq=1 ttl=62 time=1.391 ms 64 bytes from 80.189.8.196: seq=2 ttl=62 time=1.347 ms --- 80.189.8.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.347/2.790/5.634 ms 2026-11-06 11:49:04,928 - INFO - Ping to IP 80.189.8.196 from VM ctest-TestRoutersBasic-93419655-49771927 passed 2026-11-06 11:49:04,928 - INFO - Deleting interface with subnet_id ff9bb69c-3478-41b3-9d87-1e28c798c222, port_id None from router 17179865-49e9-4595-97a1-89f1dfe1b757 2026-11-06 11:49:05,136 - INFO - Deleting VM ctest-TestRoutersBasic-93419655-17645425 2026-11-06 11:49:05,220 - INFO - Deleting VM ctest-TestRoutersBasic-93419655-49771927 2026-11-06 11:49:05,299 - INFO - Deleting VN ctest-ext_vn-14193081 2026-11-06 11:49:05,367 - DEBUG - VN 8dbabf39-9b97-4941-9833-2938af87926a still in use: Unable to complete operation on network 8dbabf39-9b97-4941-9833-2938af87926a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e0e5146-2ffa-4c91-b907-70ff0a2b9487'] 2026-11-06 11:49:05,368 - WARNING - Deleting VN ctest-ext_vn-14193081 failed..Will retry 2026-11-06 11:49:07,403 - DEBUG - VN 8dbabf39-9b97-4941-9833-2938af87926a still in use: Unable to complete operation on network 8dbabf39-9b97-4941-9833-2938af87926a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93873150-e342-4b00-a8c6-3147b66c2f85'] 2026-11-06 11:49:07,403 - WARNING - Deleting VN ctest-ext_vn-14193081 failed..Will retry 2026-11-06 11:49:09,498 - DEBUG - Response for deleting network () 2026-11-06 11:49:09,499 - INFO - Deleting VN ctest-vn-85159399 2026-11-06 11:49:09,609 - DEBUG - Response for deleting network () 2026-11-06 11:49:09,868 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 11:49:09,868 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-11-06 11:49:09,868 - INFO - -------------------------------------------------------------------------------- 2026-11-06 11:49:10,675 - INFO - Deleted project: ctest-TestRoutersBasic-93419655, ID : 9347308e-f250-4ece-8fc0-f9ba199e8286