2026-01-15 18:18:06,741 - INFO - Domain Default found not creating 2026-01-15 18:18:06,899 - INFO - Project ctest-TestRoutersBasic-56621210 not found, creating it 2026-01-15 18:18:07,373 - INFO - Created Project:ctest-TestRoutersBasic-56621210, ID : b0c8625b-c8b5-4a64-8931-bf6e08d42ef6 2026-01-15 18:18:08,793 - INFO - ================================================================================ 2026-01-15 18:18:08,793 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-15 18:18:08,793 - 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-01-15 18:18:09,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-01-15 18:18:09,046 - INFO - Initial checks done. Running the testcase now 2026-01-15 18:18:09,046 - INFO - 2026-01-15 18:18:09,756 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56621210 2026-01-15 18:18:09,849 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56621210 2026-01-15 18:18:10,169 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56621210', 'default']} 2026-01-15 18:18:10,454 - DEBUG - Response for create_network : {'network': {'id': '9ed971f3-8a34-4d3c-b127-780a66293433', 'name': 'ctest-vn-35338794', 'tenant_id': 'b0c8625bc8b54a648931bf6e08d42ef6', 'project_id': 'b0c8625bc8b54a648931bf6e08d42ef6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56621210', 'ctest-vn-35338794'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 18:18:10,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b74882c-ed5d-495f-a519-edc6f80ea6c4', 'name': '', 'tenant_id': 'b0c8625bc8b54a648931bf6e08d42ef6', 'network_id': '9ed971f3-8a34-4d3c-b127-780a66293433', 'ip_version': 4, 'cidr': '129.203.251.64/26', 'allocation_pools': [{'start': '129.203.251.66', 'end': '129.203.251.126'}], 'gateway_ip': '129.203.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.203.251.66', 'tags': [], 'project_id': 'b0c8625bc8b54a648931bf6e08d42ef6'}} 2026-01-15 18:18:10,685 - INFO - Created VN ctest-vn-35338794 2026-01-15 18:18:10,737 - DEBUG - VN ctest-vn-35338794 UUID is 9ed971f3-8a34-4d3c-b127-780a66293433 2026-01-15 18:18:11,033 - DEBUG - Response for create_network : {'network': {'id': '07a3b139-aa30-4e40-b500-3b5dfd9da635', 'name': 'ctest-ext_vn-79304363', 'tenant_id': 'b0c8625bc8b54a648931bf6e08d42ef6', 'project_id': 'b0c8625bc8b54a648931bf6e08d42ef6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56621210', 'ctest-ext_vn-79304363'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 18:18:11,226 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a824bac2-42f9-4b10-90c2-16fa3fbaa681', 'name': '', 'tenant_id': 'b0c8625bc8b54a648931bf6e08d42ef6', 'network_id': '07a3b139-aa30-4e40-b500-3b5dfd9da635', 'ip_version': 4, 'cidr': '37.9.227.192/26', 'allocation_pools': [{'start': '37.9.227.194', 'end': '37.9.227.254'}], 'gateway_ip': '37.9.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.9.227.194', 'tags': [], 'project_id': 'b0c8625bc8b54a648931bf6e08d42ef6'}} 2026-01-15 18:18:11,242 - INFO - Created VN ctest-ext_vn-79304363 2026-01-15 18:18:11,293 - DEBUG - VN ctest-ext_vn-79304363 UUID is 07a3b139-aa30-4e40-b500-3b5dfd9da635 2026-01-15 18:18:11,486 - DEBUG - Services list from nova: [, , ] 2026-01-15 18:18:12,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5025-1) 2026-01-15 18:18:13,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5025-1) 2026-01-15 18:18:13,681 - INFO - Setting gateway for router f42817be-8b12-43cf-ae4d-45565cdbf46b to network 07a3b139-aa30-4e40-b500-3b5dfd9da635 2026-01-15 18:18:13,736 - INFO - Adding interface with subnet_id 7b74882c-ed5d-495f-a519-edc6f80ea6c4, port_id None to router f42817be-8b12-43cf-ae4d-45565cdbf46b 2026-01-15 18:18:14,205 - INFO - Waiting for VM ctest-TestRoutersBasic-56621210-04764428 to be up.. 2026-01-15 18:18:14,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 18:18:19,431 - DEBUG - VM is in ACTIVE state now 2026-01-15 18:18:19,431 - INFO - VM name : ctest-TestRoutersBasic-56621210-04764428 2026-01-15 18:18:19,502 - DEBUG - VM ctest-TestRoutersBasic-56621210-04764428 ID is cca2a5df-a529-4dea-8197-9dd883759619 2026-01-15 18:18:19,520 - DEBUG - VM ctest-TestRoutersBasic-56621210-04764428 launched on Node cn-jenkins-deploy-platform-ansible-os-5025-1 2026-01-15 18:18:19,586 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cca2a5df-a529-4dea-8197-9dd883759619 2026-01-15 18:18:19,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cca2a5df-a529-4dea-8197-9dd883759619 2026-01-15 18:18:19,910 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/558cb699-850a-41f8-978f-13ccf4998797 2026-01-15 18:18:23,175 - 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 1031ms') 2026-01-15 18:18:23,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56621210-04764428 failed! 2026-01-15 18:18:23,229 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56621210:ctest-vn-35338794 is 129.203.251.65 and allocation pool is NOT set 2026-01-15 18:18:25,293 - 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=3.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.837/3.234/1.397 ms') 2026-01-15 18:18:25,293 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56621210-04764428 passed 2026-01-15 18:18:25,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 18:18:25,441 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56621210-04764428, IP 129.203.251.67, Port 22 2026-01-15 18:18:25,606 - DEBUG - VM ctest-TestRoutersBasic-56621210-04764428 is ready for SSH connections 2026-01-15 18:18:25,607 - INFO - Waiting for VM ctest-TestRoutersBasic-56621210-03987665 to be up.. 2026-01-15 18:18:25,679 - DEBUG - VM is in ACTIVE state now 2026-01-15 18:18:25,680 - INFO - VM name : ctest-TestRoutersBasic-56621210-03987665 2026-01-15 18:18:25,752 - DEBUG - VM ctest-TestRoutersBasic-56621210-03987665 ID is 15395b9c-8e97-424c-9e1c-a0a67200619f 2026-01-15 18:18:25,752 - DEBUG - VM ctest-TestRoutersBasic-56621210-03987665 launched on Node cn-jenkins-deploy-platform-ansible-os-5025-1 2026-01-15 18:18:25,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/15395b9c-8e97-424c-9e1c-a0a67200619f 2026-01-15 18:18:25,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eb583709-7b0a-4f59-9699-a8df5f8bd32e 2026-01-15 18:18:27,082 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.711/3.018/1.307 ms') 2026-01-15 18:18:27,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56621210-03987665 passed 2026-01-15 18:18:27,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 18:18:27,229 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56621210-03987665, IP 37.9.227.195, Port 22 2026-01-15 18:18:27,385 - DEBUG - VM ctest-TestRoutersBasic-56621210-03987665 is ready for SSH connections 2026-01-15 18:18:27,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 18:18:27,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.9.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-15 18:18:27,385 - DEBUG - ping -s 56 -c 3 -W 1 37.9.227.195 2026-01-15 18:18:31,377 - DEBUG - PING 37.9.227.195 (37.9.227.195): 56 data bytes 64 bytes from 37.9.227.195: seq=0 ttl=62 time=7.782 ms 64 bytes from 37.9.227.195: seq=1 ttl=62 time=0.937 ms 64 bytes from 37.9.227.195: seq=2 ttl=62 time=0.963 ms --- 37.9.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/3.227/7.782 ms 2026-01-15 18:18:31,377 - INFO - Ping to IP 37.9.227.195 from VM ctest-TestRoutersBasic-56621210-04764428 passed 2026-01-15 18:18:31,377 - INFO - Deleting interface with subnet_id 7b74882c-ed5d-495f-a519-edc6f80ea6c4, port_id None from router f42817be-8b12-43cf-ae4d-45565cdbf46b 2026-01-15 18:18:31,552 - INFO - Deleting VM ctest-TestRoutersBasic-56621210-03987665 2026-01-15 18:18:31,619 - INFO - Deleting VM ctest-TestRoutersBasic-56621210-04764428 2026-01-15 18:18:31,686 - INFO - Deleting VN ctest-ext_vn-79304363 2026-01-15 18:18:31,746 - DEBUG - VN 07a3b139-aa30-4e40-b500-3b5dfd9da635 still in use: Unable to complete operation on network 07a3b139-aa30-4e40-b500-3b5dfd9da635. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2bc4d8d-ce71-4b32-9d9c-cb2f44bbaf51'] 2026-01-15 18:18:31,747 - WARNING - Deleting VN ctest-ext_vn-79304363 failed..Will retry 2026-01-15 18:18:33,841 - DEBUG - Response for deleting network () 2026-01-15 18:18:33,841 - INFO - Deleting VN ctest-vn-35338794 2026-01-15 18:18:33,932 - DEBUG - Response for deleting network () 2026-01-15 18:18:34,198 - DEBUG - No XMPP flaps were noticed during the test 2026-01-15 18:18:34,198 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-15 18:18:34,198 - INFO - -------------------------------------------------------------------------------- 2026-01-15 18:18:34,880 - INFO - Deleted project: ctest-TestRoutersBasic-56621210, ID : b0c8625b-c8b5-4a64-8931-bf6e08d42ef6