2025-10-29 17:35:54,780 - INFO - Domain Default found not creating 2025-10-29 17:35:54,940 - INFO - Project ctest-TestRoutersBasic-09593235 not found, creating it 2025-10-29 17:35:55,430 - INFO - Created Project:ctest-TestRoutersBasic-09593235, ID : ce348dc1-988f-4348-b671-44e3ce77edf2 2025-10-29 17:35:56,895 - INFO - ================================================================================ 2025-10-29 17:35:56,895 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-29 17:35:56,895 - 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-10-29 17:35:57,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 17:35:57,147 - INFO - Initial checks done. Running the testcase now 2025-10-29 17:35:57,147 - INFO - 2025-10-29 17:35:57,851 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09593235 2025-10-29 17:35:57,946 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09593235 2025-10-29 17:35:58,258 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09593235', 'default']} 2025-10-29 17:35:58,546 - DEBUG - Response for create_network : {'network': {'id': '90805c15-39cb-468b-86e6-1785bc9645d8', 'name': 'ctest-vn-00776541', 'tenant_id': 'ce348dc1988f4348b67144e3ce77edf2', 'project_id': 'ce348dc1988f4348b67144e3ce77edf2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09593235', 'ctest-vn-00776541'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:35:58,720 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd64d2406-e4c7-4caf-8817-8b08c6d7ea51', 'name': '', 'tenant_id': 'ce348dc1988f4348b67144e3ce77edf2', 'network_id': '90805c15-39cb-468b-86e6-1785bc9645d8', 'ip_version': 4, 'cidr': '44.47.27.128/26', 'allocation_pools': [{'start': '44.47.27.130', 'end': '44.47.27.190'}], 'gateway_ip': '44.47.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.47.27.130', 'tags': [], 'project_id': 'ce348dc1988f4348b67144e3ce77edf2'}} 2025-10-29 17:35:58,736 - INFO - Created VN ctest-vn-00776541 2025-10-29 17:35:58,790 - DEBUG - VN ctest-vn-00776541 UUID is 90805c15-39cb-468b-86e6-1785bc9645d8 2025-10-29 17:35:59,135 - DEBUG - Response for create_network : {'network': {'id': '4b7bb74d-35ae-44e8-a7f8-310206808ab9', 'name': 'ctest-ext_vn-29673700', 'tenant_id': 'ce348dc1988f4348b67144e3ce77edf2', 'project_id': 'ce348dc1988f4348b67144e3ce77edf2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09593235', 'ctest-ext_vn-29673700'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:35:59,282 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df898b0e-fa2a-4789-b364-1f6e027947b4', 'name': '', 'tenant_id': 'ce348dc1988f4348b67144e3ce77edf2', 'network_id': '4b7bb74d-35ae-44e8-a7f8-310206808ab9', 'ip_version': 4, 'cidr': '64.111.53.0/26', 'allocation_pools': [{'start': '64.111.53.2', 'end': '64.111.53.62'}], 'gateway_ip': '64.111.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.111.53.2', 'tags': [], 'project_id': 'ce348dc1988f4348b67144e3ce77edf2'}} 2025-10-29 17:35:59,301 - INFO - Created VN ctest-ext_vn-29673700 2025-10-29 17:35:59,354 - DEBUG - VN ctest-ext_vn-29673700 UUID is 4b7bb74d-35ae-44e8-a7f8-310206808ab9 2025-10-29 17:35:59,555 - DEBUG - Services list from nova: [, , ] 2025-10-29 17:36:00,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4525-1) 2025-10-29 17:36:01,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4525-1) 2025-10-29 17:36:01,766 - INFO - Setting gateway for router 974afa79-38f1-49c1-9313-7115949d800c to network 4b7bb74d-35ae-44e8-a7f8-310206808ab9 2025-10-29 17:36:01,851 - INFO - Adding interface with subnet_id d64d2406-e4c7-4caf-8817-8b08c6d7ea51, port_id None to router 974afa79-38f1-49c1-9313-7115949d800c 2025-10-29 17:36:02,240 - INFO - Waiting for VM ctest-TestRoutersBasic-09593235-60449088 to be up.. 2025-10-29 17:36:02,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 17:36:07,508 - DEBUG - VM is in ACTIVE state now 2025-10-29 17:36:07,509 - INFO - VM name : ctest-TestRoutersBasic-09593235-60449088 2025-10-29 17:36:07,587 - DEBUG - VM ctest-TestRoutersBasic-09593235-60449088 ID is 5a0359d3-0f83-4d87-97f3-4a8982175fc8 2025-10-29 17:36:07,608 - DEBUG - VM ctest-TestRoutersBasic-09593235-60449088 launched on Node cn-jenkins-deploy-platform-ansible-os-4525-1 2025-10-29 17:36:07,681 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5a0359d3-0f83-4d87-97f3-4a8982175fc8 2025-10-29 17:36:07,981 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5a0359d3-0f83-4d87-97f3-4a8982175fc8 2025-10-29 17:36:08,012 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c8006a85-b6a8-45c0-9828-dacf1628ba25 2025-10-29 17:36:11,277 - 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 1027ms') 2025-10-29 17:36:11,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09593235-60449088 failed! 2025-10-29 17:36:11,330 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09593235:ctest-vn-00776541 is 44.47.27.129 and allocation pool is NOT set 2025-10-29 17:36:13,394 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.711 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.711/1.971/3.232/1.260 ms') 2025-10-29 17:36:13,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09593235-60449088 passed 2025-10-29 17:36:13,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:36:13,542 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09593235-60449088, IP 44.47.27.131, Port 22 2025-10-29 17:36:13,698 - DEBUG - VM ctest-TestRoutersBasic-09593235-60449088 is ready for SSH connections 2025-10-29 17:36:13,698 - INFO - Waiting for VM ctest-TestRoutersBasic-09593235-59373238 to be up.. 2025-10-29 17:36:13,773 - DEBUG - VM is in ACTIVE state now 2025-10-29 17:36:13,773 - INFO - VM name : ctest-TestRoutersBasic-09593235-59373238 2025-10-29 17:36:13,844 - DEBUG - VM ctest-TestRoutersBasic-09593235-59373238 ID is 2950b895-f02a-40da-94b1-51b8d0f5642f 2025-10-29 17:36:13,845 - DEBUG - VM ctest-TestRoutersBasic-09593235-59373238 launched on Node cn-jenkins-deploy-platform-ansible-os-4525-1 2025-10-29 17:36:13,920 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2950b895-f02a-40da-94b1-51b8d0f5642f 2025-10-29 17:36:13,928 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2104d78d-b79b-4ec7-83b5-4cb48e03beb6 2025-10-29 17:36:15,163 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.697 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.697/1.993/3.290/1.296 ms') 2025-10-29 17:36:15,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09593235-59373238 passed 2025-10-29 17:36:15,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:36:15,310 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09593235-59373238, IP 64.111.53.3, Port 22 2025-10-29 17:36:15,470 - DEBUG - VM ctest-TestRoutersBasic-09593235-59373238 is ready for SSH connections 2025-10-29 17:36:15,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:36:15,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.111.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 17:36:15,470 - DEBUG - ping -s 56 -c 3 -W 1 64.111.53.3 2025-10-29 17:36:19,208 - DEBUG - PING 64.111.53.3 (64.111.53.3): 56 data bytes 64 bytes from 64.111.53.3: seq=0 ttl=62 time=5.283 ms 64 bytes from 64.111.53.3: seq=1 ttl=62 time=1.147 ms 64 bytes from 64.111.53.3: seq=2 ttl=62 time=0.977 ms --- 64.111.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/2.469/5.283 ms 2025-10-29 17:36:19,208 - INFO - Ping to IP 64.111.53.3 from VM ctest-TestRoutersBasic-09593235-60449088 passed 2025-10-29 17:36:19,208 - INFO - Deleting interface with subnet_id d64d2406-e4c7-4caf-8817-8b08c6d7ea51, port_id None from router 974afa79-38f1-49c1-9313-7115949d800c 2025-10-29 17:36:19,393 - INFO - Deleting VM ctest-TestRoutersBasic-09593235-59373238 2025-10-29 17:36:19,474 - INFO - Deleting VM ctest-TestRoutersBasic-09593235-60449088 2025-10-29 17:36:19,555 - INFO - Deleting VN ctest-ext_vn-29673700 2025-10-29 17:36:19,633 - DEBUG - VN 4b7bb74d-35ae-44e8-a7f8-310206808ab9 still in use: Unable to complete operation on network 4b7bb74d-35ae-44e8-a7f8-310206808ab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a7989a2-64b9-42ca-b0ae-f35f1c6b714b'] 2025-10-29 17:36:19,633 - WARNING - Deleting VN ctest-ext_vn-29673700 failed..Will retry 2025-10-29 17:36:21,741 - DEBUG - Response for deleting network () 2025-10-29 17:36:21,741 - INFO - Deleting VN ctest-vn-00776541 2025-10-29 17:36:21,842 - DEBUG - Response for deleting network () 2025-10-29 17:36:22,103 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 17:36:22,103 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-29 17:36:22,103 - INFO - -------------------------------------------------------------------------------- 2025-10-29 17:36:22,794 - INFO - Deleted project: ctest-TestRoutersBasic-09593235, ID : ce348dc1-988f-4348-b671-44e3ce77edf2