2025-09-12 19:05:33,389 - INFO - Domain Default found not creating 2025-09-12 19:05:33,530 - INFO - Project ctest-TestRoutersBasic-80996246 not found, creating it 2025-09-12 19:05:33,968 - INFO - Created Project:ctest-TestRoutersBasic-80996246, ID : 81d22047-ae39-4a83-ae69-c08b0826a2da 2025-09-12 19:05:35,325 - INFO - ================================================================================ 2025-09-12 19:05:35,326 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-12 19:05:35,326 - 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-09-12 19:05:35,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 19:05:35,592 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:05:35,592 - INFO - 2025-09-12 19:05:36,269 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80996246 2025-09-12 19:05:36,363 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80996246 2025-09-12 19:05:36,674 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80996246', 'default']} 2025-09-12 19:05:36,970 - DEBUG - Response for create_network : {'network': {'id': '1a3e5753-1c53-422e-94f0-8e0a1a65ddd1', 'name': 'ctest-vn-28206713', 'tenant_id': '81d22047ae394a83ae69c08b0826a2da', 'project_id': '81d22047ae394a83ae69c08b0826a2da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80996246', 'ctest-vn-28206713'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:05:37,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f75b192-67b9-45d0-8906-8a94594e27eb', 'name': '', 'tenant_id': '81d22047ae394a83ae69c08b0826a2da', 'network_id': '1a3e5753-1c53-422e-94f0-8e0a1a65ddd1', 'ip_version': 4, 'cidr': '136.92.28.128/26', 'allocation_pools': [{'start': '136.92.28.130', 'end': '136.92.28.190'}], 'gateway_ip': '136.92.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.92.28.130', 'tags': [], 'project_id': '81d22047ae394a83ae69c08b0826a2da'}} 2025-09-12 19:05:37,137 - INFO - Created VN ctest-vn-28206713 2025-09-12 19:05:37,187 - DEBUG - VN ctest-vn-28206713 UUID is 1a3e5753-1c53-422e-94f0-8e0a1a65ddd1 2025-09-12 19:05:37,523 - DEBUG - Response for create_network : {'network': {'id': '09984524-1c6b-4f1e-9ed3-90e578162a0f', 'name': 'ctest-ext_vn-19208979', 'tenant_id': '81d22047ae394a83ae69c08b0826a2da', 'project_id': '81d22047ae394a83ae69c08b0826a2da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80996246', 'ctest-ext_vn-19208979'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:05:37,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b8d3961-cdef-488b-85a4-87373f043ea9', 'name': '', 'tenant_id': '81d22047ae394a83ae69c08b0826a2da', 'network_id': '09984524-1c6b-4f1e-9ed3-90e578162a0f', 'ip_version': 4, 'cidr': '113.101.92.0/26', 'allocation_pools': [{'start': '113.101.92.2', 'end': '113.101.92.62'}], 'gateway_ip': '113.101.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.101.92.2', 'tags': [], 'project_id': '81d22047ae394a83ae69c08b0826a2da'}} 2025-09-12 19:05:37,745 - INFO - Created VN ctest-ext_vn-19208979 2025-09-12 19:05:37,794 - DEBUG - VN ctest-ext_vn-19208979 UUID is 09984524-1c6b-4f1e-9ed3-90e578162a0f 2025-09-12 19:05:37,998 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:05:38,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4098-1) 2025-09-12 19:05:40,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4098-1) 2025-09-12 19:05:40,159 - INFO - Setting gateway for router 64e18b23-11a1-4dac-b0b8-e79bf35c51f0 to network 09984524-1c6b-4f1e-9ed3-90e578162a0f 2025-09-12 19:05:40,219 - INFO - Adding interface with subnet_id 4f75b192-67b9-45d0-8906-8a94594e27eb, port_id None to router 64e18b23-11a1-4dac-b0b8-e79bf35c51f0 2025-09-12 19:05:40,548 - INFO - Waiting for VM ctest-TestRoutersBasic-80996246-29923981 to be up.. 2025-09-12 19:05:40,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:05:45,775 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:05:45,775 - INFO - VM name : ctest-TestRoutersBasic-80996246-29923981 2025-09-12 19:05:45,843 - DEBUG - VM ctest-TestRoutersBasic-80996246-29923981 ID is 1df873ab-3567-4ac2-a73c-a3e89c14a278 2025-09-12 19:05:45,861 - DEBUG - VM ctest-TestRoutersBasic-80996246-29923981 launched on Node cn-jenkins-deploy-platform-ansible-os-4098-1 2025-09-12 19:05:45,927 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1df873ab-3567-4ac2-a73c-a3e89c14a278 2025-09-12 19:05:46,214 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1df873ab-3567-4ac2-a73c-a3e89c14a278 2025-09-12 19:05:46,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/373f5109-70ed-4e0e-bb31-1a426c77ad13 2025-09-12 19:05:49,496 - 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 1031ms') 2025-09-12 19:05:49,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80996246-29923981 failed! 2025-09-12 19:05:49,550 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80996246:ctest-vn-28206713 is 136.92.28.129 and allocation pool is NOT set 2025-09-12 19:05:51,613 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.625/2.868/1.242 ms') 2025-09-12 19:05:51,613 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80996246-29923981 passed 2025-09-12 19:05:51,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:51,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80996246-29923981, IP 136.92.28.131, Port 22 2025-09-12 19:05:51,918 - DEBUG - VM ctest-TestRoutersBasic-80996246-29923981 is ready for SSH connections 2025-09-12 19:05:51,918 - INFO - Waiting for VM ctest-TestRoutersBasic-80996246-20157522 to be up.. 2025-09-12 19:05:51,991 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:05:51,991 - INFO - VM name : ctest-TestRoutersBasic-80996246-20157522 2025-09-12 19:05:52,059 - DEBUG - VM ctest-TestRoutersBasic-80996246-20157522 ID is b0c4ec44-0a09-4791-999c-f77256c11878 2025-09-12 19:05:52,059 - DEBUG - VM ctest-TestRoutersBasic-80996246-20157522 launched on Node cn-jenkins-deploy-platform-ansible-os-4098-1 2025-09-12 19:05:52,125 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0c4ec44-0a09-4791-999c-f77256c11878 2025-09-12 19:05:52,132 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6137c94c-f6ab-41b0-9ebb-0355ed77461e 2025-09-12 19:05:53,361 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/1.740/2.975/1.235 ms') 2025-09-12 19:05:53,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80996246-20157522 passed 2025-09-12 19:05:53,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:53,507 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80996246-20157522, IP 113.101.92.3, Port 22 2025-09-12 19:05:53,662 - DEBUG - VM ctest-TestRoutersBasic-80996246-20157522 is ready for SSH connections 2025-09-12 19:05:53,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:53,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.101.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:05:53,662 - DEBUG - ping -s 56 -c 3 -W 1 113.101.92.3 2025-09-12 19:05:57,662 - DEBUG - PING 113.101.92.3 (113.101.92.3): 56 data bytes 64 bytes from 113.101.92.3: seq=0 ttl=62 time=6.835 ms 64 bytes from 113.101.92.3: seq=1 ttl=62 time=0.742 ms 64 bytes from 113.101.92.3: seq=2 ttl=62 time=0.871 ms --- 113.101.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/2.816/6.835 ms 2025-09-12 19:05:57,663 - INFO - Ping to IP 113.101.92.3 from VM ctest-TestRoutersBasic-80996246-29923981 passed 2025-09-12 19:05:57,663 - INFO - Deleting interface with subnet_id 4f75b192-67b9-45d0-8906-8a94594e27eb, port_id None from router 64e18b23-11a1-4dac-b0b8-e79bf35c51f0 2025-09-12 19:05:57,826 - INFO - Deleting VM ctest-TestRoutersBasic-80996246-20157522 2025-09-12 19:05:57,892 - INFO - Deleting VM ctest-TestRoutersBasic-80996246-29923981 2025-09-12 19:05:57,964 - INFO - Deleting VN ctest-ext_vn-19208979 2025-09-12 19:05:58,023 - DEBUG - VN 09984524-1c6b-4f1e-9ed3-90e578162a0f still in use: Unable to complete operation on network 09984524-1c6b-4f1e-9ed3-90e578162a0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-331823b5-58eb-457f-97b6-866ff3f8f3a2'] 2025-09-12 19:05:58,023 - WARNING - Deleting VN ctest-ext_vn-19208979 failed..Will retry 2025-09-12 19:06:00,142 - DEBUG - Response for deleting network () 2025-09-12 19:06:00,142 - INFO - Deleting VN ctest-vn-28206713 2025-09-12 19:06:00,274 - DEBUG - Response for deleting network () 2025-09-12 19:06:00,539 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:06:00,539 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-12 19:06:00,539 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:06:01,187 - INFO - Deleted project: ctest-TestRoutersBasic-80996246, ID : 81d22047-ae39-4a83-ae69-c08b0826a2da