2025-08-25 14:24:58,947 - INFO - Domain Default found not creating 2025-08-25 14:24:59,093 - INFO - Project ctest-TestRoutersBasic-63169998 not found, creating it 2025-08-25 14:24:59,598 - INFO - Created Project:ctest-TestRoutersBasic-63169998, ID : 5359927f-4cfb-40b2-b499-f0d4824d19c3 2025-08-25 14:25:01,147 - INFO - ================================================================================ 2025-08-25 14:25:01,147 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-25 14:25:01,147 - 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-08-25 14:25:01,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 14:25:01,417 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:25:01,417 - INFO - 2025-08-25 14:25:02,198 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63169998 2025-08-25 14:25:02,297 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63169998 2025-08-25 14:25:02,629 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63169998', 'default']} 2025-08-25 14:25:02,946 - DEBUG - Response for create_network : {'network': {'id': 'fd81ad2d-c359-484a-88d7-3e805cda9cd3', 'name': 'ctest-vn-82824194', 'tenant_id': '5359927f4cfb40b2b499f0d4824d19c3', 'project_id': '5359927f4cfb40b2b499f0d4824d19c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63169998', 'ctest-vn-82824194'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:25:03,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '00d0b786-f488-462c-9d1c-6795329d2e9c', 'name': '', 'tenant_id': '5359927f4cfb40b2b499f0d4824d19c3', 'network_id': 'fd81ad2d-c359-484a-88d7-3e805cda9cd3', 'ip_version': 4, 'cidr': '170.170.141.0/26', 'allocation_pools': [{'start': '170.170.141.2', 'end': '170.170.141.62'}], 'gateway_ip': '170.170.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.170.141.2', 'tags': [], 'project_id': '5359927f4cfb40b2b499f0d4824d19c3'}} 2025-08-25 14:25:03,203 - INFO - Created VN ctest-vn-82824194 2025-08-25 14:25:03,257 - DEBUG - VN ctest-vn-82824194 UUID is fd81ad2d-c359-484a-88d7-3e805cda9cd3 2025-08-25 14:25:03,596 - DEBUG - Response for create_network : {'network': {'id': 'a1ddf272-7197-472c-bccd-fb66dbe322ab', 'name': 'ctest-ext_vn-19566146', 'tenant_id': '5359927f4cfb40b2b499f0d4824d19c3', 'project_id': '5359927f4cfb40b2b499f0d4824d19c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63169998', 'ctest-ext_vn-19566146'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:25:03,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '99651f96-abd6-432a-afc8-f0ca86129177', 'name': '', 'tenant_id': '5359927f4cfb40b2b499f0d4824d19c3', 'network_id': 'a1ddf272-7197-472c-bccd-fb66dbe322ab', 'ip_version': 4, 'cidr': '188.238.211.192/26', 'allocation_pools': [{'start': '188.238.211.194', 'end': '188.238.211.254'}], 'gateway_ip': '188.238.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.238.211.194', 'tags': [], 'project_id': '5359927f4cfb40b2b499f0d4824d19c3'}} 2025-08-25 14:25:03,829 - INFO - Created VN ctest-ext_vn-19566146 2025-08-25 14:25:03,881 - DEBUG - VN ctest-ext_vn-19566146 UUID is a1ddf272-7197-472c-bccd-fb66dbe322ab 2025-08-25 14:25:04,042 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:25:05,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1) 2025-08-25 14:25:06,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1) 2025-08-25 14:25:06,521 - INFO - Setting gateway for router 153313a4-40ef-4d80-be14-34e79197f536 to network a1ddf272-7197-472c-bccd-fb66dbe322ab 2025-08-25 14:25:06,595 - INFO - Adding interface with subnet_id 00d0b786-f488-462c-9d1c-6795329d2e9c, port_id None to router 153313a4-40ef-4d80-be14-34e79197f536 2025-08-25 14:25:07,099 - INFO - Waiting for VM ctest-TestRoutersBasic-63169998-91674822 to be up.. 2025-08-25 14:25:07,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:25:12,334 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:25:12,334 - INFO - VM name : ctest-TestRoutersBasic-63169998-91674822 2025-08-25 14:25:12,418 - DEBUG - VM ctest-TestRoutersBasic-63169998-91674822 ID is b61465b1-f5a8-4637-b1ec-7d883f3922e4 2025-08-25 14:25:12,444 - DEBUG - VM ctest-TestRoutersBasic-63169998-91674822 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1 2025-08-25 14:25:12,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b61465b1-f5a8-4637-b1ec-7d883f3922e4 2025-08-25 14:25:12,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b61465b1-f5a8-4637-b1ec-7d883f3922e4 2025-08-25 14:25:12,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/091e52fa-2e92-4a8a-af2f-810a83cf8c9d 2025-08-25 14:25:16,177 - 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 1026ms') 2025-08-25 14:25:16,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63169998-91674822 failed! 2025-08-25 14:25:16,245 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63169998:ctest-vn-82824194 is 170.170.141.1 and allocation pool is NOT set 2025-08-25 14:25:18,311 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.507 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.507/1.761/3.016/1.254 ms') 2025-08-25 14:25:18,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63169998-91674822 passed 2025-08-25 14:25:18,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:25:18,465 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63169998-91674822, IP 170.170.141.3, Port 22 2025-08-25 14:25:18,638 - DEBUG - VM ctest-TestRoutersBasic-63169998-91674822 is ready for SSH connections 2025-08-25 14:25:18,638 - INFO - Waiting for VM ctest-TestRoutersBasic-63169998-50182199 to be up.. 2025-08-25 14:25:18,737 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:25:18,737 - INFO - VM name : ctest-TestRoutersBasic-63169998-50182199 2025-08-25 14:25:18,826 - DEBUG - VM ctest-TestRoutersBasic-63169998-50182199 ID is 2740eaab-ec61-4b2e-b411-b4292691ae76 2025-08-25 14:25:18,826 - DEBUG - VM ctest-TestRoutersBasic-63169998-50182199 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1 2025-08-25 14:25:18,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2740eaab-ec61-4b2e-b411-b4292691ae76 2025-08-25 14:25:18,914 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/056454e6-f8bd-4833-b3d8-87c2c3b48122 2025-08-25 14:25:20,161 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.688/2.941/1.252 ms') 2025-08-25 14:25:20,162 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63169998-50182199 passed 2025-08-25 14:25:20,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:25:20,317 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63169998-50182199, IP 188.238.211.195, Port 22 2025-08-25 14:25:20,472 - DEBUG - VM ctest-TestRoutersBasic-63169998-50182199 is ready for SSH connections 2025-08-25 14:25:20,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:25:20,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.238.211.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 14:25:20,472 - DEBUG - ping -s 56 -c 3 -W 1 188.238.211.195 2025-08-25 14:25:24,168 - DEBUG - PING 188.238.211.195 (188.238.211.195): 56 data bytes 64 bytes from 188.238.211.195: seq=0 ttl=62 time=6.920 ms 64 bytes from 188.238.211.195: seq=1 ttl=62 time=0.809 ms 64 bytes from 188.238.211.195: seq=2 ttl=62 time=0.879 ms --- 188.238.211.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/2.869/6.920 ms 2025-08-25 14:25:24,169 - INFO - Ping to IP 188.238.211.195 from VM ctest-TestRoutersBasic-63169998-91674822 passed 2025-08-25 14:25:24,169 - INFO - Deleting interface with subnet_id 00d0b786-f488-462c-9d1c-6795329d2e9c, port_id None from router 153313a4-40ef-4d80-be14-34e79197f536 2025-08-25 14:25:24,391 - INFO - Deleting VM ctest-TestRoutersBasic-63169998-50182199 2025-08-25 14:25:24,456 - INFO - Deleting VM ctest-TestRoutersBasic-63169998-91674822 2025-08-25 14:25:24,549 - INFO - Deleting VN ctest-ext_vn-19566146 2025-08-25 14:25:24,614 - DEBUG - VN a1ddf272-7197-472c-bccd-fb66dbe322ab still in use: Unable to complete operation on network a1ddf272-7197-472c-bccd-fb66dbe322ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92b54118-db7d-4bf9-ab9d-9b84335542d3'] 2025-08-25 14:25:24,614 - WARNING - Deleting VN ctest-ext_vn-19566146 failed..Will retry 2025-08-25 14:25:26,730 - DEBUG - Response for deleting network () 2025-08-25 14:25:26,730 - INFO - Deleting VN ctest-vn-82824194 2025-08-25 14:25:26,845 - DEBUG - Response for deleting network () 2025-08-25 14:25:27,102 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 14:25:27,102 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-25 14:25:27,102 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:25:27,861 - INFO - Deleted project: ctest-TestRoutersBasic-63169998, ID : 5359927f-4cfb-40b2-b499-f0d4824d19c3