2025-11-13 11:03:16,399 - INFO - Domain Default found not creating 2025-11-13 11:03:16,564 - INFO - Project ctest-TestRoutersBasic-03465555 not found, creating it 2025-11-13 11:03:17,030 - INFO - Created Project:ctest-TestRoutersBasic-03465555, ID : 0c759e0c-43c7-48af-89e9-7615e36d4148 2025-11-13 11:03:18,527 - INFO - ================================================================================ 2025-11-13 11:03:18,527 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-13 11:03:18,527 - 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-13 11:03:18,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-13 11:03:18,784 - INFO - Initial checks done. Running the testcase now 2025-11-13 11:03:18,784 - INFO - 2025-11-13 11:03:19,512 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03465555 2025-11-13 11:03:19,610 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03465555 2025-11-13 11:03:19,926 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03465555', 'default']} 2025-11-13 11:03:20,235 - DEBUG - Response for create_network : {'network': {'id': 'a16f39bc-71d2-4d5b-9553-93a611c3d5a8', 'name': 'ctest-vn-04638977', 'tenant_id': '0c759e0c43c748af89e97615e36d4148', 'project_id': '0c759e0c43c748af89e97615e36d4148', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03465555', 'ctest-vn-04638977'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:03:20,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '147b483d-45f7-411d-b643-174ebb08ded6', 'name': '', 'tenant_id': '0c759e0c43c748af89e97615e36d4148', 'network_id': 'a16f39bc-71d2-4d5b-9553-93a611c3d5a8', 'ip_version': 4, 'cidr': '183.90.27.128/26', 'allocation_pools': [{'start': '183.90.27.130', 'end': '183.90.27.190'}], 'gateway_ip': '183.90.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.90.27.130', 'tags': [], 'project_id': '0c759e0c43c748af89e97615e36d4148'}} 2025-11-13 11:03:20,441 - INFO - Created VN ctest-vn-04638977 2025-11-13 11:03:20,494 - DEBUG - VN ctest-vn-04638977 UUID is a16f39bc-71d2-4d5b-9553-93a611c3d5a8 2025-11-13 11:03:20,843 - DEBUG - Response for create_network : {'network': {'id': 'b86dd108-3c20-496d-974c-96891c40a380', 'name': 'ctest-ext_vn-95929595', 'tenant_id': '0c759e0c43c748af89e97615e36d4148', 'project_id': '0c759e0c43c748af89e97615e36d4148', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03465555', 'ctest-ext_vn-95929595'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:03:21,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '67612f35-1eff-45ad-809a-c44920a9e331', 'name': '', 'tenant_id': '0c759e0c43c748af89e97615e36d4148', 'network_id': 'b86dd108-3c20-496d-974c-96891c40a380', 'ip_version': 4, 'cidr': '68.113.175.128/26', 'allocation_pools': [{'start': '68.113.175.130', 'end': '68.113.175.190'}], 'gateway_ip': '68.113.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.113.175.130', 'tags': [], 'project_id': '0c759e0c43c748af89e97615e36d4148'}} 2025-11-13 11:03:21,071 - INFO - Created VN ctest-ext_vn-95929595 2025-11-13 11:03:21,122 - DEBUG - VN ctest-ext_vn-95929595 UUID is b86dd108-3c20-496d-974c-96891c40a380 2025-11-13 11:03:21,326 - DEBUG - Services list from nova: [, , ] 2025-11-13 11:03:22,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4719-1) 2025-11-13 11:03:23,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4719-1) 2025-11-13 11:03:23,660 - INFO - Setting gateway for router 749363fe-ac0d-44b6-b094-1eb5ca70925f to network b86dd108-3c20-496d-974c-96891c40a380 2025-11-13 11:03:23,726 - INFO - Adding interface with subnet_id 147b483d-45f7-411d-b643-174ebb08ded6, port_id None to router 749363fe-ac0d-44b6-b094-1eb5ca70925f 2025-11-13 11:03:24,118 - INFO - Waiting for VM ctest-TestRoutersBasic-03465555-32792261 to be up.. 2025-11-13 11:03:24,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 11:03:29,418 - DEBUG - VM is in ACTIVE state now 2025-11-13 11:03:29,418 - INFO - VM name : ctest-TestRoutersBasic-03465555-32792261 2025-11-13 11:03:29,489 - DEBUG - VM ctest-TestRoutersBasic-03465555-32792261 ID is 7393e4ca-e0b0-4677-8c45-1fb2c6223c8b 2025-11-13 11:03:29,510 - DEBUG - VM ctest-TestRoutersBasic-03465555-32792261 launched on Node cn-jenkins-deploy-platform-ansible-os-4719-1 2025-11-13 11:03:29,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7393e4ca-e0b0-4677-8c45-1fb2c6223c8b 2025-11-13 11:03:29,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7393e4ca-e0b0-4677-8c45-1fb2c6223c8b 2025-11-13 11:03:29,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0a71c194-1678-4497-92e4-745cc9343d2a 2025-11-13 11:03:33,182 - 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 1027ms') 2025-11-13 11:03:33,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03465555-32792261 failed! 2025-11-13 11:03:33,242 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03465555:ctest-vn-04638977 is 183.90.27.129 and allocation pool is NOT set 2025-11-13 11:03:35,298 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/1.631/2.683/1.051 ms') 2025-11-13 11:03:35,298 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03465555-32792261 passed 2025-11-13 11:03:35,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:03:35,450 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03465555-32792261, IP 183.90.27.131, Port 22 2025-11-13 11:03:35,605 - DEBUG - VM ctest-TestRoutersBasic-03465555-32792261 is ready for SSH connections 2025-11-13 11:03:35,605 - INFO - Waiting for VM ctest-TestRoutersBasic-03465555-15740636 to be up.. 2025-11-13 11:03:35,684 - DEBUG - VM is in ACTIVE state now 2025-11-13 11:03:35,684 - INFO - VM name : ctest-TestRoutersBasic-03465555-15740636 2025-11-13 11:03:35,757 - DEBUG - VM ctest-TestRoutersBasic-03465555-15740636 ID is a730cac8-add7-42a8-aec9-693a28a48f32 2025-11-13 11:03:35,757 - DEBUG - VM ctest-TestRoutersBasic-03465555-15740636 launched on Node cn-jenkins-deploy-platform-ansible-os-4719-1 2025-11-13 11:03:35,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a730cac8-add7-42a8-aec9-693a28a48f32 2025-11-13 11:03:35,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d8ac8634-9341-4acd-a1d9-e07c09a4e769 2025-11-13 11:03:37,073 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/1.767/3.072/1.304 ms') 2025-11-13 11:03:37,073 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03465555-15740636 passed 2025-11-13 11:03:37,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:03:37,226 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03465555-15740636, IP 68.113.175.131, Port 22 2025-11-13 11:03:37,381 - DEBUG - VM ctest-TestRoutersBasic-03465555-15740636 is ready for SSH connections 2025-11-13 11:03:37,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:03:37,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.113.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 11:03:37,382 - DEBUG - ping -s 56 -c 3 -W 1 68.113.175.131 2025-11-13 11:03:41,076 - DEBUG - PING 68.113.175.131 (68.113.175.131): 56 data bytes 64 bytes from 68.113.175.131: seq=0 ttl=62 time=7.264 ms 64 bytes from 68.113.175.131: seq=1 ttl=62 time=1.242 ms 64 bytes from 68.113.175.131: seq=2 ttl=62 time=1.015 ms --- 68.113.175.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/3.173/7.264 ms 2025-11-13 11:03:41,076 - INFO - Ping to IP 68.113.175.131 from VM ctest-TestRoutersBasic-03465555-32792261 passed 2025-11-13 11:03:41,077 - INFO - Deleting interface with subnet_id 147b483d-45f7-411d-b643-174ebb08ded6, port_id None from router 749363fe-ac0d-44b6-b094-1eb5ca70925f 2025-11-13 11:03:41,253 - INFO - Deleting VM ctest-TestRoutersBasic-03465555-15740636 2025-11-13 11:03:41,322 - INFO - Deleting VM ctest-TestRoutersBasic-03465555-32792261 2025-11-13 11:03:41,438 - INFO - Deleting VN ctest-ext_vn-95929595 2025-11-13 11:03:41,506 - DEBUG - VN b86dd108-3c20-496d-974c-96891c40a380 still in use: Unable to complete operation on network b86dd108-3c20-496d-974c-96891c40a380. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ffeddb29-809b-48fe-80d7-5e5fb6bd42b8'] 2025-11-13 11:03:41,506 - WARNING - Deleting VN ctest-ext_vn-95929595 failed..Will retry 2025-11-13 11:03:43,643 - DEBUG - Response for deleting network () 2025-11-13 11:03:43,643 - INFO - Deleting VN ctest-vn-04638977 2025-11-13 11:03:43,780 - DEBUG - Response for deleting network () 2025-11-13 11:03:44,044 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 11:03:44,044 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-13 11:03:44,044 - INFO - -------------------------------------------------------------------------------- 2025-11-13 11:03:44,995 - INFO - Deleted project: ctest-TestRoutersBasic-03465555, ID : 0c759e0c-43c7-48af-89e9-7615e36d4148