2026-03-09 02:12:40,474 - INFO - Domain Default found not creating 2026-03-09 02:12:40,653 - INFO - Project ctest-TestRoutersBasic-69484876 not found, creating it 2026-03-09 02:12:41,127 - INFO - Created Project:ctest-TestRoutersBasic-69484876, ID : e117af17-2a0c-4fb9-bc23-9e8a067f366d 2026-03-09 02:12:42,609 - INFO - ================================================================================ 2026-03-09 02:12:42,609 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-09 02:12:42,609 - 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-09 02:12:42,864 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.252': '0'}} with 2026-03-09 02:12:42,864 - INFO - Initial checks done. Running the testcase now 2026-03-09 02:12:42,864 - INFO - 2026-03-09 02:12:43,562 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69484876 2026-03-09 02:12:43,658 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69484876 2026-03-09 02:12:43,974 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69484876', 'default']} 2026-03-09 02:12:44,283 - DEBUG - Response for create_network : {'network': {'id': '92f96a32-5ecb-482d-b2ec-fb353312a2f0', 'name': 'ctest-vn-48013256', 'tenant_id': 'e117af172a0c4fb9bc239e8a067f366d', 'project_id': 'e117af172a0c4fb9bc239e8a067f366d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69484876', 'ctest-vn-48013256'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:12:44,510 - DEBUG - Response for create_subnet : {'subnet': {'id': '71e12dc1-c88b-4cb0-b2b7-5daf044d8fd1', 'name': '', 'tenant_id': 'e117af172a0c4fb9bc239e8a067f366d', 'network_id': '92f96a32-5ecb-482d-b2ec-fb353312a2f0', 'ip_version': 4, 'cidr': '93.255.38.128/26', 'allocation_pools': [{'start': '93.255.38.130', 'end': '93.255.38.190'}], 'gateway_ip': '93.255.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.255.38.130', 'tags': [], 'project_id': 'e117af172a0c4fb9bc239e8a067f366d'}} 2026-03-09 02:12:44,529 - INFO - Created VN ctest-vn-48013256 2026-03-09 02:12:44,582 - DEBUG - VN ctest-vn-48013256 UUID is 92f96a32-5ecb-482d-b2ec-fb353312a2f0 2026-03-09 02:12:44,941 - DEBUG - Response for create_network : {'network': {'id': '15092278-77a6-46fe-a211-4916440ee54d', 'name': 'ctest-ext_vn-77031423', 'tenant_id': 'e117af172a0c4fb9bc239e8a067f366d', 'project_id': 'e117af172a0c4fb9bc239e8a067f366d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69484876', 'ctest-ext_vn-77031423'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:12:45,126 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cf6caf1-9609-4ef8-94ad-10903d130327', 'name': '', 'tenant_id': 'e117af172a0c4fb9bc239e8a067f366d', 'network_id': '15092278-77a6-46fe-a211-4916440ee54d', 'ip_version': 4, 'cidr': '174.171.167.192/26', 'allocation_pools': [{'start': '174.171.167.194', 'end': '174.171.167.254'}], 'gateway_ip': '174.171.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.171.167.194', 'tags': [], 'project_id': 'e117af172a0c4fb9bc239e8a067f366d'}} 2026-03-09 02:12:45,143 - INFO - Created VN ctest-ext_vn-77031423 2026-03-09 02:12:45,194 - DEBUG - VN ctest-ext_vn-77031423 UUID is 15092278-77a6-46fe-a211-4916440ee54d 2026-03-09 02:12:45,385 - DEBUG - Services list from nova: [, , ] 2026-03-09 02:12:46,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5455-1) 2026-03-09 02:12:47,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5455-1) 2026-03-09 02:12:47,713 - INFO - Setting gateway for router 1b5a0191-f332-4898-8851-c969d0e7c75f to network 15092278-77a6-46fe-a211-4916440ee54d 2026-03-09 02:12:47,791 - INFO - Adding interface with subnet_id 71e12dc1-c88b-4cb0-b2b7-5daf044d8fd1, port_id None to router 1b5a0191-f332-4898-8851-c969d0e7c75f 2026-03-09 02:12:48,122 - INFO - Waiting for VM ctest-TestRoutersBasic-69484876-28372499 to be up.. 2026-03-09 02:12:48,232 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 02:12:53,309 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:12:53,309 - INFO - VM name : ctest-TestRoutersBasic-69484876-28372499 2026-03-09 02:12:53,399 - DEBUG - VM ctest-TestRoutersBasic-69484876-28372499 ID is a037b16b-39a0-4ff4-8e78-5923b78a2689 2026-03-09 02:12:53,422 - DEBUG - VM ctest-TestRoutersBasic-69484876-28372499 launched on Node cn-jenkins-deploy-platform-ansible-os-5455-1 2026-03-09 02:12:53,500 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a037b16b-39a0-4ff4-8e78-5923b78a2689 2026-03-09 02:12:53,808 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a037b16b-39a0-4ff4-8e78-5923b78a2689 2026-03-09 02:12:53,842 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d748a509-1b43-4341-b15f-335d148d72f8 2026-03-09 02:12:57,102 - 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-03-09 02:12:57,102 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69484876-28372499 failed! 2026-03-09 02:12:57,154 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69484876:ctest-vn-48013256 is 93.255.38.129 and allocation pool is NOT set 2026-03-09 02:12:59,214 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.823 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 = 0.823/2.334/3.846/1.511 ms') 2026-03-09 02:12:59,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69484876-28372499 passed 2026-03-09 02:12:59,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:12:59,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69484876-28372499, IP 93.255.38.131, Port 22 2026-03-09 02:12:59,525 - DEBUG - VM ctest-TestRoutersBasic-69484876-28372499 is ready for SSH connections 2026-03-09 02:12:59,526 - INFO - Waiting for VM ctest-TestRoutersBasic-69484876-88703411 to be up.. 2026-03-09 02:12:59,608 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:12:59,608 - INFO - VM name : ctest-TestRoutersBasic-69484876-88703411 2026-03-09 02:12:59,680 - DEBUG - VM ctest-TestRoutersBasic-69484876-88703411 ID is 2e2a991c-870d-407d-80d3-7d4c10b098f7 2026-03-09 02:12:59,680 - DEBUG - VM ctest-TestRoutersBasic-69484876-88703411 launched on Node cn-jenkins-deploy-platform-ansible-os-5455-1 2026-03-09 02:12:59,753 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2e2a991c-870d-407d-80d3-7d4c10b098f7 2026-03-09 02:12:59,760 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6216db30-ca13-4e72-8e6f-9c0737fdb981 2026-03-09 02:13:01,002 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.817/3.134/1.317 ms') 2026-03-09 02:13:01,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69484876-88703411 passed 2026-03-09 02:13:01,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:01,155 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69484876-88703411, IP 174.171.167.195, Port 22 2026-03-09 02:13:01,310 - DEBUG - VM ctest-TestRoutersBasic-69484876-88703411 is ready for SSH connections 2026-03-09 02:13:01,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:01,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.171.167.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-09 02:13:01,310 - DEBUG - ping -s 56 -c 3 -W 1 174.171.167.195 2026-03-09 02:13:05,004 - DEBUG - PING 174.171.167.195 (174.171.167.195): 56 data bytes 64 bytes from 174.171.167.195: seq=0 ttl=62 time=4.821 ms 64 bytes from 174.171.167.195: seq=1 ttl=62 time=1.111 ms 64 bytes from 174.171.167.195: seq=2 ttl=62 time=0.978 ms --- 174.171.167.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.978/2.303/4.821 ms 2026-03-09 02:13:05,004 - INFO - Ping to IP 174.171.167.195 from VM ctest-TestRoutersBasic-69484876-28372499 passed 2026-03-09 02:13:05,004 - INFO - Deleting interface with subnet_id 71e12dc1-c88b-4cb0-b2b7-5daf044d8fd1, port_id None from router 1b5a0191-f332-4898-8851-c969d0e7c75f 2026-03-09 02:13:05,199 - INFO - Deleting VM ctest-TestRoutersBasic-69484876-88703411 2026-03-09 02:13:05,262 - INFO - Deleting VM ctest-TestRoutersBasic-69484876-28372499 2026-03-09 02:13:05,344 - INFO - Deleting VN ctest-ext_vn-77031423 2026-03-09 02:13:05,412 - DEBUG - VN 15092278-77a6-46fe-a211-4916440ee54d still in use: Unable to complete operation on network 15092278-77a6-46fe-a211-4916440ee54d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a378d51-db0e-4707-ab11-ef48bc685ca1'] 2026-03-09 02:13:05,412 - WARNING - Deleting VN ctest-ext_vn-77031423 failed..Will retry 2026-03-09 02:13:07,558 - DEBUG - Response for deleting network () 2026-03-09 02:13:07,558 - INFO - Deleting VN ctest-vn-48013256 2026-03-09 02:13:07,699 - DEBUG - Response for deleting network () 2026-03-09 02:13:07,953 - DEBUG - No XMPP flaps were noticed during the test 2026-03-09 02:13:07,953 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-09 02:13:07,953 - INFO - -------------------------------------------------------------------------------- 2026-03-09 02:13:08,664 - INFO - Deleted project: ctest-TestRoutersBasic-69484876, ID : e117af17-2a0c-4fb9-bc23-9e8a067f366d