2025-06-23 22:10:16,632 - INFO - Domain Default found not creating 2025-06-23 22:10:16,749 - INFO - Project ctest-TestRoutersBasic-37708772 not found, creating it 2025-06-23 22:10:17,172 - INFO - Created Project:ctest-TestRoutersBasic-37708772, ID : 846c93c0-f6e1-4a0d-8758-3e89add236f4 2025-06-23 22:10:18,482 - INFO - ================================================================================ 2025-06-23 22:10:18,482 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-23 22:10:18,482 - 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-06-23 22:10:18,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-23 22:10:18,733 - INFO - Initial checks done. Running the testcase now 2025-06-23 22:10:18,733 - INFO - 2025-06-23 22:10:19,394 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37708772 2025-06-23 22:10:19,489 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37708772 2025-06-23 22:10:19,805 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37708772', 'default']} 2025-06-23 22:10:20,082 - DEBUG - Response for create_network : {'network': {'id': 'f65d1d84-6ed9-4aac-bbdf-26e5ffaab03a', 'name': 'ctest-vn-52758824', 'tenant_id': '846c93c0f6e14a0d87583e89add236f4', 'project_id': '846c93c0f6e14a0d87583e89add236f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37708772', 'ctest-vn-52758824'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 22:10:20,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '224492dc-e958-44e5-b3d8-ad83d5c5b7b8', 'name': '', 'tenant_id': '846c93c0f6e14a0d87583e89add236f4', 'network_id': 'f65d1d84-6ed9-4aac-bbdf-26e5ffaab03a', 'ip_version': 4, 'cidr': '168.25.178.128/26', 'allocation_pools': [{'start': '168.25.178.130', 'end': '168.25.178.190'}], 'gateway_ip': '168.25.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.25.178.130', 'tags': [], 'project_id': '846c93c0f6e14a0d87583e89add236f4'}} 2025-06-23 22:10:20,298 - INFO - Created VN ctest-vn-52758824 2025-06-23 22:10:20,349 - DEBUG - VN ctest-vn-52758824 UUID is f65d1d84-6ed9-4aac-bbdf-26e5ffaab03a 2025-06-23 22:10:20,626 - DEBUG - Response for create_network : {'network': {'id': '770bf91e-5cdf-4d1c-89cf-a14d27ae557a', 'name': 'ctest-ext_vn-17003805', 'tenant_id': '846c93c0f6e14a0d87583e89add236f4', 'project_id': '846c93c0f6e14a0d87583e89add236f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37708772', 'ctest-ext_vn-17003805'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 22:10:20,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '10217c75-72fb-4e5d-bb7a-85d197dd9f10', 'name': '', 'tenant_id': '846c93c0f6e14a0d87583e89add236f4', 'network_id': '770bf91e-5cdf-4d1c-89cf-a14d27ae557a', 'ip_version': 4, 'cidr': '94.249.204.0/26', 'allocation_pools': [{'start': '94.249.204.2', 'end': '94.249.204.62'}], 'gateway_ip': '94.249.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.249.204.2', 'tags': [], 'project_id': '846c93c0f6e14a0d87583e89add236f4'}} 2025-06-23 22:10:20,795 - INFO - Created VN ctest-ext_vn-17003805 2025-06-23 22:10:20,845 - DEBUG - VN ctest-ext_vn-17003805 UUID is 770bf91e-5cdf-4d1c-89cf-a14d27ae557a 2025-06-23 22:10:21,038 - DEBUG - Services list from nova: [, , ] 2025-06-23 22:10:22,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3526-1) 2025-06-23 22:10:23,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3526-1) 2025-06-23 22:10:23,152 - INFO - Setting gateway for router e023705f-557f-4877-b581-2f30a71dab03 to network 770bf91e-5cdf-4d1c-89cf-a14d27ae557a 2025-06-23 22:10:23,217 - INFO - Adding interface with subnet_id 224492dc-e958-44e5-b3d8-ad83d5c5b7b8, port_id None to router e023705f-557f-4877-b581-2f30a71dab03 2025-06-23 22:10:23,552 - INFO - Waiting for VM ctest-TestRoutersBasic-37708772-81438727 to be up.. 2025-06-23 22:10:23,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 22:10:28,776 - DEBUG - VM is in ACTIVE state now 2025-06-23 22:10:28,776 - INFO - VM name : ctest-TestRoutersBasic-37708772-81438727 2025-06-23 22:10:28,842 - DEBUG - VM ctest-TestRoutersBasic-37708772-81438727 ID is d416f822-3336-4f49-bea1-350aad86e9e3 2025-06-23 22:10:28,858 - DEBUG - VM ctest-TestRoutersBasic-37708772-81438727 launched on Node cn-jenkins-deploy-platform-ansible-os-3526-1 2025-06-23 22:10:28,921 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d416f822-3336-4f49-bea1-350aad86e9e3 2025-06-23 22:10:29,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d416f822-3336-4f49-bea1-350aad86e9e3 2025-06-23 22:10:29,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9bfdd58d-4ad0-4d01-b281-0ad6bcf268df 2025-06-23 22:10:32,470 - 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 1006ms') 2025-06-23 22:10:32,470 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37708772-81438727 failed! 2025-06-23 22:10:32,525 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37708772:ctest-vn-52758824 is 168.25.178.129 and allocation pool is NOT set 2025-06-23 22:10:34,588 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.295 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.295/1.387/2.479/1.092 ms') 2025-06-23 22:10:34,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37708772-81438727 passed 2025-06-23 22:10:34,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:10:34,733 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37708772-81438727, IP 168.25.178.131, Port 22 2025-06-23 22:10:34,884 - DEBUG - VM ctest-TestRoutersBasic-37708772-81438727 is ready for SSH connections 2025-06-23 22:10:34,884 - INFO - Waiting for VM ctest-TestRoutersBasic-37708772-17542216 to be up.. 2025-06-23 22:10:34,951 - DEBUG - VM is in ACTIVE state now 2025-06-23 22:10:34,951 - INFO - VM name : ctest-TestRoutersBasic-37708772-17542216 2025-06-23 22:10:35,010 - DEBUG - VM ctest-TestRoutersBasic-37708772-17542216 ID is 0100913a-5a1f-4fcf-9f0d-ae850435fa7f 2025-06-23 22:10:35,010 - DEBUG - VM ctest-TestRoutersBasic-37708772-17542216 launched on Node cn-jenkins-deploy-platform-ansible-os-3526-1 2025-06-23 22:10:35,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0100913a-5a1f-4fcf-9f0d-ae850435fa7f 2025-06-23 22:10:35,079 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5eaeb0b8-2537-47fb-be58-23a3e67fa5f2 2025-06-23 22:10:36,312 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 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.321/1.369/2.417/1.048 ms') 2025-06-23 22:10:36,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37708772-17542216 passed 2025-06-23 22:10:36,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:10:36,462 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37708772-17542216, IP 94.249.204.3, Port 22 2025-06-23 22:10:36,621 - DEBUG - VM ctest-TestRoutersBasic-37708772-17542216 is ready for SSH connections 2025-06-23 22:10:36,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:10:36,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.249.204.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-23 22:10:36,621 - DEBUG - ping -s 56 -c 3 -W 1 94.249.204.3 2025-06-23 22:10:40,275 - DEBUG - PING 94.249.204.3 (94.249.204.3): 56 data bytes 64 bytes from 94.249.204.3: seq=0 ttl=62 time=6.241 ms 64 bytes from 94.249.204.3: seq=1 ttl=62 time=0.727 ms 64 bytes from 94.249.204.3: seq=2 ttl=62 time=0.807 ms --- 94.249.204.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/2.591/6.241 ms 2025-06-23 22:10:40,276 - INFO - Ping to IP 94.249.204.3 from VM ctest-TestRoutersBasic-37708772-81438727 passed 2025-06-23 22:10:40,276 - INFO - Deleting interface with subnet_id 224492dc-e958-44e5-b3d8-ad83d5c5b7b8, port_id None from router e023705f-557f-4877-b581-2f30a71dab03 2025-06-23 22:10:40,448 - INFO - Deleting VM ctest-TestRoutersBasic-37708772-17542216 2025-06-23 22:10:40,506 - INFO - Deleting VM ctest-TestRoutersBasic-37708772-81438727 2025-06-23 22:10:40,566 - INFO - Deleting VN ctest-ext_vn-17003805 2025-06-23 22:10:40,630 - DEBUG - VN 770bf91e-5cdf-4d1c-89cf-a14d27ae557a still in use: Unable to complete operation on network 770bf91e-5cdf-4d1c-89cf-a14d27ae557a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8b59627b-7de3-47c5-90ab-f8b33d3d3fc3'] 2025-06-23 22:10:40,630 - WARNING - Deleting VN ctest-ext_vn-17003805 failed..Will retry 2025-06-23 22:10:42,726 - DEBUG - Response for deleting network () 2025-06-23 22:10:42,726 - INFO - Deleting VN ctest-vn-52758824 2025-06-23 22:10:42,815 - DEBUG - Response for deleting network () 2025-06-23 22:10:43,071 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 22:10:43,071 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-23 22:10:43,071 - INFO - -------------------------------------------------------------------------------- 2025-06-23 22:10:43,707 - INFO - Deleted project: ctest-TestRoutersBasic-37708772, ID : 846c93c0-f6e1-4a0d-8758-3e89add236f4