2026-06-19 20:45:08,995 - INFO - Domain Default found not creating 2026-06-19 20:45:09,119 - INFO - Project ctest-TestRoutersBasic-28304997 not found, creating it 2026-06-19 20:45:09,549 - INFO - Created Project:ctest-TestRoutersBasic-28304997, ID : 743faf38-dbae-4dad-b0fb-f48b318fd023 2026-06-19 20:45:11,021 - INFO - ================================================================================ 2026-06-19 20:45:11,021 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-19 20:45:11,022 - 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-06-19 20:45:11,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-06-19 20:45:11,277 - INFO - Initial checks done. Running the testcase now 2026-06-19 20:45:11,278 - INFO - 2026-06-19 20:45:12,689 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28304997 2026-06-19 20:45:12,784 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28304997 2026-06-19 20:45:13,100 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28304997', 'default']} 2026-06-19 20:45:13,365 - DEBUG - Response for create_network : {'network': {'id': 'ec1f019b-2975-4a86-a0c1-15699d9456ef', 'name': 'ctest-vn-13471241', 'tenant_id': '743faf38dbae4dadb0fbf48b318fd023', 'project_id': '743faf38dbae4dadb0fbf48b318fd023', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28304997', 'ctest-vn-13471241'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 20:45:13,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '88425ecc-0b99-4748-8521-33763c08f666', 'name': '', 'tenant_id': '743faf38dbae4dadb0fbf48b318fd023', 'network_id': 'ec1f019b-2975-4a86-a0c1-15699d9456ef', 'ip_version': 4, 'cidr': '134.58.87.64/26', 'allocation_pools': [{'start': '134.58.87.66', 'end': '134.58.87.126'}], 'gateway_ip': '134.58.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.58.87.66', 'tags': [], 'project_id': '743faf38dbae4dadb0fbf48b318fd023'}} 2026-06-19 20:45:13,531 - INFO - Created VN ctest-vn-13471241 2026-06-19 20:45:13,580 - DEBUG - VN ctest-vn-13471241 UUID is ec1f019b-2975-4a86-a0c1-15699d9456ef 2026-06-19 20:45:13,896 - DEBUG - Response for create_network : {'network': {'id': '7ea25fec-972c-40eb-95fe-070292408ff9', 'name': 'ctest-ext_vn-30794747', 'tenant_id': '743faf38dbae4dadb0fbf48b318fd023', 'project_id': '743faf38dbae4dadb0fbf48b318fd023', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28304997', 'ctest-ext_vn-30794747'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 20:45:14,104 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de8bb110-bfdf-4cda-8b9e-44a56f648688', 'name': '', 'tenant_id': '743faf38dbae4dadb0fbf48b318fd023', 'network_id': '7ea25fec-972c-40eb-95fe-070292408ff9', 'ip_version': 4, 'cidr': '37.147.21.192/26', 'allocation_pools': [{'start': '37.147.21.194', 'end': '37.147.21.254'}], 'gateway_ip': '37.147.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.147.21.194', 'tags': [], 'project_id': '743faf38dbae4dadb0fbf48b318fd023'}} 2026-06-19 20:45:14,119 - INFO - Created VN ctest-ext_vn-30794747 2026-06-19 20:45:14,168 - DEBUG - VN ctest-ext_vn-30794747 UUID is 7ea25fec-972c-40eb-95fe-070292408ff9 2026-06-19 20:45:14,474 - DEBUG - Services list from nova: [, , ] 2026-06-19 20:45:15,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6003-1) 2026-06-19 20:45:16,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6003-1) 2026-06-19 20:45:16,708 - INFO - Setting gateway for router 431a88b5-8e23-485e-8ca1-3857440e6e86 to network 7ea25fec-972c-40eb-95fe-070292408ff9 2026-06-19 20:45:16,749 - INFO - Adding interface with subnet_id 88425ecc-0b99-4748-8521-33763c08f666, port_id None to router 431a88b5-8e23-485e-8ca1-3857440e6e86 2026-06-19 20:45:16,936 - INFO - Waiting for VM ctest-TestRoutersBasic-28304997-11679309 to be up.. 2026-06-19 20:45:16,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 20:45:22,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 20:45:27,114 - DEBUG - VM is in ACTIVE state now 2026-06-19 20:45:27,114 - INFO - VM name : ctest-TestRoutersBasic-28304997-11679309 2026-06-19 20:45:27,175 - DEBUG - VM ctest-TestRoutersBasic-28304997-11679309 ID is 36df3958-83f6-4876-ab8c-a340366e4ebb 2026-06-19 20:45:27,194 - DEBUG - VM ctest-TestRoutersBasic-28304997-11679309 launched on Node cn-jenkins-deploy-platform-ansible-os-6003-1 2026-06-19 20:45:27,275 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/36df3958-83f6-4876-ab8c-a340366e4ebb 2026-06-19 20:45:27,601 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/36df3958-83f6-4876-ab8c-a340366e4ebb 2026-06-19 20:45:27,628 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/70e67cf1-46eb-408a-843e-16ee8e1a9aa9 2026-06-19 20:45:30,903 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-06-19 20:45:30,903 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-28304997-11679309 failed! 2026-06-19 20:45:30,960 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28304997:ctest-vn-13471241 is 134.58.87.65 and allocation pool is NOT set 2026-06-19 20:45:33,026 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.22 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.339 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.339/4.777/9.216/4.438 ms') 2026-06-19 20:45:33,026 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-28304997-11679309 passed 2026-06-19 20:45:33,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:45:33,180 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28304997-11679309, IP 134.58.87.67, Port 22 2026-06-19 20:45:33,246 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 20:45:33,329 - DEBUG - VM ctest-TestRoutersBasic-28304997-11679309 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 20:45:38,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:45:38,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28304997-11679309, IP 134.58.87.67, Port 22 2026-06-19 20:45:38,488 - DEBUG - VM ctest-TestRoutersBasic-28304997-11679309 is ready for SSH connections 2026-06-19 20:45:38,488 - INFO - Waiting for VM ctest-TestRoutersBasic-28304997-84236554 to be up.. 2026-06-19 20:45:38,552 - DEBUG - VM is in ACTIVE state now 2026-06-19 20:45:38,552 - INFO - VM name : ctest-TestRoutersBasic-28304997-84236554 2026-06-19 20:45:38,611 - DEBUG - VM ctest-TestRoutersBasic-28304997-84236554 ID is 3e66d562-d199-4daa-b99e-870bfa42f176 2026-06-19 20:45:38,611 - DEBUG - VM ctest-TestRoutersBasic-28304997-84236554 launched on Node cn-jenkins-deploy-platform-ansible-os-6003-1 2026-06-19 20:45:38,674 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3e66d562-d199-4daa-b99e-870bfa42f176 2026-06-19 20:45:38,683 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3fd7d73c-749f-4c93-bf9d-6a4cc0a547d4 2026-06-19 20:45:39,916 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.19 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.352 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.352/1.770/3.188/1.418 ms') 2026-06-19 20:45:39,916 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-28304997-84236554 passed 2026-06-19 20:45:40,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:45:40,064 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28304997-84236554, IP 37.147.21.196, Port 22 2026-06-19 20:45:40,220 - DEBUG - VM ctest-TestRoutersBasic-28304997-84236554 is ready for SSH connections 2026-06-19 20:45:40,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:45:40,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.147.21.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 20:45:40,220 - DEBUG - ping -s 56 -c 3 -W 1 37.147.21.196 2026-06-19 20:45:42,761 - DEBUG - PING 37.147.21.196 (37.147.21.196): 56 data bytes 64 bytes from 37.147.21.196: seq=0 ttl=62 time=7.611 ms 64 bytes from 37.147.21.196: seq=1 ttl=62 time=1.183 ms 64 bytes from 37.147.21.196: seq=2 ttl=62 time=0.932 ms --- 37.147.21.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/3.242/7.611 ms 2026-06-19 20:45:42,761 - INFO - Ping to IP 37.147.21.196 from VM ctest-TestRoutersBasic-28304997-11679309 passed 2026-06-19 20:45:42,761 - INFO - Deleting interface with subnet_id 88425ecc-0b99-4748-8521-33763c08f666, port_id None from router 431a88b5-8e23-485e-8ca1-3857440e6e86 2026-06-19 20:45:42,934 - INFO - Deleting VM ctest-TestRoutersBasic-28304997-84236554 2026-06-19 20:45:43,003 - INFO - Deleting VM ctest-TestRoutersBasic-28304997-11679309 2026-06-19 20:45:43,068 - INFO - Deleting VN ctest-ext_vn-30794747 2026-06-19 20:45:43,120 - DEBUG - VN 7ea25fec-972c-40eb-95fe-070292408ff9 still in use: Unable to complete operation on network 7ea25fec-972c-40eb-95fe-070292408ff9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-161c127a-857d-4ac0-bd03-39c538709393'] 2026-06-19 20:45:43,120 - WARNING - Deleting VN ctest-ext_vn-30794747 failed..Will retry 2026-06-19 20:45:45,229 - DEBUG - Response for deleting network () 2026-06-19 20:45:45,229 - INFO - Deleting VN ctest-vn-13471241 2026-06-19 20:45:45,319 - DEBUG - Response for deleting network () 2026-06-19 20:45:45,577 - DEBUG - No XMPP flaps were noticed during the test 2026-06-19 20:45:45,577 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-19 20:45:45,577 - INFO - -------------------------------------------------------------------------------- 2026-06-19 20:45:46,270 - INFO - Deleted project: ctest-TestRoutersBasic-28304997, ID : 743faf38-dbae-4dad-b0fb-f48b318fd023