2026-05-29 15:06:06,164 - INFO - Domain Default found not creating 2026-05-29 15:06:06,369 - INFO - Project ctest-TestRoutersBasic-30507852 not found, creating it 2026-05-29 15:06:06,869 - INFO - Created Project:ctest-TestRoutersBasic-30507852, ID : 75811eaf-c160-4896-bc5d-5e0f8cd913c6 2026-05-29 15:06:08,422 - INFO - ================================================================================ 2026-05-29 15:06:08,422 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-29 15:06:08,422 - 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-29 15:06:08,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-29 15:06:08,678 - INFO - Initial checks done. Running the testcase now 2026-05-29 15:06:08,678 - INFO - 2026-05-29 15:06:09,405 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30507852 2026-05-29 15:06:09,501 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30507852 2026-05-29 15:06:09,825 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30507852', 'default']} 2026-05-29 15:06:10,119 - DEBUG - Response for create_network : {'network': {'id': '19a667cf-2d6d-44d9-a22e-218701f1e1ad', 'name': 'ctest-vn-57683678', 'tenant_id': '75811eafc1604896bc5d5e0f8cd913c6', 'project_id': '75811eafc1604896bc5d5e0f8cd913c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30507852', 'ctest-vn-57683678'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 15:06:10,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '52f4fd57-0318-4d72-a2db-1159940711d0', 'name': '', 'tenant_id': '75811eafc1604896bc5d5e0f8cd913c6', 'network_id': '19a667cf-2d6d-44d9-a22e-218701f1e1ad', 'ip_version': 4, 'cidr': '30.129.160.128/26', 'allocation_pools': [{'start': '30.129.160.130', 'end': '30.129.160.190'}], 'gateway_ip': '30.129.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.129.160.130', 'tags': [], 'project_id': '75811eafc1604896bc5d5e0f8cd913c6'}} 2026-05-29 15:06:10,346 - INFO - Created VN ctest-vn-57683678 2026-05-29 15:06:10,397 - DEBUG - VN ctest-vn-57683678 UUID is 19a667cf-2d6d-44d9-a22e-218701f1e1ad 2026-05-29 15:06:10,715 - DEBUG - Response for create_network : {'network': {'id': '846f9159-07a6-4994-8d9a-8e1b635d45b1', 'name': 'ctest-ext_vn-85107445', 'tenant_id': '75811eafc1604896bc5d5e0f8cd913c6', 'project_id': '75811eafc1604896bc5d5e0f8cd913c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30507852', 'ctest-ext_vn-85107445'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 15:06:10,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b489bd-9c3c-40e3-a177-0a8981039d31', 'name': '', 'tenant_id': '75811eafc1604896bc5d5e0f8cd913c6', 'network_id': '846f9159-07a6-4994-8d9a-8e1b635d45b1', 'ip_version': 4, 'cidr': '157.231.164.128/26', 'allocation_pools': [{'start': '157.231.164.130', 'end': '157.231.164.190'}], 'gateway_ip': '157.231.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.231.164.130', 'tags': [], 'project_id': '75811eafc1604896bc5d5e0f8cd913c6'}} 2026-05-29 15:06:10,917 - INFO - Created VN ctest-ext_vn-85107445 2026-05-29 15:06:10,973 - DEBUG - VN ctest-ext_vn-85107445 UUID is 846f9159-07a6-4994-8d9a-8e1b635d45b1 2026-05-29 15:06:11,145 - DEBUG - Services list from nova: [, , ] 2026-05-29 15:06:12,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5851-1) 2026-05-29 15:06:13,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5851-1) 2026-05-29 15:06:13,461 - INFO - Setting gateway for router aaf99cbd-3deb-4701-9ee5-25aad95e6743 to network 846f9159-07a6-4994-8d9a-8e1b635d45b1 2026-05-29 15:06:13,529 - INFO - Adding interface with subnet_id 52f4fd57-0318-4d72-a2db-1159940711d0, port_id None to router aaf99cbd-3deb-4701-9ee5-25aad95e6743 2026-05-29 15:06:14,004 - INFO - Waiting for VM ctest-TestRoutersBasic-30507852-38855262 to be up.. 2026-05-29 15:06:14,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 15:06:19,399 - DEBUG - VM is in ACTIVE state now 2026-05-29 15:06:19,399 - INFO - VM name : ctest-TestRoutersBasic-30507852-38855262 2026-05-29 15:06:19,482 - DEBUG - VM ctest-TestRoutersBasic-30507852-38855262 ID is a3311373-0ee5-4915-882a-30cf3d94fb6a 2026-05-29 15:06:19,502 - DEBUG - VM ctest-TestRoutersBasic-30507852-38855262 launched on Node cn-jenkins-deploy-platform-ansible-os-5851-1 2026-05-29 15:06:19,580 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a3311373-0ee5-4915-882a-30cf3d94fb6a 2026-05-29 15:06:19,878 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a3311373-0ee5-4915-882a-30cf3d94fb6a 2026-05-29 15:06:20,197 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9d820fba-a153-43e6-a65b-37841d1f5891 2026-05-29 15:06:23,454 - 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 1005ms') 2026-05-29 15:06:23,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30507852-38855262 failed! 2026-05-29 15:06:23,509 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30507852:ctest-vn-57683678 is 30.129.160.129 and allocation pool is NOT set 2026-05-29 15:06:25,574 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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 = 0.416/2.622/4.829/2.206 ms') 2026-05-29 15:06:25,575 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30507852-38855262 passed 2026-05-29 15:06:25,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:06:25,729 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30507852-38855262, IP 30.129.160.131, Port 22 2026-05-29 15:06:25,884 - DEBUG - VM ctest-TestRoutersBasic-30507852-38855262 is ready for SSH connections 2026-05-29 15:06:25,885 - INFO - Waiting for VM ctest-TestRoutersBasic-30507852-51450456 to be up.. 2026-05-29 15:06:25,966 - DEBUG - VM is in ACTIVE state now 2026-05-29 15:06:25,967 - INFO - VM name : ctest-TestRoutersBasic-30507852-51450456 2026-05-29 15:06:26,064 - DEBUG - VM ctest-TestRoutersBasic-30507852-51450456 ID is 8ee7d3b8-eec9-4234-afec-4f6460991449 2026-05-29 15:06:26,064 - DEBUG - VM ctest-TestRoutersBasic-30507852-51450456 launched on Node cn-jenkins-deploy-platform-ansible-os-5851-1 2026-05-29 15:06:26,152 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8ee7d3b8-eec9-4234-afec-4f6460991449 2026-05-29 15:06:26,162 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/481058a6-471b-474c-89d3-3d3fe30679c1 2026-05-29 15:06:27,410 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.30 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 = 3.049/3.173/3.298/0.124 ms') 2026-05-29 15:06:27,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30507852-51450456 passed 2026-05-29 15:06:27,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:06:27,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30507852-51450456, IP 157.231.164.131, Port 22 2026-05-29 15:06:27,627 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-29 15:06:27,713 - DEBUG - VM ctest-TestRoutersBasic-30507852-51450456 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-29 15:06:32,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:06:32,715 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30507852-51450456, IP 157.231.164.131, Port 22 2026-05-29 15:06:32,872 - DEBUG - VM ctest-TestRoutersBasic-30507852-51450456 is ready for SSH connections 2026-05-29 15:06:32,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:06:32,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.231.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-29 15:06:32,873 - DEBUG - ping -s 56 -c 3 -W 1 157.231.164.131 2026-05-29 15:06:36,617 - DEBUG - PING 157.231.164.131 (157.231.164.131): 56 data bytes 64 bytes from 157.231.164.131: seq=0 ttl=62 time=7.645 ms 64 bytes from 157.231.164.131: seq=1 ttl=62 time=1.232 ms 64 bytes from 157.231.164.131: seq=2 ttl=62 time=1.201 ms --- 157.231.164.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.201/3.359/7.645 ms 2026-05-29 15:06:36,617 - INFO - Ping to IP 157.231.164.131 from VM ctest-TestRoutersBasic-30507852-38855262 passed 2026-05-29 15:06:36,617 - INFO - Deleting interface with subnet_id 52f4fd57-0318-4d72-a2db-1159940711d0, port_id None from router aaf99cbd-3deb-4701-9ee5-25aad95e6743 2026-05-29 15:06:36,868 - INFO - Deleting VM ctest-TestRoutersBasic-30507852-51450456 2026-05-29 15:06:36,957 - INFO - Deleting VM ctest-TestRoutersBasic-30507852-38855262 2026-05-29 15:06:37,057 - INFO - Deleting VN ctest-ext_vn-85107445 2026-05-29 15:06:37,139 - DEBUG - VN 846f9159-07a6-4994-8d9a-8e1b635d45b1 still in use: Unable to complete operation on network 846f9159-07a6-4994-8d9a-8e1b635d45b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e6956ae-68ca-4a34-95ea-92494bb520b4'] 2026-05-29 15:06:37,139 - WARNING - Deleting VN ctest-ext_vn-85107445 failed..Will retry 2026-05-29 15:06:39,245 - DEBUG - Response for deleting network () 2026-05-29 15:06:39,245 - INFO - Deleting VN ctest-vn-57683678 2026-05-29 15:06:39,351 - DEBUG - Response for deleting network () 2026-05-29 15:06:39,610 - DEBUG - No XMPP flaps were noticed during the test 2026-05-29 15:06:39,610 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-05-29 15:06:39,610 - INFO - -------------------------------------------------------------------------------- 2026-05-29 15:06:40,322 - INFO - Deleted project: ctest-TestRoutersBasic-30507852, ID : 75811eaf-c160-4896-bc5d-5e0f8cd913c6