2025-07-17 17:12:15,781 - INFO - Domain Default found not creating 2025-07-17 17:12:16,186 - INFO - Project ctest-TestRoutersBasic-71658796 not found, creating it 2025-07-17 17:12:16,887 - INFO - Created Project:ctest-TestRoutersBasic-71658796, ID : 3080a667-0a25-446d-96a8-d98f8027eaf3 2025-07-17 17:12:19,267 - INFO - ================================================================================ 2025-07-17 17:12:19,267 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-17 17:12:19,268 - 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-07-17 17:12:19,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-07-17 17:12:19,537 - INFO - Initial checks done. Running the testcase now 2025-07-17 17:12:19,537 - INFO - 2025-07-17 17:12:20,344 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71658796 2025-07-17 17:12:20,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71658796 2025-07-17 17:12:20,922 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71658796', 'default']} 2025-07-17 17:12:21,353 - DEBUG - Response for create_network : {'network': {'id': '710aef9f-ceb4-469c-b790-e0a5193d475e', 'name': 'ctest-vn-37759969', 'tenant_id': '3080a6670a25446d96a8d98f8027eaf3', 'project_id': '3080a6670a25446d96a8d98f8027eaf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71658796', 'ctest-vn-37759969'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 17:12:21,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a1bcbd8-4199-4c29-9c93-1a80dfa18c02', 'name': '', 'tenant_id': '3080a6670a25446d96a8d98f8027eaf3', 'network_id': '710aef9f-ceb4-469c-b790-e0a5193d475e', 'ip_version': 4, 'cidr': '106.227.154.64/26', 'allocation_pools': [{'start': '106.227.154.66', 'end': '106.227.154.126'}], 'gateway_ip': '106.227.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.227.154.66', 'tags': [], 'project_id': '3080a6670a25446d96a8d98f8027eaf3'}} 2025-07-17 17:12:21,609 - INFO - Created VN ctest-vn-37759969 2025-07-17 17:12:21,671 - DEBUG - VN ctest-vn-37759969 UUID is 710aef9f-ceb4-469c-b790-e0a5193d475e 2025-07-17 17:12:22,231 - DEBUG - Response for create_network : {'network': {'id': '610c3692-79b1-4b33-b204-b2bc40263c43', 'name': 'ctest-ext_vn-24776166', 'tenant_id': '3080a6670a25446d96a8d98f8027eaf3', 'project_id': '3080a6670a25446d96a8d98f8027eaf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71658796', 'ctest-ext_vn-24776166'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 17:12:22,473 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd1c2e65-8910-40c4-b109-b57419034969', 'name': '', 'tenant_id': '3080a6670a25446d96a8d98f8027eaf3', 'network_id': '610c3692-79b1-4b33-b204-b2bc40263c43', 'ip_version': 4, 'cidr': '20.32.182.192/26', 'allocation_pools': [{'start': '20.32.182.194', 'end': '20.32.182.254'}], 'gateway_ip': '20.32.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.32.182.194', 'tags': [], 'project_id': '3080a6670a25446d96a8d98f8027eaf3'}} 2025-07-17 17:12:22,502 - INFO - Created VN ctest-ext_vn-24776166 2025-07-17 17:12:22,558 - DEBUG - VN ctest-ext_vn-24776166 UUID is 610c3692-79b1-4b33-b204-b2bc40263c43 2025-07-17 17:12:22,793 - DEBUG - Services list from nova: [, , ] 2025-07-17 17:12:24,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3660-1) 2025-07-17 17:12:25,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3660-1) 2025-07-17 17:12:25,583 - INFO - Setting gateway for router bfc5d756-3716-4613-acb3-2f87fd75f159 to network 610c3692-79b1-4b33-b204-b2bc40263c43 2025-07-17 17:12:25,655 - INFO - Adding interface with subnet_id 2a1bcbd8-4199-4c29-9c93-1a80dfa18c02, port_id None to router bfc5d756-3716-4613-acb3-2f87fd75f159 2025-07-17 17:12:26,143 - INFO - Waiting for VM ctest-TestRoutersBasic-71658796-14117246 to be up.. 2025-07-17 17:12:26,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 17:12:31,444 - DEBUG - VM is in ACTIVE state now 2025-07-17 17:12:31,445 - INFO - VM name : ctest-TestRoutersBasic-71658796-14117246 2025-07-17 17:12:31,574 - DEBUG - VM ctest-TestRoutersBasic-71658796-14117246 ID is 2092195b-a7e9-469e-a974-ae46c38a2305 2025-07-17 17:12:31,607 - DEBUG - VM ctest-TestRoutersBasic-71658796-14117246 launched on Node cn-jenkins-deploy-platform-ansible-os-3660-1 2025-07-17 17:12:31,781 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2092195b-a7e9-469e-a974-ae46c38a2305 2025-07-17 17:12:32,103 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2092195b-a7e9-469e-a974-ae46c38a2305 2025-07-17 17:12:32,152 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a7325e0d-c7e2-475e-aea1-5044ae64ea8f 2025-07-17 17:12:35,472 - 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') 2025-07-17 17:12:35,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71658796-14117246 failed! 2025-07-17 17:12:35,538 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71658796:ctest-vn-37759969 is 106.227.154.65 and allocation pool is NOT set 2025-07-17 17:12:37,613 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.316/4.543/4.771/0.227 ms') 2025-07-17 17:12:37,613 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71658796-14117246 passed 2025-07-17 17:12:37,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:12:37,790 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71658796-14117246, IP 106.227.154.67, Port 22 2025-07-17 17:12:37,960 - DEBUG - VM ctest-TestRoutersBasic-71658796-14117246 is ready for SSH connections 2025-07-17 17:12:37,960 - INFO - Waiting for VM ctest-TestRoutersBasic-71658796-83039002 to be up.. 2025-07-17 17:12:38,076 - DEBUG - VM is in ACTIVE state now 2025-07-17 17:12:38,076 - INFO - VM name : ctest-TestRoutersBasic-71658796-83039002 2025-07-17 17:12:38,208 - DEBUG - VM ctest-TestRoutersBasic-71658796-83039002 ID is dd593f4e-10c6-40a4-b160-78dde4baacc1 2025-07-17 17:12:38,208 - DEBUG - VM ctest-TestRoutersBasic-71658796-83039002 launched on Node cn-jenkins-deploy-platform-ansible-os-3660-1 2025-07-17 17:12:38,363 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/dd593f4e-10c6-40a4-b160-78dde4baacc1 2025-07-17 17:12:38,381 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/62cceae5-ab99-4ec1-bd21-e6ce3a0c06bc 2025-07-17 17:12:39,711 - 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=8.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.568 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.568/4.714/8.861/4.146 ms') 2025-07-17 17:12:39,711 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71658796-83039002 passed 2025-07-17 17:12:39,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:12:39,886 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71658796-83039002, IP 20.32.182.195, Port 22 2025-07-17 17:12:40,067 - DEBUG - VM ctest-TestRoutersBasic-71658796-83039002 is ready for SSH connections 2025-07-17 17:12:40,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:12:40,068 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.32.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-17 17:12:40,068 - DEBUG - ping -s 56 -c 3 -W 1 20.32.182.195 2025-07-17 17:12:44,320 - DEBUG - PING 20.32.182.195 (20.32.182.195): 56 data bytes 64 bytes from 20.32.182.195: seq=0 ttl=62 time=6.356 ms 64 bytes from 20.32.182.195: seq=1 ttl=62 time=1.100 ms 64 bytes from 20.32.182.195: seq=2 ttl=62 time=2.123 ms --- 20.32.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.100/3.193/6.356 ms 2025-07-17 17:12:44,320 - INFO - Ping to IP 20.32.182.195 from VM ctest-TestRoutersBasic-71658796-14117246 passed 2025-07-17 17:12:44,320 - INFO - Deleting interface with subnet_id 2a1bcbd8-4199-4c29-9c93-1a80dfa18c02, port_id None from router bfc5d756-3716-4613-acb3-2f87fd75f159 2025-07-17 17:12:44,677 - INFO - Deleting VM ctest-TestRoutersBasic-71658796-83039002 2025-07-17 17:12:44,760 - INFO - Deleting VM ctest-TestRoutersBasic-71658796-14117246 2025-07-17 17:12:44,843 - INFO - Deleting VN ctest-ext_vn-24776166 2025-07-17 17:12:44,919 - DEBUG - VN 610c3692-79b1-4b33-b204-b2bc40263c43 still in use: Unable to complete operation on network 610c3692-79b1-4b33-b204-b2bc40263c43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ce39b1ae-6abe-44aa-944f-6143e102ed4f'] 2025-07-17 17:12:44,919 - WARNING - Deleting VN ctest-ext_vn-24776166 failed..Will retry 2025-07-17 17:12:47,190 - DEBUG - Response for deleting network () 2025-07-17 17:12:47,191 - INFO - Deleting VN ctest-vn-37759969 2025-07-17 17:12:47,370 - DEBUG - Response for deleting network () 2025-07-17 17:12:47,670 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 17:12:47,671 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-07-17 17:12:47,671 - INFO - -------------------------------------------------------------------------------- 2025-07-17 17:12:48,592 - INFO - Deleted project: ctest-TestRoutersBasic-71658796, ID : 3080a667-0a25-446d-96a8-d98f8027eaf3