2025-12-11 17:39:20,496 - INFO - Domain Default found not creating 2025-12-11 17:39:20,717 - INFO - Project ctest-TestRoutersBasic-73341502 not found, creating it 2025-12-11 17:39:21,245 - INFO - Created Project:ctest-TestRoutersBasic-73341502, ID : c63a2c2f-24da-465e-8a91-e101bfa7c45f 2025-12-11 17:39:22,975 - INFO - ================================================================================ 2025-12-11 17:39:22,975 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-11 17:39:22,975 - 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-11 17:39:23,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.193': '0'}} with 2025-12-11 17:39:23,257 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:39:23,257 - INFO - 2025-12-11 17:39:24,055 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73341502 2025-12-11 17:39:24,153 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73341502 2025-12-11 17:39:24,489 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73341502', 'default']} 2025-12-11 17:39:24,825 - DEBUG - Response for create_network : {'network': {'id': 'e2518676-91d1-4acb-acba-72df328f8b4c', 'name': 'ctest-vn-14468884', 'tenant_id': 'c63a2c2f24da465e8a91e101bfa7c45f', 'project_id': 'c63a2c2f24da465e8a91e101bfa7c45f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73341502', 'ctest-vn-14468884'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:39:25,067 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e5765a5-680c-4726-b0f5-56447fe8913c', 'name': '', 'tenant_id': 'c63a2c2f24da465e8a91e101bfa7c45f', 'network_id': 'e2518676-91d1-4acb-acba-72df328f8b4c', 'ip_version': 4, 'cidr': '27.214.136.64/26', 'allocation_pools': [{'start': '27.214.136.66', 'end': '27.214.136.126'}], 'gateway_ip': '27.214.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.214.136.66', 'tags': [], 'project_id': 'c63a2c2f24da465e8a91e101bfa7c45f'}} 2025-12-11 17:39:25,091 - INFO - Created VN ctest-vn-14468884 2025-12-11 17:39:25,145 - DEBUG - VN ctest-vn-14468884 UUID is e2518676-91d1-4acb-acba-72df328f8b4c 2025-12-11 17:39:25,497 - DEBUG - Response for create_network : {'network': {'id': '84fab514-dd1f-4623-a808-a125f799f309', 'name': 'ctest-ext_vn-46382532', 'tenant_id': 'c63a2c2f24da465e8a91e101bfa7c45f', 'project_id': 'c63a2c2f24da465e8a91e101bfa7c45f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73341502', 'ctest-ext_vn-46382532'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:39:25,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '39bbe69b-c56e-4cee-bea8-e3b9bdee72ed', 'name': '', 'tenant_id': 'c63a2c2f24da465e8a91e101bfa7c45f', 'network_id': '84fab514-dd1f-4623-a808-a125f799f309', 'ip_version': 4, 'cidr': '124.141.70.0/26', 'allocation_pools': [{'start': '124.141.70.2', 'end': '124.141.70.62'}], 'gateway_ip': '124.141.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.141.70.2', 'tags': [], 'project_id': 'c63a2c2f24da465e8a91e101bfa7c45f'}} 2025-12-11 17:39:25,694 - INFO - Created VN ctest-ext_vn-46382532 2025-12-11 17:39:25,749 - DEBUG - VN ctest-ext_vn-46382532 UUID is 84fab514-dd1f-4623-a808-a125f799f309 2025-12-11 17:39:25,938 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:39:27,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1) 2025-12-11 17:39:28,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1) 2025-12-11 17:39:28,468 - INFO - Setting gateway for router a182db00-b68b-487c-bed4-ce8d6f811d55 to network 84fab514-dd1f-4623-a808-a125f799f309 2025-12-11 17:39:28,538 - INFO - Adding interface with subnet_id 2e5765a5-680c-4726-b0f5-56447fe8913c, port_id None to router a182db00-b68b-487c-bed4-ce8d6f811d55 2025-12-11 17:39:28,964 - INFO - Waiting for VM ctest-TestRoutersBasic-73341502-42865656 to be up.. 2025-12-11 17:39:29,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:39:34,214 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:39:34,214 - INFO - VM name : ctest-TestRoutersBasic-73341502-42865656 2025-12-11 17:39:34,328 - DEBUG - VM ctest-TestRoutersBasic-73341502-42865656 ID is d7a46c59-45e3-4056-b7bb-ff7d41aadfb2 2025-12-11 17:39:34,362 - DEBUG - VM ctest-TestRoutersBasic-73341502-42865656 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1 2025-12-11 17:39:34,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d7a46c59-45e3-4056-b7bb-ff7d41aadfb2 2025-12-11 17:39:34,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d7a46c59-45e3-4056-b7bb-ff7d41aadfb2 2025-12-11 17:39:34,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0a21c1f4-89d2-4034-af53-5ccf10ce6160 2025-12-11 17:39:38,107 - 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-11 17:39:38,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73341502-42865656 failed! 2025-12-11 17:39:38,165 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73341502:ctest-vn-14468884 is 27.214.136.65 and allocation pool is NOT set 2025-12-11 17:39:40,237 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.43 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 = 1.427/2.665/3.904/1.238 ms') 2025-12-11 17:39:40,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73341502-42865656 passed 2025-12-11 17:39:40,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:40,394 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73341502-42865656, IP 27.214.136.67, Port 22 2025-12-11 17:39:40,564 - DEBUG - VM ctest-TestRoutersBasic-73341502-42865656 is ready for SSH connections 2025-12-11 17:39:40,564 - INFO - Waiting for VM ctest-TestRoutersBasic-73341502-94434972 to be up.. 2025-12-11 17:39:40,663 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:39:40,663 - INFO - VM name : ctest-TestRoutersBasic-73341502-94434972 2025-12-11 17:39:40,764 - DEBUG - VM ctest-TestRoutersBasic-73341502-94434972 ID is 866e0be7-90a1-4948-b225-b5e49ce9123d 2025-12-11 17:39:40,764 - DEBUG - VM ctest-TestRoutersBasic-73341502-94434972 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1 2025-12-11 17:39:40,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/866e0be7-90a1-4948-b225-b5e49ce9123d 2025-12-11 17:39:40,871 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5cb218d-b244-4b07-9938-92034bfbf7be 2025-12-11 17:39:42,137 - 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=5.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.766/3.823/5.880/2.057 ms') 2025-12-11 17:39:42,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73341502-94434972 passed 2025-12-11 17:39:42,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:42,297 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73341502-94434972, IP 124.141.70.3, Port 22 2025-12-11 17:39:42,465 - DEBUG - VM ctest-TestRoutersBasic-73341502-94434972 is ready for SSH connections 2025-12-11 17:39:42,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:42,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.141.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 17:39:42,466 - DEBUG - ping -s 56 -c 3 -W 1 124.141.70.3 2025-12-11 17:39:46,635 - DEBUG - PING 124.141.70.3 (124.141.70.3): 56 data bytes 64 bytes from 124.141.70.3: seq=0 ttl=62 time=10.132 ms 64 bytes from 124.141.70.3: seq=1 ttl=62 time=1.146 ms 64 bytes from 124.141.70.3: seq=2 ttl=62 time=1.330 ms --- 124.141.70.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.146/4.202/10.132 ms 2025-12-11 17:39:46,635 - INFO - Ping to IP 124.141.70.3 from VM ctest-TestRoutersBasic-73341502-42865656 passed 2025-12-11 17:39:46,635 - INFO - Deleting interface with subnet_id 2e5765a5-680c-4726-b0f5-56447fe8913c, port_id None from router a182db00-b68b-487c-bed4-ce8d6f811d55 2025-12-11 17:39:46,880 - INFO - Deleting VM ctest-TestRoutersBasic-73341502-94434972 2025-12-11 17:39:46,967 - INFO - Deleting VM ctest-TestRoutersBasic-73341502-42865656 2025-12-11 17:39:47,083 - INFO - Deleting VN ctest-ext_vn-46382532 2025-12-11 17:39:47,181 - DEBUG - VN 84fab514-dd1f-4623-a808-a125f799f309 still in use: Unable to complete operation on network 84fab514-dd1f-4623-a808-a125f799f309. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f508edc8-33bd-41f1-bcc0-7010f1ed6ef4'] 2025-12-11 17:39:47,181 - WARNING - Deleting VN ctest-ext_vn-46382532 failed..Will retry 2025-12-11 17:39:49,306 - DEBUG - Response for deleting network () 2025-12-11 17:39:49,307 - INFO - Deleting VN ctest-vn-14468884 2025-12-11 17:39:49,440 - DEBUG - Response for deleting network () 2025-12-11 17:39:49,711 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 17:39:49,711 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-12-11 17:39:49,711 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:39:50,523 - INFO - Deleted project: ctest-TestRoutersBasic-73341502, ID : c63a2c2f-24da-465e-8a91-e101bfa7c45f