2026-02-05 21:55:41,325 - INFO - Domain Default found not creating 2026-02-05 21:55:41,487 - INFO - Project ctest-TestRoutersBasic-50557725 not found, creating it 2026-02-05 21:55:41,914 - INFO - Created Project:ctest-TestRoutersBasic-50557725, ID : 20ddf7e8-501d-4246-b97e-3a25ab3da55d 2026-02-05 21:55:43,324 - INFO - ================================================================================ 2026-02-05 21:55:43,324 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-05 21:55:43,324 - 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-05 21:55:43,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-05 21:55:43,590 - INFO - Initial checks done. Running the testcase now 2026-02-05 21:55:43,590 - INFO - 2026-02-05 21:55:44,275 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50557725 2026-02-05 21:55:44,370 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50557725 2026-02-05 21:55:44,693 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50557725', 'default']} 2026-02-05 21:55:44,969 - DEBUG - Response for create_network : {'network': {'id': '257b5249-ccab-4ce3-a4ec-fb14712fabe7', 'name': 'ctest-vn-21485983', 'tenant_id': '20ddf7e8501d4246b97e3a25ab3da55d', 'project_id': '20ddf7e8501d4246b97e3a25ab3da55d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50557725', 'ctest-vn-21485983'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 21:55:45,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '35710bd3-c395-4bb9-94fc-aadb7f953231', 'name': '', 'tenant_id': '20ddf7e8501d4246b97e3a25ab3da55d', 'network_id': '257b5249-ccab-4ce3-a4ec-fb14712fabe7', 'ip_version': 4, 'cidr': '6.101.61.128/26', 'allocation_pools': [{'start': '6.101.61.130', 'end': '6.101.61.190'}], 'gateway_ip': '6.101.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.101.61.130', 'tags': [], 'project_id': '20ddf7e8501d4246b97e3a25ab3da55d'}} 2026-02-05 21:55:45,160 - INFO - Created VN ctest-vn-21485983 2026-02-05 21:55:45,209 - DEBUG - VN ctest-vn-21485983 UUID is 257b5249-ccab-4ce3-a4ec-fb14712fabe7 2026-02-05 21:55:45,517 - DEBUG - Response for create_network : {'network': {'id': 'a9c47b3f-cd6e-44b0-b0b6-1c29702e0bda', 'name': 'ctest-ext_vn-89825222', 'tenant_id': '20ddf7e8501d4246b97e3a25ab3da55d', 'project_id': '20ddf7e8501d4246b97e3a25ab3da55d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50557725', 'ctest-ext_vn-89825222'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 21:55:45,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '1115808e-511e-48db-90cf-094e33ab3453', 'name': '', 'tenant_id': '20ddf7e8501d4246b97e3a25ab3da55d', 'network_id': 'a9c47b3f-cd6e-44b0-b0b6-1c29702e0bda', 'ip_version': 4, 'cidr': '175.165.19.128/26', 'allocation_pools': [{'start': '175.165.19.130', 'end': '175.165.19.190'}], 'gateway_ip': '175.165.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.165.19.130', 'tags': [], 'project_id': '20ddf7e8501d4246b97e3a25ab3da55d'}} 2026-02-05 21:55:45,694 - INFO - Created VN ctest-ext_vn-89825222 2026-02-05 21:55:45,745 - DEBUG - VN ctest-ext_vn-89825222 UUID is a9c47b3f-cd6e-44b0-b0b6-1c29702e0bda 2026-02-05 21:55:45,941 - DEBUG - Services list from nova: [, , ] 2026-02-05 21:55:46,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5222-1) 2026-02-05 21:55:48,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5222-1) 2026-02-05 21:55:48,098 - INFO - Setting gateway for router 13f01cb0-9cb5-4d0b-87a0-a12a479ac3c4 to network a9c47b3f-cd6e-44b0-b0b6-1c29702e0bda 2026-02-05 21:55:48,184 - INFO - Adding interface with subnet_id 35710bd3-c395-4bb9-94fc-aadb7f953231, port_id None to router 13f01cb0-9cb5-4d0b-87a0-a12a479ac3c4 2026-02-05 21:55:48,612 - INFO - Waiting for VM ctest-TestRoutersBasic-50557725-70611161 to be up.. 2026-02-05 21:55:48,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 21:55:53,829 - DEBUG - VM is in ACTIVE state now 2026-02-05 21:55:53,829 - INFO - VM name : ctest-TestRoutersBasic-50557725-70611161 2026-02-05 21:55:53,902 - DEBUG - VM ctest-TestRoutersBasic-50557725-70611161 ID is f671a928-24ac-4ca8-b69e-77e29684fca9 2026-02-05 21:55:53,922 - DEBUG - VM ctest-TestRoutersBasic-50557725-70611161 launched on Node cn-jenkins-deploy-platform-ansible-os-5222-1 2026-02-05 21:55:53,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f671a928-24ac-4ca8-b69e-77e29684fca9 2026-02-05 21:55:54,283 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f671a928-24ac-4ca8-b69e-77e29684fca9 2026-02-05 21:55:54,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dda9e2d9-1672-48c8-ae22-231357f3ab9f 2026-02-05 21:55:57,553 - 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 1003ms') 2026-02-05 21:55:57,553 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50557725-70611161 failed! 2026-02-05 21:55:57,609 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50557725:ctest-vn-21485983 is 6.101.61.129 and allocation pool is NOT set 2026-02-05 21:55:59,668 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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 = 0.375/1.672/2.969/1.297 ms') 2026-02-05 21:55:59,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50557725-70611161 passed 2026-02-05 21:55:59,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 21:55:59,814 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50557725-70611161, IP 6.101.61.131, Port 22 2026-02-05 21:55:59,968 - DEBUG - VM ctest-TestRoutersBasic-50557725-70611161 is ready for SSH connections 2026-02-05 21:55:59,968 - INFO - Waiting for VM ctest-TestRoutersBasic-50557725-26700765 to be up.. 2026-02-05 21:56:00,042 - DEBUG - VM is in ACTIVE state now 2026-02-05 21:56:00,042 - INFO - VM name : ctest-TestRoutersBasic-50557725-26700765 2026-02-05 21:56:00,106 - DEBUG - VM ctest-TestRoutersBasic-50557725-26700765 ID is 7dfea2ae-5dfd-4807-a34b-d09393471233 2026-02-05 21:56:00,106 - DEBUG - VM ctest-TestRoutersBasic-50557725-26700765 launched on Node cn-jenkins-deploy-platform-ansible-os-5222-1 2026-02-05 21:56:00,170 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7dfea2ae-5dfd-4807-a34b-d09393471233 2026-02-05 21:56:00,178 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/18993d06-4d3c-4b82-bbbc-7e2f09d4f49a 2026-02-05 21:56:01,401 - 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=3.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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 = 0.405/2.008/3.612/1.603 ms') 2026-02-05 21:56:01,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50557725-26700765 passed 2026-02-05 21:56:01,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 21:56:01,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50557725-26700765, IP 175.165.19.131, Port 22 2026-02-05 21:56:01,705 - DEBUG - VM ctest-TestRoutersBasic-50557725-26700765 is ready for SSH connections 2026-02-05 21:56:01,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 21:56:01,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.165.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-05 21:56:01,706 - DEBUG - ping -s 56 -c 3 -W 1 175.165.19.131 2026-02-05 21:56:05,751 - DEBUG - PING 175.165.19.131 (175.165.19.131): 56 data bytes 64 bytes from 175.165.19.131: seq=0 ttl=62 time=6.521 ms 64 bytes from 175.165.19.131: seq=1 ttl=62 time=1.118 ms 64 bytes from 175.165.19.131: seq=2 ttl=62 time=0.716 ms --- 175.165.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/2.785/6.521 ms 2026-02-05 21:56:05,752 - INFO - Ping to IP 175.165.19.131 from VM ctest-TestRoutersBasic-50557725-70611161 passed 2026-02-05 21:56:05,752 - INFO - Deleting interface with subnet_id 35710bd3-c395-4bb9-94fc-aadb7f953231, port_id None from router 13f01cb0-9cb5-4d0b-87a0-a12a479ac3c4 2026-02-05 21:56:05,905 - INFO - Deleting VM ctest-TestRoutersBasic-50557725-26700765 2026-02-05 21:56:05,965 - INFO - Deleting VM ctest-TestRoutersBasic-50557725-70611161 2026-02-05 21:56:06,043 - INFO - Deleting VN ctest-ext_vn-89825222 2026-02-05 21:56:06,104 - DEBUG - VN a9c47b3f-cd6e-44b0-b0b6-1c29702e0bda still in use: Unable to complete operation on network a9c47b3f-cd6e-44b0-b0b6-1c29702e0bda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4939d5cf-4cc4-4a3c-adc2-f0c719552732'] 2026-02-05 21:56:06,104 - WARNING - Deleting VN ctest-ext_vn-89825222 failed..Will retry 2026-02-05 21:56:08,221 - DEBUG - Response for deleting network () 2026-02-05 21:56:08,221 - INFO - Deleting VN ctest-vn-21485983 2026-02-05 21:56:08,306 - DEBUG - Response for deleting network () 2026-02-05 21:56:08,561 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 21:56:08,562 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-05 21:56:08,562 - INFO - -------------------------------------------------------------------------------- 2026-02-05 21:56:09,229 - INFO - Deleted project: ctest-TestRoutersBasic-50557725, ID : 20ddf7e8-501d-4246-b97e-3a25ab3da55d