2025-08-11 16:03:30,892 - INFO - Domain Default found not creating 2025-08-11 16:03:31,022 - INFO - Project ctest-TestRoutersBasic-79034388 not found, creating it 2025-08-11 16:03:31,461 - INFO - Created Project:ctest-TestRoutersBasic-79034388, ID : 9d87baf8-c7bd-4d65-99da-5c9c71e994a4 2025-08-11 16:03:32,986 - INFO - ================================================================================ 2025-08-11 16:03:32,986 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 16:03:32,987 - 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-08-11 16:03:33,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-08-11 16:03:33,242 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:03:33,242 - INFO - 2025-08-11 16:03:34,013 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79034388 2025-08-11 16:03:34,107 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79034388 2025-08-11 16:03:34,431 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79034388', 'default']} 2025-08-11 16:03:34,731 - DEBUG - Response for create_network : {'network': {'id': '7d7939e9-408e-45aa-8540-89dc9dc520d5', 'name': 'ctest-vn-43266534', 'tenant_id': '9d87baf8c7bd4d6599da5c9c71e994a4', 'project_id': '9d87baf8c7bd4d6599da5c9c71e994a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79034388', 'ctest-vn-43266534'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:03:34,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '03613668-4916-4f5e-a4ce-6cc1e5e1604c', 'name': '', 'tenant_id': '9d87baf8c7bd4d6599da5c9c71e994a4', 'network_id': '7d7939e9-408e-45aa-8540-89dc9dc520d5', 'ip_version': 4, 'cidr': '38.168.41.192/26', 'allocation_pools': [{'start': '38.168.41.194', 'end': '38.168.41.254'}], 'gateway_ip': '38.168.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.168.41.194', 'tags': [], 'project_id': '9d87baf8c7bd4d6599da5c9c71e994a4'}} 2025-08-11 16:03:34,923 - INFO - Created VN ctest-vn-43266534 2025-08-11 16:03:34,975 - DEBUG - VN ctest-vn-43266534 UUID is 7d7939e9-408e-45aa-8540-89dc9dc520d5 2025-08-11 16:03:35,347 - DEBUG - Response for create_network : {'network': {'id': 'cfcd28d8-39b8-431a-9140-c4cb85ecaf13', 'name': 'ctest-ext_vn-99466062', 'tenant_id': '9d87baf8c7bd4d6599da5c9c71e994a4', 'project_id': '9d87baf8c7bd4d6599da5c9c71e994a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79034388', 'ctest-ext_vn-99466062'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:03:35,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '465611b8-dca7-4e21-ba9b-cb7d44a8a85e', 'name': '', 'tenant_id': '9d87baf8c7bd4d6599da5c9c71e994a4', 'network_id': 'cfcd28d8-39b8-431a-9140-c4cb85ecaf13', 'ip_version': 4, 'cidr': '128.68.77.0/26', 'allocation_pools': [{'start': '128.68.77.2', 'end': '128.68.77.62'}], 'gateway_ip': '128.68.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.68.77.2', 'tags': [], 'project_id': '9d87baf8c7bd4d6599da5c9c71e994a4'}} 2025-08-11 16:03:35,596 - INFO - Created VN ctest-ext_vn-99466062 2025-08-11 16:03:35,647 - DEBUG - VN ctest-ext_vn-99466062 UUID is cfcd28d8-39b8-431a-9140-c4cb85ecaf13 2025-08-11 16:03:35,814 - DEBUG - Services list from nova: [, , ] 2025-08-11 16:03:36,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:03:38,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:03:38,232 - INFO - Setting gateway for router 4cff5e4a-4800-4b9a-9f37-bb801fe3a579 to network cfcd28d8-39b8-431a-9140-c4cb85ecaf13 2025-08-11 16:03:38,292 - INFO - Adding interface with subnet_id 03613668-4916-4f5e-a4ce-6cc1e5e1604c, port_id None to router 4cff5e4a-4800-4b9a-9f37-bb801fe3a579 2025-08-11 16:03:38,642 - INFO - Waiting for VM ctest-TestRoutersBasic-79034388-88900327 to be up.. 2025-08-11 16:03:38,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 16:03:43,842 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:03:43,843 - INFO - VM name : ctest-TestRoutersBasic-79034388-88900327 2025-08-11 16:03:43,920 - DEBUG - VM ctest-TestRoutersBasic-79034388-88900327 ID is 27a498cf-829d-4353-bcb6-5208ff05a20e 2025-08-11 16:03:43,939 - DEBUG - VM ctest-TestRoutersBasic-79034388-88900327 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:03:44,012 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27a498cf-829d-4353-bcb6-5208ff05a20e 2025-08-11 16:03:44,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27a498cf-829d-4353-bcb6-5208ff05a20e 2025-08-11 16:03:44,385 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/07027b9f-cbb8-41e6-a9b9-94e7690e948f 2025-08-11 16:03:47,636 - 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 1019ms') 2025-08-11 16:03:47,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79034388-88900327 failed! 2025-08-11 16:03:47,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79034388:ctest-vn-43266534 is 38.168.41.193 and allocation pool is NOT set 2025-08-11 16:03:49,749 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.875/3.313/1.438 ms') 2025-08-11 16:03:49,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79034388-88900327 passed 2025-08-11 16:03:49,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:49,903 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79034388-88900327, IP 38.168.41.195, Port 22 2025-08-11 16:03:50,059 - DEBUG - VM ctest-TestRoutersBasic-79034388-88900327 is ready for SSH connections 2025-08-11 16:03:50,059 - INFO - Waiting for VM ctest-TestRoutersBasic-79034388-82192436 to be up.. 2025-08-11 16:03:50,133 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:03:50,133 - INFO - VM name : ctest-TestRoutersBasic-79034388-82192436 2025-08-11 16:03:50,196 - DEBUG - VM ctest-TestRoutersBasic-79034388-82192436 ID is 645b68ba-4241-4ac0-a46e-1ffe01605f57 2025-08-11 16:03:50,196 - DEBUG - VM ctest-TestRoutersBasic-79034388-82192436 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:03:50,260 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/645b68ba-4241-4ac0-a46e-1ffe01605f57 2025-08-11 16:03:50,268 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4a6424db-6d13-44e0-ac45-7d7ec7cb2e68 2025-08-11 16:03:51,503 - 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=3.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.925 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.925/2.360/3.796/1.435 ms') 2025-08-11 16:03:51,503 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79034388-82192436 passed 2025-08-11 16:03:51,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:51,655 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79034388-82192436, IP 128.68.77.3, Port 22 2025-08-11 16:03:51,811 - DEBUG - VM ctest-TestRoutersBasic-79034388-82192436 is ready for SSH connections 2025-08-11 16:03:51,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:51,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.68.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:03:51,811 - DEBUG - ping -s 56 -c 3 -W 1 128.68.77.3 2025-08-11 16:03:55,529 - DEBUG - PING 128.68.77.3 (128.68.77.3): 56 data bytes 64 bytes from 128.68.77.3: seq=0 ttl=62 time=6.692 ms 64 bytes from 128.68.77.3: seq=1 ttl=62 time=1.051 ms 64 bytes from 128.68.77.3: seq=2 ttl=62 time=0.883 ms --- 128.68.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/2.875/6.692 ms 2025-08-11 16:03:55,529 - INFO - Ping to IP 128.68.77.3 from VM ctest-TestRoutersBasic-79034388-88900327 passed 2025-08-11 16:03:55,529 - INFO - Deleting interface with subnet_id 03613668-4916-4f5e-a4ce-6cc1e5e1604c, port_id None from router 4cff5e4a-4800-4b9a-9f37-bb801fe3a579 2025-08-11 16:03:55,741 - INFO - Deleting VM ctest-TestRoutersBasic-79034388-82192436 2025-08-11 16:03:55,810 - INFO - Deleting VM ctest-TestRoutersBasic-79034388-88900327 2025-08-11 16:03:55,889 - INFO - Deleting VN ctest-ext_vn-99466062 2025-08-11 16:03:55,972 - DEBUG - VN cfcd28d8-39b8-431a-9140-c4cb85ecaf13 still in use: Unable to complete operation on network cfcd28d8-39b8-431a-9140-c4cb85ecaf13. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc855fd9-2d48-4d03-977d-719a5d963cc0'] 2025-08-11 16:03:55,972 - WARNING - Deleting VN ctest-ext_vn-99466062 failed..Will retry 2025-08-11 16:03:58,071 - DEBUG - Response for deleting network () 2025-08-11 16:03:58,071 - INFO - Deleting VN ctest-vn-43266534 2025-08-11 16:03:58,177 - DEBUG - Response for deleting network () 2025-08-11 16:03:58,433 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 16:03:58,433 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-11 16:03:58,433 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:03:59,143 - INFO - Deleted project: ctest-TestRoutersBasic-79034388, ID : 9d87baf8-c7bd-4d65-99da-5c9c71e994a4