2025-08-29 12:59:12,402 - INFO - Domain Default found not creating 2025-08-29 12:59:12,534 - INFO - Project ctest-TestRoutersBasic-13042980 not found, creating it 2025-08-29 12:59:12,986 - INFO - Created Project:ctest-TestRoutersBasic-13042980, ID : 158a1e31-a1e6-4abd-90ed-d772a3a646de 2025-08-29 12:59:14,322 - INFO - ================================================================================ 2025-08-29 12:59:14,322 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-29 12:59:14,322 - 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-08-29 12:59:14,575 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-08-29 12:59:14,575 - INFO - Initial checks done. Running the testcase now 2025-08-29 12:59:14,575 - INFO - 2025-08-29 12:59:15,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13042980 2025-08-29 12:59:15,346 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13042980 2025-08-29 12:59:15,666 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13042980', 'default']} 2025-08-29 12:59:15,940 - DEBUG - Response for create_network : {'network': {'id': '76c5a5a4-698e-4b6e-87f5-48aa0d8eb12a', 'name': 'ctest-vn-81949943', 'tenant_id': '158a1e31a1e64abd90edd772a3a646de', 'project_id': '158a1e31a1e64abd90edd772a3a646de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13042980', 'ctest-vn-81949943'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 12:59:16,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e54e5341-4e46-422b-a721-d86f40884a16', 'name': '', 'tenant_id': '158a1e31a1e64abd90edd772a3a646de', 'network_id': '76c5a5a4-698e-4b6e-87f5-48aa0d8eb12a', 'ip_version': 4, 'cidr': '215.23.151.192/26', 'allocation_pools': [{'start': '215.23.151.194', 'end': '215.23.151.254'}], 'gateway_ip': '215.23.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.23.151.194', 'tags': [], 'project_id': '158a1e31a1e64abd90edd772a3a646de'}} 2025-08-29 12:59:16,093 - INFO - Created VN ctest-vn-81949943 2025-08-29 12:59:16,142 - DEBUG - VN ctest-vn-81949943 UUID is 76c5a5a4-698e-4b6e-87f5-48aa0d8eb12a 2025-08-29 12:59:16,469 - DEBUG - Response for create_network : {'network': {'id': 'e8fd3f50-235e-4978-b9d6-843137f723e6', 'name': 'ctest-ext_vn-09144598', 'tenant_id': '158a1e31a1e64abd90edd772a3a646de', 'project_id': '158a1e31a1e64abd90edd772a3a646de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13042980', 'ctest-ext_vn-09144598'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 12:59:16,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5b34dce-a536-4197-8301-06fe739892de', 'name': '', 'tenant_id': '158a1e31a1e64abd90edd772a3a646de', 'network_id': 'e8fd3f50-235e-4978-b9d6-843137f723e6', 'ip_version': 4, 'cidr': '194.253.87.0/26', 'allocation_pools': [{'start': '194.253.87.2', 'end': '194.253.87.62'}], 'gateway_ip': '194.253.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.253.87.2', 'tags': [], 'project_id': '158a1e31a1e64abd90edd772a3a646de'}} 2025-08-29 12:59:16,648 - INFO - Created VN ctest-ext_vn-09144598 2025-08-29 12:59:16,698 - DEBUG - VN ctest-ext_vn-09144598 UUID is e8fd3f50-235e-4978-b9d6-843137f723e6 2025-08-29 12:59:16,893 - DEBUG - Services list from nova: [, , ] 2025-08-29 12:59:17,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3971-1) 2025-08-29 12:59:18,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3971-1) 2025-08-29 12:59:19,037 - INFO - Setting gateway for router 011c70f7-2551-4cb3-a28c-ea41a7e358ff to network e8fd3f50-235e-4978-b9d6-843137f723e6 2025-08-29 12:59:19,105 - INFO - Adding interface with subnet_id e54e5341-4e46-422b-a721-d86f40884a16, port_id None to router 011c70f7-2551-4cb3-a28c-ea41a7e358ff 2025-08-29 12:59:19,358 - INFO - Waiting for VM ctest-TestRoutersBasic-13042980-29918665 to be up.. 2025-08-29 12:59:19,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 12:59:24,529 - DEBUG - VM is in ACTIVE state now 2025-08-29 12:59:24,530 - INFO - VM name : ctest-TestRoutersBasic-13042980-29918665 2025-08-29 12:59:24,599 - DEBUG - VM ctest-TestRoutersBasic-13042980-29918665 ID is b2803915-e07a-451d-b1e5-40a5600e02a3 2025-08-29 12:59:24,618 - DEBUG - VM ctest-TestRoutersBasic-13042980-29918665 launched on Node cn-jenkins-deploy-platform-ansible-os-3971-1 2025-08-29 12:59:24,689 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b2803915-e07a-451d-b1e5-40a5600e02a3 2025-08-29 12:59:24,978 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b2803915-e07a-451d-b1e5-40a5600e02a3 2025-08-29 12:59:25,010 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/22dc9200-dccc-451e-af4e-1516ffb99f4e 2025-08-29 12:59:28,250 - 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-08-29 12:59:28,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13042980-29918665 failed! 2025-08-29 12:59:28,302 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13042980:ctest-vn-81949943 is 215.23.151.193 and allocation pool is NOT set 2025-08-29 12:59:30,364 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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 = 0.389/1.601/2.814/1.212 ms') 2025-08-29 12:59:30,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13042980-29918665 passed 2025-08-29 12:59:30,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 12:59:30,518 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13042980-29918665, IP 215.23.151.195, Port 22 2025-08-29 12:59:30,678 - DEBUG - VM ctest-TestRoutersBasic-13042980-29918665 is ready for SSH connections 2025-08-29 12:59:30,678 - INFO - Waiting for VM ctest-TestRoutersBasic-13042980-21685517 to be up.. 2025-08-29 12:59:30,746 - DEBUG - VM is in ACTIVE state now 2025-08-29 12:59:30,746 - INFO - VM name : ctest-TestRoutersBasic-13042980-21685517 2025-08-29 12:59:30,811 - DEBUG - VM ctest-TestRoutersBasic-13042980-21685517 ID is 2f51239c-a75e-413b-934b-85fd29232f0c 2025-08-29 12:59:30,811 - DEBUG - VM ctest-TestRoutersBasic-13042980-21685517 launched on Node cn-jenkins-deploy-platform-ansible-os-3971-1 2025-08-29 12:59:30,881 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2f51239c-a75e-413b-934b-85fd29232f0c 2025-08-29 12:59:30,888 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3923e964-b0a6-4ada-a99d-7666e764b573 2025-08-29 12:59:32,123 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.685 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.685/1.723/2.761/1.038 ms') 2025-08-29 12:59:32,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13042980-21685517 passed 2025-08-29 12:59:32,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 12:59:32,270 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13042980-21685517, IP 194.253.87.3, Port 22 2025-08-29 12:59:32,422 - DEBUG - VM ctest-TestRoutersBasic-13042980-21685517 is ready for SSH connections 2025-08-29 12:59:32,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 12:59:32,422 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.253.87.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-29 12:59:32,422 - DEBUG - ping -s 56 -c 3 -W 1 194.253.87.3 2025-08-29 12:59:36,091 - DEBUG - PING 194.253.87.3 (194.253.87.3): 56 data bytes 64 bytes from 194.253.87.3: seq=0 ttl=62 time=5.077 ms 64 bytes from 194.253.87.3: seq=1 ttl=62 time=0.772 ms 64 bytes from 194.253.87.3: seq=2 ttl=62 time=0.811 ms --- 194.253.87.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/2.220/5.077 ms 2025-08-29 12:59:36,091 - INFO - Ping to IP 194.253.87.3 from VM ctest-TestRoutersBasic-13042980-29918665 passed 2025-08-29 12:59:36,091 - INFO - Deleting interface with subnet_id e54e5341-4e46-422b-a721-d86f40884a16, port_id None from router 011c70f7-2551-4cb3-a28c-ea41a7e358ff 2025-08-29 12:59:36,274 - INFO - Deleting VM ctest-TestRoutersBasic-13042980-21685517 2025-08-29 12:59:36,336 - INFO - Deleting VM ctest-TestRoutersBasic-13042980-29918665 2025-08-29 12:59:36,419 - INFO - Deleting VN ctest-ext_vn-09144598 2025-08-29 12:59:36,481 - DEBUG - VN e8fd3f50-235e-4978-b9d6-843137f723e6 still in use: Unable to complete operation on network e8fd3f50-235e-4978-b9d6-843137f723e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbfd23d2-7c0d-4955-93bf-44ed63f82d2f'] 2025-08-29 12:59:36,482 - WARNING - Deleting VN ctest-ext_vn-09144598 failed..Will retry 2025-08-29 12:59:38,569 - DEBUG - Response for deleting network () 2025-08-29 12:59:38,569 - INFO - Deleting VN ctest-vn-81949943 2025-08-29 12:59:38,647 - DEBUG - Response for deleting network () 2025-08-29 12:59:38,898 - DEBUG - No XMPP flaps were noticed during the test 2025-08-29 12:59:38,898 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-08-29 12:59:38,898 - INFO - -------------------------------------------------------------------------------- 2025-08-29 12:59:39,531 - INFO - Deleted project: ctest-TestRoutersBasic-13042980, ID : 158a1e31-a1e6-4abd-90ed-d772a3a646de