2025-11-05 15:28:47,327 - INFO - Domain Default found not creating 2025-11-05 15:28:47,459 - INFO - Project ctest-TestRoutersBasic-91936235 not found, creating it 2025-11-05 15:28:47,899 - INFO - Created Project:ctest-TestRoutersBasic-91936235, ID : a0baf0b0-df31-4ffc-90e5-98f0fb11cc21 2025-11-05 15:28:49,260 - INFO - ================================================================================ 2025-11-05 15:28:49,260 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 15:28:49,260 - 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-11-05 15:28:49,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 15:28:49,515 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:28:49,515 - INFO - 2025-11-05 15:28:50,208 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91936235 2025-11-05 15:28:50,304 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91936235 2025-11-05 15:28:50,628 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91936235', 'default']} 2025-11-05 15:28:50,890 - DEBUG - Response for create_network : {'network': {'id': '83678f69-153a-4e5d-9958-684fa8a830cf', 'name': 'ctest-vn-61928821', 'tenant_id': 'a0baf0b0df314ffc90e598f0fb11cc21', 'project_id': 'a0baf0b0df314ffc90e598f0fb11cc21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91936235', 'ctest-vn-61928821'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:28:51,059 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da47a745-7254-49c8-87cc-71a66f1ddf25', 'name': '', 'tenant_id': 'a0baf0b0df314ffc90e598f0fb11cc21', 'network_id': '83678f69-153a-4e5d-9958-684fa8a830cf', 'ip_version': 4, 'cidr': '162.251.41.0/26', 'allocation_pools': [{'start': '162.251.41.2', 'end': '162.251.41.62'}], 'gateway_ip': '162.251.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.251.41.2', 'tags': [], 'project_id': 'a0baf0b0df314ffc90e598f0fb11cc21'}} 2025-11-05 15:28:51,073 - INFO - Created VN ctest-vn-61928821 2025-11-05 15:28:51,124 - DEBUG - VN ctest-vn-61928821 UUID is 83678f69-153a-4e5d-9958-684fa8a830cf 2025-11-05 15:28:51,475 - DEBUG - Response for create_network : {'network': {'id': '62202a53-1b51-43c3-8c3a-99fa009642a1', 'name': 'ctest-ext_vn-39586397', 'tenant_id': 'a0baf0b0df314ffc90e598f0fb11cc21', 'project_id': 'a0baf0b0df314ffc90e598f0fb11cc21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91936235', 'ctest-ext_vn-39586397'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:28:51,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e7d3e95-deb6-4391-9eef-9db0cfc7390b', 'name': '', 'tenant_id': 'a0baf0b0df314ffc90e598f0fb11cc21', 'network_id': '62202a53-1b51-43c3-8c3a-99fa009642a1', 'ip_version': 4, 'cidr': '192.250.28.192/26', 'allocation_pools': [{'start': '192.250.28.194', 'end': '192.250.28.254'}], 'gateway_ip': '192.250.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.250.28.194', 'tags': [], 'project_id': 'a0baf0b0df314ffc90e598f0fb11cc21'}} 2025-11-05 15:28:51,702 - INFO - Created VN ctest-ext_vn-39586397 2025-11-05 15:28:51,752 - DEBUG - VN ctest-ext_vn-39586397 UUID is 62202a53-1b51-43c3-8c3a-99fa009642a1 2025-11-05 15:28:51,936 - DEBUG - Services list from nova: [, , ] 2025-11-05 15:28:52,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4644-1) 2025-11-05 15:28:53,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4644-1) 2025-11-05 15:28:54,019 - INFO - Setting gateway for router f871e31c-2b2d-4895-a432-aa9cd5695c1e to network 62202a53-1b51-43c3-8c3a-99fa009642a1 2025-11-05 15:28:54,084 - INFO - Adding interface with subnet_id da47a745-7254-49c8-87cc-71a66f1ddf25, port_id None to router f871e31c-2b2d-4895-a432-aa9cd5695c1e 2025-11-05 15:28:54,422 - INFO - Waiting for VM ctest-TestRoutersBasic-91936235-58313015 to be up.. 2025-11-05 15:28:54,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 15:28:59,642 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:28:59,642 - INFO - VM name : ctest-TestRoutersBasic-91936235-58313015 2025-11-05 15:28:59,715 - DEBUG - VM ctest-TestRoutersBasic-91936235-58313015 ID is 53b97d27-d091-49dd-ac45-67972a8ef1f0 2025-11-05 15:28:59,735 - DEBUG - VM ctest-TestRoutersBasic-91936235-58313015 launched on Node cn-jenkins-deploy-platform-ansible-os-4644-1 2025-11-05 15:28:59,814 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53b97d27-d091-49dd-ac45-67972a8ef1f0 2025-11-05 15:29:00,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53b97d27-d091-49dd-ac45-67972a8ef1f0 2025-11-05 15:29:00,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9375a445-b804-49a7-8a70-5886b1b8f707 2025-11-05 15:29:03,413 - 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 1035ms') 2025-11-05 15:29:03,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91936235-58313015 failed! 2025-11-05 15:29:03,468 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91936235:ctest-vn-61928821 is 162.251.41.1 and allocation pool is NOT set 2025-11-05 15:29:05,531 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.365 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.365/1.572/2.779/1.207 ms') 2025-11-05 15:29:05,531 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91936235-58313015 passed 2025-11-05 15:29:05,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:05,680 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91936235-58313015, IP 162.251.41.3, Port 22 2025-11-05 15:29:05,831 - DEBUG - VM ctest-TestRoutersBasic-91936235-58313015 is ready for SSH connections 2025-11-05 15:29:05,831 - INFO - Waiting for VM ctest-TestRoutersBasic-91936235-77070502 to be up.. 2025-11-05 15:29:05,898 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:29:05,898 - INFO - VM name : ctest-TestRoutersBasic-91936235-77070502 2025-11-05 15:29:05,962 - DEBUG - VM ctest-TestRoutersBasic-91936235-77070502 ID is a7d3505a-2507-433e-b935-216cbd02e169 2025-11-05 15:29:05,962 - DEBUG - VM ctest-TestRoutersBasic-91936235-77070502 launched on Node cn-jenkins-deploy-platform-ansible-os-4644-1 2025-11-05 15:29:06,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a7d3505a-2507-433e-b935-216cbd02e169 2025-11-05 15:29:06,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ec3b6c3b-a1ae-41db-ab4b-745f9b60af74 2025-11-05 15:29:07,271 - 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.434 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.434/1.638/2.843/1.204 ms') 2025-11-05 15:29:07,272 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91936235-77070502 passed 2025-11-05 15:29:07,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:07,420 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91936235-77070502, IP 192.250.28.195, Port 22 2025-11-05 15:29:07,576 - DEBUG - VM ctest-TestRoutersBasic-91936235-77070502 is ready for SSH connections 2025-11-05 15:29:07,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:07,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.250.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 15:29:07,578 - DEBUG - ping -s 56 -c 3 -W 1 192.250.28.195 2025-11-05 15:29:11,255 - DEBUG - PING 192.250.28.195 (192.250.28.195): 56 data bytes 64 bytes from 192.250.28.195: seq=0 ttl=62 time=5.656 ms 64 bytes from 192.250.28.195: seq=1 ttl=62 time=0.776 ms 64 bytes from 192.250.28.195: seq=2 ttl=62 time=0.725 ms --- 192.250.28.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.385/5.656 ms 2025-11-05 15:29:11,255 - INFO - Ping to IP 192.250.28.195 from VM ctest-TestRoutersBasic-91936235-58313015 passed 2025-11-05 15:29:11,255 - INFO - Deleting interface with subnet_id da47a745-7254-49c8-87cc-71a66f1ddf25, port_id None from router f871e31c-2b2d-4895-a432-aa9cd5695c1e 2025-11-05 15:29:11,403 - INFO - Deleting VM ctest-TestRoutersBasic-91936235-77070502 2025-11-05 15:29:11,460 - INFO - Deleting VM ctest-TestRoutersBasic-91936235-58313015 2025-11-05 15:29:11,520 - INFO - Deleting VN ctest-ext_vn-39586397 2025-11-05 15:29:11,587 - DEBUG - VN 62202a53-1b51-43c3-8c3a-99fa009642a1 still in use: Unable to complete operation on network 62202a53-1b51-43c3-8c3a-99fa009642a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cfbd5522-7fa2-47b0-a9ac-833d6b294ea2'] 2025-11-05 15:29:11,587 - WARNING - Deleting VN ctest-ext_vn-39586397 failed..Will retry 2025-11-05 15:29:13,683 - DEBUG - Response for deleting network () 2025-11-05 15:29:13,683 - INFO - Deleting VN ctest-vn-61928821 2025-11-05 15:29:13,776 - DEBUG - Response for deleting network () 2025-11-05 15:29:14,031 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 15:29:14,031 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-05 15:29:14,031 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:29:14,666 - INFO - Deleted project: ctest-TestRoutersBasic-91936235, ID : a0baf0b0-df31-4ffc-90e5-98f0fb11cc21