2026-04-29 02:21:56,398 - INFO - Domain Default found not creating 2026-04-29 02:21:56,582 - INFO - Project ctest-TestRoutersBasic-42605826 not found, creating it 2026-04-29 02:21:57,033 - INFO - Created Project:ctest-TestRoutersBasic-42605826, ID : 116a0366-1abc-4505-95e2-d00cc40413d7 2026-04-29 02:21:58,686 - INFO - ================================================================================ 2026-04-29 02:21:58,686 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-29 02:21:58,687 - 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-04-29 02:21:58,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-29 02:21:58,950 - INFO - Initial checks done. Running the testcase now 2026-04-29 02:21:58,950 - INFO - 2026-04-29 02:21:59,764 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42605826 2026-04-29 02:21:59,860 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42605826 2026-04-29 02:22:00,184 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42605826', 'default']} 2026-04-29 02:22:00,515 - DEBUG - Response for create_network : {'network': {'id': 'a8eb082e-f465-4f8f-8283-621581c9fca4', 'name': 'ctest-vn-40573735', 'tenant_id': '116a03661abc450595e2d00cc40413d7', 'project_id': '116a03661abc450595e2d00cc40413d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42605826', 'ctest-vn-40573735'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 02:22:00,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b86e96a1-d08e-4853-b8a8-c9ae0cf2e94f', 'name': '', 'tenant_id': '116a03661abc450595e2d00cc40413d7', 'network_id': 'a8eb082e-f465-4f8f-8283-621581c9fca4', 'ip_version': 4, 'cidr': '167.90.114.0/26', 'allocation_pools': [{'start': '167.90.114.2', 'end': '167.90.114.62'}], 'gateway_ip': '167.90.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.90.114.2', 'tags': [], 'project_id': '116a03661abc450595e2d00cc40413d7'}} 2026-04-29 02:22:00,735 - INFO - Created VN ctest-vn-40573735 2026-04-29 02:22:00,792 - DEBUG - VN ctest-vn-40573735 UUID is a8eb082e-f465-4f8f-8283-621581c9fca4 2026-04-29 02:22:01,170 - DEBUG - Response for create_network : {'network': {'id': '15707ba8-61b7-4f84-aa95-425cefc4c223', 'name': 'ctest-ext_vn-99960550', 'tenant_id': '116a03661abc450595e2d00cc40413d7', 'project_id': '116a03661abc450595e2d00cc40413d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42605826', 'ctest-ext_vn-99960550'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 02:22:01,346 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b766d06d-d8fa-4993-b040-c7d129e0ac0a', 'name': '', 'tenant_id': '116a03661abc450595e2d00cc40413d7', 'network_id': '15707ba8-61b7-4f84-aa95-425cefc4c223', 'ip_version': 4, 'cidr': '166.54.245.0/26', 'allocation_pools': [{'start': '166.54.245.2', 'end': '166.54.245.62'}], 'gateway_ip': '166.54.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.54.245.2', 'tags': [], 'project_id': '116a03661abc450595e2d00cc40413d7'}} 2026-04-29 02:22:01,372 - INFO - Created VN ctest-ext_vn-99960550 2026-04-29 02:22:01,428 - DEBUG - VN ctest-ext_vn-99960550 UUID is 15707ba8-61b7-4f84-aa95-425cefc4c223 2026-04-29 02:22:01,631 - DEBUG - Services list from nova: [, , ] 2026-04-29 02:22:02,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5708-1) 2026-04-29 02:22:04,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5708-1) 2026-04-29 02:22:04,322 - INFO - Setting gateway for router 456250af-fdb8-472e-9daf-e3577fd35e4e to network 15707ba8-61b7-4f84-aa95-425cefc4c223 2026-04-29 02:22:04,437 - INFO - Adding interface with subnet_id b86e96a1-d08e-4853-b8a8-c9ae0cf2e94f, port_id None to router 456250af-fdb8-472e-9daf-e3577fd35e4e 2026-04-29 02:22:04,886 - INFO - Waiting for VM ctest-TestRoutersBasic-42605826-53424462 to be up.. 2026-04-29 02:22:05,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 02:22:10,232 - DEBUG - VM is in ACTIVE state now 2026-04-29 02:22:10,232 - INFO - VM name : ctest-TestRoutersBasic-42605826-53424462 2026-04-29 02:22:10,332 - DEBUG - VM ctest-TestRoutersBasic-42605826-53424462 ID is 425aa020-6324-4c24-9da0-8a0deddd66a8 2026-04-29 02:22:10,361 - DEBUG - VM ctest-TestRoutersBasic-42605826-53424462 launched on Node cn-jenkins-deploy-platform-ansible-os-5708-1 2026-04-29 02:22:10,456 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/425aa020-6324-4c24-9da0-8a0deddd66a8 2026-04-29 02:22:10,817 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/425aa020-6324-4c24-9da0-8a0deddd66a8 2026-04-29 02:22:10,864 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4d766db1-f788-4c30-8272-9671e8dd632d 2026-04-29 02:22:14,133 - 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 1008ms') 2026-04-29 02:22:14,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42605826-53424462 failed! 2026-04-29 02:22:14,192 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42605826:ctest-vn-40573735 is 167.90.114.1 and allocation pool is NOT set 2026-04-29 02:22:16,263 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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.397/1.886/3.375/1.489 ms') 2026-04-29 02:22:16,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42605826-53424462 passed 2026-04-29 02:22:16,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:22:16,416 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42605826-53424462, IP 167.90.114.3, Port 22 2026-04-29 02:22:16,585 - DEBUG - VM ctest-TestRoutersBasic-42605826-53424462 is ready for SSH connections 2026-04-29 02:22:16,586 - INFO - Waiting for VM ctest-TestRoutersBasic-42605826-89024054 to be up.. 2026-04-29 02:22:16,683 - DEBUG - VM is in ACTIVE state now 2026-04-29 02:22:16,683 - INFO - VM name : ctest-TestRoutersBasic-42605826-89024054 2026-04-29 02:22:16,772 - DEBUG - VM ctest-TestRoutersBasic-42605826-89024054 ID is dfdd3788-2af1-4147-9ed4-41cc5af57d2e 2026-04-29 02:22:16,773 - DEBUG - VM ctest-TestRoutersBasic-42605826-89024054 launched on Node cn-jenkins-deploy-platform-ansible-os-5708-1 2026-04-29 02:22:16,863 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dfdd3788-2af1-4147-9ed4-41cc5af57d2e 2026-04-29 02:22:16,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9e6ca25b-b2c5-4526-8bc1-521dd2a85ad4 2026-04-29 02:22:18,115 - 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=7.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.493/4.073/7.653/3.580 ms') 2026-04-29 02:22:18,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42605826-89024054 passed 2026-04-29 02:22:18,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:22:18,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42605826-89024054, IP 166.54.245.3, Port 22 2026-04-29 02:22:18,442 - DEBUG - VM ctest-TestRoutersBasic-42605826-89024054 is ready for SSH connections 2026-04-29 02:22:18,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:22:18,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.54.245.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 02:22:18,442 - DEBUG - ping -s 56 -c 3 -W 1 166.54.245.3 2026-04-29 02:22:22,246 - DEBUG - PING 166.54.245.3 (166.54.245.3): 56 data bytes 64 bytes from 166.54.245.3: seq=0 ttl=62 time=5.664 ms 64 bytes from 166.54.245.3: seq=1 ttl=62 time=1.078 ms 64 bytes from 166.54.245.3: seq=2 ttl=62 time=1.103 ms --- 166.54.245.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.615/5.664 ms 2026-04-29 02:22:22,246 - INFO - Ping to IP 166.54.245.3 from VM ctest-TestRoutersBasic-42605826-53424462 passed 2026-04-29 02:22:22,246 - INFO - Deleting interface with subnet_id b86e96a1-d08e-4853-b8a8-c9ae0cf2e94f, port_id None from router 456250af-fdb8-472e-9daf-e3577fd35e4e 2026-04-29 02:22:22,464 - INFO - Deleting VM ctest-TestRoutersBasic-42605826-89024054 2026-04-29 02:22:22,547 - INFO - Deleting VM ctest-TestRoutersBasic-42605826-53424462 2026-04-29 02:22:22,642 - INFO - Deleting VN ctest-ext_vn-99960550 2026-04-29 02:22:22,712 - DEBUG - VN 15707ba8-61b7-4f84-aa95-425cefc4c223 still in use: Unable to complete operation on network 15707ba8-61b7-4f84-aa95-425cefc4c223. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8024b202-e256-4824-af25-e2d4e07136ed'] 2026-04-29 02:22:22,712 - WARNING - Deleting VN ctest-ext_vn-99960550 failed..Will retry 2026-04-29 02:22:24,826 - DEBUG - Response for deleting network () 2026-04-29 02:22:24,826 - INFO - Deleting VN ctest-vn-40573735 2026-04-29 02:22:24,951 - DEBUG - Response for deleting network () 2026-04-29 02:22:25,209 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 02:22:25,209 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-04-29 02:22:25,210 - INFO - -------------------------------------------------------------------------------- 2026-04-29 02:22:25,975 - INFO - Deleted project: ctest-TestRoutersBasic-42605826, ID : 116a0366-1abc-4505-95e2-d00cc40413d7