2025-10-27 05:26:33,570 - INFO - Domain Default found not creating 2025-10-27 05:26:33,727 - INFO - Project ctest-TestRoutersBasic-27418252 not found, creating it 2025-10-27 05:26:34,215 - INFO - Created Project:ctest-TestRoutersBasic-27418252, ID : e43fe0d6-0830-4e03-952a-1a42627968ea 2025-10-27 05:26:35,857 - INFO - ================================================================================ 2025-10-27 05:26:35,858 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 05:26:35,858 - 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-10-27 05:26:36,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-27 05:26:36,114 - INFO - Initial checks done. Running the testcase now 2025-10-27 05:26:36,114 - INFO - 2025-10-27 05:26:36,912 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27418252 2025-10-27 05:26:37,011 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27418252 2025-10-27 05:26:37,331 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27418252', 'default']} 2025-10-27 05:26:37,647 - DEBUG - Response for create_network : {'network': {'id': '81f02d20-3360-4041-adea-9925a5b7ed33', 'name': 'ctest-vn-10298553', 'tenant_id': 'e43fe0d608304e03952a1a42627968ea', 'project_id': 'e43fe0d608304e03952a1a42627968ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27418252', 'ctest-vn-10298553'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 05:26:37,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '5de12ed0-71a4-4a6e-852b-b530f03b8a6f', 'name': '', 'tenant_id': 'e43fe0d608304e03952a1a42627968ea', 'network_id': '81f02d20-3360-4041-adea-9925a5b7ed33', 'ip_version': 4, 'cidr': '107.93.175.64/26', 'allocation_pools': [{'start': '107.93.175.66', 'end': '107.93.175.126'}], 'gateway_ip': '107.93.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.93.175.66', 'tags': [], 'project_id': 'e43fe0d608304e03952a1a42627968ea'}} 2025-10-27 05:26:37,902 - INFO - Created VN ctest-vn-10298553 2025-10-27 05:26:37,955 - DEBUG - VN ctest-vn-10298553 UUID is 81f02d20-3360-4041-adea-9925a5b7ed33 2025-10-27 05:26:38,289 - DEBUG - Response for create_network : {'network': {'id': 'f6521528-1c31-475e-ad19-fe1d3a2c2c4f', 'name': 'ctest-ext_vn-87656316', 'tenant_id': 'e43fe0d608304e03952a1a42627968ea', 'project_id': 'e43fe0d608304e03952a1a42627968ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27418252', 'ctest-ext_vn-87656316'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 05:26:38,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '32676b3b-ea09-4bfd-b366-5592118aed65', 'name': '', 'tenant_id': 'e43fe0d608304e03952a1a42627968ea', 'network_id': 'f6521528-1c31-475e-ad19-fe1d3a2c2c4f', 'ip_version': 4, 'cidr': '40.228.190.64/26', 'allocation_pools': [{'start': '40.228.190.66', 'end': '40.228.190.126'}], 'gateway_ip': '40.228.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.228.190.66', 'tags': [], 'project_id': 'e43fe0d608304e03952a1a42627968ea'}} 2025-10-27 05:26:38,483 - INFO - Created VN ctest-ext_vn-87656316 2025-10-27 05:26:38,535 - DEBUG - VN ctest-ext_vn-87656316 UUID is f6521528-1c31-475e-ad19-fe1d3a2c2c4f 2025-10-27 05:26:38,708 - DEBUG - Services list from nova: [, , ] 2025-10-27 05:26:39,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4492-1) 2025-10-27 05:26:41,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4492-1) 2025-10-27 05:26:41,215 - INFO - Setting gateway for router b5cf221f-9634-438f-848b-413849b9cd30 to network f6521528-1c31-475e-ad19-fe1d3a2c2c4f 2025-10-27 05:26:41,305 - INFO - Adding interface with subnet_id 5de12ed0-71a4-4a6e-852b-b530f03b8a6f, port_id None to router b5cf221f-9634-438f-848b-413849b9cd30 2025-10-27 05:26:41,603 - INFO - Waiting for VM ctest-TestRoutersBasic-27418252-47438736 to be up.. 2025-10-27 05:26:41,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 05:26:46,826 - DEBUG - VM is in ACTIVE state now 2025-10-27 05:26:46,826 - INFO - VM name : ctest-TestRoutersBasic-27418252-47438736 2025-10-27 05:26:46,912 - DEBUG - VM ctest-TestRoutersBasic-27418252-47438736 ID is 0f3917a8-d0f9-4a20-aa57-fec701094a49 2025-10-27 05:26:46,935 - DEBUG - VM ctest-TestRoutersBasic-27418252-47438736 launched on Node cn-jenkins-deploy-platform-ansible-os-4492-1 2025-10-27 05:26:47,028 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f3917a8-d0f9-4a20-aa57-fec701094a49 2025-10-27 05:26:47,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f3917a8-d0f9-4a20-aa57-fec701094a49 2025-10-27 05:26:47,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cdc265cf-7864-429a-9e5c-3b0e4d710c3f 2025-10-27 05:26:50,670 - 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') 2025-10-27 05:26:50,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27418252-47438736 failed! 2025-10-27 05:26:50,727 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27418252:ctest-vn-10298553 is 107.93.175.65 and allocation pool is NOT set 2025-10-27 05:26:52,789 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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 = 0.943/3.038/5.133/2.095 ms') 2025-10-27 05:26:52,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27418252-47438736 passed 2025-10-27 05:26:52,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:26:52,947 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27418252-47438736, IP 107.93.175.67, Port 22 2025-10-27 05:26:53,115 - DEBUG - VM ctest-TestRoutersBasic-27418252-47438736 is ready for SSH connections 2025-10-27 05:26:53,115 - INFO - Waiting for VM ctest-TestRoutersBasic-27418252-31085137 to be up.. 2025-10-27 05:26:53,208 - DEBUG - VM is in ACTIVE state now 2025-10-27 05:26:53,208 - INFO - VM name : ctest-TestRoutersBasic-27418252-31085137 2025-10-27 05:26:53,299 - DEBUG - VM ctest-TestRoutersBasic-27418252-31085137 ID is 6df3f038-ecae-4283-b8e7-31d4de954190 2025-10-27 05:26:53,300 - DEBUG - VM ctest-TestRoutersBasic-27418252-31085137 launched on Node cn-jenkins-deploy-platform-ansible-os-4492-1 2025-10-27 05:26:53,384 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6df3f038-ecae-4283-b8e7-31d4de954190 2025-10-27 05:26:53,395 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bff4c3ee-0ad4-4cf2-8801-6e177f01cce1 2025-10-27 05:26:54,641 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.925 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.925/2.828/4.731/1.903 ms') 2025-10-27 05:26:54,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27418252-31085137 passed 2025-10-27 05:26:54,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:26:54,799 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27418252-31085137, IP 40.228.190.67, Port 22 2025-10-27 05:26:54,955 - DEBUG - VM ctest-TestRoutersBasic-27418252-31085137 is ready for SSH connections 2025-10-27 05:26:54,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:26:54,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.228.190.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 05:26:54,956 - DEBUG - ping -s 56 -c 3 -W 1 40.228.190.67 2025-10-27 05:26:58,753 - DEBUG - PING 40.228.190.67 (40.228.190.67): 56 data bytes 64 bytes from 40.228.190.67: seq=0 ttl=62 time=6.602 ms 64 bytes from 40.228.190.67: seq=1 ttl=62 time=1.154 ms 64 bytes from 40.228.190.67: seq=2 ttl=62 time=1.279 ms --- 40.228.190.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.154/3.011/6.602 ms 2025-10-27 05:26:58,753 - INFO - Ping to IP 40.228.190.67 from VM ctest-TestRoutersBasic-27418252-47438736 passed 2025-10-27 05:26:58,753 - INFO - Deleting interface with subnet_id 5de12ed0-71a4-4a6e-852b-b530f03b8a6f, port_id None from router b5cf221f-9634-438f-848b-413849b9cd30 2025-10-27 05:26:59,020 - INFO - Deleting VM ctest-TestRoutersBasic-27418252-31085137 2025-10-27 05:26:59,122 - INFO - Deleting VM ctest-TestRoutersBasic-27418252-47438736 2025-10-27 05:26:59,249 - INFO - Deleting VN ctest-ext_vn-87656316 2025-10-27 05:26:59,361 - DEBUG - VN f6521528-1c31-475e-ad19-fe1d3a2c2c4f still in use: Unable to complete operation on network f6521528-1c31-475e-ad19-fe1d3a2c2c4f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2ec7ef6-5c53-4e27-8164-96cb0f3bba23'] 2025-10-27 05:26:59,361 - WARNING - Deleting VN ctest-ext_vn-87656316 failed..Will retry 2025-10-27 05:27:01,483 - DEBUG - Response for deleting network () 2025-10-27 05:27:01,483 - INFO - Deleting VN ctest-vn-10298553 2025-10-27 05:27:01,604 - DEBUG - Response for deleting network () 2025-10-27 05:27:01,864 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 05:27:01,864 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-27 05:27:01,864 - INFO - -------------------------------------------------------------------------------- 2025-10-27 05:27:02,597 - INFO - Deleted project: ctest-TestRoutersBasic-27418252, ID : e43fe0d6-0830-4e03-952a-1a42627968ea