2025-10-24 17:22:38,451 - INFO - Domain Default found not creating 2025-10-24 17:22:38,706 - INFO - Project ctest-TestRoutersBasic-88990719 not found, creating it 2025-10-24 17:22:39,297 - INFO - Created Project:ctest-TestRoutersBasic-88990719, ID : 592ed45d-f795-40ce-8cd3-88a0266083e5 2025-10-24 17:22:41,094 - INFO - ================================================================================ 2025-10-24 17:22:41,094 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-24 17:22:41,094 - 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-24 17:22:41,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-24 17:22:41,387 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:22:41,388 - INFO - 2025-10-24 17:22:42,211 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88990719 2025-10-24 17:22:42,312 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88990719 2025-10-24 17:22:42,667 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88990719', 'default']} 2025-10-24 17:22:43,004 - DEBUG - Response for create_network : {'network': {'id': '949aeb9f-f5c6-440a-9170-00cae2c31db4', 'name': 'ctest-vn-01825548', 'tenant_id': '592ed45df79540ce8cd388a0266083e5', 'project_id': '592ed45df79540ce8cd388a0266083e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88990719', 'ctest-vn-01825548'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:22:43,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '1abfeb01-cd5d-4ec5-8042-d90aad68f14f', 'name': '', 'tenant_id': '592ed45df79540ce8cd388a0266083e5', 'network_id': '949aeb9f-f5c6-440a-9170-00cae2c31db4', 'ip_version': 4, 'cidr': '97.95.222.128/26', 'allocation_pools': [{'start': '97.95.222.130', 'end': '97.95.222.190'}], 'gateway_ip': '97.95.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.95.222.130', 'tags': [], 'project_id': '592ed45df79540ce8cd388a0266083e5'}} 2025-10-24 17:22:43,272 - INFO - Created VN ctest-vn-01825548 2025-10-24 17:22:43,332 - DEBUG - VN ctest-vn-01825548 UUID is 949aeb9f-f5c6-440a-9170-00cae2c31db4 2025-10-24 17:22:43,771 - DEBUG - Response for create_network : {'network': {'id': '209b3646-9fa3-4904-beb9-5d35ea4a7593', 'name': 'ctest-ext_vn-38815969', 'tenant_id': '592ed45df79540ce8cd388a0266083e5', 'project_id': '592ed45df79540ce8cd388a0266083e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88990719', 'ctest-ext_vn-38815969'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:22:43,972 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9cb0fa7-7b1f-4745-9375-0825bfbef659', 'name': '', 'tenant_id': '592ed45df79540ce8cd388a0266083e5', 'network_id': '209b3646-9fa3-4904-beb9-5d35ea4a7593', 'ip_version': 4, 'cidr': '186.45.18.192/26', 'allocation_pools': [{'start': '186.45.18.194', 'end': '186.45.18.254'}], 'gateway_ip': '186.45.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.45.18.194', 'tags': [], 'project_id': '592ed45df79540ce8cd388a0266083e5'}} 2025-10-24 17:22:43,990 - INFO - Created VN ctest-ext_vn-38815969 2025-10-24 17:22:44,043 - DEBUG - VN ctest-ext_vn-38815969 UUID is 209b3646-9fa3-4904-beb9-5d35ea4a7593 2025-10-24 17:22:44,302 - DEBUG - Services list from nova: [, , ] 2025-10-24 17:22:45,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4478-1) 2025-10-24 17:22:47,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4478-1) 2025-10-24 17:22:47,601 - INFO - Setting gateway for router 5069a0e8-2a3f-4984-9931-f148714e53c8 to network 209b3646-9fa3-4904-beb9-5d35ea4a7593 2025-10-24 17:22:47,683 - INFO - Adding interface with subnet_id 1abfeb01-cd5d-4ec5-8042-d90aad68f14f, port_id None to router 5069a0e8-2a3f-4984-9931-f148714e53c8 2025-10-24 17:22:48,106 - INFO - Waiting for VM ctest-TestRoutersBasic-88990719-65111845 to be up.. 2025-10-24 17:22:48,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 17:22:53,343 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:22:53,343 - INFO - VM name : ctest-TestRoutersBasic-88990719-65111845 2025-10-24 17:22:53,454 - DEBUG - VM ctest-TestRoutersBasic-88990719-65111845 ID is 7f0e4fc4-2cdf-46dc-b25c-625782ad8c73 2025-10-24 17:22:53,474 - DEBUG - VM ctest-TestRoutersBasic-88990719-65111845 launched on Node cn-jenkins-deploy-platform-ansible-os-4478-1 2025-10-24 17:22:53,558 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7f0e4fc4-2cdf-46dc-b25c-625782ad8c73 2025-10-24 17:22:53,855 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7f0e4fc4-2cdf-46dc-b25c-625782ad8c73 2025-10-24 17:22:53,892 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cacf565a-7b1c-48c7-805d-7fdb6bf4767e 2025-10-24 17:22:57,169 - 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-24 17:22:57,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88990719-65111845 failed! 2025-10-24 17:22:57,231 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88990719:ctest-vn-01825548 is 97.95.222.129 and allocation pool is NOT set 2025-10-24 17:22:59,308 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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 = 2.251/3.609/4.968/1.358 ms') 2025-10-24 17:22:59,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88990719-65111845 passed 2025-10-24 17:22:59,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:22:59,484 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88990719-65111845, IP 97.95.222.131, Port 22 2025-10-24 17:22:59,675 - DEBUG - VM ctest-TestRoutersBasic-88990719-65111845 is ready for SSH connections 2025-10-24 17:22:59,675 - INFO - Waiting for VM ctest-TestRoutersBasic-88990719-60006227 to be up.. 2025-10-24 17:22:59,788 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:22:59,788 - INFO - VM name : ctest-TestRoutersBasic-88990719-60006227 2025-10-24 17:22:59,900 - DEBUG - VM ctest-TestRoutersBasic-88990719-60006227 ID is 6b1f8e3e-cd74-412c-91b9-f3f60f8ec7f7 2025-10-24 17:22:59,900 - DEBUG - VM ctest-TestRoutersBasic-88990719-60006227 launched on Node cn-jenkins-deploy-platform-ansible-os-4478-1 2025-10-24 17:23:00,001 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6b1f8e3e-cd74-412c-91b9-f3f60f8ec7f7 2025-10-24 17:23:00,019 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b3312d68-9440-4855-bc06-2049ce913f0d 2025-10-24 17:23:01,309 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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.073/2.699/4.326/1.626 ms') 2025-10-24 17:23:01,309 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88990719-60006227 passed 2025-10-24 17:23:01,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:23:01,480 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88990719-60006227, IP 186.45.18.195, Port 22 2025-10-24 17:23:01,665 - DEBUG - VM ctest-TestRoutersBasic-88990719-60006227 is ready for SSH connections 2025-10-24 17:23:01,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:23:01,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.45.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 17:23:01,666 - DEBUG - ping -s 56 -c 3 -W 1 186.45.18.195 2025-10-24 17:23:05,585 - DEBUG - PING 186.45.18.195 (186.45.18.195): 56 data bytes 64 bytes from 186.45.18.195: seq=0 ttl=62 time=9.328 ms 64 bytes from 186.45.18.195: seq=1 ttl=62 time=2.127 ms 64 bytes from 186.45.18.195: seq=2 ttl=62 time=1.550 ms --- 186.45.18.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.550/4.335/9.328 ms 2025-10-24 17:23:05,585 - INFO - Ping to IP 186.45.18.195 from VM ctest-TestRoutersBasic-88990719-65111845 passed 2025-10-24 17:23:05,585 - INFO - Deleting interface with subnet_id 1abfeb01-cd5d-4ec5-8042-d90aad68f14f, port_id None from router 5069a0e8-2a3f-4984-9931-f148714e53c8 2025-10-24 17:23:05,847 - INFO - Deleting VM ctest-TestRoutersBasic-88990719-60006227 2025-10-24 17:23:05,921 - INFO - Deleting VM ctest-TestRoutersBasic-88990719-65111845 2025-10-24 17:23:06,014 - INFO - Deleting VN ctest-ext_vn-38815969 2025-10-24 17:23:06,086 - DEBUG - VN 209b3646-9fa3-4904-beb9-5d35ea4a7593 still in use: Unable to complete operation on network 209b3646-9fa3-4904-beb9-5d35ea4a7593. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5a17d6b-6388-4e9d-8b3d-c81ac6f00b79'] 2025-10-24 17:23:06,086 - WARNING - Deleting VN ctest-ext_vn-38815969 failed..Will retry 2025-10-24 17:23:08,331 - DEBUG - Response for deleting network () 2025-10-24 17:23:08,331 - INFO - Deleting VN ctest-vn-01825548 2025-10-24 17:23:08,463 - DEBUG - Response for deleting network () 2025-10-24 17:23:08,778 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 17:23:08,778 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-10-24 17:23:08,779 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:23:09,606 - INFO - Deleted project: ctest-TestRoutersBasic-88990719, ID : 592ed45d-f795-40ce-8cd3-88a0266083e5