2025-05-15 16:27:46,772 - INFO - Domain Default found not creating 2025-05-15 16:27:46,910 - INFO - Project ctest-TestRoutersBasic-04582668 not found, creating it 2025-05-15 16:27:47,345 - INFO - Created Project:ctest-TestRoutersBasic-04582668, ID : 46dcdf36-ea40-473f-9c92-4990b6f13e91 2025-05-15 16:27:48,697 - INFO - ================================================================================ 2025-05-15 16:27:48,697 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-15 16:27:48,697 - 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-15 16:27:48,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-15 16:27:48,951 - INFO - Initial checks done. Running the testcase now 2025-05-15 16:27:48,951 - INFO - 2025-05-15 16:27:49,628 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04582668 2025-05-15 16:27:49,722 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04582668 2025-05-15 16:27:50,038 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04582668', 'default']} 2025-05-15 16:27:50,315 - DEBUG - Response for create_network : {'network': {'id': 'b8412758-0038-4c51-8951-7e6267e2445e', 'name': 'ctest-vn-27177758', 'tenant_id': '46dcdf36ea40473f9c924990b6f13e91', 'project_id': '46dcdf36ea40473f9c924990b6f13e91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04582668', 'ctest-vn-27177758'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 16:27:50,519 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd33dd444-83e6-4b2a-8b84-bdb64318ef9d', 'name': '', 'tenant_id': '46dcdf36ea40473f9c924990b6f13e91', 'network_id': 'b8412758-0038-4c51-8951-7e6267e2445e', 'ip_version': 4, 'cidr': '100.183.0.128/26', 'allocation_pools': [{'start': '100.183.0.130', 'end': '100.183.0.190'}], 'gateway_ip': '100.183.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.183.0.130', 'tags': [], 'project_id': '46dcdf36ea40473f9c924990b6f13e91'}} 2025-05-15 16:27:50,534 - INFO - Created VN ctest-vn-27177758 2025-05-15 16:27:50,586 - DEBUG - VN ctest-vn-27177758 UUID is b8412758-0038-4c51-8951-7e6267e2445e 2025-05-15 16:27:50,921 - DEBUG - Response for create_network : {'network': {'id': 'ebb8008e-cd8a-4f73-8e37-9a826e7a8e23', 'name': 'ctest-ext_vn-02426916', 'tenant_id': '46dcdf36ea40473f9c924990b6f13e91', 'project_id': '46dcdf36ea40473f9c924990b6f13e91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04582668', 'ctest-ext_vn-02426916'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 16:27:51,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '090b5329-216e-4d64-b68f-c03a93fc82bb', 'name': '', 'tenant_id': '46dcdf36ea40473f9c924990b6f13e91', 'network_id': 'ebb8008e-cd8a-4f73-8e37-9a826e7a8e23', 'ip_version': 4, 'cidr': '156.107.85.128/26', 'allocation_pools': [{'start': '156.107.85.130', 'end': '156.107.85.190'}], 'gateway_ip': '156.107.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.107.85.130', 'tags': [], 'project_id': '46dcdf36ea40473f9c924990b6f13e91'}} 2025-05-15 16:27:51,131 - INFO - Created VN ctest-ext_vn-02426916 2025-05-15 16:27:51,182 - DEBUG - VN ctest-ext_vn-02426916 UUID is ebb8008e-cd8a-4f73-8e37-9a826e7a8e23 2025-05-15 16:27:51,378 - DEBUG - Services list from nova: [, , ] 2025-05-15 16:27:52,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3320-1) 2025-05-15 16:27:53,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3320-1) 2025-05-15 16:27:53,502 - INFO - Setting gateway for router e69c568b-4009-48fd-a693-da2b557ebb56 to network ebb8008e-cd8a-4f73-8e37-9a826e7a8e23 2025-05-15 16:27:53,553 - INFO - Adding interface with subnet_id d33dd444-83e6-4b2a-8b84-bdb64318ef9d, port_id None to router e69c568b-4009-48fd-a693-da2b557ebb56 2025-05-15 16:27:53,969 - INFO - Waiting for VM ctest-TestRoutersBasic-04582668-23612748 to be up.. 2025-05-15 16:27:54,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 16:27:59,233 - DEBUG - VM is in ACTIVE state now 2025-05-15 16:27:59,233 - INFO - VM name : ctest-TestRoutersBasic-04582668-23612748 2025-05-15 16:27:59,301 - DEBUG - VM ctest-TestRoutersBasic-04582668-23612748 ID is 3b2c962f-0952-4c69-861b-079a74ff0c99 2025-05-15 16:27:59,323 - DEBUG - VM ctest-TestRoutersBasic-04582668-23612748 launched on Node cn-jenkins-deploy-platform-ansible-os-3320-1 2025-05-15 16:27:59,400 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3b2c962f-0952-4c69-861b-079a74ff0c99 2025-05-15 16:27:59,688 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3b2c962f-0952-4c69-861b-079a74ff0c99 2025-05-15 16:27:59,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/10c61f96-0047-4123-bfd9-326676097d6f 2025-05-15 16:28:02,976 - 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 1020ms') 2025-05-15 16:28:02,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04582668-23612748 failed! 2025-05-15 16:28:03,030 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04582668:ctest-vn-27177758 is 100.183.0.129 and allocation pool is NOT set 2025-05-15 16:28:05,086 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.435/2.187/3.939/1.752 ms') 2025-05-15 16:28:05,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04582668-23612748 passed 2025-05-15 16:28:05,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 16:28:05,234 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04582668-23612748, IP 100.183.0.131, Port 22 2025-05-15 16:28:05,389 - DEBUG - VM ctest-TestRoutersBasic-04582668-23612748 is ready for SSH connections 2025-05-15 16:28:05,389 - INFO - Waiting for VM ctest-TestRoutersBasic-04582668-96731155 to be up.. 2025-05-15 16:28:05,454 - DEBUG - VM is in ACTIVE state now 2025-05-15 16:28:05,455 - INFO - VM name : ctest-TestRoutersBasic-04582668-96731155 2025-05-15 16:28:05,516 - DEBUG - VM ctest-TestRoutersBasic-04582668-96731155 ID is 2667407d-c624-4bb4-b83a-59fc0ff59db1 2025-05-15 16:28:05,516 - DEBUG - VM ctest-TestRoutersBasic-04582668-96731155 launched on Node cn-jenkins-deploy-platform-ansible-os-3320-1 2025-05-15 16:28:05,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2667407d-c624-4bb4-b83a-59fc0ff59db1 2025-05-15 16:28:05,582 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e41236f1-a36d-48c5-8828-e8823a52b9b0 2025-05-15 16:28:06,809 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 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.321/1.473/2.626/1.152 ms') 2025-05-15 16:28:06,809 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04582668-96731155 passed 2025-05-15 16:28:06,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 16:28:06,962 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04582668-96731155, IP 156.107.85.131, Port 22 2025-05-15 16:28:07,117 - DEBUG - VM ctest-TestRoutersBasic-04582668-96731155 is ready for SSH connections 2025-05-15 16:28:07,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 16:28:07,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.107.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-15 16:28:07,117 - DEBUG - ping -s 56 -c 3 -W 1 156.107.85.131 2025-05-15 16:28:11,059 - DEBUG - PING 156.107.85.131 (156.107.85.131): 56 data bytes 64 bytes from 156.107.85.131: seq=0 ttl=62 time=7.643 ms 64 bytes from 156.107.85.131: seq=1 ttl=62 time=0.914 ms 64 bytes from 156.107.85.131: seq=2 ttl=62 time=0.823 ms --- 156.107.85.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/3.126/7.643 ms 2025-05-15 16:28:11,059 - INFO - Ping to IP 156.107.85.131 from VM ctest-TestRoutersBasic-04582668-23612748 passed 2025-05-15 16:28:11,059 - INFO - Deleting interface with subnet_id d33dd444-83e6-4b2a-8b84-bdb64318ef9d, port_id None from router e69c568b-4009-48fd-a693-da2b557ebb56 2025-05-15 16:28:11,239 - INFO - Deleting VM ctest-TestRoutersBasic-04582668-96731155 2025-05-15 16:28:11,295 - INFO - Deleting VM ctest-TestRoutersBasic-04582668-23612748 2025-05-15 16:28:11,365 - INFO - Deleting VN ctest-ext_vn-02426916 2025-05-15 16:28:11,426 - DEBUG - VN ebb8008e-cd8a-4f73-8e37-9a826e7a8e23 still in use: Unable to complete operation on network ebb8008e-cd8a-4f73-8e37-9a826e7a8e23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3c66151-9843-4a02-a366-b2cd79e194a5'] 2025-05-15 16:28:11,427 - WARNING - Deleting VN ctest-ext_vn-02426916 failed..Will retry 2025-05-15 16:28:13,519 - DEBUG - Response for deleting network () 2025-05-15 16:28:13,520 - INFO - Deleting VN ctest-vn-27177758 2025-05-15 16:28:13,606 - DEBUG - Response for deleting network () 2025-05-15 16:28:13,856 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 16:28:13,856 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-15 16:28:13,856 - INFO - -------------------------------------------------------------------------------- 2025-05-15 16:28:14,519 - INFO - Deleted project: ctest-TestRoutersBasic-04582668, ID : 46dcdf36-ea40-473f-9c92-4990b6f13e91