2026-03-13 16:57:49,207 - INFO - Domain Default found not creating 2026-03-13 16:57:49,406 - INFO - Project ctest-TestRoutersBasic-36458256 not found, creating it 2026-03-13 16:57:49,932 - INFO - Created Project:ctest-TestRoutersBasic-36458256, ID : eb4d17a1-a3d5-4659-b691-53775bc3d73a 2026-03-13 16:57:51,681 - INFO - ================================================================================ 2026-03-13 16:57:51,681 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-13 16:57:51,681 - 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-13 16:57:51,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-03-13 16:57:51,955 - INFO - Initial checks done. Running the testcase now 2026-03-13 16:57:51,955 - INFO - 2026-03-13 16:57:52,783 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36458256 2026-03-13 16:57:52,880 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36458256 2026-03-13 16:57:53,224 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36458256', 'default']} 2026-03-13 16:57:53,583 - DEBUG - Response for create_network : {'network': {'id': '133ff94b-3c8c-4efc-b9dd-574fe80d4c6a', 'name': 'ctest-vn-36081063', 'tenant_id': 'eb4d17a1a3d54659b69153775bc3d73a', 'project_id': 'eb4d17a1a3d54659b69153775bc3d73a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36458256', 'ctest-vn-36081063'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 16:57:53,826 - DEBUG - Response for create_subnet : {'subnet': {'id': '216f2474-2260-4716-98cd-7765b8e55b06', 'name': '', 'tenant_id': 'eb4d17a1a3d54659b69153775bc3d73a', 'network_id': '133ff94b-3c8c-4efc-b9dd-574fe80d4c6a', 'ip_version': 4, 'cidr': '160.54.129.0/26', 'allocation_pools': [{'start': '160.54.129.2', 'end': '160.54.129.62'}], 'gateway_ip': '160.54.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.54.129.2', 'tags': [], 'project_id': 'eb4d17a1a3d54659b69153775bc3d73a'}} 2026-03-13 16:57:53,847 - INFO - Created VN ctest-vn-36081063 2026-03-13 16:57:53,900 - DEBUG - VN ctest-vn-36081063 UUID is 133ff94b-3c8c-4efc-b9dd-574fe80d4c6a 2026-03-13 16:57:54,279 - DEBUG - Response for create_network : {'network': {'id': '495348dc-3a60-4e66-8d53-1973686a12dd', 'name': 'ctest-ext_vn-98827447', 'tenant_id': 'eb4d17a1a3d54659b69153775bc3d73a', 'project_id': 'eb4d17a1a3d54659b69153775bc3d73a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36458256', 'ctest-ext_vn-98827447'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 16:57:54,498 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1b25bca-9e1d-480c-9753-606e5177875c', 'name': '', 'tenant_id': 'eb4d17a1a3d54659b69153775bc3d73a', 'network_id': '495348dc-3a60-4e66-8d53-1973686a12dd', 'ip_version': 4, 'cidr': '142.179.248.128/26', 'allocation_pools': [{'start': '142.179.248.130', 'end': '142.179.248.190'}], 'gateway_ip': '142.179.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.179.248.130', 'tags': [], 'project_id': 'eb4d17a1a3d54659b69153775bc3d73a'}} 2026-03-13 16:57:54,519 - INFO - Created VN ctest-ext_vn-98827447 2026-03-13 16:57:54,572 - DEBUG - VN ctest-ext_vn-98827447 UUID is 495348dc-3a60-4e66-8d53-1973686a12dd 2026-03-13 16:57:54,762 - DEBUG - Services list from nova: [, , ] 2026-03-13 16:57:55,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5466-1) 2026-03-13 16:57:57,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5466-1) 2026-03-13 16:57:57,361 - INFO - Setting gateway for router 9a85e9ae-6492-4077-9215-a8264ee16b74 to network 495348dc-3a60-4e66-8d53-1973686a12dd 2026-03-13 16:57:57,435 - INFO - Adding interface with subnet_id 216f2474-2260-4716-98cd-7765b8e55b06, port_id None to router 9a85e9ae-6492-4077-9215-a8264ee16b74 2026-03-13 16:57:57,861 - INFO - Waiting for VM ctest-TestRoutersBasic-36458256-52123531 to be up.. 2026-03-13 16:57:58,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:58:03,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:58:08,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:58:13,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:58:18,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:58:23,505 - DEBUG - VM is in ACTIVE state now 2026-03-13 16:58:23,505 - INFO - VM name : ctest-TestRoutersBasic-36458256-52123531 2026-03-13 16:58:23,609 - DEBUG - VM ctest-TestRoutersBasic-36458256-52123531 ID is e3b6fc02-041d-4362-ab48-bc1557374cd1 2026-03-13 16:58:23,632 - DEBUG - VM ctest-TestRoutersBasic-36458256-52123531 launched on Node cn-jenkins-deploy-platform-ansible-os-5466-1 2026-03-13 16:58:23,714 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e3b6fc02-041d-4362-ab48-bc1557374cd1 2026-03-13 16:58:24,050 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e3b6fc02-041d-4362-ab48-bc1557374cd1 2026-03-13 16:58:24,091 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c94096f2-b826-4cfa-aec5-b37713b76448 2026-03-13 16:58:27,360 - 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 1024ms') 2026-03-13 16:58:27,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36458256-52123531 failed! 2026-03-13 16:58:27,420 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36458256:ctest-vn-36081063 is 160.54.129.1 and allocation pool is NOT set 2026-03-13 16:58:29,485 - 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=6.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.83 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 = 2.829/4.543/6.258/1.714 ms') 2026-03-13 16:58:29,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36458256-52123531 passed 2026-03-13 16:58:29,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:58:29,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36458256-52123531, IP 160.54.129.3, Port 22 2026-03-13 16:58:29,809 - DEBUG - VM ctest-TestRoutersBasic-36458256-52123531 is ready for SSH connections 2026-03-13 16:58:29,809 - INFO - Waiting for VM ctest-TestRoutersBasic-36458256-33034249 to be up.. 2026-03-13 16:58:29,904 - DEBUG - VM is in ACTIVE state now 2026-03-13 16:58:29,904 - INFO - VM name : ctest-TestRoutersBasic-36458256-33034249 2026-03-13 16:58:30,001 - DEBUG - VM ctest-TestRoutersBasic-36458256-33034249 ID is 0dbc5007-ab08-4e07-9f8c-31aa6c511b3a 2026-03-13 16:58:30,001 - DEBUG - VM ctest-TestRoutersBasic-36458256-33034249 launched on Node cn-jenkins-deploy-platform-ansible-os-5466-1 2026-03-13 16:58:30,105 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0dbc5007-ab08-4e07-9f8c-31aa6c511b3a 2026-03-13 16:58:30,117 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/660dd879-cf20-46be-96f8-54f93e09d29c 2026-03-13 16:58:31,380 - 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=5.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.661 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.661/2.913/5.166/2.252 ms') 2026-03-13 16:58:31,380 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36458256-33034249 passed 2026-03-13 16:58:31,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:58:31,540 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36458256-33034249, IP 142.179.248.131, Port 22 2026-03-13 16:58:31,696 - DEBUG - VM ctest-TestRoutersBasic-36458256-33034249 is ready for SSH connections 2026-03-13 16:58:31,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:58:31,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.179.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-13 16:58:31,697 - DEBUG - ping -s 56 -c 3 -W 1 142.179.248.131 2026-03-13 16:58:35,816 - DEBUG - PING 142.179.248.131 (142.179.248.131): 56 data bytes 64 bytes from 142.179.248.131: seq=0 ttl=62 time=8.416 ms 64 bytes from 142.179.248.131: seq=1 ttl=62 time=1.159 ms 64 bytes from 142.179.248.131: seq=2 ttl=62 time=1.777 ms --- 142.179.248.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/3.784/8.416 ms 2026-03-13 16:58:35,816 - INFO - Ping to IP 142.179.248.131 from VM ctest-TestRoutersBasic-36458256-52123531 passed 2026-03-13 16:58:35,817 - INFO - Deleting interface with subnet_id 216f2474-2260-4716-98cd-7765b8e55b06, port_id None from router 9a85e9ae-6492-4077-9215-a8264ee16b74 2026-03-13 16:58:36,078 - INFO - Deleting VM ctest-TestRoutersBasic-36458256-33034249 2026-03-13 16:58:36,176 - INFO - Deleting VM ctest-TestRoutersBasic-36458256-52123531 2026-03-13 16:58:36,296 - INFO - Deleting VN ctest-ext_vn-98827447 2026-03-13 16:58:36,431 - DEBUG - VN 495348dc-3a60-4e66-8d53-1973686a12dd still in use: Unable to complete operation on network 495348dc-3a60-4e66-8d53-1973686a12dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93925802-19ee-40b3-a3a6-f88db9c89c1f'] 2026-03-13 16:58:36,431 - WARNING - Deleting VN ctest-ext_vn-98827447 failed..Will retry 2026-03-13 16:58:38,550 - DEBUG - Response for deleting network () 2026-03-13 16:58:38,550 - INFO - Deleting VN ctest-vn-36081063 2026-03-13 16:58:38,684 - DEBUG - Response for deleting network () 2026-03-13 16:58:38,949 - DEBUG - No XMPP flaps were noticed during the test
2026-03-13 16:58:38,949 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:47]
2026-03-13 16:58:38,949 - INFO - -------------------------------------------------------------------------------- 2026-03-13 16:58:39,710 - INFO - Deleted project: ctest-TestRoutersBasic-36458256, ID : eb4d17a1-a3d5-4659-b691-53775bc3d73a