2025-10-31 05:30:24,141 - INFO - Domain Default found not creating 2025-10-31 05:30:24,319 - INFO - Project ctest-TestRoutersBasic-60054651 not found, creating it 2025-10-31 05:30:24,797 - INFO - Created Project:ctest-TestRoutersBasic-60054651, ID : b44772d4-312e-4745-987f-622d15785b98 2025-10-31 05:30:26,393 - INFO - ================================================================================ 2025-10-31 05:30:26,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 05:30:26,393 - 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-31 05:30:26,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 05:30:26,654 - INFO - Initial checks done. Running the testcase now 2025-10-31 05:30:26,654 - INFO - 2025-10-31 05:30:27,458 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60054651 2025-10-31 05:30:27,552 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60054651 2025-10-31 05:30:27,868 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60054651', 'default']} 2025-10-31 05:30:28,163 - DEBUG - Response for create_network : {'network': {'id': 'a26dabcd-2028-4815-9077-cfb94b969e93', 'name': 'ctest-vn-89673916', 'tenant_id': 'b44772d4312e4745987f622d15785b98', 'project_id': 'b44772d4312e4745987f622d15785b98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60054651', 'ctest-vn-89673916'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:30:28,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b33d61e-303e-46f7-9462-fa39e26407cc', 'name': '', 'tenant_id': 'b44772d4312e4745987f622d15785b98', 'network_id': 'a26dabcd-2028-4815-9077-cfb94b969e93', 'ip_version': 4, 'cidr': '19.102.181.0/26', 'allocation_pools': [{'start': '19.102.181.2', 'end': '19.102.181.62'}], 'gateway_ip': '19.102.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.102.181.2', 'tags': [], 'project_id': 'b44772d4312e4745987f622d15785b98'}} 2025-10-31 05:30:28,322 - INFO - Created VN ctest-vn-89673916 2025-10-31 05:30:28,372 - DEBUG - VN ctest-vn-89673916 UUID is a26dabcd-2028-4815-9077-cfb94b969e93 2025-10-31 05:30:28,705 - DEBUG - Response for create_network : {'network': {'id': '572f7872-c9ed-40ab-8f48-6012fe6bb1f6', 'name': 'ctest-ext_vn-68284098', 'tenant_id': 'b44772d4312e4745987f622d15785b98', 'project_id': 'b44772d4312e4745987f622d15785b98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60054651', 'ctest-ext_vn-68284098'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:30:28,897 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be2e3b43-6433-4234-a868-ca3ad65a3647', 'name': '', 'tenant_id': 'b44772d4312e4745987f622d15785b98', 'network_id': '572f7872-c9ed-40ab-8f48-6012fe6bb1f6', 'ip_version': 4, 'cidr': '100.209.174.128/26', 'allocation_pools': [{'start': '100.209.174.130', 'end': '100.209.174.190'}], 'gateway_ip': '100.209.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.209.174.130', 'tags': [], 'project_id': 'b44772d4312e4745987f622d15785b98'}} 2025-10-31 05:30:28,913 - INFO - Created VN ctest-ext_vn-68284098 2025-10-31 05:30:28,964 - DEBUG - VN ctest-ext_vn-68284098 UUID is 572f7872-c9ed-40ab-8f48-6012fe6bb1f6 2025-10-31 05:30:29,131 - DEBUG - Services list from nova: [, , ] 2025-10-31 05:30:30,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4570-1) 2025-10-31 05:30:31,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4570-1) 2025-10-31 05:30:31,518 - INFO - Setting gateway for router 906e1591-921f-4653-90d7-af5aba740c08 to network 572f7872-c9ed-40ab-8f48-6012fe6bb1f6 2025-10-31 05:30:31,589 - INFO - Adding interface with subnet_id 4b33d61e-303e-46f7-9462-fa39e26407cc, port_id None to router 906e1591-921f-4653-90d7-af5aba740c08 2025-10-31 05:30:31,907 - INFO - Waiting for VM ctest-TestRoutersBasic-60054651-84606028 to be up.. 2025-10-31 05:30:32,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 05:30:37,181 - DEBUG - VM is in ACTIVE state now 2025-10-31 05:30:37,181 - INFO - VM name : ctest-TestRoutersBasic-60054651-84606028 2025-10-31 05:30:37,249 - DEBUG - VM ctest-TestRoutersBasic-60054651-84606028 ID is 1bc83888-e820-4022-8ab3-ee0f6b9b712f 2025-10-31 05:30:37,267 - DEBUG - VM ctest-TestRoutersBasic-60054651-84606028 launched on Node cn-jenkins-deploy-platform-ansible-os-4570-1 2025-10-31 05:30:37,336 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1bc83888-e820-4022-8ab3-ee0f6b9b712f 2025-10-31 05:30:37,672 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1bc83888-e820-4022-8ab3-ee0f6b9b712f 2025-10-31 05:30:37,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e4f8122a-2a12-4576-bebf-179e275132d8 2025-10-31 05:30:40,949 - 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 1003ms') 2025-10-31 05:30:40,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60054651-84606028 failed! 2025-10-31 05:30:41,008 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60054651:ctest-vn-89673916 is 19.102.181.1 and allocation pool is NOT set 2025-10-31 05:30:43,073 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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.253/2.960/4.668/1.707 ms') 2025-10-31 05:30:43,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60054651-84606028 passed 2025-10-31 05:30:43,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:30:43,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60054651-84606028, IP 19.102.181.3, Port 22 2025-10-31 05:30:43,390 - DEBUG - VM ctest-TestRoutersBasic-60054651-84606028 is ready for SSH connections 2025-10-31 05:30:43,390 - INFO - Waiting for VM ctest-TestRoutersBasic-60054651-16011674 to be up.. 2025-10-31 05:30:43,462 - DEBUG - VM is in ACTIVE state now 2025-10-31 05:30:43,462 - INFO - VM name : ctest-TestRoutersBasic-60054651-16011674 2025-10-31 05:30:43,533 - DEBUG - VM ctest-TestRoutersBasic-60054651-16011674 ID is 2ce6c468-4fec-4a67-85dd-dd43d97bc784 2025-10-31 05:30:43,533 - DEBUG - VM ctest-TestRoutersBasic-60054651-16011674 launched on Node cn-jenkins-deploy-platform-ansible-os-4570-1 2025-10-31 05:30:43,606 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2ce6c468-4fec-4a67-85dd-dd43d97bc784 2025-10-31 05:30:43,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/53eca8b5-9266-4a00-952d-ab5ff4057414 2025-10-31 05:30:44,840 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.742/3.093/1.351 ms') 2025-10-31 05:30:44,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60054651-16011674 passed 2025-10-31 05:30:44,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:30:44,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60054651-16011674, IP 100.209.174.131, Port 22 2025-10-31 05:30:45,143 - DEBUG - VM ctest-TestRoutersBasic-60054651-16011674 is ready for SSH connections 2025-10-31 05:30:45,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:30:45,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.209.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 05:30:45,144 - DEBUG - ping -s 56 -c 3 -W 1 100.209.174.131 2025-10-31 05:30:48,927 - DEBUG - PING 100.209.174.131 (100.209.174.131): 56 data bytes 64 bytes from 100.209.174.131: seq=0 ttl=62 time=8.848 ms 64 bytes from 100.209.174.131: seq=1 ttl=62 time=0.963 ms 64 bytes from 100.209.174.131: seq=2 ttl=62 time=0.972 ms --- 100.209.174.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/3.594/8.848 ms 2025-10-31 05:30:48,927 - INFO - Ping to IP 100.209.174.131 from VM ctest-TestRoutersBasic-60054651-84606028 passed 2025-10-31 05:30:48,927 - INFO - Deleting interface with subnet_id 4b33d61e-303e-46f7-9462-fa39e26407cc, port_id None from router 906e1591-921f-4653-90d7-af5aba740c08 2025-10-31 05:30:49,171 - INFO - Deleting VM ctest-TestRoutersBasic-60054651-16011674 2025-10-31 05:30:49,275 - INFO - Deleting VM ctest-TestRoutersBasic-60054651-84606028 2025-10-31 05:30:49,396 - INFO - Deleting VN ctest-ext_vn-68284098 2025-10-31 05:30:49,478 - DEBUG - VN 572f7872-c9ed-40ab-8f48-6012fe6bb1f6 still in use: Unable to complete operation on network 572f7872-c9ed-40ab-8f48-6012fe6bb1f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66cc6435-cd0e-4290-91d4-852e594ca6a2'] 2025-10-31 05:30:49,478 - WARNING - Deleting VN ctest-ext_vn-68284098 failed..Will retry 2025-10-31 05:30:51,607 - DEBUG - Response for deleting network () 2025-10-31 05:30:51,607 - INFO - Deleting VN ctest-vn-89673916 2025-10-31 05:30:51,729 - DEBUG - Response for deleting network () 2025-10-31 05:30:51,985 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 05:30:51,985 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-31 05:30:51,986 - INFO - -------------------------------------------------------------------------------- 2025-10-31 05:30:52,712 - INFO - Deleted project: ctest-TestRoutersBasic-60054651, ID : b44772d4-312e-4745-987f-622d15785b98