2025-11-03 12:24:31,602 - INFO - Domain Default found not creating 2025-11-03 12:24:31,742 - INFO - Project ctest-TestRoutersBasic-07550831 not found, creating it 2025-11-03 12:24:32,167 - INFO - Created Project:ctest-TestRoutersBasic-07550831, ID : df967aef-cca3-4aee-a581-12e5169056dd 2025-11-03 12:24:33,554 - INFO - ================================================================================ 2025-11-03 12:24:33,555 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-03 12:24:33,555 - 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 2025-11-03 12:24:33,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-03 12:24:33,809 - INFO - Initial checks done. Running the testcase now 2025-11-03 12:24:33,809 - INFO - 2025-11-03 12:24:34,489 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07550831 2025-11-03 12:24:34,584 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07550831 2025-11-03 12:24:34,919 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07550831', 'default']} 2025-11-03 12:24:35,183 - DEBUG - Response for create_network : {'network': {'id': 'd5543fad-a2d0-4664-87af-92874259516a', 'name': 'ctest-vn-94134267', 'tenant_id': 'df967aefcca34aeea58112e5169056dd', 'project_id': 'df967aefcca34aeea58112e5169056dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07550831', 'ctest-vn-94134267'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:24:35,374 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae0d6fb8-86c2-44f3-88a7-581df947a9c2', 'name': '', 'tenant_id': 'df967aefcca34aeea58112e5169056dd', 'network_id': 'd5543fad-a2d0-4664-87af-92874259516a', 'ip_version': 4, 'cidr': '160.174.195.128/26', 'allocation_pools': [{'start': '160.174.195.130', 'end': '160.174.195.190'}], 'gateway_ip': '160.174.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.174.195.130', 'tags': [], 'project_id': 'df967aefcca34aeea58112e5169056dd'}} 2025-11-03 12:24:35,389 - INFO - Created VN ctest-vn-94134267 2025-11-03 12:24:35,440 - DEBUG - VN ctest-vn-94134267 UUID is d5543fad-a2d0-4664-87af-92874259516a 2025-11-03 12:24:35,742 - DEBUG - Response for create_network : {'network': {'id': '78489fca-d929-4543-985d-ebef61c88fed', 'name': 'ctest-ext_vn-20789527', 'tenant_id': 'df967aefcca34aeea58112e5169056dd', 'project_id': 'df967aefcca34aeea58112e5169056dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07550831', 'ctest-ext_vn-20789527'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:24:35,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '89b8d510-a1d2-4940-ab44-d7cdfbaaf1af', 'name': '', 'tenant_id': 'df967aefcca34aeea58112e5169056dd', 'network_id': '78489fca-d929-4543-985d-ebef61c88fed', 'ip_version': 4, 'cidr': '208.101.27.192/26', 'allocation_pools': [{'start': '208.101.27.194', 'end': '208.101.27.254'}], 'gateway_ip': '208.101.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.101.27.194', 'tags': [], 'project_id': 'df967aefcca34aeea58112e5169056dd'}} 2025-11-03 12:24:35,935 - INFO - Created VN ctest-ext_vn-20789527 2025-11-03 12:24:35,988 - DEBUG - VN ctest-ext_vn-20789527 UUID is 78489fca-d929-4543-985d-ebef61c88fed 2025-11-03 12:24:36,185 - DEBUG - Services list from nova: [, , ] 2025-11-03 12:24:37,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:24:38,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:24:38,363 - INFO - Setting gateway for router 1b2afef2-a7e6-4f3e-afc4-0f146e04f21a to network 78489fca-d929-4543-985d-ebef61c88fed 2025-11-03 12:24:38,423 - INFO - Adding interface with subnet_id ae0d6fb8-86c2-44f3-88a7-581df947a9c2, port_id None to router 1b2afef2-a7e6-4f3e-afc4-0f146e04f21a 2025-11-03 12:24:38,726 - INFO - Waiting for VM ctest-TestRoutersBasic-07550831-81908057 to be up.. 2025-11-03 12:24:38,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 12:24:43,973 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:24:43,973 - INFO - VM name : ctest-TestRoutersBasic-07550831-81908057 2025-11-03 12:24:44,051 - DEBUG - VM ctest-TestRoutersBasic-07550831-81908057 ID is 637ec0fc-6429-4837-9eec-e4c0f1095faf 2025-11-03 12:24:44,069 - DEBUG - VM ctest-TestRoutersBasic-07550831-81908057 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:24:44,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/637ec0fc-6429-4837-9eec-e4c0f1095faf 2025-11-03 12:24:44,435 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/637ec0fc-6429-4837-9eec-e4c0f1095faf 2025-11-03 12:24:44,462 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f33e4508-4842-465e-b248-9013b9e1d9d9 2025-11-03 12:24:47,718 - 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 1028ms') 2025-11-03 12:24:47,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07550831-81908057 failed! 2025-11-03 12:24:47,776 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07550831:ctest-vn-94134267 is 160.174.195.129 and allocation pool is NOT set 2025-11-03 12:24:49,841 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.692/2.990/1.298 ms') 2025-11-03 12:24:49,841 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07550831-81908057 passed 2025-11-03 12:24:49,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:49,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07550831-81908057, IP 160.174.195.131, Port 22 2025-11-03 12:24:50,143 - DEBUG - VM ctest-TestRoutersBasic-07550831-81908057 is ready for SSH connections 2025-11-03 12:24:50,143 - INFO - Waiting for VM ctest-TestRoutersBasic-07550831-27677149 to be up.. 2025-11-03 12:24:50,210 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:24:50,210 - INFO - VM name : ctest-TestRoutersBasic-07550831-27677149 2025-11-03 12:24:50,275 - DEBUG - VM ctest-TestRoutersBasic-07550831-27677149 ID is aa97cc41-8da3-4190-ab1c-6183b5d644b7 2025-11-03 12:24:50,275 - DEBUG - VM ctest-TestRoutersBasic-07550831-27677149 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:24:50,337 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aa97cc41-8da3-4190-ab1c-6183b5d644b7 2025-11-03 12:24:50,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/eff2e998-1015-4ce4-b989-34dd83fd93d7 2025-11-03 12:24:51,578 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/1.620/2.746/1.126 ms') 2025-11-03 12:24:51,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07550831-27677149 passed 2025-11-03 12:24:51,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:51,724 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07550831-27677149, IP 208.101.27.195, Port 22 2025-11-03 12:24:51,883 - DEBUG - VM ctest-TestRoutersBasic-07550831-27677149 is ready for SSH connections 2025-11-03 12:24:51,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:51,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.101.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:24:51,883 - DEBUG - ping -s 56 -c 3 -W 1 208.101.27.195 2025-11-03 12:24:55,866 - DEBUG - PING 208.101.27.195 (208.101.27.195): 56 data bytes 64 bytes from 208.101.27.195: seq=0 ttl=62 time=6.966 ms 64 bytes from 208.101.27.195: seq=1 ttl=62 time=0.945 ms 64 bytes from 208.101.27.195: seq=2 ttl=62 time=0.753 ms --- 208.101.27.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/2.888/6.966 ms 2025-11-03 12:24:55,866 - INFO - Ping to IP 208.101.27.195 from VM ctest-TestRoutersBasic-07550831-81908057 passed 2025-11-03 12:24:55,866 - INFO - Deleting interface with subnet_id ae0d6fb8-86c2-44f3-88a7-581df947a9c2, port_id None from router 1b2afef2-a7e6-4f3e-afc4-0f146e04f21a 2025-11-03 12:24:56,042 - INFO - Deleting VM ctest-TestRoutersBasic-07550831-27677149 2025-11-03 12:24:56,114 - INFO - Deleting VM ctest-TestRoutersBasic-07550831-81908057 2025-11-03 12:24:56,192 - INFO - Deleting VN ctest-ext_vn-20789527 2025-11-03 12:24:56,251 - DEBUG - VN 78489fca-d929-4543-985d-ebef61c88fed still in use: Unable to complete operation on network 78489fca-d929-4543-985d-ebef61c88fed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2eec1f59-ff02-461c-b3d4-d13a93f912b0'] 2025-11-03 12:24:56,251 - WARNING - Deleting VN ctest-ext_vn-20789527 failed..Will retry 2025-11-03 12:24:58,347 - DEBUG - Response for deleting network () 2025-11-03 12:24:58,347 - INFO - Deleting VN ctest-vn-94134267 2025-11-03 12:24:58,432 - DEBUG - Response for deleting network () 2025-11-03 12:24:58,688 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 12:24:58,688 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-03 12:24:58,688 - INFO - -------------------------------------------------------------------------------- 2025-11-03 12:24:59,336 - INFO - Deleted project: ctest-TestRoutersBasic-07550831, ID : df967aef-cca3-4aee-a581-12e5169056dd