2025-09-15 02:19:06,780 - INFO - Domain Default found not creating 2025-09-15 02:19:06,911 - INFO - Project ctest-TestRoutersBasic-57268711 not found, creating it 2025-09-15 02:19:07,441 - INFO - Created Project:ctest-TestRoutersBasic-57268711, ID : a9c8005d-6957-413d-8e8b-17f7c02c31e6 2025-09-15 02:19:08,794 - INFO - ================================================================================ 2025-09-15 02:19:08,795 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 02:19:08,795 - 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-09-15 02:19:10,049 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.137': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-09-15 02:19:10,049 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:19:10,049 - INFO - 2025-09-15 02:19:10,752 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57268711 2025-09-15 02:19:10,816 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57268711 2025-09-15 02:19:11,115 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57268711', 'default']} 2025-09-15 02:19:11,495 - DEBUG - Response for create_network : {'network': {'id': '91859902-3334-41fe-8175-621ca609b354', 'name': 'ctest-vn-53623724', 'tenant_id': 'a9c8005d6957413d8e8b17f7c02c31e6', 'project_id': 'a9c8005d6957413d8e8b17f7c02c31e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57268711', 'ctest-vn-53623724'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:19:11,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2902f0c-9dfd-4197-8674-c6a5dc1f61d9', 'name': '', 'tenant_id': 'a9c8005d6957413d8e8b17f7c02c31e6', 'network_id': '91859902-3334-41fe-8175-621ca609b354', 'ip_version': 4, 'cidr': '161.51.43.192/26', 'allocation_pools': [{'start': '161.51.43.194', 'end': '161.51.43.254'}], 'gateway_ip': '161.51.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.51.43.194', 'tags': [], 'project_id': 'a9c8005d6957413d8e8b17f7c02c31e6'}} 2025-09-15 02:19:11,803 - INFO - Created VN ctest-vn-53623724 2025-09-15 02:19:11,815 - DEBUG - VN ctest-vn-53623724 UUID is 91859902-3334-41fe-8175-621ca609b354 2025-09-15 02:19:12,287 - DEBUG - Response for create_network : {'network': {'id': '00c71ad3-a101-4032-877a-f9a7c2ad8361', 'name': 'ctest-ext_vn-87238042', 'tenant_id': 'a9c8005d6957413d8e8b17f7c02c31e6', 'project_id': 'a9c8005d6957413d8e8b17f7c02c31e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57268711', 'ctest-ext_vn-87238042'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:19:12,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0397e50-1018-4121-9089-440ea81c9765', 'name': '', 'tenant_id': 'a9c8005d6957413d8e8b17f7c02c31e6', 'network_id': '00c71ad3-a101-4032-877a-f9a7c2ad8361', 'ip_version': 4, 'cidr': '123.109.202.192/26', 'allocation_pools': [{'start': '123.109.202.194', 'end': '123.109.202.254'}], 'gateway_ip': '123.109.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.109.202.194', 'tags': [], 'project_id': 'a9c8005d6957413d8e8b17f7c02c31e6'}} 2025-09-15 02:19:12,595 - INFO - Created VN ctest-ext_vn-87238042 2025-09-15 02:19:12,610 - DEBUG - VN ctest-ext_vn-87238042 UUID is 00c71ad3-a101-4032-877a-f9a7c2ad8361 2025-09-15 02:19:12,747 - DEBUG - Services list from nova: [, , , ] 2025-09-15 02:19:13,922 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4110-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4110-1) 2025-09-15 02:19:15,260 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4110-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4110-2) 2025-09-15 02:19:15,366 - INFO - Setting gateway for router f32b6c67-739c-4976-8bff-9facd2734b02 to network 00c71ad3-a101-4032-877a-f9a7c2ad8361 2025-09-15 02:19:15,468 - INFO - Adding interface with subnet_id b2902f0c-9dfd-4197-8674-c6a5dc1f61d9, port_id None to router f32b6c67-739c-4976-8bff-9facd2734b02 2025-09-15 02:19:15,809 - INFO - Waiting for VM ctest-TestRoutersBasic-57268711-25641945 to be up.. 2025-09-15 02:19:15,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 02:19:21,065 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:19:21,065 - INFO - VM name : ctest-TestRoutersBasic-57268711-25641945 2025-09-15 02:19:21,148 - DEBUG - VM ctest-TestRoutersBasic-57268711-25641945 ID is 7bc51265-3073-40df-84d1-70b9e82f7cf0 2025-09-15 02:19:21,171 - DEBUG - VM ctest-TestRoutersBasic-57268711-25641945 launched on Node an-jenkins-deploy-platform-ansible-os-4110-1 2025-09-15 02:19:21,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7bc51265-3073-40df-84d1-70b9e82f7cf0 2025-09-15 02:19:21,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7bc51265-3073-40df-84d1-70b9e82f7cf0 2025-09-15 02:19:21,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/21c312c5-e286-49c6-9ffb-970846c28f8d 2025-09-15 02:19:24,727 - 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 1008ms') 2025-09-15 02:19:24,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57268711-25641945 failed! 2025-09-15 02:19:24,741 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57268711:ctest-vn-53623724 is 161.51.43.193 and allocation pool is NOT set 2025-09-15 02:19:26,799 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 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.369/1.739/3.110/1.370 ms') 2025-09-15 02:19:26,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57268711-25641945 passed 2025-09-15 02:19:26,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:19:26,866 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57268711-25641945, IP 161.51.43.195, Port 22 2025-09-15 02:19:27,036 - DEBUG - VM ctest-TestRoutersBasic-57268711-25641945 is ready for SSH connections 2025-09-15 02:19:27,036 - INFO - Waiting for VM ctest-TestRoutersBasic-57268711-19887899 to be up.. 2025-09-15 02:19:27,111 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:19:27,112 - INFO - VM name : ctest-TestRoutersBasic-57268711-19887899 2025-09-15 02:19:27,198 - DEBUG - VM ctest-TestRoutersBasic-57268711-19887899 ID is 64fe8876-1f9e-438a-b97f-45fa6fc78548 2025-09-15 02:19:27,198 - DEBUG - VM ctest-TestRoutersBasic-57268711-19887899 launched on Node an-jenkins-deploy-platform-ansible-os-4110-2 2025-09-15 02:19:27,279 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/64fe8876-1f9e-438a-b97f-45fa6fc78548 2025-09-15 02:19:27,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/520c23d8-cf5c-4c21-8307-21a3cedf203f 2025-09-15 02:19:28,444 - 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=6.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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 = 1.152/3.868/6.584/2.716 ms') 2025-09-15 02:19:28,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57268711-19887899 passed 2025-09-15 02:19:28,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:19:28,507 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57268711-19887899, IP 123.109.202.195, Port 22 2025-09-15 02:19:28,662 - DEBUG - VM ctest-TestRoutersBasic-57268711-19887899 is ready for SSH connections 2025-09-15 02:19:28,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:19:28,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.109.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-15 02:19:28,662 - DEBUG - ping -s 56 -c 3 -W 1 123.109.202.195 2025-09-15 02:19:32,346 - DEBUG - PING 123.109.202.195 (123.109.202.195): 56 data bytes 64 bytes from 123.109.202.195: seq=0 ttl=62 time=6.417 ms 64 bytes from 123.109.202.195: seq=1 ttl=62 time=1.204 ms 64 bytes from 123.109.202.195: seq=2 ttl=62 time=1.386 ms --- 123.109.202.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.204/3.002/6.417 ms 2025-09-15 02:19:32,346 - INFO - Ping to IP 123.109.202.195 from VM ctest-TestRoutersBasic-57268711-25641945 passed 2025-09-15 02:19:32,346 - INFO - Deleting interface with subnet_id b2902f0c-9dfd-4197-8674-c6a5dc1f61d9, port_id None from router f32b6c67-739c-4976-8bff-9facd2734b02 2025-09-15 02:19:32,699 - INFO - Deleting VM ctest-TestRoutersBasic-57268711-19887899 2025-09-15 02:19:32,801 - INFO - Deleting VM ctest-TestRoutersBasic-57268711-25641945 2025-09-15 02:19:32,910 - INFO - Deleting VN ctest-ext_vn-87238042 2025-09-15 02:19:33,091 - DEBUG - VN 00c71ad3-a101-4032-877a-f9a7c2ad8361 still in use: Unable to complete operation on network 00c71ad3-a101-4032-877a-f9a7c2ad8361. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9dceb069-20d0-4496-aa29-5891cbd0b9d2'] 2025-09-15 02:19:33,091 - WARNING - Deleting VN ctest-ext_vn-87238042 failed..Will retry 2025-09-15 02:19:35,246 - DEBUG - Response for deleting network () 2025-09-15 02:19:35,246 - INFO - Deleting VN ctest-vn-53623724 2025-09-15 02:19:35,401 - DEBUG - Response for deleting network () 2025-09-15 02:19:36,691 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:19:36,691 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-09-15 02:19:36,691 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:19:37,379 - INFO - Deleted project: ctest-TestRoutersBasic-57268711, ID : a9c8005d-6957-413d-8e8b-17f7c02c31e6