2026-02-19 16:49:57,125 - INFO - Domain Default found not creating 2026-02-19 16:49:57,416 - INFO - Project ctest-TestRoutersBasic-91852660 not found, creating it 2026-02-19 16:49:58,021 - INFO - Created Project:ctest-TestRoutersBasic-91852660, ID : 919affa2-27f5-4e00-91a9-13db960e656b 2026-02-19 16:49:59,842 - INFO - ================================================================================ 2026-02-19 16:49:59,843 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-19 16:49:59,843 - 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-02-19 16:50:00,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-02-19 16:50:00,137 - INFO - Initial checks done. Running the testcase now 2026-02-19 16:50:00,137 - INFO - 2026-02-19 16:50:00,975 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91852660 2026-02-19 16:50:01,079 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91852660 2026-02-19 16:50:01,438 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91852660', 'default']} 2026-02-19 16:50:01,772 - DEBUG - Response for create_network : {'network': {'id': '56cfce14-65af-4ff4-b4ee-b123090c8b22', 'name': 'ctest-vn-48430540', 'tenant_id': '919affa227f54e0091a913db960e656b', 'project_id': '919affa227f54e0091a913db960e656b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91852660', 'ctest-vn-48430540'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 16:50:01,988 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef4d3837-65fa-41b1-8d4e-f749952af7b7', 'name': '', 'tenant_id': '919affa227f54e0091a913db960e656b', 'network_id': '56cfce14-65af-4ff4-b4ee-b123090c8b22', 'ip_version': 4, 'cidr': '40.198.143.64/26', 'allocation_pools': [{'start': '40.198.143.66', 'end': '40.198.143.126'}], 'gateway_ip': '40.198.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.198.143.66', 'tags': [], 'project_id': '919affa227f54e0091a913db960e656b'}} 2026-02-19 16:50:02,011 - INFO - Created VN ctest-vn-48430540 2026-02-19 16:50:02,063 - DEBUG - VN ctest-vn-48430540 UUID is 56cfce14-65af-4ff4-b4ee-b123090c8b22 2026-02-19 16:50:02,409 - DEBUG - Response for create_network : {'network': {'id': '13435ecb-45fc-4dcc-9377-154120d1b2ee', 'name': 'ctest-ext_vn-31266990', 'tenant_id': '919affa227f54e0091a913db960e656b', 'project_id': '919affa227f54e0091a913db960e656b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91852660', 'ctest-ext_vn-31266990'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 16:50:02,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '30b5da71-962e-48d5-ac66-fdd3b2412497', 'name': '', 'tenant_id': '919affa227f54e0091a913db960e656b', 'network_id': '13435ecb-45fc-4dcc-9377-154120d1b2ee', 'ip_version': 4, 'cidr': '26.243.136.64/26', 'allocation_pools': [{'start': '26.243.136.66', 'end': '26.243.136.126'}], 'gateway_ip': '26.243.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.243.136.66', 'tags': [], 'project_id': '919affa227f54e0091a913db960e656b'}} 2026-02-19 16:50:02,680 - INFO - Created VN ctest-ext_vn-31266990 2026-02-19 16:50:02,740 - DEBUG - VN ctest-ext_vn-31266990 UUID is 13435ecb-45fc-4dcc-9377-154120d1b2ee 2026-02-19 16:50:02,930 - DEBUG - Services list from nova: [, , ] 2026-02-19 16:50:04,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5360-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5360-1) 2026-02-19 16:50:05,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5360-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5360-1) 2026-02-19 16:50:05,477 - INFO - Setting gateway for router 51f7ea72-0267-4ec6-b87e-9b0e288205ea to network 13435ecb-45fc-4dcc-9377-154120d1b2ee 2026-02-19 16:50:05,567 - INFO - Adding interface with subnet_id ef4d3837-65fa-41b1-8d4e-f749952af7b7, port_id None to router 51f7ea72-0267-4ec6-b87e-9b0e288205ea 2026-02-19 16:50:05,988 - INFO - Waiting for VM ctest-TestRoutersBasic-91852660-45997465 to be up.. 2026-02-19 16:50:06,147 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 16:50:11,252 - DEBUG - VM is in ACTIVE state now 2026-02-19 16:50:11,252 - INFO - VM name : ctest-TestRoutersBasic-91852660-45997465 2026-02-19 16:50:11,347 - DEBUG - VM ctest-TestRoutersBasic-91852660-45997465 ID is 9a7c07e9-bab3-466d-b8da-66ca2c8bb958 2026-02-19 16:50:11,373 - DEBUG - VM ctest-TestRoutersBasic-91852660-45997465 launched on Node cn-jenkins-deploy-platform-ansible-os-5360-1 2026-02-19 16:50:11,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a7c07e9-bab3-466d-b8da-66ca2c8bb958 2026-02-19 16:50:11,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a7c07e9-bab3-466d-b8da-66ca2c8bb958 2026-02-19 16:50:11,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d6827fac-de86-466a-8a96-7f4bf6b47bd8 2026-02-19 16:50:15,115 - 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 1010ms') 2026-02-19 16:50:15,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91852660-45997465 failed! 2026-02-19 16:50:15,179 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91852660:ctest-vn-48430540 is 40.198.143.65 and allocation pool is NOT set 2026-02-19 16:50:17,261 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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 = 2.478/3.491/4.505/1.013 ms') 2026-02-19 16:50:17,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91852660-45997465 passed 2026-02-19 16:50:17,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 16:50:17,427 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91852660-45997465, IP 40.198.143.67, Port 22 2026-02-19 16:50:17,505 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 16:50:17,666 - DEBUG - VM ctest-TestRoutersBasic-91852660-45997465 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 16:50:22,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 16:50:22,667 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91852660-45997465, IP 40.198.143.67, Port 22 2026-02-19 16:50:22,841 - DEBUG - VM ctest-TestRoutersBasic-91852660-45997465 is ready for SSH connections 2026-02-19 16:50:22,842 - INFO - Waiting for VM ctest-TestRoutersBasic-91852660-95227676 to be up.. 2026-02-19 16:50:22,975 - DEBUG - VM is in ACTIVE state now 2026-02-19 16:50:22,975 - INFO - VM name : ctest-TestRoutersBasic-91852660-95227676 2026-02-19 16:50:23,105 - DEBUG - VM ctest-TestRoutersBasic-91852660-95227676 ID is f9b0d159-9d58-4e93-bbac-e060323fbad8 2026-02-19 16:50:23,106 - DEBUG - VM ctest-TestRoutersBasic-91852660-95227676 launched on Node cn-jenkins-deploy-platform-ansible-os-5360-1 2026-02-19 16:50:23,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f9b0d159-9d58-4e93-bbac-e060323fbad8 2026-02-19 16:50:23,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe7d8b0c-1d48-4392-86df-2d6305c65ffa 2026-02-19 16:50:24,498 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.839 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.839/2.398/3.958/1.559 ms') 2026-02-19 16:50:24,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91852660-95227676 passed 2026-02-19 16:50:24,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 16:50:24,679 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91852660-95227676, IP 26.243.136.67, Port 22 2026-02-19 16:50:24,865 - DEBUG - VM ctest-TestRoutersBasic-91852660-95227676 is ready for SSH connections 2026-02-19 16:50:24,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 16:50:24,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.243.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-19 16:50:24,865 - DEBUG - ping -s 56 -c 3 -W 1 26.243.136.67 2026-02-19 16:50:28,828 - DEBUG - PING 26.243.136.67 (26.243.136.67): 56 data bytes 64 bytes from 26.243.136.67: seq=0 ttl=62 time=6.365 ms 64 bytes from 26.243.136.67: seq=1 ttl=62 time=2.511 ms 64 bytes from 26.243.136.67: seq=2 ttl=62 time=1.582 ms --- 26.243.136.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.582/3.486/6.365 ms 2026-02-19 16:50:28,828 - INFO - Ping to IP 26.243.136.67 from VM ctest-TestRoutersBasic-91852660-45997465 passed 2026-02-19 16:50:28,828 - INFO - Deleting interface with subnet_id ef4d3837-65fa-41b1-8d4e-f749952af7b7, port_id None from router 51f7ea72-0267-4ec6-b87e-9b0e288205ea 2026-02-19 16:50:29,125 - INFO - Deleting VM ctest-TestRoutersBasic-91852660-95227676 2026-02-19 16:50:29,211 - INFO - Deleting VM ctest-TestRoutersBasic-91852660-45997465 2026-02-19 16:50:29,293 - INFO - Deleting VN ctest-ext_vn-31266990 2026-02-19 16:50:29,370 - DEBUG - VN 13435ecb-45fc-4dcc-9377-154120d1b2ee still in use: Unable to complete operation on network 13435ecb-45fc-4dcc-9377-154120d1b2ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01231b0f-9fd5-4f90-9b44-208d5f1340ed'] 2026-02-19 16:50:29,371 - WARNING - Deleting VN ctest-ext_vn-31266990 failed..Will retry 2026-02-19 16:50:31,510 - DEBUG - Response for deleting network () 2026-02-19 16:50:31,510 - INFO - Deleting VN ctest-vn-48430540 2026-02-19 16:50:31,618 - DEBUG - Response for deleting network () 2026-02-19 16:50:31,899 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 16:50:31,899 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-02-19 16:50:31,899 - INFO - -------------------------------------------------------------------------------- 2026-02-19 16:50:32,774 - INFO - Deleted project: ctest-TestRoutersBasic-91852660, ID : 919affa2-27f5-4e00-91a9-13db960e656b