2025-06-20 08:58:14,049 - INFO - Domain Default found not creating 2025-06-20 08:58:14,186 - INFO - Project ctest-TestRoutersBasic-81095553 not found, creating it 2025-06-20 08:58:14,635 - INFO - Created Project:ctest-TestRoutersBasic-81095553, ID : 67522a20-eea7-42ca-b6e6-abe3e83ef7e0 2025-06-20 08:58:16,035 - INFO - ================================================================================ 2025-06-20 08:58:16,035 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-20 08:58:16,035 - 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-06-20 08:58:16,292 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-20 08:58:16,292 - INFO - Initial checks done. Running the testcase now 2025-06-20 08:58:16,292 - INFO - 2025-06-20 08:58:16,987 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81095553 2025-06-20 08:58:17,082 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81095553 2025-06-20 08:58:17,402 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81095553', 'default']} 2025-06-20 08:58:17,691 - DEBUG - Response for create_network : {'network': {'id': 'ea0dfe63-fe58-48f2-a3dd-06a4585bdc10', 'name': 'ctest-vn-94468097', 'tenant_id': '67522a20eea742cab6e6abe3e83ef7e0', 'project_id': '67522a20eea742cab6e6abe3e83ef7e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81095553', 'ctest-vn-94468097'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:58:17,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a548a572-cb43-4292-902b-40b33b2c20bf', 'name': '', 'tenant_id': '67522a20eea742cab6e6abe3e83ef7e0', 'network_id': 'ea0dfe63-fe58-48f2-a3dd-06a4585bdc10', 'ip_version': 4, 'cidr': '166.119.133.192/26', 'allocation_pools': [{'start': '166.119.133.194', 'end': '166.119.133.254'}], 'gateway_ip': '166.119.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.119.133.194', 'tags': [], 'project_id': '67522a20eea742cab6e6abe3e83ef7e0'}} 2025-06-20 08:58:17,889 - INFO - Created VN ctest-vn-94468097 2025-06-20 08:58:17,942 - DEBUG - VN ctest-vn-94468097 UUID is ea0dfe63-fe58-48f2-a3dd-06a4585bdc10 2025-06-20 08:58:18,298 - DEBUG - Response for create_network : {'network': {'id': '4e978720-0808-4ab0-9dfd-0bbd6db961d7', 'name': 'ctest-ext_vn-94336738', 'tenant_id': '67522a20eea742cab6e6abe3e83ef7e0', 'project_id': '67522a20eea742cab6e6abe3e83ef7e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81095553', 'ctest-ext_vn-94336738'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:58:18,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '085028e3-fab9-4143-a6a1-5ac77f59f7ef', 'name': '', 'tenant_id': '67522a20eea742cab6e6abe3e83ef7e0', 'network_id': '4e978720-0808-4ab0-9dfd-0bbd6db961d7', 'ip_version': 4, 'cidr': '33.4.226.64/26', 'allocation_pools': [{'start': '33.4.226.66', 'end': '33.4.226.126'}], 'gateway_ip': '33.4.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.4.226.66', 'tags': [], 'project_id': '67522a20eea742cab6e6abe3e83ef7e0'}} 2025-06-20 08:58:18,523 - INFO - Created VN ctest-ext_vn-94336738 2025-06-20 08:58:18,578 - DEBUG - VN ctest-ext_vn-94336738 UUID is 4e978720-0808-4ab0-9dfd-0bbd6db961d7 2025-06-20 08:58:18,738 - DEBUG - Services list from nova: [, , ] 2025-06-20 08:58:19,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3504-1) 2025-06-20 08:58:20,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3504-1) 2025-06-20 08:58:20,926 - INFO - Setting gateway for router 4f818808-8086-4ca2-9af9-5ef9f7224720 to network 4e978720-0808-4ab0-9dfd-0bbd6db961d7 2025-06-20 08:58:20,992 - INFO - Adding interface with subnet_id a548a572-cb43-4292-902b-40b33b2c20bf, port_id None to router 4f818808-8086-4ca2-9af9-5ef9f7224720 2025-06-20 08:58:21,461 - INFO - Waiting for VM ctest-TestRoutersBasic-81095553-27584115 to be up.. 2025-06-20 08:58:21,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 08:58:26,653 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:58:26,653 - INFO - VM name : ctest-TestRoutersBasic-81095553-27584115 2025-06-20 08:58:26,727 - DEBUG - VM ctest-TestRoutersBasic-81095553-27584115 ID is c223fa32-d49b-428f-a084-e1729e7570cc 2025-06-20 08:58:26,749 - DEBUG - VM ctest-TestRoutersBasic-81095553-27584115 launched on Node cn-jenkins-deploy-platform-ansible-os-3504-1 2025-06-20 08:58:26,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c223fa32-d49b-428f-a084-e1729e7570cc 2025-06-20 08:58:27,106 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c223fa32-d49b-428f-a084-e1729e7570cc 2025-06-20 08:58:27,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/519a850f-1de1-434d-baf0-303dcab079e4 2025-06-20 08:58:30,432 - 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 1013ms') 2025-06-20 08:58:30,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81095553-27584115 failed! 2025-06-20 08:58:30,486 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81095553:ctest-vn-94468097 is 166.119.133.193 and allocation pool is NOT set 2025-06-20 08:58:32,548 - 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=5.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.785 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.785/3.199/5.614/2.414 ms') 2025-06-20 08:58:32,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81095553-27584115 passed 2025-06-20 08:58:32,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:58:32,698 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81095553-27584115, IP 166.119.133.195, Port 22 2025-06-20 08:58:32,876 - DEBUG - VM ctest-TestRoutersBasic-81095553-27584115 is ready for SSH connections 2025-06-20 08:58:32,876 - INFO - Waiting for VM ctest-TestRoutersBasic-81095553-30199421 to be up.. 2025-06-20 08:58:32,947 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:58:32,947 - INFO - VM name : ctest-TestRoutersBasic-81095553-30199421 2025-06-20 08:58:33,025 - DEBUG - VM ctest-TestRoutersBasic-81095553-30199421 ID is 4cefdc24-7da8-4a47-9a3c-5f60236fbf47 2025-06-20 08:58:33,025 - DEBUG - VM ctest-TestRoutersBasic-81095553-30199421 launched on Node cn-jenkins-deploy-platform-ansible-os-3504-1 2025-06-20 08:58:33,095 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4cefdc24-7da8-4a47-9a3c-5f60236fbf47 2025-06-20 08:58:33,104 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd0520a4-35c6-46df-af1d-3cc537c175d7 2025-06-20 08:58:34,354 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.394/1.545/2.696/1.151 ms') 2025-06-20 08:58:34,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81095553-30199421 passed 2025-06-20 08:58:34,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:58:34,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81095553-30199421, IP 33.4.226.67, Port 22 2025-06-20 08:58:34,653 - DEBUG - VM ctest-TestRoutersBasic-81095553-30199421 is ready for SSH connections 2025-06-20 08:58:34,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:58:34,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.4.226.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-20 08:58:34,653 - DEBUG - ping -s 56 -c 3 -W 1 33.4.226.67 2025-06-20 08:58:38,616 - DEBUG - PING 33.4.226.67 (33.4.226.67): 56 data bytes 64 bytes from 33.4.226.67: seq=0 ttl=62 time=6.709 ms 64 bytes from 33.4.226.67: seq=1 ttl=62 time=0.834 ms 64 bytes from 33.4.226.67: seq=2 ttl=62 time=1.133 ms --- 33.4.226.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.892/6.709 ms 2025-06-20 08:58:38,617 - INFO - Ping to IP 33.4.226.67 from VM ctest-TestRoutersBasic-81095553-27584115 passed 2025-06-20 08:58:38,617 - INFO - Deleting interface with subnet_id a548a572-cb43-4292-902b-40b33b2c20bf, port_id None from router 4f818808-8086-4ca2-9af9-5ef9f7224720 2025-06-20 08:58:38,805 - INFO - Deleting VM ctest-TestRoutersBasic-81095553-30199421 2025-06-20 08:58:38,873 - INFO - Deleting VM ctest-TestRoutersBasic-81095553-27584115 2025-06-20 08:58:38,959 - INFO - Deleting VN ctest-ext_vn-94336738 2025-06-20 08:58:39,027 - DEBUG - VN 4e978720-0808-4ab0-9dfd-0bbd6db961d7 still in use: Unable to complete operation on network 4e978720-0808-4ab0-9dfd-0bbd6db961d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41ca1161-98d6-418d-b787-1cdf092f6a67'] 2025-06-20 08:58:39,027 - WARNING - Deleting VN ctest-ext_vn-94336738 failed..Will retry 2025-06-20 08:58:41,135 - DEBUG - Response for deleting network () 2025-06-20 08:58:41,135 - INFO - Deleting VN ctest-vn-94468097 2025-06-20 08:58:41,251 - DEBUG - Response for deleting network () 2025-06-20 08:58:41,508 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 08:58:41,508 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-20 08:58:41,508 - INFO - -------------------------------------------------------------------------------- 2025-06-20 08:58:42,182 - INFO - Deleted project: ctest-TestRoutersBasic-81095553, ID : 67522a20-eea7-42ca-b6e6-abe3e83ef7e0