2026-03-23 23:09:45,330 - INFO - Domain Default found not creating 2026-03-23 23:09:45,512 - INFO - Project ctest-TestRoutersBasic-22318528 not found, creating it 2026-03-23 23:09:46,047 - INFO - Created Project:ctest-TestRoutersBasic-22318528, ID : 978890f9-912f-4e91-a700-fceb4a69fc84 2026-03-23 23:09:47,610 - INFO - ================================================================================ 2026-03-23 23:09:47,610 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-23 23:09:47,610 - 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-03-23 23:09:47,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2026-03-23 23:09:47,875 - INFO - Initial checks done. Running the testcase now 2026-03-23 23:09:47,875 - INFO - 2026-03-23 23:09:48,597 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22318528 2026-03-23 23:09:48,692 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22318528 2026-03-23 23:09:49,012 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22318528', 'default']} 2026-03-23 23:09:49,306 - DEBUG - Response for create_network : {'network': {'id': 'ec1550c4-1f44-4df7-8cce-6d7d8d37b3d1', 'name': 'ctest-vn-75714420', 'tenant_id': '978890f9912f4e91a700fceb4a69fc84', 'project_id': '978890f9912f4e91a700fceb4a69fc84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22318528', 'ctest-vn-75714420'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 23:09:49,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f766ae9a-741d-488d-ad4f-426500133b04', 'name': '', 'tenant_id': '978890f9912f4e91a700fceb4a69fc84', 'network_id': 'ec1550c4-1f44-4df7-8cce-6d7d8d37b3d1', 'ip_version': 4, 'cidr': '30.90.66.192/26', 'allocation_pools': [{'start': '30.90.66.194', 'end': '30.90.66.254'}], 'gateway_ip': '30.90.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.90.66.194', 'tags': [], 'project_id': '978890f9912f4e91a700fceb4a69fc84'}} 2026-03-23 23:09:49,508 - INFO - Created VN ctest-vn-75714420 2026-03-23 23:09:49,560 - DEBUG - VN ctest-vn-75714420 UUID is ec1550c4-1f44-4df7-8cce-6d7d8d37b3d1 2026-03-23 23:09:49,889 - DEBUG - Response for create_network : {'network': {'id': '965ee7aa-315c-44e8-ba1f-30bcdd71b438', 'name': 'ctest-ext_vn-75473410', 'tenant_id': '978890f9912f4e91a700fceb4a69fc84', 'project_id': '978890f9912f4e91a700fceb4a69fc84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22318528', 'ctest-ext_vn-75473410'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 23:09:50,133 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b93658b7-f874-475f-ae90-ab19ba9bbd88', 'name': '', 'tenant_id': '978890f9912f4e91a700fceb4a69fc84', 'network_id': '965ee7aa-315c-44e8-ba1f-30bcdd71b438', 'ip_version': 4, 'cidr': '124.241.5.64/26', 'allocation_pools': [{'start': '124.241.5.66', 'end': '124.241.5.126'}], 'gateway_ip': '124.241.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.241.5.66', 'tags': [], 'project_id': '978890f9912f4e91a700fceb4a69fc84'}} 2026-03-23 23:09:50,152 - INFO - Created VN ctest-ext_vn-75473410 2026-03-23 23:09:50,212 - DEBUG - VN ctest-ext_vn-75473410 UUID is 965ee7aa-315c-44e8-ba1f-30bcdd71b438 2026-03-23 23:09:50,412 - DEBUG - Services list from nova: [, , ] 2026-03-23 23:09:51,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5524-1) 2026-03-23 23:09:52,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5524-1) 2026-03-23 23:09:52,665 - INFO - Setting gateway for router 152261e1-f761-4384-b4e5-a5b685e62364 to network 965ee7aa-315c-44e8-ba1f-30bcdd71b438 2026-03-23 23:09:52,740 - INFO - Adding interface with subnet_id f766ae9a-741d-488d-ad4f-426500133b04, port_id None to router 152261e1-f761-4384-b4e5-a5b685e62364 2026-03-23 23:09:53,104 - INFO - Waiting for VM ctest-TestRoutersBasic-22318528-84108790 to be up.. 2026-03-23 23:09:53,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 23:09:58,365 - DEBUG - VM is in ACTIVE state now 2026-03-23 23:09:58,365 - INFO - VM name : ctest-TestRoutersBasic-22318528-84108790 2026-03-23 23:09:58,455 - DEBUG - VM ctest-TestRoutersBasic-22318528-84108790 ID is a5da4035-2536-4859-b63f-b5bad96e6afc 2026-03-23 23:09:58,483 - DEBUG - VM ctest-TestRoutersBasic-22318528-84108790 launched on Node cn-jenkins-deploy-platform-ansible-os-5524-1 2026-03-23 23:09:58,567 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a5da4035-2536-4859-b63f-b5bad96e6afc 2026-03-23 23:09:58,869 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a5da4035-2536-4859-b63f-b5bad96e6afc 2026-03-23 23:09:58,908 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/feb0224e-f7a6-4f6e-bf4a-1b95274e3aec 2026-03-23 23:10:02,183 - 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 1031ms') 2026-03-23 23:10:02,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22318528-84108790 failed! 2026-03-23 23:10:02,240 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22318528:ctest-vn-75714420 is 30.90.66.193 and allocation pool is NOT set 2026-03-23 23:10:04,309 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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.325/2.976/4.628/1.651 ms') 2026-03-23 23:10:04,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22318528-84108790 passed 2026-03-23 23:10:04,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:10:04,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22318528-84108790, IP 30.90.66.195, Port 22 2026-03-23 23:10:04,634 - DEBUG - VM ctest-TestRoutersBasic-22318528-84108790 is ready for SSH connections 2026-03-23 23:10:04,634 - INFO - Waiting for VM ctest-TestRoutersBasic-22318528-91872778 to be up.. 2026-03-23 23:10:04,717 - DEBUG - VM is in ACTIVE state now 2026-03-23 23:10:04,717 - INFO - VM name : ctest-TestRoutersBasic-22318528-91872778 2026-03-23 23:10:04,795 - DEBUG - VM ctest-TestRoutersBasic-22318528-91872778 ID is 713d0790-6b16-444a-9001-a6308949fd3e 2026-03-23 23:10:04,795 - DEBUG - VM ctest-TestRoutersBasic-22318528-91872778 launched on Node cn-jenkins-deploy-platform-ansible-os-5524-1 2026-03-23 23:10:04,873 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/713d0790-6b16-444a-9001-a6308949fd3e 2026-03-23 23:10:04,881 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/1d197b66-47b9-4ca9-bc32-3f521b1bf47c 2026-03-23 23:10:06,124 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.832/3.217/1.385 ms') 2026-03-23 23:10:06,125 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22318528-91872778 passed 2026-03-23 23:10:06,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:10:06,272 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22318528-91872778, IP 124.241.5.67, Port 22 2026-03-23 23:10:06,428 - DEBUG - VM ctest-TestRoutersBasic-22318528-91872778 is ready for SSH connections 2026-03-23 23:10:06,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:10:06,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.241.5.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2026-03-23 23:10:06,429 - DEBUG - ping -s 56 -c 3 -W 1 124.241.5.67 2026-03-23 23:10:10,185 - DEBUG - PING 124.241.5.67 (124.241.5.67): 56 data bytes 64 bytes from 124.241.5.67: seq=0 ttl=62 time=4.622 ms 64 bytes from 124.241.5.67: seq=1 ttl=62 time=0.882 ms 64 bytes from 124.241.5.67: seq=2 ttl=62 time=1.270 ms --- 124.241.5.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/2.258/4.622 ms 2026-03-23 23:10:10,185 - INFO - Ping to IP 124.241.5.67 from VM ctest-TestRoutersBasic-22318528-84108790 passed 2026-03-23 23:10:10,185 - INFO - Deleting interface with subnet_id f766ae9a-741d-488d-ad4f-426500133b04, port_id None from router 152261e1-f761-4384-b4e5-a5b685e62364 2026-03-23 23:10:10,419 - INFO - Deleting VM ctest-TestRoutersBasic-22318528-91872778 2026-03-23 23:10:10,507 - INFO - Deleting VM ctest-TestRoutersBasic-22318528-84108790 2026-03-23 23:10:10,613 - INFO - Deleting VN ctest-ext_vn-75473410 2026-03-23 23:10:10,713 - DEBUG - VN 965ee7aa-315c-44e8-ba1f-30bcdd71b438 still in use: Unable to complete operation on network 965ee7aa-315c-44e8-ba1f-30bcdd71b438. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-655008ba-1b56-4dc2-96b6-8ec8ad415380'] 2026-03-23 23:10:10,713 - WARNING - Deleting VN ctest-ext_vn-75473410 failed..Will retry 2026-03-23 23:10:12,836 - DEBUG - Response for deleting network () 2026-03-23 23:10:12,836 - INFO - Deleting VN ctest-vn-75714420 2026-03-23 23:10:12,978 - DEBUG - Response for deleting network () 2026-03-23 23:10:13,237 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 23:10:13,237 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-03-23 23:10:13,237 - INFO - -------------------------------------------------------------------------------- 2026-03-23 23:10:14,063 - INFO - Deleted project: ctest-TestRoutersBasic-22318528, ID : 978890f9-912f-4e91-a700-fceb4a69fc84