2025-12-08 02:13:08,696 - INFO - Domain Default found not creating 2025-12-08 02:13:08,852 - INFO - Project ctest-TestRoutersBasic-74472445 not found, creating it 2025-12-08 02:13:09,302 - INFO - Created Project:ctest-TestRoutersBasic-74472445, ID : faf412fe-5acf-42af-9026-ea04adc7d6f5 2025-12-08 02:13:10,749 - INFO - ================================================================================ 2025-12-08 02:13:10,749 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 02:13:10,749 - 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-08 02:13:11,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.241': '0'}} with 2025-12-08 02:13:11,004 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:13:11,004 - INFO - 2025-12-08 02:13:11,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74472445 2025-12-08 02:13:11,807 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74472445 2025-12-08 02:13:12,123 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74472445', 'default']} 2025-12-08 02:13:12,407 - DEBUG - Response for create_network : {'network': {'id': '7848eb63-b4c5-432a-ba72-04670278aefa', 'name': 'ctest-vn-37528849', 'tenant_id': 'faf412fe5acf42af9026ea04adc7d6f5', 'project_id': 'faf412fe5acf42af9026ea04adc7d6f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74472445', 'ctest-vn-37528849'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:13:12,580 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfa638b4-326b-4d09-9579-ebc1bb3a37c5', 'name': '', 'tenant_id': 'faf412fe5acf42af9026ea04adc7d6f5', 'network_id': '7848eb63-b4c5-432a-ba72-04670278aefa', 'ip_version': 4, 'cidr': '216.188.132.128/26', 'allocation_pools': [{'start': '216.188.132.130', 'end': '216.188.132.190'}], 'gateway_ip': '216.188.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.188.132.130', 'tags': [], 'project_id': 'faf412fe5acf42af9026ea04adc7d6f5'}} 2025-12-08 02:13:12,597 - INFO - Created VN ctest-vn-37528849 2025-12-08 02:13:12,647 - DEBUG - VN ctest-vn-37528849 UUID is 7848eb63-b4c5-432a-ba72-04670278aefa 2025-12-08 02:13:12,978 - DEBUG - Response for create_network : {'network': {'id': '01d88da3-03ca-4954-bede-ea035f8c9a55', 'name': 'ctest-ext_vn-41616295', 'tenant_id': 'faf412fe5acf42af9026ea04adc7d6f5', 'project_id': 'faf412fe5acf42af9026ea04adc7d6f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74472445', 'ctest-ext_vn-41616295'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:13:13,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '87477a0d-d11d-4740-925c-5520930ac6a3', 'name': '', 'tenant_id': 'faf412fe5acf42af9026ea04adc7d6f5', 'network_id': '01d88da3-03ca-4954-bede-ea035f8c9a55', 'ip_version': 4, 'cidr': '103.138.68.128/26', 'allocation_pools': [{'start': '103.138.68.130', 'end': '103.138.68.190'}], 'gateway_ip': '103.138.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.138.68.130', 'tags': [], 'project_id': 'faf412fe5acf42af9026ea04adc7d6f5'}} 2025-12-08 02:13:13,160 - INFO - Created VN ctest-ext_vn-41616295 2025-12-08 02:13:13,211 - DEBUG - VN ctest-ext_vn-41616295 UUID is 01d88da3-03ca-4954-bede-ea035f8c9a55 2025-12-08 02:13:13,404 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:13:14,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4851-1) 2025-12-08 02:13:15,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4851-1) 2025-12-08 02:13:15,540 - INFO - Setting gateway for router 28a4d1a3-29b6-40ba-9767-2f365d306b33 to network 01d88da3-03ca-4954-bede-ea035f8c9a55 2025-12-08 02:13:15,602 - INFO - Adding interface with subnet_id dfa638b4-326b-4d09-9579-ebc1bb3a37c5, port_id None to router 28a4d1a3-29b6-40ba-9767-2f365d306b33 2025-12-08 02:13:15,873 - INFO - Waiting for VM ctest-TestRoutersBasic-74472445-25563314 to be up.. 2025-12-08 02:13:15,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:13:21,058 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:13:21,058 - INFO - VM name : ctest-TestRoutersBasic-74472445-25563314 2025-12-08 02:13:21,128 - DEBUG - VM ctest-TestRoutersBasic-74472445-25563314 ID is aa942c18-1d7a-49b5-a61e-543b89e15d6f 2025-12-08 02:13:21,145 - DEBUG - VM ctest-TestRoutersBasic-74472445-25563314 launched on Node cn-jenkins-deploy-platform-ansible-os-4851-1 2025-12-08 02:13:21,208 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/aa942c18-1d7a-49b5-a61e-543b89e15d6f 2025-12-08 02:13:21,500 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/aa942c18-1d7a-49b5-a61e-543b89e15d6f 2025-12-08 02:13:21,533 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f9acd5e4-8639-457b-95df-e3cbc6cc2fda 2025-12-08 02:13:24,787 - 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 1023ms') 2025-12-08 02:13:24,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74472445-25563314 failed! 2025-12-08 02:13:24,839 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74472445:ctest-vn-37528849 is 216.188.132.129 and allocation pool is NOT set 2025-12-08 02:13:26,908 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 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.572/1.740/2.909/1.168 ms') 2025-12-08 02:13:26,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74472445-25563314 passed 2025-12-08 02:13:27,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:13:27,055 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74472445-25563314, IP 216.188.132.131, Port 22 2025-12-08 02:13:27,210 - DEBUG - VM ctest-TestRoutersBasic-74472445-25563314 is ready for SSH connections 2025-12-08 02:13:27,210 - INFO - Waiting for VM ctest-TestRoutersBasic-74472445-98037685 to be up.. 2025-12-08 02:13:27,291 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:13:27,291 - INFO - VM name : ctest-TestRoutersBasic-74472445-98037685 2025-12-08 02:13:27,367 - DEBUG - VM ctest-TestRoutersBasic-74472445-98037685 ID is 4a9c4ae6-991f-4aea-9ba5-b93353ff4abb 2025-12-08 02:13:27,367 - DEBUG - VM ctest-TestRoutersBasic-74472445-98037685 launched on Node cn-jenkins-deploy-platform-ansible-os-4851-1 2025-12-08 02:13:27,436 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4a9c4ae6-991f-4aea-9ba5-b93353ff4abb 2025-12-08 02:13:27,444 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/36eed7f8-3ca5-4515-a504-436b826c7afd 2025-12-08 02:13:28,674 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 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.576/1.586/2.597/1.010 ms') 2025-12-08 02:13:28,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74472445-98037685 passed 2025-12-08 02:13:28,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:13:28,823 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74472445-98037685, IP 103.138.68.131, Port 22 2025-12-08 02:13:28,978 - DEBUG - VM ctest-TestRoutersBasic-74472445-98037685 is ready for SSH connections 2025-12-08 02:13:28,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:13:28,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.138.68.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-08 02:13:28,979 - DEBUG - ping -s 56 -c 3 -W 1 103.138.68.131 2025-12-08 02:13:32,973 - DEBUG - PING 103.138.68.131 (103.138.68.131): 56 data bytes 64 bytes from 103.138.68.131: seq=0 ttl=62 time=7.650 ms 64 bytes from 103.138.68.131: seq=1 ttl=62 time=0.860 ms 64 bytes from 103.138.68.131: seq=2 ttl=62 time=1.046 ms --- 103.138.68.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/3.185/7.650 ms 2025-12-08 02:13:32,973 - INFO - Ping to IP 103.138.68.131 from VM ctest-TestRoutersBasic-74472445-25563314 passed 2025-12-08 02:13:32,973 - INFO - Deleting interface with subnet_id dfa638b4-326b-4d09-9579-ebc1bb3a37c5, port_id None from router 28a4d1a3-29b6-40ba-9767-2f365d306b33 2025-12-08 02:13:33,134 - INFO - Deleting VM ctest-TestRoutersBasic-74472445-98037685 2025-12-08 02:13:33,227 - INFO - Deleting VM ctest-TestRoutersBasic-74472445-25563314 2025-12-08 02:13:33,340 - INFO - Deleting VN ctest-ext_vn-41616295 2025-12-08 02:13:33,421 - DEBUG - VN 01d88da3-03ca-4954-bede-ea035f8c9a55 still in use: Unable to complete operation on network 01d88da3-03ca-4954-bede-ea035f8c9a55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e061f2df-86df-4f3d-a1b8-3196fdc51c45'] 2025-12-08 02:13:33,421 - WARNING - Deleting VN ctest-ext_vn-41616295 failed..Will retry 2025-12-08 02:13:35,511 - DEBUG - Response for deleting network () 2025-12-08 02:13:35,511 - INFO - Deleting VN ctest-vn-37528849 2025-12-08 02:13:35,601 - DEBUG - Response for deleting network () 2025-12-08 02:13:35,857 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 02:13:35,858 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-08 02:13:35,858 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:13:36,544 - INFO - Deleted project: ctest-TestRoutersBasic-74472445, ID : faf412fe-5acf-42af-9026-ea04adc7d6f5