2026-01-08 02:26:52,724 - INFO - Domain Default found not creating 2026-01-08 02:26:52,934 - INFO - Project ctest-TestRoutersBasic-40310127 not found, creating it 2026-01-08 02:26:53,425 - INFO - Created Project:ctest-TestRoutersBasic-40310127, ID : 0adc2e21-4625-4287-9ebb-cfaa025f9898 2026-01-08 02:26:55,189 - INFO - ================================================================================ 2026-01-08 02:26:55,189 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-08 02:26:55,189 - 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-01-08 02:26:55,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2026-01-08 02:26:55,457 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:26:55,458 - INFO - 2026-01-08 02:26:56,287 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40310127 2026-01-08 02:26:56,392 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40310127 2026-01-08 02:26:56,727 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40310127', 'default']} 2026-01-08 02:26:57,038 - DEBUG - Response for create_network : {'network': {'id': '55ec612a-383c-4717-bbc4-efd92aa93af9', 'name': 'ctest-vn-26282096', 'tenant_id': '0adc2e21462542879ebbcfaa025f9898', 'project_id': '0adc2e21462542879ebbcfaa025f9898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40310127', 'ctest-vn-26282096'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:26:57,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c15e9c3-39d4-428d-9dd5-7156e69f239a', 'name': '', 'tenant_id': '0adc2e21462542879ebbcfaa025f9898', 'network_id': '55ec612a-383c-4717-bbc4-efd92aa93af9', 'ip_version': 4, 'cidr': '199.44.150.128/26', 'allocation_pools': [{'start': '199.44.150.130', 'end': '199.44.150.190'}], 'gateway_ip': '199.44.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.44.150.130', 'tags': [], 'project_id': '0adc2e21462542879ebbcfaa025f9898'}} 2026-01-08 02:26:57,239 - INFO - Created VN ctest-vn-26282096 2026-01-08 02:26:57,291 - DEBUG - VN ctest-vn-26282096 UUID is 55ec612a-383c-4717-bbc4-efd92aa93af9 2026-01-08 02:26:57,665 - DEBUG - Response for create_network : {'network': {'id': '72a65fa9-bc65-4c36-8595-8979f9e1ade1', 'name': 'ctest-ext_vn-26576186', 'tenant_id': '0adc2e21462542879ebbcfaa025f9898', 'project_id': '0adc2e21462542879ebbcfaa025f9898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40310127', 'ctest-ext_vn-26576186'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:26:57,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c9028cb-6560-4251-ac28-0aa0a7c5583b', 'name': '', 'tenant_id': '0adc2e21462542879ebbcfaa025f9898', 'network_id': '72a65fa9-bc65-4c36-8595-8979f9e1ade1', 'ip_version': 4, 'cidr': '50.18.22.128/26', 'allocation_pools': [{'start': '50.18.22.130', 'end': '50.18.22.190'}], 'gateway_ip': '50.18.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.18.22.130', 'tags': [], 'project_id': '0adc2e21462542879ebbcfaa025f9898'}} 2026-01-08 02:26:57,875 - INFO - Created VN ctest-ext_vn-26576186 2026-01-08 02:26:57,931 - DEBUG - VN ctest-ext_vn-26576186 UUID is 72a65fa9-bc65-4c36-8595-8979f9e1ade1 2026-01-08 02:26:58,116 - DEBUG - Services list from nova: [, , ] 2026-01-08 02:26:59,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4980-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4980-1) 2026-01-08 02:27:00,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4980-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4980-1) 2026-01-08 02:27:00,832 - INFO - Setting gateway for router a4aa7011-92d3-4584-844c-499c4b687855 to network 72a65fa9-bc65-4c36-8595-8979f9e1ade1 2026-01-08 02:27:00,914 - INFO - Adding interface with subnet_id 5c15e9c3-39d4-428d-9dd5-7156e69f239a, port_id None to router a4aa7011-92d3-4584-844c-499c4b687855 2026-01-08 02:27:01,416 - INFO - Waiting for VM ctest-TestRoutersBasic-40310127-32683666 to be up.. 2026-01-08 02:27:01,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 02:27:06,668 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:27:06,668 - INFO - VM name : ctest-TestRoutersBasic-40310127-32683666 2026-01-08 02:27:06,749 - DEBUG - VM ctest-TestRoutersBasic-40310127-32683666 ID is 0f5576b9-863b-453d-873a-7b5f7da9b878 2026-01-08 02:27:06,769 - DEBUG - VM ctest-TestRoutersBasic-40310127-32683666 launched on Node cn-jenkins-deploy-platform-ansible-os-4980-1 2026-01-08 02:27:06,844 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0f5576b9-863b-453d-873a-7b5f7da9b878 2026-01-08 02:27:07,183 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0f5576b9-863b-453d-873a-7b5f7da9b878 2026-01-08 02:27:07,222 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/78bc8512-e98c-4693-bf34-b142eb9444f6 2026-01-08 02:27:10,461 - 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 1001ms') 2026-01-08 02:27:10,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40310127-32683666 failed! 2026-01-08 02:27:10,523 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40310127:ctest-vn-26282096 is 199.44.150.129 and allocation pool is NOT set 2026-01-08 02:27:12,593 - 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=5.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.534/3.339/5.144/1.805 ms') 2026-01-08 02:27:12,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40310127-32683666 passed 2026-01-08 02:27:12,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:27:12,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40310127-32683666, IP 199.44.150.131, Port 22 2026-01-08 02:27:12,814 - 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-01-08 02:27:12,898 - DEBUG - VM ctest-TestRoutersBasic-40310127-32683666 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-08 02:27:17,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:27:17,900 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40310127-32683666, IP 199.44.150.131, Port 22 2026-01-08 02:27:18,054 - DEBUG - VM ctest-TestRoutersBasic-40310127-32683666 is ready for SSH connections 2026-01-08 02:27:18,055 - INFO - Waiting for VM ctest-TestRoutersBasic-40310127-86630928 to be up.. 2026-01-08 02:27:18,135 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:27:18,135 - INFO - VM name : ctest-TestRoutersBasic-40310127-86630928 2026-01-08 02:27:18,219 - DEBUG - VM ctest-TestRoutersBasic-40310127-86630928 ID is 840e2a9c-1763-4a4e-be2e-5e64d0663d3e 2026-01-08 02:27:18,220 - DEBUG - VM ctest-TestRoutersBasic-40310127-86630928 launched on Node cn-jenkins-deploy-platform-ansible-os-4980-1 2026-01-08 02:27:18,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/840e2a9c-1763-4a4e-be2e-5e64d0663d3e 2026-01-08 02:27:18,304 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4d261b10-397a-47eb-baa4-4248b72c6029 2026-01-08 02:27:19,546 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.13 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 = 2.128/2.879/3.630/0.751 ms') 2026-01-08 02:27:19,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40310127-86630928 passed 2026-01-08 02:27:19,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:27:19,708 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40310127-86630928, IP 50.18.22.131, Port 22 2026-01-08 02:27:19,863 - DEBUG - VM ctest-TestRoutersBasic-40310127-86630928 is ready for SSH connections 2026-01-08 02:27:19,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:27:19,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.18.22.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-08 02:27:19,864 - DEBUG - ping -s 56 -c 3 -W 1 50.18.22.131 2026-01-08 02:27:23,636 - DEBUG - PING 50.18.22.131 (50.18.22.131): 56 data bytes 64 bytes from 50.18.22.131: seq=0 ttl=62 time=4.817 ms 64 bytes from 50.18.22.131: seq=1 ttl=62 time=1.063 ms 64 bytes from 50.18.22.131: seq=2 ttl=62 time=1.080 ms --- 50.18.22.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/2.320/4.817 ms 2026-01-08 02:27:23,636 - INFO - Ping to IP 50.18.22.131 from VM ctest-TestRoutersBasic-40310127-32683666 passed 2026-01-08 02:27:23,636 - INFO - Deleting interface with subnet_id 5c15e9c3-39d4-428d-9dd5-7156e69f239a, port_id None from router a4aa7011-92d3-4584-844c-499c4b687855 2026-01-08 02:27:23,845 - INFO - Deleting VM ctest-TestRoutersBasic-40310127-86630928 2026-01-08 02:27:23,936 - INFO - Deleting VM ctest-TestRoutersBasic-40310127-32683666 2026-01-08 02:27:24,037 - INFO - Deleting VN ctest-ext_vn-26576186 2026-01-08 02:27:24,123 - DEBUG - VN 72a65fa9-bc65-4c36-8595-8979f9e1ade1 still in use: Unable to complete operation on network 72a65fa9-bc65-4c36-8595-8979f9e1ade1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccae02a9-85a5-4bbe-a24c-efb0f68e550d'] 2026-01-08 02:27:24,123 - WARNING - Deleting VN ctest-ext_vn-26576186 failed..Will retry 2026-01-08 02:27:26,266 - DEBUG - Response for deleting network () 2026-01-08 02:27:26,266 - INFO - Deleting VN ctest-vn-26282096 2026-01-08 02:27:26,387 - DEBUG - Response for deleting network () 2026-01-08 02:27:26,645 - DEBUG - No XMPP flaps were noticed during the test 2026-01-08 02:27:26,645 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-08 02:27:26,645 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:27:27,401 - INFO - Deleted project: ctest-TestRoutersBasic-40310127, ID : 0adc2e21-4625-4287-9ebb-cfaa025f9898