2025-11-04 22:49:56,926 - INFO - Domain Default found not creating 2025-11-04 22:49:57,055 - INFO - Project ctest-TestRoutersBasic-70240601 not found, creating it 2025-11-04 22:49:57,468 - INFO - Created Project:ctest-TestRoutersBasic-70240601, ID : ff0e6bd4-8c42-4921-a257-14039e81c42c 2025-11-04 22:49:58,835 - INFO - ================================================================================ 2025-11-04 22:49:58,835 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-04 22:49:58,835 - 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-04 22:49:59,104 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-04 22:49:59,104 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:49:59,104 - INFO - 2025-11-04 22:49:59,778 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70240601 2025-11-04 22:49:59,871 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70240601 2025-11-04 22:50:00,195 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70240601', 'default']} 2025-11-04 22:50:00,480 - DEBUG - Response for create_network : {'network': {'id': '077702be-07f8-46cd-80dc-c1384ea387ef', 'name': 'ctest-vn-22405166', 'tenant_id': 'ff0e6bd48c424921a25714039e81c42c', 'project_id': 'ff0e6bd48c424921a25714039e81c42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70240601', 'ctest-vn-22405166'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:50:00,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c51c391-224d-4e07-8a29-e967ce5f82bb', 'name': '', 'tenant_id': 'ff0e6bd48c424921a25714039e81c42c', 'network_id': '077702be-07f8-46cd-80dc-c1384ea387ef', 'ip_version': 4, 'cidr': '96.179.96.192/26', 'allocation_pools': [{'start': '96.179.96.194', 'end': '96.179.96.254'}], 'gateway_ip': '96.179.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.179.96.194', 'tags': [], 'project_id': 'ff0e6bd48c424921a25714039e81c42c'}} 2025-11-04 22:50:00,656 - INFO - Created VN ctest-vn-22405166 2025-11-04 22:50:00,707 - DEBUG - VN ctest-vn-22405166 UUID is 077702be-07f8-46cd-80dc-c1384ea387ef 2025-11-04 22:50:01,034 - DEBUG - Response for create_network : {'network': {'id': '7f4ce9e9-1229-4f9d-b9c3-f7ddd9bdd235', 'name': 'ctest-ext_vn-76474809', 'tenant_id': 'ff0e6bd48c424921a25714039e81c42c', 'project_id': 'ff0e6bd48c424921a25714039e81c42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70240601', 'ctest-ext_vn-76474809'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:50:01,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '964f74d4-c324-4a84-b645-de634b4e54d3', 'name': '', 'tenant_id': 'ff0e6bd48c424921a25714039e81c42c', 'network_id': '7f4ce9e9-1229-4f9d-b9c3-f7ddd9bdd235', 'ip_version': 4, 'cidr': '122.230.179.0/26', 'allocation_pools': [{'start': '122.230.179.2', 'end': '122.230.179.62'}], 'gateway_ip': '122.230.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.230.179.2', 'tags': [], 'project_id': 'ff0e6bd48c424921a25714039e81c42c'}} 2025-11-04 22:50:01,191 - INFO - Created VN ctest-ext_vn-76474809 2025-11-04 22:50:01,243 - DEBUG - VN ctest-ext_vn-76474809 UUID is 7f4ce9e9-1229-4f9d-b9c3-f7ddd9bdd235 2025-11-04 22:50:01,429 - DEBUG - Services list from nova: [, , ] 2025-11-04 22:50:02,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4626-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4626-1) 2025-11-04 22:50:03,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4626-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4626-1) 2025-11-04 22:50:03,552 - INFO - Setting gateway for router 0e94e46c-ba96-43ee-b396-907983c5d0fb to network 7f4ce9e9-1229-4f9d-b9c3-f7ddd9bdd235 2025-11-04 22:50:03,633 - INFO - Adding interface with subnet_id 1c51c391-224d-4e07-8a29-e967ce5f82bb, port_id None to router 0e94e46c-ba96-43ee-b396-907983c5d0fb 2025-11-04 22:50:03,877 - INFO - Waiting for VM ctest-TestRoutersBasic-70240601-08817168 to be up.. 2025-11-04 22:50:03,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 22:50:09,053 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:50:09,053 - INFO - VM name : ctest-TestRoutersBasic-70240601-08817168 2025-11-04 22:50:09,118 - DEBUG - VM ctest-TestRoutersBasic-70240601-08817168 ID is d59219f1-40f5-4594-9eac-343fa386591d 2025-11-04 22:50:09,137 - DEBUG - VM ctest-TestRoutersBasic-70240601-08817168 launched on Node cn-jenkins-deploy-platform-ansible-os-4626-1 2025-11-04 22:50:09,201 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d59219f1-40f5-4594-9eac-343fa386591d 2025-11-04 22:50:09,500 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d59219f1-40f5-4594-9eac-343fa386591d 2025-11-04 22:50:09,531 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/96769325-a238-4d51-93ac-a06adfaaab0d 2025-11-04 22:50:12,790 - 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 1023ms') 2025-11-04 22:50:12,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70240601-08817168 failed! 2025-11-04 22:50:12,851 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70240601:ctest-vn-22405166 is 96.179.96.193 and allocation pool is NOT set 2025-11-04 22:50:14,911 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.654/2.846/1.192 ms') 2025-11-04 22:50:14,911 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70240601-08817168 passed 2025-11-04 22:50:15,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:50:15,059 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70240601-08817168, IP 96.179.96.195, Port 22 2025-11-04 22:50:15,239 - DEBUG - VM ctest-TestRoutersBasic-70240601-08817168 is ready for SSH connections 2025-11-04 22:50:15,239 - INFO - Waiting for VM ctest-TestRoutersBasic-70240601-36914983 to be up.. 2025-11-04 22:50:15,311 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:50:15,311 - INFO - VM name : ctest-TestRoutersBasic-70240601-36914983 2025-11-04 22:50:15,380 - DEBUG - VM ctest-TestRoutersBasic-70240601-36914983 ID is 2a554145-d073-442f-ba65-4abf047b3c59 2025-11-04 22:50:15,380 - DEBUG - VM ctest-TestRoutersBasic-70240601-36914983 launched on Node cn-jenkins-deploy-platform-ansible-os-4626-1 2025-11-04 22:50:15,445 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2a554145-d073-442f-ba65-4abf047b3c59 2025-11-04 22:50:15,453 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/97b96d43-c7ae-4d70-95d1-45912b5033bb 2025-11-04 22:50:16,686 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.463/2.538/1.075 ms') 2025-11-04 22:50:16,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70240601-36914983 passed 2025-11-04 22:50:16,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:50:16,835 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70240601-36914983, IP 122.230.179.3, Port 22 2025-11-04 22:50:16,991 - DEBUG - VM ctest-TestRoutersBasic-70240601-36914983 is ready for SSH connections 2025-11-04 22:50:16,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:50:16,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.230.179.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-04 22:50:16,992 - DEBUG - ping -s 56 -c 3 -W 1 122.230.179.3 2025-11-04 22:50:20,957 - DEBUG - PING 122.230.179.3 (122.230.179.3): 56 data bytes 64 bytes from 122.230.179.3: seq=0 ttl=62 time=7.157 ms 64 bytes from 122.230.179.3: seq=1 ttl=62 time=1.181 ms 64 bytes from 122.230.179.3: seq=2 ttl=62 time=0.976 ms --- 122.230.179.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/3.104/7.157 ms 2025-11-04 22:50:20,958 - INFO - Ping to IP 122.230.179.3 from VM ctest-TestRoutersBasic-70240601-08817168 passed 2025-11-04 22:50:20,958 - INFO - Deleting interface with subnet_id 1c51c391-224d-4e07-8a29-e967ce5f82bb, port_id None from router 0e94e46c-ba96-43ee-b396-907983c5d0fb 2025-11-04 22:50:21,131 - INFO - Deleting VM ctest-TestRoutersBasic-70240601-36914983 2025-11-04 22:50:21,202 - INFO - Deleting VM ctest-TestRoutersBasic-70240601-08817168 2025-11-04 22:50:21,284 - INFO - Deleting VN ctest-ext_vn-76474809 2025-11-04 22:50:21,337 - DEBUG - VN 7f4ce9e9-1229-4f9d-b9c3-f7ddd9bdd235 still in use: Unable to complete operation on network 7f4ce9e9-1229-4f9d-b9c3-f7ddd9bdd235. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2e99a6a-c53a-42ed-a24b-2cbf8fcc216a'] 2025-11-04 22:50:21,337 - WARNING - Deleting VN ctest-ext_vn-76474809 failed..Will retry 2025-11-04 22:50:23,423 - DEBUG - Response for deleting network () 2025-11-04 22:50:23,423 - INFO - Deleting VN ctest-vn-22405166 2025-11-04 22:50:23,506 - DEBUG - Response for deleting network () 2025-11-04 22:50:23,760 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 22:50:23,760 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-04 22:50:23,760 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:50:24,429 - INFO - Deleted project: ctest-TestRoutersBasic-70240601, ID : ff0e6bd4-8c42-4921-a257-14039e81c42c