2025-08-26 00:18:59,218 - INFO - Domain Default found not creating 2025-08-26 00:18:59,386 - INFO - Project ctest-TestRoutersBasic-68742701 not found, creating it 2025-08-26 00:18:59,882 - INFO - Created Project:ctest-TestRoutersBasic-68742701, ID : ebe418a9-7e3c-44a3-8afa-f0493db8f9b8 2025-08-26 00:19:01,383 - INFO - ================================================================================ 2025-08-26 00:19:01,384 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-26 00:19:01,384 - 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-26 00:19:01,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-08-26 00:19:01,642 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:19:01,642 - INFO - 2025-08-26 00:19:02,378 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68742701 2025-08-26 00:19:02,480 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68742701 2025-08-26 00:19:02,820 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68742701', 'default']} 2025-08-26 00:19:03,165 - DEBUG - Response for create_network : {'network': {'id': '813ebb7c-3cac-4732-9eff-2e77d8a779bf', 'name': 'ctest-vn-87458316', 'tenant_id': 'ebe418a97e3c44a38afaf0493db8f9b8', 'project_id': 'ebe418a97e3c44a38afaf0493db8f9b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68742701', 'ctest-vn-87458316'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:19:03,384 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6ebde30-a522-46c3-9464-bbad2985533b', 'name': '', 'tenant_id': 'ebe418a97e3c44a38afaf0493db8f9b8', 'network_id': '813ebb7c-3cac-4732-9eff-2e77d8a779bf', 'ip_version': 4, 'cidr': '203.211.136.0/26', 'allocation_pools': [{'start': '203.211.136.2', 'end': '203.211.136.62'}], 'gateway_ip': '203.211.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.211.136.2', 'tags': [], 'project_id': 'ebe418a97e3c44a38afaf0493db8f9b8'}} 2025-08-26 00:19:03,407 - INFO - Created VN ctest-vn-87458316 2025-08-26 00:19:03,463 - DEBUG - VN ctest-vn-87458316 UUID is 813ebb7c-3cac-4732-9eff-2e77d8a779bf 2025-08-26 00:19:03,822 - DEBUG - Response for create_network : {'network': {'id': '3495fc98-c53c-4de0-89fd-19636d3bc191', 'name': 'ctest-ext_vn-62210459', 'tenant_id': 'ebe418a97e3c44a38afaf0493db8f9b8', 'project_id': 'ebe418a97e3c44a38afaf0493db8f9b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68742701', 'ctest-ext_vn-62210459'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:19:04,012 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce26a5ea-b8c2-4017-8929-3422395432eb', 'name': '', 'tenant_id': 'ebe418a97e3c44a38afaf0493db8f9b8', 'network_id': '3495fc98-c53c-4de0-89fd-19636d3bc191', 'ip_version': 4, 'cidr': '139.219.213.192/26', 'allocation_pools': [{'start': '139.219.213.194', 'end': '139.219.213.254'}], 'gateway_ip': '139.219.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.219.213.194', 'tags': [], 'project_id': 'ebe418a97e3c44a38afaf0493db8f9b8'}} 2025-08-26 00:19:04,033 - INFO - Created VN ctest-ext_vn-62210459 2025-08-26 00:19:04,087 - DEBUG - VN ctest-ext_vn-62210459 UUID is 3495fc98-c53c-4de0-89fd-19636d3bc191 2025-08-26 00:19:04,285 - DEBUG - Services list from nova: [, , ] 2025-08-26 00:19:05,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1) 2025-08-26 00:19:06,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1) 2025-08-26 00:19:06,681 - INFO - Setting gateway for router 88186eb3-6a44-47da-bfe6-6b971ba107b5 to network 3495fc98-c53c-4de0-89fd-19636d3bc191 2025-08-26 00:19:06,787 - INFO - Adding interface with subnet_id c6ebde30-a522-46c3-9464-bbad2985533b, port_id None to router 88186eb3-6a44-47da-bfe6-6b971ba107b5 2025-08-26 00:19:07,418 - INFO - Waiting for VM ctest-TestRoutersBasic-68742701-24287827 to be up.. 2025-08-26 00:19:07,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:19:12,742 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:19:12,742 - INFO - VM name : ctest-TestRoutersBasic-68742701-24287827 2025-08-26 00:19:12,850 - DEBUG - VM ctest-TestRoutersBasic-68742701-24287827 ID is fc7b13a5-45f9-485c-98cb-9d769bb008df 2025-08-26 00:19:12,876 - DEBUG - VM ctest-TestRoutersBasic-68742701-24287827 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1 2025-08-26 00:19:12,978 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fc7b13a5-45f9-485c-98cb-9d769bb008df 2025-08-26 00:19:13,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fc7b13a5-45f9-485c-98cb-9d769bb008df 2025-08-26 00:19:13,343 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/25fb89ec-4eff-47ec-b0bc-3ee317541755 2025-08-26 00:19:16,630 - 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-26 00:19:16,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68742701-24287827 failed! 2025-08-26 00:19:16,693 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68742701:ctest-vn-87458316 is 203.211.136.1 and allocation pool is NOT set 2025-08-26 00:19:18,752 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.428 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.428/2.018/3.608/1.590 ms') 2025-08-26 00:19:18,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68742701-24287827 passed 2025-08-26 00:19:18,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:19:18,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68742701-24287827, IP 203.211.136.3, Port 22 2025-08-26 00:19:19,078 - DEBUG - VM ctest-TestRoutersBasic-68742701-24287827 is ready for SSH connections 2025-08-26 00:19:19,078 - INFO - Waiting for VM ctest-TestRoutersBasic-68742701-01008863 to be up.. 2025-08-26 00:19:19,203 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:19:19,203 - INFO - VM name : ctest-TestRoutersBasic-68742701-01008863 2025-08-26 00:19:19,304 - DEBUG - VM ctest-TestRoutersBasic-68742701-01008863 ID is 0e9f1632-f78d-46ee-a676-59f364c7322e 2025-08-26 00:19:19,305 - DEBUG - VM ctest-TestRoutersBasic-68742701-01008863 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1 2025-08-26 00:19:19,401 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0e9f1632-f78d-46ee-a676-59f364c7322e 2025-08-26 00:19:19,411 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b6007b79-0f07-45bf-9baa-161ddc62a587 2025-08-26 00:19:20,667 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.876 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.876/2.376/3.876/1.500 ms') 2025-08-26 00:19:20,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68742701-01008863 passed 2025-08-26 00:19:20,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:19:20,824 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68742701-01008863, IP 139.219.213.195, Port 22 2025-08-26 00:19:20,979 - DEBUG - VM ctest-TestRoutersBasic-68742701-01008863 is ready for SSH connections 2025-08-26 00:19:20,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:19:20,980 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.219.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-26 00:19:20,980 - DEBUG - ping -s 56 -c 3 -W 1 139.219.213.195 2025-08-26 00:19:24,703 - DEBUG - PING 139.219.213.195 (139.219.213.195): 56 data bytes 64 bytes from 139.219.213.195: seq=0 ttl=62 time=6.268 ms 64 bytes from 139.219.213.195: seq=1 ttl=62 time=1.229 ms 64 bytes from 139.219.213.195: seq=2 ttl=62 time=1.107 ms --- 139.219.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/2.868/6.268 ms 2025-08-26 00:19:24,703 - INFO - Ping to IP 139.219.213.195 from VM ctest-TestRoutersBasic-68742701-24287827 passed 2025-08-26 00:19:24,703 - INFO - Deleting interface with subnet_id c6ebde30-a522-46c3-9464-bbad2985533b, port_id None from router 88186eb3-6a44-47da-bfe6-6b971ba107b5 2025-08-26 00:19:24,993 - INFO - Deleting VM ctest-TestRoutersBasic-68742701-01008863 2025-08-26 00:19:25,083 - INFO - Deleting VM ctest-TestRoutersBasic-68742701-24287827 2025-08-26 00:19:25,171 - INFO - Deleting VN ctest-ext_vn-62210459 2025-08-26 00:19:25,285 - DEBUG - VN 3495fc98-c53c-4de0-89fd-19636d3bc191 still in use: Unable to complete operation on network 3495fc98-c53c-4de0-89fd-19636d3bc191. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bf33908-334e-46d2-8948-76f4db0b27b5'] 2025-08-26 00:19:25,285 - WARNING - Deleting VN ctest-ext_vn-62210459 failed..Will retry 2025-08-26 00:19:27,414 - DEBUG - Response for deleting network () 2025-08-26 00:19:27,414 - INFO - Deleting VN ctest-vn-87458316 2025-08-26 00:19:27,545 - DEBUG - Response for deleting network () 2025-08-26 00:19:27,810 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:19:27,810 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-26 00:19:27,810 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:19:28,520 - INFO - Deleted project: ctest-TestRoutersBasic-68742701, ID : ebe418a9-7e3c-44a3-8afa-f0493db8f9b8