2025-10-31 05:40:26,904 - INFO - Domain Default found not creating 2025-10-31 05:40:27,066 - INFO - Project ctest-TestRoutersBasic-71637628 not found, creating it 2025-10-31 05:40:27,525 - INFO - Created Project:ctest-TestRoutersBasic-71637628, ID : c550489d-b4b7-44cc-91a8-c7ff1087e09f 2025-10-31 05:40:29,081 - INFO - ================================================================================ 2025-10-31 05:40:29,081 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 05:40:29,081 - 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-31 05:40:29,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-31 05:40:29,334 - INFO - Initial checks done. Running the testcase now 2025-10-31 05:40:29,334 - INFO - 2025-10-31 05:40:30,131 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71637628 2025-10-31 05:40:30,229 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71637628 2025-10-31 05:40:30,545 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71637628', 'default']} 2025-10-31 05:40:30,840 - DEBUG - Response for create_network : {'network': {'id': '3268ec25-ce32-46f6-90ec-d8ce9a3e5b20', 'name': 'ctest-vn-09305834', 'tenant_id': 'c550489db4b744cc91a8c7ff1087e09f', 'project_id': 'c550489db4b744cc91a8c7ff1087e09f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71637628', 'ctest-vn-09305834'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:40:31,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ee457e0-3afb-4bf2-b874-60120f8f9fa3', 'name': '', 'tenant_id': 'c550489db4b744cc91a8c7ff1087e09f', 'network_id': '3268ec25-ce32-46f6-90ec-d8ce9a3e5b20', 'ip_version': 4, 'cidr': '74.175.183.64/26', 'allocation_pools': [{'start': '74.175.183.66', 'end': '74.175.183.126'}], 'gateway_ip': '74.175.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.175.183.66', 'tags': [], 'project_id': 'c550489db4b744cc91a8c7ff1087e09f'}} 2025-10-31 05:40:31,029 - INFO - Created VN ctest-vn-09305834 2025-10-31 05:40:31,082 - DEBUG - VN ctest-vn-09305834 UUID is 3268ec25-ce32-46f6-90ec-d8ce9a3e5b20 2025-10-31 05:40:31,373 - DEBUG - Response for create_network : {'network': {'id': '49aa2079-2121-4cf6-b7dd-e28ab2c58df2', 'name': 'ctest-ext_vn-82454946', 'tenant_id': 'c550489db4b744cc91a8c7ff1087e09f', 'project_id': 'c550489db4b744cc91a8c7ff1087e09f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71637628', 'ctest-ext_vn-82454946'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:40:31,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ac55ab0-1eab-4ee7-b96b-5a29dae2db22', 'name': '', 'tenant_id': 'c550489db4b744cc91a8c7ff1087e09f', 'network_id': '49aa2079-2121-4cf6-b7dd-e28ab2c58df2', 'ip_version': 4, 'cidr': '159.231.186.128/26', 'allocation_pools': [{'start': '159.231.186.130', 'end': '159.231.186.190'}], 'gateway_ip': '159.231.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.231.186.130', 'tags': [], 'project_id': 'c550489db4b744cc91a8c7ff1087e09f'}} 2025-10-31 05:40:31,585 - INFO - Created VN ctest-ext_vn-82454946 2025-10-31 05:40:31,637 - DEBUG - VN ctest-ext_vn-82454946 UUID is 49aa2079-2121-4cf6-b7dd-e28ab2c58df2 2025-10-31 05:40:31,836 - DEBUG - Services list from nova: [, , ] 2025-10-31 05:40:32,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4571-1) 2025-10-31 05:40:34,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4571-1) 2025-10-31 05:40:34,183 - INFO - Setting gateway for router f4d71fad-9e49-4b36-be0b-be5061a14ead to network 49aa2079-2121-4cf6-b7dd-e28ab2c58df2 2025-10-31 05:40:34,264 - INFO - Adding interface with subnet_id 2ee457e0-3afb-4bf2-b874-60120f8f9fa3, port_id None to router f4d71fad-9e49-4b36-be0b-be5061a14ead 2025-10-31 05:40:34,680 - INFO - Waiting for VM ctest-TestRoutersBasic-71637628-79708704 to be up.. 2025-10-31 05:40:34,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 05:40:39,898 - DEBUG - VM is in ACTIVE state now 2025-10-31 05:40:39,898 - INFO - VM name : ctest-TestRoutersBasic-71637628-79708704 2025-10-31 05:40:39,972 - DEBUG - VM ctest-TestRoutersBasic-71637628-79708704 ID is e017500f-0b3d-4315-b509-086f40d96eb9 2025-10-31 05:40:39,992 - DEBUG - VM ctest-TestRoutersBasic-71637628-79708704 launched on Node cn-jenkins-deploy-platform-ansible-os-4571-1 2025-10-31 05:40:40,066 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e017500f-0b3d-4315-b509-086f40d96eb9 2025-10-31 05:40:40,407 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e017500f-0b3d-4315-b509-086f40d96eb9 2025-10-31 05:40:40,444 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/13b83d59-1ac8-4404-b4e3-c00fe246c07e 2025-10-31 05:40:43,691 - 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 1009ms') 2025-10-31 05:40:43,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71637628-79708704 failed! 2025-10-31 05:40:43,745 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71637628:ctest-vn-09305834 is 74.175.183.65 and allocation pool is NOT set 2025-10-31 05:40:45,803 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.769 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.769/1.898/3.027/1.129 ms') 2025-10-31 05:40:45,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71637628-79708704 passed 2025-10-31 05:40:45,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:40:45,953 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71637628-79708704, IP 74.175.183.67, Port 22 2025-10-31 05:40:46,109 - DEBUG - VM ctest-TestRoutersBasic-71637628-79708704 is ready for SSH connections 2025-10-31 05:40:46,109 - INFO - Waiting for VM ctest-TestRoutersBasic-71637628-49711751 to be up.. 2025-10-31 05:40:46,183 - DEBUG - VM is in ACTIVE state now 2025-10-31 05:40:46,183 - INFO - VM name : ctest-TestRoutersBasic-71637628-49711751 2025-10-31 05:40:46,263 - DEBUG - VM ctest-TestRoutersBasic-71637628-49711751 ID is 11dc9058-5662-43f0-8d8b-6c487a370115 2025-10-31 05:40:46,263 - DEBUG - VM ctest-TestRoutersBasic-71637628-49711751 launched on Node cn-jenkins-deploy-platform-ansible-os-4571-1 2025-10-31 05:40:46,341 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/11dc9058-5662-43f0-8d8b-6c487a370115 2025-10-31 05:40:46,350 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/3f1956fa-f1cf-494a-a12b-71a4437c9ce7 2025-10-31 05:40:47,587 - 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=4.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.861 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.861/2.852/4.844/1.991 ms') 2025-10-31 05:40:47,588 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71637628-49711751 passed 2025-10-31 05:40:47,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:40:47,738 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71637628-49711751, IP 159.231.186.131, Port 22 2025-10-31 05:40:47,893 - DEBUG - VM ctest-TestRoutersBasic-71637628-49711751 is ready for SSH connections 2025-10-31 05:40:47,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:40:47,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.231.186.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 05:40:47,893 - DEBUG - ping -s 56 -c 3 -W 1 159.231.186.131 2025-10-31 05:40:51,630 - DEBUG - PING 159.231.186.131 (159.231.186.131): 56 data bytes 64 bytes from 159.231.186.131: seq=0 ttl=62 time=6.930 ms 64 bytes from 159.231.186.131: seq=1 ttl=62 time=0.925 ms 64 bytes from 159.231.186.131: seq=2 ttl=62 time=0.916 ms --- 159.231.186.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.923/6.930 ms 2025-10-31 05:40:51,630 - INFO - Ping to IP 159.231.186.131 from VM ctest-TestRoutersBasic-71637628-79708704 passed 2025-10-31 05:40:51,631 - INFO - Deleting interface with subnet_id 2ee457e0-3afb-4bf2-b874-60120f8f9fa3, port_id None from router f4d71fad-9e49-4b36-be0b-be5061a14ead 2025-10-31 05:40:51,821 - INFO - Deleting VM ctest-TestRoutersBasic-71637628-49711751 2025-10-31 05:40:51,903 - INFO - Deleting VM ctest-TestRoutersBasic-71637628-79708704 2025-10-31 05:40:51,985 - INFO - Deleting VN ctest-ext_vn-82454946 2025-10-31 05:40:52,074 - DEBUG - VN 49aa2079-2121-4cf6-b7dd-e28ab2c58df2 still in use: Unable to complete operation on network 49aa2079-2121-4cf6-b7dd-e28ab2c58df2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d52368e-c59b-4f31-8fe5-a9aa51e8cae2'] 2025-10-31 05:40:52,074 - WARNING - Deleting VN ctest-ext_vn-82454946 failed..Will retry 2025-10-31 05:40:54,169 - DEBUG - Response for deleting network () 2025-10-31 05:40:54,169 - INFO - Deleting VN ctest-vn-09305834 2025-10-31 05:40:54,266 - DEBUG - Response for deleting network () 2025-10-31 05:40:54,518 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 05:40:54,519 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-31 05:40:54,519 - INFO - -------------------------------------------------------------------------------- 2025-10-31 05:40:55,208 - INFO - Deleted project: ctest-TestRoutersBasic-71637628, ID : c550489d-b4b7-44cc-91a8-c7ff1087e09f