2026-03-19 23:24:16,659 - INFO - Domain Default found not creating 2026-03-19 23:24:16,832 - INFO - Project ctest-TestRoutersBasic-86473136 not found, creating it 2026-03-19 23:24:17,329 - INFO - Created Project:ctest-TestRoutersBasic-86473136, ID : 31ee036d-cf52-4624-9a73-e4191d482f6f 2026-03-19 23:24:18,756 - INFO - ================================================================================ 2026-03-19 23:24:18,756 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-19 23:24:18,756 - 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-03-19 23:24:19,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-03-19 23:24:19,011 - INFO - Initial checks done. Running the testcase now 2026-03-19 23:24:19,011 - INFO - 2026-03-19 23:24:19,666 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86473136 2026-03-19 23:24:19,760 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86473136 2026-03-19 23:24:20,087 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86473136', 'default']} 2026-03-19 23:24:20,362 - DEBUG - Response for create_network : {'network': {'id': '4e3981c5-9a61-49a5-82cf-870f739aa1e5', 'name': 'ctest-vn-03652626', 'tenant_id': '31ee036dcf5246249a73e4191d482f6f', 'project_id': '31ee036dcf5246249a73e4191d482f6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86473136', 'ctest-vn-03652626'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 23:24:20,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '198cd5a0-e2fd-4d2e-bf88-9c2d24fe7d94', 'name': '', 'tenant_id': '31ee036dcf5246249a73e4191d482f6f', 'network_id': '4e3981c5-9a61-49a5-82cf-870f739aa1e5', 'ip_version': 4, 'cidr': '81.249.129.128/26', 'allocation_pools': [{'start': '81.249.129.130', 'end': '81.249.129.190'}], 'gateway_ip': '81.249.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.249.129.130', 'tags': [], 'project_id': '31ee036dcf5246249a73e4191d482f6f'}} 2026-03-19 23:24:20,553 - INFO - Created VN ctest-vn-03652626 2026-03-19 23:24:20,604 - DEBUG - VN ctest-vn-03652626 UUID is 4e3981c5-9a61-49a5-82cf-870f739aa1e5 2026-03-19 23:24:20,923 - DEBUG - Response for create_network : {'network': {'id': '6e452c31-09a4-4eb1-abdf-a020c62105de', 'name': 'ctest-ext_vn-98991902', 'tenant_id': '31ee036dcf5246249a73e4191d482f6f', 'project_id': '31ee036dcf5246249a73e4191d482f6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86473136', 'ctest-ext_vn-98991902'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 23:24:21,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d53b740-2092-4039-94e0-3fcf3b6ea1b0', 'name': '', 'tenant_id': '31ee036dcf5246249a73e4191d482f6f', 'network_id': '6e452c31-09a4-4eb1-abdf-a020c62105de', 'ip_version': 4, 'cidr': '131.27.50.64/26', 'allocation_pools': [{'start': '131.27.50.66', 'end': '131.27.50.126'}], 'gateway_ip': '131.27.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.27.50.66', 'tags': [], 'project_id': '31ee036dcf5246249a73e4191d482f6f'}} 2026-03-19 23:24:21,147 - INFO - Created VN ctest-ext_vn-98991902 2026-03-19 23:24:21,200 - DEBUG - VN ctest-ext_vn-98991902 UUID is 6e452c31-09a4-4eb1-abdf-a020c62105de 2026-03-19 23:24:21,377 - DEBUG - Services list from nova: [, , ] 2026-03-19 23:24:22,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5503-1) 2026-03-19 23:24:23,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5503-1) 2026-03-19 23:24:23,657 - INFO - Setting gateway for router 4e6228ec-3d06-4a1f-9c36-b5ce69545d07 to network 6e452c31-09a4-4eb1-abdf-a020c62105de 2026-03-19 23:24:23,750 - INFO - Adding interface with subnet_id 198cd5a0-e2fd-4d2e-bf88-9c2d24fe7d94, port_id None to router 4e6228ec-3d06-4a1f-9c36-b5ce69545d07 2026-03-19 23:24:24,146 - INFO - Waiting for VM ctest-TestRoutersBasic-86473136-80661801 to be up.. 2026-03-19 23:24:24,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 23:24:29,414 - DEBUG - VM is in ACTIVE state now 2026-03-19 23:24:29,414 - INFO - VM name : ctest-TestRoutersBasic-86473136-80661801 2026-03-19 23:24:29,489 - DEBUG - VM ctest-TestRoutersBasic-86473136-80661801 ID is 683e282c-63df-4ff9-a943-54949a1f7d68 2026-03-19 23:24:29,515 - DEBUG - VM ctest-TestRoutersBasic-86473136-80661801 launched on Node cn-jenkins-deploy-platform-ansible-os-5503-1 2026-03-19 23:24:29,586 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/683e282c-63df-4ff9-a943-54949a1f7d68 2026-03-19 23:24:29,853 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/683e282c-63df-4ff9-a943-54949a1f7d68 2026-03-19 23:24:29,886 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8e0e0fcf-10dd-4502-9c62-e49edb5640ce 2026-03-19 23:24:33,142 - 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') 2026-03-19 23:24:33,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86473136-80661801 failed! 2026-03-19 23:24:33,196 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86473136:ctest-vn-03652626 is 81.249.129.129 and allocation pool is NOT set 2026-03-19 23:24:35,254 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/1.579/2.674/1.094 ms') 2026-03-19 23:24:35,254 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86473136-80661801 passed 2026-03-19 23:24:35,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:24:35,404 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86473136-80661801, IP 81.249.129.131, Port 22 2026-03-19 23:24:35,555 - DEBUG - VM ctest-TestRoutersBasic-86473136-80661801 is ready for SSH connections 2026-03-19 23:24:35,555 - INFO - Waiting for VM ctest-TestRoutersBasic-86473136-70254481 to be up.. 2026-03-19 23:24:35,624 - DEBUG - VM is in ACTIVE state now 2026-03-19 23:24:35,624 - INFO - VM name : ctest-TestRoutersBasic-86473136-70254481 2026-03-19 23:24:35,694 - DEBUG - VM ctest-TestRoutersBasic-86473136-70254481 ID is 79f0163a-095c-4bd4-a932-66a6d9318c1f 2026-03-19 23:24:35,694 - DEBUG - VM ctest-TestRoutersBasic-86473136-70254481 launched on Node cn-jenkins-deploy-platform-ansible-os-5503-1 2026-03-19 23:24:35,763 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/79f0163a-095c-4bd4-a932-66a6d9318c1f 2026-03-19 23:24:35,770 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/729eacb0-a260-49c7-bcdd-b72d1e0fd0c0 2026-03-19 23:24:36,999 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.00 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.003/3.261/4.520/1.258 ms') 2026-03-19 23:24:36,999 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86473136-70254481 passed 2026-03-19 23:24:37,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:24:37,148 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86473136-70254481, IP 131.27.50.67, Port 22 2026-03-19 23:24:37,299 - DEBUG - VM ctest-TestRoutersBasic-86473136-70254481 is ready for SSH connections 2026-03-19 23:24:37,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 23:24:37,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.27.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-19 23:24:37,299 - DEBUG - ping -s 56 -c 3 -W 1 131.27.50.67 2026-03-19 23:24:40,959 - DEBUG - PING 131.27.50.67 (131.27.50.67): 56 data bytes 64 bytes from 131.27.50.67: seq=0 ttl=62 time=7.840 ms 64 bytes from 131.27.50.67: seq=1 ttl=62 time=0.823 ms 64 bytes from 131.27.50.67: seq=2 ttl=62 time=1.033 ms --- 131.27.50.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/3.232/7.840 ms 2026-03-19 23:24:40,959 - INFO - Ping to IP 131.27.50.67 from VM ctest-TestRoutersBasic-86473136-80661801 passed 2026-03-19 23:24:40,959 - INFO - Deleting interface with subnet_id 198cd5a0-e2fd-4d2e-bf88-9c2d24fe7d94, port_id None from router 4e6228ec-3d06-4a1f-9c36-b5ce69545d07 2026-03-19 23:24:41,141 - INFO - Deleting VM ctest-TestRoutersBasic-86473136-70254481 2026-03-19 23:24:41,222 - INFO - Deleting VM ctest-TestRoutersBasic-86473136-80661801 2026-03-19 23:24:41,312 - INFO - Deleting VN ctest-ext_vn-98991902 2026-03-19 23:24:41,378 - DEBUG - VN 6e452c31-09a4-4eb1-abdf-a020c62105de still in use: Unable to complete operation on network 6e452c31-09a4-4eb1-abdf-a020c62105de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-26e329c5-c1df-4c73-b6ab-6bc413f72a76'] 2026-03-19 23:24:41,378 - WARNING - Deleting VN ctest-ext_vn-98991902 failed..Will retry 2026-03-19 23:24:43,469 - DEBUG - Response for deleting network () 2026-03-19 23:24:43,470 - INFO - Deleting VN ctest-vn-03652626 2026-03-19 23:24:43,562 - DEBUG - Response for deleting network () 2026-03-19 23:24:43,816 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 23:24:43,816 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-19 23:24:43,816 - INFO - -------------------------------------------------------------------------------- 2026-03-19 23:24:44,455 - INFO - Deleted project: ctest-TestRoutersBasic-86473136, ID : 31ee036d-cf52-4624-9a73-e4191d482f6f