2025-08-13 20:08:26,778 - INFO - Domain Default found not creating 2025-08-13 20:08:26,900 - INFO - Project ctest-TestRoutersBasic-29842910 not found, creating it 2025-08-13 20:08:27,323 - INFO - Created Project:ctest-TestRoutersBasic-29842910, ID : 5baea1ad-58bf-431c-b1fc-1248eaa187cd 2025-08-13 20:08:28,663 - INFO - ================================================================================ 2025-08-13 20:08:28,664 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-13 20:08:28,664 - 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-13 20:08:28,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 20:08:28,913 - INFO - Initial checks done. Running the testcase now 2025-08-13 20:08:28,913 - INFO - 2025-08-13 20:08:29,593 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29842910 2025-08-13 20:08:29,688 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29842910 2025-08-13 20:08:30,015 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29842910', 'default']} 2025-08-13 20:08:30,292 - DEBUG - Response for create_network : {'network': {'id': '488b594c-6129-4552-a42b-501171f25400', 'name': 'ctest-vn-36592391', 'tenant_id': '5baea1ad58bf431cb1fc1248eaa187cd', 'project_id': '5baea1ad58bf431cb1fc1248eaa187cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29842910', 'ctest-vn-36592391'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:08:30,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '727b7900-7e03-4730-8ae9-4ff3e257b407', 'name': '', 'tenant_id': '5baea1ad58bf431cb1fc1248eaa187cd', 'network_id': '488b594c-6129-4552-a42b-501171f25400', 'ip_version': 4, 'cidr': '15.228.108.128/26', 'allocation_pools': [{'start': '15.228.108.130', 'end': '15.228.108.190'}], 'gateway_ip': '15.228.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.228.108.130', 'tags': [], 'project_id': '5baea1ad58bf431cb1fc1248eaa187cd'}} 2025-08-13 20:08:30,520 - INFO - Created VN ctest-vn-36592391 2025-08-13 20:08:30,572 - DEBUG - VN ctest-vn-36592391 UUID is 488b594c-6129-4552-a42b-501171f25400 2025-08-13 20:08:30,913 - DEBUG - Response for create_network : {'network': {'id': '7bdcb69f-09fe-42b3-a188-acdcc0b5ff12', 'name': 'ctest-ext_vn-39649375', 'tenant_id': '5baea1ad58bf431cb1fc1248eaa187cd', 'project_id': '5baea1ad58bf431cb1fc1248eaa187cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29842910', 'ctest-ext_vn-39649375'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:08:31,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '5619b761-f059-4369-b2bd-39d849003f58', 'name': '', 'tenant_id': '5baea1ad58bf431cb1fc1248eaa187cd', 'network_id': '7bdcb69f-09fe-42b3-a188-acdcc0b5ff12', 'ip_version': 4, 'cidr': '163.101.229.192/26', 'allocation_pools': [{'start': '163.101.229.194', 'end': '163.101.229.254'}], 'gateway_ip': '163.101.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.101.229.194', 'tags': [], 'project_id': '5baea1ad58bf431cb1fc1248eaa187cd'}} 2025-08-13 20:08:31,079 - INFO - Created VN ctest-ext_vn-39649375 2025-08-13 20:08:31,131 - DEBUG - VN ctest-ext_vn-39649375 UUID is 7bdcb69f-09fe-42b3-a188-acdcc0b5ff12 2025-08-13 20:08:31,328 - DEBUG - Services list from nova: [, , ] 2025-08-13 20:08:32,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:08:33,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:08:33,453 - INFO - Setting gateway for router 59351c04-77ae-43bb-99eb-34d9d8fcde3c to network 7bdcb69f-09fe-42b3-a188-acdcc0b5ff12 2025-08-13 20:08:33,512 - INFO - Adding interface with subnet_id 727b7900-7e03-4730-8ae9-4ff3e257b407, port_id None to router 59351c04-77ae-43bb-99eb-34d9d8fcde3c 2025-08-13 20:08:33,806 - INFO - Waiting for VM ctest-TestRoutersBasic-29842910-23974921 to be up.. 2025-08-13 20:08:33,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 20:08:38,991 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:08:38,991 - INFO - VM name : ctest-TestRoutersBasic-29842910-23974921 2025-08-13 20:08:39,057 - DEBUG - VM ctest-TestRoutersBasic-29842910-23974921 ID is 27a96629-a099-4eb4-a499-d826a21192f9 2025-08-13 20:08:39,075 - DEBUG - VM ctest-TestRoutersBasic-29842910-23974921 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:08:39,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27a96629-a099-4eb4-a499-d826a21192f9 2025-08-13 20:08:39,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27a96629-a099-4eb4-a499-d826a21192f9 2025-08-13 20:08:39,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/541dfdbc-3bab-4a5d-a2d1-03bc588f8f55 2025-08-13 20:08:42,721 - 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 1010ms') 2025-08-13 20:08:42,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29842910-23974921 failed! 2025-08-13 20:08:42,776 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29842910:ctest-vn-36592391 is 15.228.108.129 and allocation pool is NOT set 2025-08-13 20:08:44,837 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.319 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 = 0.319/1.555/2.791/1.236 ms') 2025-08-13 20:08:44,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29842910-23974921 passed 2025-08-13 20:08:44,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:44,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29842910-23974921, IP 15.228.108.131, Port 22 2025-08-13 20:08:45,142 - DEBUG - VM ctest-TestRoutersBasic-29842910-23974921 is ready for SSH connections 2025-08-13 20:08:45,142 - INFO - Waiting for VM ctest-TestRoutersBasic-29842910-91030067 to be up.. 2025-08-13 20:08:45,209 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:08:45,209 - INFO - VM name : ctest-TestRoutersBasic-29842910-91030067 2025-08-13 20:08:45,273 - DEBUG - VM ctest-TestRoutersBasic-29842910-91030067 ID is 7893970b-cafa-4449-b529-8ca80c46b71a 2025-08-13 20:08:45,273 - DEBUG - VM ctest-TestRoutersBasic-29842910-91030067 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:08:45,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7893970b-cafa-4449-b529-8ca80c46b71a 2025-08-13 20:08:45,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b265678b-0f63-4dd8-8581-173b9e2844cd 2025-08-13 20:08:46,580 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.607/2.840/1.233 ms') 2025-08-13 20:08:46,580 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29842910-91030067 passed 2025-08-13 20:08:46,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:46,732 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29842910-91030067, IP 163.101.229.195, Port 22 2025-08-13 20:08:46,887 - DEBUG - VM ctest-TestRoutersBasic-29842910-91030067 is ready for SSH connections 2025-08-13 20:08:46,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:46,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.101.229.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:08:46,887 - DEBUG - ping -s 56 -c 3 -W 1 163.101.229.195 2025-08-13 20:08:50,544 - DEBUG - PING 163.101.229.195 (163.101.229.195): 56 data bytes 64 bytes from 163.101.229.195: seq=0 ttl=62 time=6.668 ms 64 bytes from 163.101.229.195: seq=1 ttl=62 time=0.877 ms 64 bytes from 163.101.229.195: seq=2 ttl=62 time=0.993 ms --- 163.101.229.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/2.846/6.668 ms 2025-08-13 20:08:50,544 - INFO - Ping to IP 163.101.229.195 from VM ctest-TestRoutersBasic-29842910-23974921 passed 2025-08-13 20:08:50,544 - INFO - Deleting interface with subnet_id 727b7900-7e03-4730-8ae9-4ff3e257b407, port_id None from router 59351c04-77ae-43bb-99eb-34d9d8fcde3c 2025-08-13 20:08:50,746 - INFO - Deleting VM ctest-TestRoutersBasic-29842910-91030067 2025-08-13 20:08:50,813 - INFO - Deleting VM ctest-TestRoutersBasic-29842910-23974921 2025-08-13 20:08:50,896 - INFO - Deleting VN ctest-ext_vn-39649375 2025-08-13 20:08:50,963 - DEBUG - VN 7bdcb69f-09fe-42b3-a188-acdcc0b5ff12 still in use: Unable to complete operation on network 7bdcb69f-09fe-42b3-a188-acdcc0b5ff12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b9369a0-056d-4d3d-91b1-3d00da8469c3'] 2025-08-13 20:08:50,963 - WARNING - Deleting VN ctest-ext_vn-39649375 failed..Will retry 2025-08-13 20:08:53,063 - DEBUG - Response for deleting network () 2025-08-13 20:08:53,063 - INFO - Deleting VN ctest-vn-36592391 2025-08-13 20:08:53,176 - DEBUG - Response for deleting network () 2025-08-13 20:08:53,442 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 20:08:53,442 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-13 20:08:53,442 - INFO - -------------------------------------------------------------------------------- 2025-08-13 20:08:54,105 - INFO - Deleted project: ctest-TestRoutersBasic-29842910, ID : 5baea1ad-58bf-431c-b1fc-1248eaa187cd