2025-10-30 16:38:40,013 - INFO - Domain Default found not creating 2025-10-30 16:38:40,186 - INFO - Project ctest-TestRoutersBasic-39963192 not found, creating it 2025-10-30 16:38:40,666 - INFO - Created Project:ctest-TestRoutersBasic-39963192, ID : 402b5f99-684e-4ad8-801c-ad8081028e46 2025-10-30 16:38:42,261 - INFO - ================================================================================ 2025-10-30 16:38:42,261 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 16:38:42,261 - 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-10-30 16:38:42,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-10-30 16:38:42,519 - INFO - Initial checks done. Running the testcase now 2025-10-30 16:38:42,519 - INFO - 2025-10-30 16:38:43,327 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39963192 2025-10-30 16:38:43,430 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39963192 2025-10-30 16:38:43,772 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39963192', 'default']} 2025-10-30 16:38:44,091 - DEBUG - Response for create_network : {'network': {'id': 'fcd7e43b-685e-483f-a4f2-705a69721d13', 'name': 'ctest-vn-56254328', 'tenant_id': '402b5f99684e4ad8801cad8081028e46', 'project_id': '402b5f99684e4ad8801cad8081028e46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39963192', 'ctest-vn-56254328'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:38:44,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b4c5a4a-3ef0-4a0f-92be-c57fbc5445f9', 'name': '', 'tenant_id': '402b5f99684e4ad8801cad8081028e46', 'network_id': 'fcd7e43b-685e-483f-a4f2-705a69721d13', 'ip_version': 4, 'cidr': '93.3.163.0/26', 'allocation_pools': [{'start': '93.3.163.2', 'end': '93.3.163.62'}], 'gateway_ip': '93.3.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.3.163.2', 'tags': [], 'project_id': '402b5f99684e4ad8801cad8081028e46'}} 2025-10-30 16:38:44,304 - INFO - Created VN ctest-vn-56254328 2025-10-30 16:38:44,357 - DEBUG - VN ctest-vn-56254328 UUID is fcd7e43b-685e-483f-a4f2-705a69721d13 2025-10-30 16:38:44,688 - DEBUG - Response for create_network : {'network': {'id': '0d7d5bb8-37ed-48f3-9f91-8d1917faf498', 'name': 'ctest-ext_vn-69017943', 'tenant_id': '402b5f99684e4ad8801cad8081028e46', 'project_id': '402b5f99684e4ad8801cad8081028e46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39963192', 'ctest-ext_vn-69017943'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:38:44,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '0861dfc0-40d3-43fa-93d8-7b249bb645ae', 'name': '', 'tenant_id': '402b5f99684e4ad8801cad8081028e46', 'network_id': '0d7d5bb8-37ed-48f3-9f91-8d1917faf498', 'ip_version': 4, 'cidr': '50.68.186.192/26', 'allocation_pools': [{'start': '50.68.186.194', 'end': '50.68.186.254'}], 'gateway_ip': '50.68.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.68.186.194', 'tags': [], 'project_id': '402b5f99684e4ad8801cad8081028e46'}} 2025-10-30 16:38:44,961 - INFO - Created VN ctest-ext_vn-69017943 2025-10-30 16:38:45,013 - DEBUG - VN ctest-ext_vn-69017943 UUID is 0d7d5bb8-37ed-48f3-9f91-8d1917faf498 2025-10-30 16:38:45,198 - DEBUG - Services list from nova: [, , ] 2025-10-30 16:38:46,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:38:47,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:38:47,825 - INFO - Setting gateway for router 6834eb3c-40ea-4094-8a9d-1db723f58ca9 to network 0d7d5bb8-37ed-48f3-9f91-8d1917faf498 2025-10-30 16:38:47,904 - INFO - Adding interface with subnet_id 8b4c5a4a-3ef0-4a0f-92be-c57fbc5445f9, port_id None to router 6834eb3c-40ea-4094-8a9d-1db723f58ca9 2025-10-30 16:38:48,305 - INFO - Waiting for VM ctest-TestRoutersBasic-39963192-55084726 to be up.. 2025-10-30 16:38:48,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 16:38:53,612 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:38:53,612 - INFO - VM name : ctest-TestRoutersBasic-39963192-55084726 2025-10-30 16:38:53,706 - DEBUG - VM ctest-TestRoutersBasic-39963192-55084726 ID is 7dd6aa87-7111-487a-bcc6-be2cff77517b 2025-10-30 16:38:53,727 - DEBUG - VM ctest-TestRoutersBasic-39963192-55084726 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:38:53,816 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7dd6aa87-7111-487a-bcc6-be2cff77517b 2025-10-30 16:38:54,159 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7dd6aa87-7111-487a-bcc6-be2cff77517b 2025-10-30 16:38:54,194 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/504c0d58-359d-4be9-88d0-3ac82fb5367e 2025-10-30 16:38:57,487 - 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 1029ms') 2025-10-30 16:38:57,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39963192-55084726 failed! 2025-10-30 16:38:57,541 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39963192:ctest-vn-56254328 is 93.3.163.1 and allocation pool is NOT set 2025-10-30 16:38:59,606 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.119/3.585/6.051/2.466 ms') 2025-10-30 16:38:59,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39963192-55084726 passed 2025-10-30 16:38:59,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:59,761 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39963192-55084726, IP 93.3.163.3, Port 22 2025-10-30 16:38:59,934 - DEBUG - VM ctest-TestRoutersBasic-39963192-55084726 is ready for SSH connections 2025-10-30 16:38:59,934 - INFO - Waiting for VM ctest-TestRoutersBasic-39963192-84514534 to be up.. 2025-10-30 16:39:00,029 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:39:00,029 - INFO - VM name : ctest-TestRoutersBasic-39963192-84514534 2025-10-30 16:39:00,122 - DEBUG - VM ctest-TestRoutersBasic-39963192-84514534 ID is 178f17dd-8afc-4776-bb4e-b751bf92abf6 2025-10-30 16:39:00,122 - DEBUG - VM ctest-TestRoutersBasic-39963192-84514534 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:39:00,209 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/178f17dd-8afc-4776-bb4e-b751bf92abf6 2025-10-30 16:39:00,218 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/80e821c7-e8cb-4225-b253-d9a73049d5ba 2025-10-30 16:39:01,475 - 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=4.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/2.491/4.415/1.924 ms') 2025-10-30 16:39:01,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39963192-84514534 passed 2025-10-30 16:39:01,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:01,637 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39963192-84514534, IP 50.68.186.195, Port 22 2025-10-30 16:39:01,792 - DEBUG - VM ctest-TestRoutersBasic-39963192-84514534 is ready for SSH connections 2025-10-30 16:39:01,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:01,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.68.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:39:01,792 - DEBUG - ping -s 56 -c 3 -W 1 50.68.186.195 2025-10-30 16:39:05,603 - DEBUG - PING 50.68.186.195 (50.68.186.195): 56 data bytes 64 bytes from 50.68.186.195: seq=0 ttl=62 time=8.549 ms 64 bytes from 50.68.186.195: seq=1 ttl=62 time=0.975 ms 64 bytes from 50.68.186.195: seq=2 ttl=62 time=1.429 ms --- 50.68.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.975/3.651/8.549 ms 2025-10-30 16:39:05,603 - INFO - Ping to IP 50.68.186.195 from VM ctest-TestRoutersBasic-39963192-55084726 passed 2025-10-30 16:39:05,603 - INFO - Deleting interface with subnet_id 8b4c5a4a-3ef0-4a0f-92be-c57fbc5445f9, port_id None from router 6834eb3c-40ea-4094-8a9d-1db723f58ca9 2025-10-30 16:39:05,844 - INFO - Deleting VM ctest-TestRoutersBasic-39963192-84514534 2025-10-30 16:39:05,951 - INFO - Deleting VM ctest-TestRoutersBasic-39963192-55084726 2025-10-30 16:39:06,072 - INFO - Deleting VN ctest-ext_vn-69017943 2025-10-30 16:39:06,166 - DEBUG - VN 0d7d5bb8-37ed-48f3-9f91-8d1917faf498 still in use: Unable to complete operation on network 0d7d5bb8-37ed-48f3-9f91-8d1917faf498. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5dc8f914-96eb-4901-b285-6b1120e7e37b'] 2025-10-30 16:39:06,166 - WARNING - Deleting VN ctest-ext_vn-69017943 failed..Will retry 2025-10-30 16:39:08,288 - DEBUG - Response for deleting network () 2025-10-30 16:39:08,288 - INFO - Deleting VN ctest-vn-56254328 2025-10-30 16:39:08,402 - DEBUG - Response for deleting network () 2025-10-30 16:39:08,674 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 16:39:08,674 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-30 16:39:08,674 - INFO - -------------------------------------------------------------------------------- 2025-10-30 16:39:09,449 - INFO - Deleted project: ctest-TestRoutersBasic-39963192, ID : 402b5f99-684e-4ad8-801c-ad8081028e46