2025-05-19 02:10:39,036 - INFO - Domain Default found not creating 2025-05-19 02:10:39,183 - INFO - Project ctest-TestRoutersBasic-18710535 not found, creating it 2025-05-19 02:10:39,646 - INFO - Created Project:ctest-TestRoutersBasic-18710535, ID : 65170dc2-66f8-4b22-b8f1-bfc180eae30a 2025-05-19 02:10:41,212 - INFO - ================================================================================ 2025-05-19 02:10:41,212 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-19 02:10:41,212 - 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-05-19 02:10:41,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-19 02:10:41,467 - INFO - Initial checks done. Running the testcase now 2025-05-19 02:10:41,467 - INFO - 2025-05-19 02:10:42,256 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18710535 2025-05-19 02:10:42,357 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18710535 2025-05-19 02:10:42,681 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18710535', 'default']} 2025-05-19 02:10:42,981 - DEBUG - Response for create_network : {'network': {'id': '73a72252-f57f-43a6-b375-73058949cfab', 'name': 'ctest-vn-76663946', 'tenant_id': '65170dc266f84b22b8f1bfc180eae30a', 'project_id': '65170dc266f84b22b8f1bfc180eae30a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18710535', 'ctest-vn-76663946'], 'port_security_enabled': True, 'description': ''}} 2025-05-19 02:10:43,274 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0f0cab6-bbfa-4b47-b521-a878cd8f8f2b', 'name': '', 'tenant_id': '65170dc266f84b22b8f1bfc180eae30a', 'network_id': '73a72252-f57f-43a6-b375-73058949cfab', 'ip_version': 4, 'cidr': '175.136.91.128/26', 'allocation_pools': [{'start': '175.136.91.130', 'end': '175.136.91.190'}], 'gateway_ip': '175.136.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.136.91.130', 'tags': [], 'project_id': '65170dc266f84b22b8f1bfc180eae30a'}} 2025-05-19 02:10:43,292 - INFO - Created VN ctest-vn-76663946 2025-05-19 02:10:43,345 - DEBUG - VN ctest-vn-76663946 UUID is 73a72252-f57f-43a6-b375-73058949cfab 2025-05-19 02:10:43,683 - DEBUG - Response for create_network : {'network': {'id': 'd5e6ade7-e6b7-447c-9cee-a57a17262da9', 'name': 'ctest-ext_vn-60616870', 'tenant_id': '65170dc266f84b22b8f1bfc180eae30a', 'project_id': '65170dc266f84b22b8f1bfc180eae30a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18710535', 'ctest-ext_vn-60616870'], 'port_security_enabled': True, 'description': ''}} 2025-05-19 02:10:43,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '92b85e7a-69d6-48f3-8ece-364fd94765bc', 'name': '', 'tenant_id': '65170dc266f84b22b8f1bfc180eae30a', 'network_id': 'd5e6ade7-e6b7-447c-9cee-a57a17262da9', 'ip_version': 4, 'cidr': '105.126.16.128/26', 'allocation_pools': [{'start': '105.126.16.130', 'end': '105.126.16.190'}], 'gateway_ip': '105.126.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.126.16.130', 'tags': [], 'project_id': '65170dc266f84b22b8f1bfc180eae30a'}} 2025-05-19 02:10:43,911 - INFO - Created VN ctest-ext_vn-60616870 2025-05-19 02:10:43,965 - DEBUG - VN ctest-ext_vn-60616870 UUID is d5e6ade7-e6b7-447c-9cee-a57a17262da9 2025-05-19 02:10:44,131 - DEBUG - Services list from nova: [, , ] 2025-05-19 02:10:45,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3326-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3326-1) 2025-05-19 02:10:46,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3326-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3326-1) 2025-05-19 02:10:46,605 - INFO - Setting gateway for router 8030e615-9d75-42d3-b7f5-2d6a51accc95 to network d5e6ade7-e6b7-447c-9cee-a57a17262da9 2025-05-19 02:10:46,669 - INFO - Adding interface with subnet_id d0f0cab6-bbfa-4b47-b521-a878cd8f8f2b, port_id None to router 8030e615-9d75-42d3-b7f5-2d6a51accc95 2025-05-19 02:10:47,205 - INFO - Waiting for VM ctest-TestRoutersBasic-18710535-30499943 to be up.. 2025-05-19 02:10:47,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-19 02:10:52,455 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:10:52,455 - INFO - VM name : ctest-TestRoutersBasic-18710535-30499943 2025-05-19 02:10:52,539 - DEBUG - VM ctest-TestRoutersBasic-18710535-30499943 ID is 205539b8-53e2-4927-9c4e-90fd4581a90a 2025-05-19 02:10:52,568 - DEBUG - VM ctest-TestRoutersBasic-18710535-30499943 launched on Node cn-jenkins-deploy-platform-ansible-os-3326-1 2025-05-19 02:10:52,651 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/205539b8-53e2-4927-9c4e-90fd4581a90a 2025-05-19 02:10:52,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/205539b8-53e2-4927-9c4e-90fd4581a90a 2025-05-19 02:10:53,017 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5767a0de-ef39-4e11-9874-a47ea6792341 2025-05-19 02:10:56,284 - 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-05-19 02:10:56,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18710535-30499943 failed! 2025-05-19 02:10:56,341 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18710535:ctest-vn-76663946 is 175.136.91.129 and allocation pool is NOT set 2025-05-19 02:10:58,406 - 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=7.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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 = 1.385/4.331/7.277/2.946 ms') 2025-05-19 02:10:58,406 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18710535-30499943 passed 2025-05-19 02:10:58,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:10:58,557 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18710535-30499943, IP 175.136.91.131, Port 22 2025-05-19 02:10:58,712 - DEBUG - VM ctest-TestRoutersBasic-18710535-30499943 is ready for SSH connections 2025-05-19 02:10:58,713 - INFO - Waiting for VM ctest-TestRoutersBasic-18710535-71779152 to be up.. 2025-05-19 02:10:58,789 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:10:58,789 - INFO - VM name : ctest-TestRoutersBasic-18710535-71779152 2025-05-19 02:10:58,870 - DEBUG - VM ctest-TestRoutersBasic-18710535-71779152 ID is b397f9ab-49ff-4edb-b044-da6ece3e395c 2025-05-19 02:10:58,870 - DEBUG - VM ctest-TestRoutersBasic-18710535-71779152 launched on Node cn-jenkins-deploy-platform-ansible-os-3326-1 2025-05-19 02:10:58,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b397f9ab-49ff-4edb-b044-da6ece3e395c 2025-05-19 02:10:58,968 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/052ba695-4dbf-4c4d-bca3-89c747543ce4 2025-05-19 02:11:00,215 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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 = 1.201/2.512/3.824/1.311 ms') 2025-05-19 02:11:00,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18710535-71779152 passed 2025-05-19 02:11:00,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:11:00,369 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18710535-71779152, IP 105.126.16.131, Port 22 2025-05-19 02:11:00,533 - DEBUG - VM ctest-TestRoutersBasic-18710535-71779152 is ready for SSH connections 2025-05-19 02:11:00,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:11:00,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.126.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-19 02:11:00,533 - DEBUG - ping -s 56 -c 3 -W 1 105.126.16.131 2025-05-19 02:11:04,596 - DEBUG - PING 105.126.16.131 (105.126.16.131): 56 data bytes 64 bytes from 105.126.16.131: seq=0 ttl=62 time=4.396 ms 64 bytes from 105.126.16.131: seq=1 ttl=62 time=0.852 ms 64 bytes from 105.126.16.131: seq=2 ttl=62 time=0.989 ms --- 105.126.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/2.079/4.396 ms 2025-05-19 02:11:04,596 - INFO - Ping to IP 105.126.16.131 from VM ctest-TestRoutersBasic-18710535-30499943 passed 2025-05-19 02:11:04,596 - INFO - Deleting interface with subnet_id d0f0cab6-bbfa-4b47-b521-a878cd8f8f2b, port_id None from router 8030e615-9d75-42d3-b7f5-2d6a51accc95 2025-05-19 02:11:04,818 - INFO - Deleting VM ctest-TestRoutersBasic-18710535-71779152 2025-05-19 02:11:04,891 - INFO - Deleting VM ctest-TestRoutersBasic-18710535-30499943 2025-05-19 02:11:04,985 - INFO - Deleting VN ctest-ext_vn-60616870 2025-05-19 02:11:05,063 - DEBUG - VN d5e6ade7-e6b7-447c-9cee-a57a17262da9 still in use: Unable to complete operation on network d5e6ade7-e6b7-447c-9cee-a57a17262da9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a3e237b-0bbf-442a-9d1f-708d68a54c3d'] 2025-05-19 02:11:05,063 - WARNING - Deleting VN ctest-ext_vn-60616870 failed..Will retry 2025-05-19 02:11:07,163 - DEBUG - Response for deleting network () 2025-05-19 02:11:07,163 - INFO - Deleting VN ctest-vn-76663946 2025-05-19 02:11:07,272 - DEBUG - Response for deleting network () 2025-05-19 02:11:07,527 - DEBUG - No XMPP flaps were noticed during the test 2025-05-19 02:11:07,527 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-19 02:11:07,527 - INFO - -------------------------------------------------------------------------------- 2025-05-19 02:11:08,256 - INFO - Deleted project: ctest-TestRoutersBasic-18710535, ID : 65170dc2-66f8-4b22-b8f1-bfc180eae30a