2025-04-15 01:25:44,899 - INFO - Domain Default found not creating 2025-04-15 01:25:45,065 - INFO - Project ctest-TestRoutersBasic-08351772 not found, creating it 2025-04-15 01:25:45,540 - INFO - Created Project:ctest-TestRoutersBasic-08351772, ID : 5a24524c-2503-40bd-a75a-5f6f9b70d3bf 2025-04-15 01:25:47,250 - INFO - ================================================================================ 2025-04-15 01:25:47,250 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 01:25:47,250 - 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-04-15 01:25:47,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 01:25:47,508 - INFO - Initial checks done. Running the testcase now 2025-04-15 01:25:47,508 - INFO - 2025-04-15 01:25:48,290 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08351772 2025-04-15 01:25:48,393 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08351772 2025-04-15 01:25:48,713 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08351772', 'default']} 2025-04-15 01:25:49,013 - DEBUG - Response for create_network : {'network': {'id': 'f1de7dac-7d16-4975-b311-a59d6ac2b068', 'name': 'ctest-vn-75518152', 'tenant_id': '5a24524c250340bda75a5f6f9b70d3bf', 'project_id': '5a24524c250340bda75a5f6f9b70d3bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08351772', 'ctest-vn-75518152'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:25:49,239 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c30813f0-fd01-4c77-92e0-5951f56c2511', 'name': '', 'tenant_id': '5a24524c250340bda75a5f6f9b70d3bf', 'network_id': 'f1de7dac-7d16-4975-b311-a59d6ac2b068', 'ip_version': 4, 'cidr': '96.174.102.0/26', 'allocation_pools': [{'start': '96.174.102.2', 'end': '96.174.102.62'}], 'gateway_ip': '96.174.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.174.102.2', 'tags': [], 'project_id': '5a24524c250340bda75a5f6f9b70d3bf'}} 2025-04-15 01:25:49,263 - INFO - Created VN ctest-vn-75518152 2025-04-15 01:25:49,317 - DEBUG - VN ctest-vn-75518152 UUID is f1de7dac-7d16-4975-b311-a59d6ac2b068 2025-04-15 01:25:49,642 - DEBUG - Response for create_network : {'network': {'id': 'e20131e0-679e-4360-b180-79f9233323b5', 'name': 'ctest-ext_vn-15426367', 'tenant_id': '5a24524c250340bda75a5f6f9b70d3bf', 'project_id': '5a24524c250340bda75a5f6f9b70d3bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08351772', 'ctest-ext_vn-15426367'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:25:49,805 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad4be89c-9be7-41fe-a43d-74e9844f76f0', 'name': '', 'tenant_id': '5a24524c250340bda75a5f6f9b70d3bf', 'network_id': 'e20131e0-679e-4360-b180-79f9233323b5', 'ip_version': 4, 'cidr': '66.73.218.192/26', 'allocation_pools': [{'start': '66.73.218.194', 'end': '66.73.218.254'}], 'gateway_ip': '66.73.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.73.218.194', 'tags': [], 'project_id': '5a24524c250340bda75a5f6f9b70d3bf'}} 2025-04-15 01:25:49,825 - INFO - Created VN ctest-ext_vn-15426367 2025-04-15 01:25:49,877 - DEBUG - VN ctest-ext_vn-15426367 UUID is e20131e0-679e-4360-b180-79f9233323b5 2025-04-15 01:25:50,121 - DEBUG - Services list from nova: [, , ] 2025-04-15 01:25:51,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3112-1) 2025-04-15 01:25:52,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3112-1) 2025-04-15 01:25:52,506 - INFO - Setting gateway for router a5f9a2fa-d2a8-43c6-98fe-c0ff9eb28cbb to network e20131e0-679e-4360-b180-79f9233323b5 2025-04-15 01:25:52,582 - INFO - Adding interface with subnet_id c30813f0-fd01-4c77-92e0-5951f56c2511, port_id None to router a5f9a2fa-d2a8-43c6-98fe-c0ff9eb28cbb 2025-04-15 01:25:52,974 - INFO - Waiting for VM ctest-TestRoutersBasic-08351772-22866550 to be up.. 2025-04-15 01:25:53,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 01:25:58,233 - DEBUG - VM is in ACTIVE state now 2025-04-15 01:25:58,233 - INFO - VM name : ctest-TestRoutersBasic-08351772-22866550 2025-04-15 01:25:58,321 - DEBUG - VM ctest-TestRoutersBasic-08351772-22866550 ID is ef4457c6-b469-4afd-bd65-6313fe2cb3d3 2025-04-15 01:25:58,341 - DEBUG - VM ctest-TestRoutersBasic-08351772-22866550 launched on Node cn-jenkins-deploy-platform-ansible-os-3112-1 2025-04-15 01:25:58,428 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ef4457c6-b469-4afd-bd65-6313fe2cb3d3 2025-04-15 01:25:58,763 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ef4457c6-b469-4afd-bd65-6313fe2cb3d3 2025-04-15 01:25:58,796 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/de2683d4-1d09-4565-821c-8cb54260515c 2025-04-15 01:26:02,072 - 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 1022ms') 2025-04-15 01:26:02,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08351772-22866550 failed! 2025-04-15 01:26:02,129 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08351772:ctest-vn-75518152 is 96.174.102.1 and allocation pool is NOT set 2025-04-15 01:26:04,195 - 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=4.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.990 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.990/2.991/4.993/2.001 ms') 2025-04-15 01:26:04,195 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08351772-22866550 passed 2025-04-15 01:26:04,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:04,349 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08351772-22866550, IP 96.174.102.3, Port 22 2025-04-15 01:26:04,509 - DEBUG - VM ctest-TestRoutersBasic-08351772-22866550 is ready for SSH connections 2025-04-15 01:26:04,509 - INFO - Waiting for VM ctest-TestRoutersBasic-08351772-87301601 to be up.. 2025-04-15 01:26:04,587 - DEBUG - VM is in ACTIVE state now 2025-04-15 01:26:04,587 - INFO - VM name : ctest-TestRoutersBasic-08351772-87301601 2025-04-15 01:26:04,667 - DEBUG - VM ctest-TestRoutersBasic-08351772-87301601 ID is fbd267ef-5463-4ab8-a07e-fa17db1f68cc 2025-04-15 01:26:04,667 - DEBUG - VM ctest-TestRoutersBasic-08351772-87301601 launched on Node cn-jenkins-deploy-platform-ansible-os-3112-1 2025-04-15 01:26:04,745 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fbd267ef-5463-4ab8-a07e-fa17db1f68cc 2025-04-15 01:26:04,755 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c612391d-abac-4176-8553-2b3da52e1c8e 2025-04-15 01:26:05,997 - 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=5.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.90 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 = 1.899/3.520/5.141/1.621 ms') 2025-04-15 01:26:05,997 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08351772-87301601 passed 2025-04-15 01:26:06,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:06,153 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08351772-87301601, IP 66.73.218.195, Port 22 2025-04-15 01:26:06,323 - DEBUG - VM ctest-TestRoutersBasic-08351772-87301601 is ready for SSH connections 2025-04-15 01:26:06,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:06,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.73.218.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 01:26:06,324 - DEBUG - ping -s 56 -c 3 -W 1 66.73.218.195 2025-04-15 01:26:10,065 - DEBUG - PING 66.73.218.195 (66.73.218.195): 56 data bytes 64 bytes from 66.73.218.195: seq=0 ttl=62 time=7.191 ms 64 bytes from 66.73.218.195: seq=1 ttl=62 time=0.920 ms 64 bytes from 66.73.218.195: seq=2 ttl=62 time=0.977 ms --- 66.73.218.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/3.029/7.191 ms 2025-04-15 01:26:10,065 - INFO - Ping to IP 66.73.218.195 from VM ctest-TestRoutersBasic-08351772-22866550 passed 2025-04-15 01:26:10,066 - INFO - Deleting interface with subnet_id c30813f0-fd01-4c77-92e0-5951f56c2511, port_id None from router a5f9a2fa-d2a8-43c6-98fe-c0ff9eb28cbb 2025-04-15 01:26:10,255 - INFO - Deleting VM ctest-TestRoutersBasic-08351772-87301601 2025-04-15 01:26:10,327 - INFO - Deleting VM ctest-TestRoutersBasic-08351772-22866550 2025-04-15 01:26:10,406 - INFO - Deleting VN ctest-ext_vn-15426367 2025-04-15 01:26:10,481 - DEBUG - VN e20131e0-679e-4360-b180-79f9233323b5 still in use: Unable to complete operation on network e20131e0-679e-4360-b180-79f9233323b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67a58422-04d6-4c01-9451-0d405ab141b4'] 2025-04-15 01:26:10,481 - WARNING - Deleting VN ctest-ext_vn-15426367 failed..Will retry 2025-04-15 01:26:12,588 - DEBUG - Response for deleting network () 2025-04-15 01:26:12,588 - INFO - Deleting VN ctest-vn-75518152 2025-04-15 01:26:12,694 - DEBUG - Response for deleting network () 2025-04-15 01:26:12,956 - DEBUG - No XMPP flaps were noticed during the test 2025-04-15 01:26:12,956 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-04-15 01:26:12,956 - INFO - -------------------------------------------------------------------------------- 2025-04-15 01:26:13,660 - INFO - Deleted project: ctest-TestRoutersBasic-08351772, ID : 5a24524c-2503-40bd-a75a-5f6f9b70d3bf