2026-02-06 17:18:36,694 - INFO - Domain Default found not creating 2026-02-06 17:18:36,874 - INFO - Project ctest-TestRoutersBasic-35150323 not found, creating it 2026-02-06 17:18:37,369 - INFO - Created Project:ctest-TestRoutersBasic-35150323, ID : 74ccb3ff-698e-4670-a5ca-eab7afe413f8 2026-02-06 17:18:38,966 - INFO - ================================================================================ 2026-02-06 17:18:38,966 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-06 17:18:38,966 - 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 2026-02-06 17:18:39,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-06 17:18:39,226 - INFO - Initial checks done. Running the testcase now 2026-02-06 17:18:39,226 - INFO - 2026-02-06 17:18:39,995 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35150323 2026-02-06 17:18:40,095 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35150323 2026-02-06 17:18:40,431 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35150323', 'default']} 2026-02-06 17:18:40,750 - DEBUG - Response for create_network : {'network': {'id': '659f5957-49d5-4821-9496-eac47c8dac73', 'name': 'ctest-vn-77442190', 'tenant_id': '74ccb3ff698e4670a5caeab7afe413f8', 'project_id': '74ccb3ff698e4670a5caeab7afe413f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35150323', 'ctest-vn-77442190'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 17:18:40,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f1aca6e-a4a3-4b9c-9c1b-97ee638c6ee3', 'name': '', 'tenant_id': '74ccb3ff698e4670a5caeab7afe413f8', 'network_id': '659f5957-49d5-4821-9496-eac47c8dac73', 'ip_version': 4, 'cidr': '160.25.198.192/26', 'allocation_pools': [{'start': '160.25.198.194', 'end': '160.25.198.254'}], 'gateway_ip': '160.25.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.25.198.194', 'tags': [], 'project_id': '74ccb3ff698e4670a5caeab7afe413f8'}} 2026-02-06 17:18:40,958 - INFO - Created VN ctest-vn-77442190 2026-02-06 17:18:41,011 - DEBUG - VN ctest-vn-77442190 UUID is 659f5957-49d5-4821-9496-eac47c8dac73 2026-02-06 17:18:41,354 - DEBUG - Response for create_network : {'network': {'id': '4fe0cd55-0d6b-464b-b9ee-7770b831ffa6', 'name': 'ctest-ext_vn-04748838', 'tenant_id': '74ccb3ff698e4670a5caeab7afe413f8', 'project_id': '74ccb3ff698e4670a5caeab7afe413f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35150323', 'ctest-ext_vn-04748838'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 17:18:41,508 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daba230a-f2e9-4445-9d5e-2e1603860dfe', 'name': '', 'tenant_id': '74ccb3ff698e4670a5caeab7afe413f8', 'network_id': '4fe0cd55-0d6b-464b-b9ee-7770b831ffa6', 'ip_version': 4, 'cidr': '125.112.8.128/26', 'allocation_pools': [{'start': '125.112.8.130', 'end': '125.112.8.190'}], 'gateway_ip': '125.112.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.112.8.130', 'tags': [], 'project_id': '74ccb3ff698e4670a5caeab7afe413f8'}} 2026-02-06 17:18:41,528 - INFO - Created VN ctest-ext_vn-04748838 2026-02-06 17:18:41,583 - DEBUG - VN ctest-ext_vn-04748838 UUID is 4fe0cd55-0d6b-464b-b9ee-7770b831ffa6 2026-02-06 17:18:41,756 - DEBUG - Services list from nova: [, , ] 2026-02-06 17:18:42,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5228-1) 2026-02-06 17:18:44,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5228-1) 2026-02-06 17:18:44,097 - INFO - Setting gateway for router 716490cb-c9d4-4364-98a5-b9e26d0ef15b to network 4fe0cd55-0d6b-464b-b9ee-7770b831ffa6 2026-02-06 17:18:44,162 - INFO - Adding interface with subnet_id 5f1aca6e-a4a3-4b9c-9c1b-97ee638c6ee3, port_id None to router 716490cb-c9d4-4364-98a5-b9e26d0ef15b 2026-02-06 17:18:44,523 - INFO - Waiting for VM ctest-TestRoutersBasic-35150323-45013934 to be up.. 2026-02-06 17:18:44,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 17:18:49,800 - DEBUG - VM is in ACTIVE state now 2026-02-06 17:18:49,801 - INFO - VM name : ctest-TestRoutersBasic-35150323-45013934 2026-02-06 17:18:49,889 - DEBUG - VM ctest-TestRoutersBasic-35150323-45013934 ID is b93bfbdf-5b02-4cb9-8007-61000ce996d3 2026-02-06 17:18:49,909 - DEBUG - VM ctest-TestRoutersBasic-35150323-45013934 launched on Node cn-jenkins-deploy-platform-ansible-os-5228-1 2026-02-06 17:18:49,994 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b93bfbdf-5b02-4cb9-8007-61000ce996d3 2026-02-06 17:18:50,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b93bfbdf-5b02-4cb9-8007-61000ce996d3 2026-02-06 17:18:50,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0c05106d-9111-4c0b-8814-fd9446e8ff1e 2026-02-06 17:18:53,588 - 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 1018ms') 2026-02-06 17:18:53,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35150323-45013934 failed! 2026-02-06 17:18:53,643 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35150323:ctest-vn-77442190 is 160.25.198.193 and allocation pool is NOT set 2026-02-06 17:18:55,704 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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.472/2.539/4.606/2.067 ms') 2026-02-06 17:18:55,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35150323-45013934 passed 2026-02-06 17:18:55,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:18:55,851 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35150323-45013934, IP 160.25.198.195, Port 22 2026-02-06 17:18:56,042 - DEBUG - VM ctest-TestRoutersBasic-35150323-45013934 is ready for SSH connections 2026-02-06 17:18:56,043 - INFO - Waiting for VM ctest-TestRoutersBasic-35150323-55420249 to be up.. 2026-02-06 17:18:56,134 - DEBUG - VM is in ACTIVE state now 2026-02-06 17:18:56,134 - INFO - VM name : ctest-TestRoutersBasic-35150323-55420249 2026-02-06 17:18:56,210 - DEBUG - VM ctest-TestRoutersBasic-35150323-55420249 ID is b3418584-3edc-48ea-9000-af2ba961c6d9 2026-02-06 17:18:56,210 - DEBUG - VM ctest-TestRoutersBasic-35150323-55420249 launched on Node cn-jenkins-deploy-platform-ansible-os-5228-1 2026-02-06 17:18:56,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b3418584-3edc-48ea-9000-af2ba961c6d9 2026-02-06 17:18:56,299 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7addc8e9-944e-4346-8611-d6036db18f15 2026-02-06 17:18:57,536 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.909 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.909/2.453/3.997/1.544 ms') 2026-02-06 17:18:57,536 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35150323-55420249 passed 2026-02-06 17:18:57,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:18:57,688 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35150323-55420249, IP 125.112.8.131, Port 22 2026-02-06 17:18:57,854 - DEBUG - VM ctest-TestRoutersBasic-35150323-55420249 is ready for SSH connections 2026-02-06 17:18:57,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:18:57,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.112.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 17:18:57,854 - DEBUG - ping -s 56 -c 3 -W 1 125.112.8.131 2026-02-06 17:19:01,557 - DEBUG - PING 125.112.8.131 (125.112.8.131): 56 data bytes 64 bytes from 125.112.8.131: seq=0 ttl=62 time=5.155 ms 64 bytes from 125.112.8.131: seq=1 ttl=62 time=0.994 ms 64 bytes from 125.112.8.131: seq=2 ttl=62 time=1.061 ms --- 125.112.8.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.994/2.403/5.155 ms 2026-02-06 17:19:01,557 - INFO - Ping to IP 125.112.8.131 from VM ctest-TestRoutersBasic-35150323-45013934 passed 2026-02-06 17:19:01,557 - INFO - Deleting interface with subnet_id 5f1aca6e-a4a3-4b9c-9c1b-97ee638c6ee3, port_id None from router 716490cb-c9d4-4364-98a5-b9e26d0ef15b 2026-02-06 17:19:01,762 - INFO - Deleting VM ctest-TestRoutersBasic-35150323-55420249 2026-02-06 17:19:01,851 - INFO - Deleting VM ctest-TestRoutersBasic-35150323-45013934 2026-02-06 17:19:01,945 - INFO - Deleting VN ctest-ext_vn-04748838 2026-02-06 17:19:02,028 - DEBUG - VN 4fe0cd55-0d6b-464b-b9ee-7770b831ffa6 still in use: Unable to complete operation on network 4fe0cd55-0d6b-464b-b9ee-7770b831ffa6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-215ed432-0a81-45af-801a-ac4eade5ad59'] 2026-02-06 17:19:02,028 - WARNING - Deleting VN ctest-ext_vn-04748838 failed..Will retry 2026-02-06 17:19:04,131 - DEBUG - Response for deleting network () 2026-02-06 17:19:04,132 - INFO - Deleting VN ctest-vn-77442190 2026-02-06 17:19:04,244 - DEBUG - Response for deleting network () 2026-02-06 17:19:04,500 - DEBUG - No XMPP flaps were noticed during the test 2026-02-06 17:19:04,500 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-06 17:19:04,500 - INFO - -------------------------------------------------------------------------------- 2026-02-06 17:19:05,235 - INFO - Deleted project: ctest-TestRoutersBasic-35150323, ID : 74ccb3ff-698e-4670-a5ca-eab7afe413f8