2026-05-28 14:35:40,632 - INFO - Domain Default found not creating 2026-05-28 14:35:40,829 - INFO - Project ctest-TestRoutersBasic-11525446 not found, creating it 2026-05-28 14:35:41,322 - INFO - Created Project:ctest-TestRoutersBasic-11525446, ID : d41b8a95-6fec-4b98-8b33-65d857d17a12 2026-05-28 14:35:42,972 - INFO - ================================================================================ 2026-05-28 14:35:42,972 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-28 14:35:42,972 - 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-28 14:35:43,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-05-28 14:35:43,230 - INFO - Initial checks done. Running the testcase now 2026-05-28 14:35:43,230 - INFO - 2026-05-28 14:35:43,992 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11525446 2026-05-28 14:35:44,092 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11525446 2026-05-28 14:35:44,415 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11525446', 'default']} 2026-05-28 14:35:44,742 - DEBUG - Response for create_network : {'network': {'id': 'b1e81191-c8ba-4c3c-a572-d08c70e1b685', 'name': 'ctest-vn-42885375', 'tenant_id': 'd41b8a956fec4b988b3365d857d17a12', 'project_id': 'd41b8a956fec4b988b3365d857d17a12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11525446', 'ctest-vn-42885375'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:35:44,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '31ffd9a5-4b79-48ec-b1d5-a1724d65b842', 'name': '', 'tenant_id': 'd41b8a956fec4b988b3365d857d17a12', 'network_id': 'b1e81191-c8ba-4c3c-a572-d08c70e1b685', 'ip_version': 4, 'cidr': '217.161.62.192/26', 'allocation_pools': [{'start': '217.161.62.194', 'end': '217.161.62.254'}], 'gateway_ip': '217.161.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.161.62.194', 'tags': [], 'project_id': 'd41b8a956fec4b988b3365d857d17a12'}} 2026-05-28 14:35:44,978 - INFO - Created VN ctest-vn-42885375 2026-05-28 14:35:45,032 - DEBUG - VN ctest-vn-42885375 UUID is b1e81191-c8ba-4c3c-a572-d08c70e1b685 2026-05-28 14:35:45,385 - DEBUG - Response for create_network : {'network': {'id': '14f0b108-a3df-4c92-8aed-27be6b8d5db1', 'name': 'ctest-ext_vn-22179534', 'tenant_id': 'd41b8a956fec4b988b3365d857d17a12', 'project_id': 'd41b8a956fec4b988b3365d857d17a12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11525446', 'ctest-ext_vn-22179534'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:35:45,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '23904ff1-9cdc-47d4-baf5-ebb05b9219fe', 'name': '', 'tenant_id': 'd41b8a956fec4b988b3365d857d17a12', 'network_id': '14f0b108-a3df-4c92-8aed-27be6b8d5db1', 'ip_version': 4, 'cidr': '56.189.105.64/26', 'allocation_pools': [{'start': '56.189.105.66', 'end': '56.189.105.126'}], 'gateway_ip': '56.189.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.189.105.66', 'tags': [], 'project_id': 'd41b8a956fec4b988b3365d857d17a12'}} 2026-05-28 14:35:45,573 - INFO - Created VN ctest-ext_vn-22179534 2026-05-28 14:35:45,635 - DEBUG - VN ctest-ext_vn-22179534 UUID is 14f0b108-a3df-4c92-8aed-27be6b8d5db1 2026-05-28 14:35:45,836 - DEBUG - Services list from nova: [, , ] 2026-05-28 14:35:46,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5844-1) 2026-05-28 14:35:48,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5844-1) 2026-05-28 14:35:48,404 - INFO - Setting gateway for router 1905d1c9-09d0-48e1-a021-450035d0dec8 to network 14f0b108-a3df-4c92-8aed-27be6b8d5db1 2026-05-28 14:35:48,511 - INFO - Adding interface with subnet_id 31ffd9a5-4b79-48ec-b1d5-a1724d65b842, port_id None to router 1905d1c9-09d0-48e1-a021-450035d0dec8 2026-05-28 14:35:49,035 - INFO - Waiting for VM ctest-TestRoutersBasic-11525446-13134152 to be up.. 2026-05-28 14:35:49,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 14:35:54,298 - DEBUG - VM is in ACTIVE state now 2026-05-28 14:35:54,298 - INFO - VM name : ctest-TestRoutersBasic-11525446-13134152 2026-05-28 14:35:54,389 - DEBUG - VM ctest-TestRoutersBasic-11525446-13134152 ID is 9812f78e-4df7-477e-ac2a-96d9ca9c771d 2026-05-28 14:35:54,412 - DEBUG - VM ctest-TestRoutersBasic-11525446-13134152 launched on Node cn-jenkins-deploy-platform-ansible-os-5844-1 2026-05-28 14:35:54,502 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9812f78e-4df7-477e-ac2a-96d9ca9c771d 2026-05-28 14:35:54,822 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9812f78e-4df7-477e-ac2a-96d9ca9c771d 2026-05-28 14:35:54,866 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ce147b68-c438-4b9c-af54-3d3f786a39bf 2026-05-28 14:35:58,130 - 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-05-28 14:35:58,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11525446-13134152 failed! 2026-05-28 14:35:58,188 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11525446:ctest-vn-42885375 is 217.161.62.193 and allocation pool is NOT set 2026-05-28 14:36:00,262 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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 = 1.711/3.166/4.621/1.455 ms') 2026-05-28 14:36:00,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11525446-13134152 passed 2026-05-28 14:36:00,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:36:00,424 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11525446-13134152, IP 217.161.62.195, Port 22 2026-05-28 14:36:00,490 - 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-05-28 14:36:00,599 - DEBUG - VM ctest-TestRoutersBasic-11525446-13134152 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 14:36:05,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:36:05,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11525446-13134152, IP 217.161.62.195, Port 22 2026-05-28 14:36:05,770 - DEBUG - VM ctest-TestRoutersBasic-11525446-13134152 is ready for SSH connections 2026-05-28 14:36:05,770 - INFO - Waiting for VM ctest-TestRoutersBasic-11525446-25716456 to be up.. 2026-05-28 14:36:05,854 - DEBUG - VM is in ACTIVE state now 2026-05-28 14:36:05,854 - INFO - VM name : ctest-TestRoutersBasic-11525446-25716456 2026-05-28 14:36:05,936 - DEBUG - VM ctest-TestRoutersBasic-11525446-25716456 ID is 961749e3-19f9-42a5-b7ed-1113623ef2dc 2026-05-28 14:36:05,936 - DEBUG - VM ctest-TestRoutersBasic-11525446-25716456 launched on Node cn-jenkins-deploy-platform-ansible-os-5844-1 2026-05-28 14:36:06,027 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/961749e3-19f9-42a5-b7ed-1113623ef2dc 2026-05-28 14:36:06,039 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/646088a1-83e4-4189-b5fc-14b948de9939 2026-05-28 14:36:07,280 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.859/3.257/1.398 ms') 2026-05-28 14:36:07,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11525446-25716456 passed 2026-05-28 14:36:07,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:36:07,440 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11525446-25716456, IP 56.189.105.67, Port 22 2026-05-28 14:36:07,609 - DEBUG - VM ctest-TestRoutersBasic-11525446-25716456 is ready for SSH connections 2026-05-28 14:36:07,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:36:07,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.189.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:36:07,610 - DEBUG - ping -s 56 -c 3 -W 1 56.189.105.67 2026-05-28 14:36:11,399 - DEBUG - PING 56.189.105.67 (56.189.105.67): 56 data bytes 64 bytes from 56.189.105.67: seq=0 ttl=62 time=5.538 ms 64 bytes from 56.189.105.67: seq=1 ttl=62 time=1.290 ms 64 bytes from 56.189.105.67: seq=2 ttl=62 time=1.274 ms --- 56.189.105.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.274/2.700/5.538 ms 2026-05-28 14:36:11,399 - INFO - Ping to IP 56.189.105.67 from VM ctest-TestRoutersBasic-11525446-13134152 passed 2026-05-28 14:36:11,399 - INFO - Deleting interface with subnet_id 31ffd9a5-4b79-48ec-b1d5-a1724d65b842, port_id None from router 1905d1c9-09d0-48e1-a021-450035d0dec8 2026-05-28 14:36:11,619 - INFO - Deleting VM ctest-TestRoutersBasic-11525446-25716456 2026-05-28 14:36:11,707 - INFO - Deleting VM ctest-TestRoutersBasic-11525446-13134152 2026-05-28 14:36:11,798 - INFO - Deleting VN ctest-ext_vn-22179534 2026-05-28 14:36:11,881 - DEBUG - VN 14f0b108-a3df-4c92-8aed-27be6b8d5db1 still in use: Unable to complete operation on network 14f0b108-a3df-4c92-8aed-27be6b8d5db1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abb78cc7-88b3-4230-bfea-8faba6d2f209'] 2026-05-28 14:36:11,881 - WARNING - Deleting VN ctest-ext_vn-22179534 failed..Will retry 2026-05-28 14:36:14,017 - DEBUG - Response for deleting network () 2026-05-28 14:36:14,017 - INFO - Deleting VN ctest-vn-42885375 2026-05-28 14:36:14,137 - DEBUG - Response for deleting network () 2026-05-28 14:36:14,397 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 14:36:14,398 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-05-28 14:36:14,398 - INFO - -------------------------------------------------------------------------------- 2026-05-28 14:36:15,191 - INFO - Deleted project: ctest-TestRoutersBasic-11525446, ID : d41b8a95-6fec-4b98-8b33-65d857d17a12