2025-12-22 02:18:28,693 - INFO - Domain Default found not creating 2025-12-22 02:18:28,935 - INFO - Project ctest-TestRoutersBasic-57091756 not found, creating it 2025-12-22 02:18:29,420 - INFO - Created Project:ctest-TestRoutersBasic-57091756, ID : a42294c3-4d80-42c9-94a3-1978aabbe9c3 2025-12-22 02:18:31,001 - INFO - ================================================================================ 2025-12-22 02:18:31,001 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-22 02:18:31,001 - 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-12-22 02:18:31,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.242': '0'}} with 2025-12-22 02:18:31,268 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:18:31,268 - INFO - 2025-12-22 02:18:32,000 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57091756 2025-12-22 02:18:32,099 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57091756 2025-12-22 02:18:32,419 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57091756', 'default']} 2025-12-22 02:18:32,728 - DEBUG - Response for create_network : {'network': {'id': 'dbdff02a-03d6-4297-b344-386c1b7633aa', 'name': 'ctest-vn-61275584', 'tenant_id': 'a42294c34d8042c994a31978aabbe9c3', 'project_id': 'a42294c34d8042c994a31978aabbe9c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57091756', 'ctest-vn-61275584'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:18:32,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '76cc9919-0f05-424d-8c7b-da8863878cfe', 'name': '', 'tenant_id': 'a42294c34d8042c994a31978aabbe9c3', 'network_id': 'dbdff02a-03d6-4297-b344-386c1b7633aa', 'ip_version': 4, 'cidr': '135.47.98.0/26', 'allocation_pools': [{'start': '135.47.98.2', 'end': '135.47.98.62'}], 'gateway_ip': '135.47.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.47.98.2', 'tags': [], 'project_id': 'a42294c34d8042c994a31978aabbe9c3'}} 2025-12-22 02:18:32,913 - INFO - Created VN ctest-vn-61275584 2025-12-22 02:18:32,967 - DEBUG - VN ctest-vn-61275584 UUID is dbdff02a-03d6-4297-b344-386c1b7633aa 2025-12-22 02:18:33,275 - DEBUG - Response for create_network : {'network': {'id': '3332f931-c201-4a38-bd12-51742f86b8a4', 'name': 'ctest-ext_vn-79765560', 'tenant_id': 'a42294c34d8042c994a31978aabbe9c3', 'project_id': 'a42294c34d8042c994a31978aabbe9c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57091756', 'ctest-ext_vn-79765560'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:18:33,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '733caf71-f58a-4fa3-9839-f3f58141b2b5', 'name': '', 'tenant_id': 'a42294c34d8042c994a31978aabbe9c3', 'network_id': '3332f931-c201-4a38-bd12-51742f86b8a4', 'ip_version': 4, 'cidr': '199.92.52.128/26', 'allocation_pools': [{'start': '199.92.52.130', 'end': '199.92.52.190'}], 'gateway_ip': '199.92.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.92.52.130', 'tags': [], 'project_id': 'a42294c34d8042c994a31978aabbe9c3'}} 2025-12-22 02:18:33,481 - INFO - Created VN ctest-ext_vn-79765560 2025-12-22 02:18:33,535 - DEBUG - VN ctest-ext_vn-79765560 UUID is 3332f931-c201-4a38-bd12-51742f86b8a4 2025-12-22 02:18:33,705 - DEBUG - Services list from nova: [, , ] 2025-12-22 02:18:34,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4915-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4915-1) 2025-12-22 02:18:35,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4915-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4915-1) 2025-12-22 02:18:36,062 - INFO - Setting gateway for router 85fec2a2-74c4-4c34-af13-f22c5ac65d20 to network 3332f931-c201-4a38-bd12-51742f86b8a4 2025-12-22 02:18:36,125 - INFO - Adding interface with subnet_id 76cc9919-0f05-424d-8c7b-da8863878cfe, port_id None to router 85fec2a2-74c4-4c34-af13-f22c5ac65d20 2025-12-22 02:18:36,493 - INFO - Waiting for VM ctest-TestRoutersBasic-57091756-88485682 to be up.. 2025-12-22 02:18:36,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:18:41,733 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:18:41,733 - INFO - VM name : ctest-TestRoutersBasic-57091756-88485682 2025-12-22 02:18:41,812 - DEBUG - VM ctest-TestRoutersBasic-57091756-88485682 ID is 8d3a8ef8-3bc0-4c72-94ff-0d343f586723 2025-12-22 02:18:41,832 - DEBUG - VM ctest-TestRoutersBasic-57091756-88485682 launched on Node cn-jenkins-deploy-platform-ansible-os-4915-1 2025-12-22 02:18:41,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d3a8ef8-3bc0-4c72-94ff-0d343f586723 2025-12-22 02:18:42,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d3a8ef8-3bc0-4c72-94ff-0d343f586723 2025-12-22 02:18:42,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ef5afc2f-bce3-4d49-bfeb-1e12a2401c7b 2025-12-22 02:18:45,514 - 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 1000ms') 2025-12-22 02:18:45,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57091756-88485682 failed! 2025-12-22 02:18:45,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57091756:ctest-vn-61275584 is 135.47.98.1 and allocation pool is NOT set 2025-12-22 02:18:47,632 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.39 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 = 2.386/3.653/4.921/1.267 ms') 2025-12-22 02:18:47,632 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57091756-88485682 passed 2025-12-22 02:18:47,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:18:47,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57091756-88485682, IP 135.47.98.3, Port 22 2025-12-22 02:18:47,945 - DEBUG - VM ctest-TestRoutersBasic-57091756-88485682 is ready for SSH connections 2025-12-22 02:18:47,945 - INFO - Waiting for VM ctest-TestRoutersBasic-57091756-54037890 to be up.. 2025-12-22 02:18:48,031 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:18:48,031 - INFO - VM name : ctest-TestRoutersBasic-57091756-54037890 2025-12-22 02:18:48,124 - DEBUG - VM ctest-TestRoutersBasic-57091756-54037890 ID is 6c9715f5-4ae5-4c60-83f2-079e38b17b17 2025-12-22 02:18:48,125 - DEBUG - VM ctest-TestRoutersBasic-57091756-54037890 launched on Node cn-jenkins-deploy-platform-ansible-os-4915-1 2025-12-22 02:18:48,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c9715f5-4ae5-4c60-83f2-079e38b17b17 2025-12-22 02:18:48,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d897a2e-0e8c-4b70-a667-611be4a161de 2025-12-22 02:18:49,459 - 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=4.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.457/2.335/4.214/1.878 ms') 2025-12-22 02:18:49,459 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57091756-54037890 passed 2025-12-22 02:18:49,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:18:49,611 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57091756-54037890, IP 199.92.52.131, Port 22 2025-12-22 02:18:49,767 - DEBUG - VM ctest-TestRoutersBasic-57091756-54037890 is ready for SSH connections 2025-12-22 02:18:49,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:18:49,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.92.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-22 02:18:49,767 - DEBUG - ping -s 56 -c 3 -W 1 199.92.52.131 2025-12-22 02:18:53,488 - DEBUG - PING 199.92.52.131 (199.92.52.131): 56 data bytes 64 bytes from 199.92.52.131: seq=0 ttl=62 time=7.088 ms 64 bytes from 199.92.52.131: seq=1 ttl=62 time=1.108 ms 64 bytes from 199.92.52.131: seq=2 ttl=62 time=1.032 ms --- 199.92.52.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/3.076/7.088 ms 2025-12-22 02:18:53,489 - INFO - Ping to IP 199.92.52.131 from VM ctest-TestRoutersBasic-57091756-88485682 passed 2025-12-22 02:18:53,489 - INFO - Deleting interface with subnet_id 76cc9919-0f05-424d-8c7b-da8863878cfe, port_id None from router 85fec2a2-74c4-4c34-af13-f22c5ac65d20 2025-12-22 02:18:53,676 - INFO - Deleting VM ctest-TestRoutersBasic-57091756-54037890 2025-12-22 02:18:53,756 - INFO - Deleting VM ctest-TestRoutersBasic-57091756-88485682 2025-12-22 02:18:53,840 - INFO - Deleting VN ctest-ext_vn-79765560 2025-12-22 02:18:53,906 - DEBUG - VN 3332f931-c201-4a38-bd12-51742f86b8a4 still in use: Unable to complete operation on network 3332f931-c201-4a38-bd12-51742f86b8a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e12a40b0-ddc1-4a3f-ac94-9f37e1a78741'] 2025-12-22 02:18:53,906 - WARNING - Deleting VN ctest-ext_vn-79765560 failed..Will retry 2025-12-22 02:18:56,034 - DEBUG - Response for deleting network () 2025-12-22 02:18:56,034 - INFO - Deleting VN ctest-vn-61275584 2025-12-22 02:18:56,157 - DEBUG - Response for deleting network () 2025-12-22 02:18:56,416 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:18:56,416 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-22 02:18:56,416 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:18:57,112 - INFO - Deleted project: ctest-TestRoutersBasic-57091756, ID : a42294c3-4d80-42c9-94a3-1978aabbe9c3