2025-06-30 15:07:31,890 - INFO - Domain Default found not creating 2025-06-30 15:07:32,037 - INFO - Project ctest-TestRoutersBasic-64698530 not found, creating it 2025-06-30 15:07:32,496 - INFO - Created Project:ctest-TestRoutersBasic-64698530, ID : 52f54ebf-d079-4d4e-9a9c-ffc721efaf6e 2025-06-30 15:07:33,939 - INFO - ================================================================================ 2025-06-30 15:07:33,939 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-30 15:07:33,939 - 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-30 15:07:34,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2025-06-30 15:07:34,194 - INFO - Initial checks done. Running the testcase now 2025-06-30 15:07:34,194 - INFO - 2025-06-30 15:07:34,915 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64698530 2025-06-30 15:07:35,021 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64698530 2025-06-30 15:07:35,341 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64698530', 'default']} 2025-06-30 15:07:35,838 - DEBUG - Response for create_network : {'network': {'id': 'f9db88a9-e0b5-4e1d-ad7a-87d3b3d393f6', 'name': 'ctest-vn-11298393', 'tenant_id': '52f54ebfd0794d4e9a9cffc721efaf6e', 'project_id': '52f54ebfd0794d4e9a9cffc721efaf6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64698530', 'ctest-vn-11298393'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:07:36,075 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f17323e-3c18-423c-af95-97a04674bc11', 'name': '', 'tenant_id': '52f54ebfd0794d4e9a9cffc721efaf6e', 'network_id': 'f9db88a9-e0b5-4e1d-ad7a-87d3b3d393f6', 'ip_version': 4, 'cidr': '193.224.54.128/26', 'allocation_pools': [{'start': '193.224.54.130', 'end': '193.224.54.190'}], 'gateway_ip': '193.224.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.224.54.130', 'tags': [], 'project_id': '52f54ebfd0794d4e9a9cffc721efaf6e'}} 2025-06-30 15:07:36,098 - INFO - Created VN ctest-vn-11298393 2025-06-30 15:07:36,157 - DEBUG - VN ctest-vn-11298393 UUID is f9db88a9-e0b5-4e1d-ad7a-87d3b3d393f6 2025-06-30 15:07:36,506 - DEBUG - Response for create_network : {'network': {'id': '7a5324bb-2293-439a-8ade-69a3e9d4e200', 'name': 'ctest-ext_vn-33827839', 'tenant_id': '52f54ebfd0794d4e9a9cffc721efaf6e', 'project_id': '52f54ebfd0794d4e9a9cffc721efaf6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64698530', 'ctest-ext_vn-33827839'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:07:36,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '684a724b-7ef8-4968-b760-c214ad24f0dd', 'name': '', 'tenant_id': '52f54ebfd0794d4e9a9cffc721efaf6e', 'network_id': '7a5324bb-2293-439a-8ade-69a3e9d4e200', 'ip_version': 4, 'cidr': '180.234.93.128/26', 'allocation_pools': [{'start': '180.234.93.130', 'end': '180.234.93.190'}], 'gateway_ip': '180.234.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.234.93.130', 'tags': [], 'project_id': '52f54ebfd0794d4e9a9cffc721efaf6e'}} 2025-06-30 15:07:36,747 - INFO - Created VN ctest-ext_vn-33827839 2025-06-30 15:07:36,801 - DEBUG - VN ctest-ext_vn-33827839 UUID is 7a5324bb-2293-439a-8ade-69a3e9d4e200 2025-06-30 15:07:36,977 - DEBUG - Services list from nova: [, , ] 2025-06-30 15:07:38,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3579-1) 2025-06-30 15:07:39,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3579-1) 2025-06-30 15:07:39,224 - INFO - Setting gateway for router 9d470aa7-c5de-4e1a-b472-b504fc33245a to network 7a5324bb-2293-439a-8ade-69a3e9d4e200 2025-06-30 15:07:39,305 - INFO - Adding interface with subnet_id 9f17323e-3c18-423c-af95-97a04674bc11, port_id None to router 9d470aa7-c5de-4e1a-b472-b504fc33245a 2025-06-30 15:07:39,886 - INFO - Waiting for VM ctest-TestRoutersBasic-64698530-53773520 to be up.. 2025-06-30 15:07:40,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 15:07:45,171 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:07:45,171 - INFO - VM name : ctest-TestRoutersBasic-64698530-53773520 2025-06-30 15:07:45,244 - DEBUG - VM ctest-TestRoutersBasic-64698530-53773520 ID is f7776cad-52a2-4f7f-abde-e16b5c10e7ce 2025-06-30 15:07:45,262 - DEBUG - VM ctest-TestRoutersBasic-64698530-53773520 launched on Node cn-jenkins-deploy-platform-ansible-os-3579-1 2025-06-30 15:07:45,336 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/f7776cad-52a2-4f7f-abde-e16b5c10e7ce 2025-06-30 15:07:45,629 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/f7776cad-52a2-4f7f-abde-e16b5c10e7ce 2025-06-30 15:07:45,660 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/bd695fda-35c4-44a2-8dd2-1b1401d63afc 2025-06-30 15:07:48,932 - 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 1032ms') 2025-06-30 15:07:48,932 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64698530-53773520 failed! 2025-06-30 15:07:48,989 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64698530:ctest-vn-11298393 is 193.224.54.129 and allocation pool is NOT set 2025-06-30 15:07:51,049 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/1.555/2.676/1.121 ms') 2025-06-30 15:07:51,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64698530-53773520 passed 2025-06-30 15:07:51,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:51,205 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64698530-53773520, IP 193.224.54.131, Port 22 2025-06-30 15:07:51,364 - DEBUG - VM ctest-TestRoutersBasic-64698530-53773520 is ready for SSH connections 2025-06-30 15:07:51,364 - INFO - Waiting for VM ctest-TestRoutersBasic-64698530-27174564 to be up.. 2025-06-30 15:07:51,445 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:07:51,445 - INFO - VM name : ctest-TestRoutersBasic-64698530-27174564 2025-06-30 15:07:51,529 - DEBUG - VM ctest-TestRoutersBasic-64698530-27174564 ID is 50ee6e8f-8a46-427e-be14-a8dc56cf381e 2025-06-30 15:07:51,529 - DEBUG - VM ctest-TestRoutersBasic-64698530-27174564 launched on Node cn-jenkins-deploy-platform-ansible-os-3579-1 2025-06-30 15:07:51,603 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/50ee6e8f-8a46-427e-be14-a8dc56cf381e 2025-06-30 15:07:51,614 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1c344eac-6d92-4d5a-8977-94f1671a653a 2025-06-30 15:07:52,868 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/1.807/3.088/1.281 ms') 2025-06-30 15:07:52,868 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64698530-27174564 passed 2025-06-30 15:07:53,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:53,017 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64698530-27174564, IP 180.234.93.131, Port 22 2025-06-30 15:07:53,186 - DEBUG - VM ctest-TestRoutersBasic-64698530-27174564 is ready for SSH connections 2025-06-30 15:07:53,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:53,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.234.93.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2025-06-30 15:07:53,187 - DEBUG - ping -s 56 -c 3 -W 1 180.234.93.131 2025-06-30 15:07:57,202 - DEBUG - PING 180.234.93.131 (180.234.93.131): 56 data bytes 64 bytes from 180.234.93.131: seq=0 ttl=62 time=8.337 ms 64 bytes from 180.234.93.131: seq=1 ttl=62 time=0.812 ms 64 bytes from 180.234.93.131: seq=2 ttl=62 time=0.762 ms --- 180.234.93.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/3.303/8.337 ms 2025-06-30 15:07:57,203 - INFO - Ping to IP 180.234.93.131 from VM ctest-TestRoutersBasic-64698530-53773520 passed 2025-06-30 15:07:57,203 - INFO - Deleting interface with subnet_id 9f17323e-3c18-423c-af95-97a04674bc11, port_id None from router 9d470aa7-c5de-4e1a-b472-b504fc33245a 2025-06-30 15:07:57,380 - INFO - Deleting VM ctest-TestRoutersBasic-64698530-27174564 2025-06-30 15:07:57,445 - INFO - Deleting VM ctest-TestRoutersBasic-64698530-53773520 2025-06-30 15:07:57,538 - INFO - Deleting VN ctest-ext_vn-33827839 2025-06-30 15:07:57,599 - DEBUG - VN 7a5324bb-2293-439a-8ade-69a3e9d4e200 still in use: Unable to complete operation on network 7a5324bb-2293-439a-8ade-69a3e9d4e200. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f70327b9-550c-47f6-96e3-6166009c6938'] 2025-06-30 15:07:57,599 - WARNING - Deleting VN ctest-ext_vn-33827839 failed..Will retry 2025-06-30 15:07:59,702 - DEBUG - Response for deleting network () 2025-06-30 15:07:59,702 - INFO - Deleting VN ctest-vn-11298393 2025-06-30 15:07:59,806 - DEBUG - Response for deleting network () 2025-06-30 15:08:00,068 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 15:08:00,068 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-30 15:08:00,068 - INFO - -------------------------------------------------------------------------------- 2025-06-30 15:08:00,731 - INFO - Deleted project: ctest-TestRoutersBasic-64698530, ID : 52f54ebf-d079-4d4e-9a9c-ffc721efaf6e