2025-12-10 17:05:02,351 - INFO - Domain Default found not creating 2025-12-10 17:05:02,494 - INFO - Project ctest-TestRoutersBasic-37082006 not found, creating it 2025-12-10 17:05:02,925 - INFO - Created Project:ctest-TestRoutersBasic-37082006, ID : 6919a680-28a0-4a7c-a6fc-07af4f2ced55 2025-12-10 17:05:04,307 - INFO - ================================================================================ 2025-12-10 17:05:04,307 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-10 17:05:04,307 - 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-12-10 17:05:04,562 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-12-10 17:05:04,562 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:05:04,562 - INFO - 2025-12-10 17:05:05,254 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37082006 2025-12-10 17:05:05,349 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37082006 2025-12-10 17:05:05,669 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37082006', 'default']} 2025-12-10 17:05:05,963 - DEBUG - Response for create_network : {'network': {'id': 'cd1fd654-1a60-4f89-87d2-3254c8d5b3c3', 'name': 'ctest-vn-37730617', 'tenant_id': '6919a68028a04a7ca6fc07af4f2ced55', 'project_id': '6919a68028a04a7ca6fc07af4f2ced55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37082006', 'ctest-vn-37730617'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:05:06,151 - DEBUG - Response for create_subnet : {'subnet': {'id': '14e457a1-b8b9-46f6-b06f-33efebc93c78', 'name': '', 'tenant_id': '6919a68028a04a7ca6fc07af4f2ced55', 'network_id': 'cd1fd654-1a60-4f89-87d2-3254c8d5b3c3', 'ip_version': 4, 'cidr': '153.53.8.64/26', 'allocation_pools': [{'start': '153.53.8.66', 'end': '153.53.8.126'}], 'gateway_ip': '153.53.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.53.8.66', 'tags': [], 'project_id': '6919a68028a04a7ca6fc07af4f2ced55'}} 2025-12-10 17:05:06,165 - INFO - Created VN ctest-vn-37730617 2025-12-10 17:05:06,217 - DEBUG - VN ctest-vn-37730617 UUID is cd1fd654-1a60-4f89-87d2-3254c8d5b3c3 2025-12-10 17:05:06,530 - DEBUG - Response for create_network : {'network': {'id': '0120a5e1-9c6b-4136-8f1c-485339b58a1a', 'name': 'ctest-ext_vn-28230533', 'tenant_id': '6919a68028a04a7ca6fc07af4f2ced55', 'project_id': '6919a68028a04a7ca6fc07af4f2ced55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37082006', 'ctest-ext_vn-28230533'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:05:06,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '32d8e050-e261-4639-9076-ec04f479331f', 'name': '', 'tenant_id': '6919a68028a04a7ca6fc07af4f2ced55', 'network_id': '0120a5e1-9c6b-4136-8f1c-485339b58a1a', 'ip_version': 4, 'cidr': '187.200.29.128/26', 'allocation_pools': [{'start': '187.200.29.130', 'end': '187.200.29.190'}], 'gateway_ip': '187.200.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.200.29.130', 'tags': [], 'project_id': '6919a68028a04a7ca6fc07af4f2ced55'}} 2025-12-10 17:05:06,715 - INFO - Created VN ctest-ext_vn-28230533 2025-12-10 17:05:06,769 - DEBUG - VN ctest-ext_vn-28230533 UUID is 0120a5e1-9c6b-4136-8f1c-485339b58a1a 2025-12-10 17:05:06,955 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:05:07,907 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4878-1) 2025-12-10 17:05:08,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4878-1) 2025-12-10 17:05:09,035 - INFO - Setting gateway for router d006b518-c5bc-4dfd-a150-76a7021292fa to network 0120a5e1-9c6b-4136-8f1c-485339b58a1a 2025-12-10 17:05:09,083 - INFO - Adding interface with subnet_id 14e457a1-b8b9-46f6-b06f-33efebc93c78, port_id None to router d006b518-c5bc-4dfd-a150-76a7021292fa 2025-12-10 17:05:09,311 - INFO - Waiting for VM ctest-TestRoutersBasic-37082006-03662538 to be up.. 2025-12-10 17:05:09,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:05:14,502 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:05:14,502 - INFO - VM name : ctest-TestRoutersBasic-37082006-03662538 2025-12-10 17:05:14,577 - DEBUG - VM ctest-TestRoutersBasic-37082006-03662538 ID is 71fb1ad8-564a-4a85-811c-584ca7a01ec8 2025-12-10 17:05:14,595 - DEBUG - VM ctest-TestRoutersBasic-37082006-03662538 launched on Node cn-jenkins-deploy-platform-ansible-os-4878-1 2025-12-10 17:05:14,664 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/71fb1ad8-564a-4a85-811c-584ca7a01ec8 2025-12-10 17:05:14,955 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/71fb1ad8-564a-4a85-811c-584ca7a01ec8 2025-12-10 17:05:14,991 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f6e50dca-3131-43a4-94c5-aa777edaae08 2025-12-10 17:05:18,230 - 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 1008ms') 2025-12-10 17:05:18,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37082006-03662538 failed! 2025-12-10 17:05:18,281 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37082006:ctest-vn-37730617 is 153.53.8.65 and allocation pool is NOT set 2025-12-10 17:05:20,345 - 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=3.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.780 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.780/2.246/3.713/1.466 ms') 2025-12-10 17:05:20,345 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37082006-03662538 passed 2025-12-10 17:05:20,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:05:20,493 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37082006-03662538, IP 153.53.8.67, Port 22 2025-12-10 17:05:20,658 - DEBUG - VM ctest-TestRoutersBasic-37082006-03662538 is ready for SSH connections 2025-12-10 17:05:20,659 - INFO - Waiting for VM ctest-TestRoutersBasic-37082006-08485891 to be up.. 2025-12-10 17:05:20,733 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:05:20,733 - INFO - VM name : ctest-TestRoutersBasic-37082006-08485891 2025-12-10 17:05:20,803 - DEBUG - VM ctest-TestRoutersBasic-37082006-08485891 ID is 85669f1b-c939-4166-b771-5c777b9f4b4f 2025-12-10 17:05:20,803 - DEBUG - VM ctest-TestRoutersBasic-37082006-08485891 launched on Node cn-jenkins-deploy-platform-ansible-os-4878-1 2025-12-10 17:05:20,877 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/85669f1b-c939-4166-b771-5c777b9f4b4f 2025-12-10 17:05:20,887 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/121f795d-378e-4272-bffd-e2b4f240b0c1 2025-12-10 17:05:22,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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.621/2.870/1.248 ms') 2025-12-10 17:05:22,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37082006-08485891 passed 2025-12-10 17:05:22,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:05:22,269 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37082006-08485891, IP 187.200.29.131, Port 22 2025-12-10 17:05:22,424 - DEBUG - VM ctest-TestRoutersBasic-37082006-08485891 is ready for SSH connections 2025-12-10 17:05:22,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:05:22,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.200.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-10 17:05:22,425 - DEBUG - ping -s 56 -c 3 -W 1 187.200.29.131 2025-12-10 17:05:26,389 - DEBUG - PING 187.200.29.131 (187.200.29.131): 56 data bytes 64 bytes from 187.200.29.131: seq=0 ttl=62 time=6.154 ms 64 bytes from 187.200.29.131: seq=1 ttl=62 time=0.835 ms 64 bytes from 187.200.29.131: seq=2 ttl=62 time=0.790 ms --- 187.200.29.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/2.593/6.154 ms 2025-12-10 17:05:26,390 - INFO - Ping to IP 187.200.29.131 from VM ctest-TestRoutersBasic-37082006-03662538 passed 2025-12-10 17:05:26,390 - INFO - Deleting interface with subnet_id 14e457a1-b8b9-46f6-b06f-33efebc93c78, port_id None from router d006b518-c5bc-4dfd-a150-76a7021292fa 2025-12-10 17:05:26,575 - INFO - Deleting VM ctest-TestRoutersBasic-37082006-08485891 2025-12-10 17:05:26,655 - INFO - Deleting VM ctest-TestRoutersBasic-37082006-03662538 2025-12-10 17:05:26,723 - INFO - Deleting VN ctest-ext_vn-28230533 2025-12-10 17:05:26,776 - DEBUG - VN 0120a5e1-9c6b-4136-8f1c-485339b58a1a still in use: Unable to complete operation on network 0120a5e1-9c6b-4136-8f1c-485339b58a1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-311f095d-652b-42fe-8241-d8d42553f756'] 2025-12-10 17:05:26,777 - WARNING - Deleting VN ctest-ext_vn-28230533 failed..Will retry 2025-12-10 17:05:28,870 - DEBUG - Response for deleting network () 2025-12-10 17:05:28,870 - INFO - Deleting VN ctest-vn-37730617 2025-12-10 17:05:28,965 - DEBUG - Response for deleting network () 2025-12-10 17:05:29,218 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:05:29,219 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-10 17:05:29,219 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:05:29,868 - INFO - Deleted project: ctest-TestRoutersBasic-37082006, ID : 6919a680-28a0-4a7c-a6fc-07af4f2ced55