2025-06-24 19:43:45,149 - INFO - Domain Default found not creating 2025-06-24 19:43:45,320 - INFO - Project ctest-TestRoutersBasic-55223627 not found, creating it 2025-06-24 19:43:45,835 - INFO - Created Project:ctest-TestRoutersBasic-55223627, ID : ecf08b7e-0871-4467-b7a2-5ea32895c234 2025-06-24 19:43:47,452 - INFO - ================================================================================ 2025-06-24 19:43:47,452 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-24 19:43:47,452 - 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-06-24 19:43:47,710 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-06-24 19:43:47,710 - INFO - Initial checks done. Running the testcase now 2025-06-24 19:43:47,710 - INFO - 2025-06-24 19:43:48,493 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55223627 2025-06-24 19:43:48,592 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55223627 2025-06-24 19:43:48,932 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55223627', 'default']} 2025-06-24 19:43:49,250 - DEBUG - Response for create_network : {'network': {'id': '0e859dcd-900c-4bac-a4c4-1e780071c05f', 'name': 'ctest-vn-21401735', 'tenant_id': 'ecf08b7e08714467b7a25ea32895c234', 'project_id': 'ecf08b7e08714467b7a25ea32895c234', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55223627', 'ctest-vn-21401735'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 19:43:49,468 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abd6d3fd-8758-480b-905f-42d28ba08820', 'name': '', 'tenant_id': 'ecf08b7e08714467b7a25ea32895c234', 'network_id': '0e859dcd-900c-4bac-a4c4-1e780071c05f', 'ip_version': 4, 'cidr': '27.171.189.0/26', 'allocation_pools': [{'start': '27.171.189.2', 'end': '27.171.189.62'}], 'gateway_ip': '27.171.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.171.189.2', 'tags': [], 'project_id': 'ecf08b7e08714467b7a25ea32895c234'}} 2025-06-24 19:43:49,488 - INFO - Created VN ctest-vn-21401735 2025-06-24 19:43:49,544 - DEBUG - VN ctest-vn-21401735 UUID is 0e859dcd-900c-4bac-a4c4-1e780071c05f 2025-06-24 19:43:49,874 - DEBUG - Response for create_network : {'network': {'id': '26eebfd8-7475-4a07-acfe-2380a882caf4', 'name': 'ctest-ext_vn-05754919', 'tenant_id': 'ecf08b7e08714467b7a25ea32895c234', 'project_id': 'ecf08b7e08714467b7a25ea32895c234', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55223627', 'ctest-ext_vn-05754919'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 19:43:50,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e0799ff-a4a2-4452-992c-5cc3d9c9f6fe', 'name': '', 'tenant_id': 'ecf08b7e08714467b7a25ea32895c234', 'network_id': '26eebfd8-7475-4a07-acfe-2380a882caf4', 'ip_version': 4, 'cidr': '116.126.24.64/26', 'allocation_pools': [{'start': '116.126.24.66', 'end': '116.126.24.126'}], 'gateway_ip': '116.126.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.126.24.66', 'tags': [], 'project_id': 'ecf08b7e08714467b7a25ea32895c234'}} 2025-06-24 19:43:50,134 - INFO - Created VN ctest-ext_vn-05754919 2025-06-24 19:43:50,192 - DEBUG - VN ctest-ext_vn-05754919 UUID is 26eebfd8-7475-4a07-acfe-2380a882caf4 2025-06-24 19:43:50,375 - DEBUG - Services list from nova: [, , ] 2025-06-24 19:43:51,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3542-1) 2025-06-24 19:43:52,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3542-1) 2025-06-24 19:43:52,841 - INFO - Setting gateway for router 2383bbbe-edf4-4e14-a3cc-6d025c581f65 to network 26eebfd8-7475-4a07-acfe-2380a882caf4 2025-06-24 19:43:52,954 - INFO - Adding interface with subnet_id abd6d3fd-8758-480b-905f-42d28ba08820, port_id None to router 2383bbbe-edf4-4e14-a3cc-6d025c581f65 2025-06-24 19:43:53,439 - INFO - Waiting for VM ctest-TestRoutersBasic-55223627-43648450 to be up.. 2025-06-24 19:43:53,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 19:43:58,718 - DEBUG - VM is in ACTIVE state now 2025-06-24 19:43:58,718 - INFO - VM name : ctest-TestRoutersBasic-55223627-43648450 2025-06-24 19:43:58,793 - DEBUG - VM ctest-TestRoutersBasic-55223627-43648450 ID is 964a26f1-4217-4a82-b70a-f460abd15119 2025-06-24 19:43:58,812 - DEBUG - VM ctest-TestRoutersBasic-55223627-43648450 launched on Node cn-jenkins-deploy-platform-ansible-os-3542-1 2025-06-24 19:43:58,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/964a26f1-4217-4a82-b70a-f460abd15119 2025-06-24 19:43:59,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/964a26f1-4217-4a82-b70a-f460abd15119 2025-06-24 19:43:59,270 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/39cfc652-5a2c-4ac7-b5bd-19c8df675bd8 2025-06-24 19:44:02,543 - 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 1019ms') 2025-06-24 19:44:02,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55223627-43648450 failed! 2025-06-24 19:44:02,600 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55223627:ctest-vn-21401735 is 27.171.189.1 and allocation pool is NOT set 2025-06-24 19:44:04,670 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.926 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.926/2.372/3.818/1.446 ms') 2025-06-24 19:44:04,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55223627-43648450 passed 2025-06-24 19:44:04,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 19:44:04,828 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55223627-43648450, IP 27.171.189.3, Port 22 2025-06-24 19:44:04,984 - DEBUG - VM ctest-TestRoutersBasic-55223627-43648450 is ready for SSH connections 2025-06-24 19:44:04,984 - INFO - Waiting for VM ctest-TestRoutersBasic-55223627-86556775 to be up.. 2025-06-24 19:44:05,070 - DEBUG - VM is in ACTIVE state now 2025-06-24 19:44:05,070 - INFO - VM name : ctest-TestRoutersBasic-55223627-86556775 2025-06-24 19:44:05,158 - DEBUG - VM ctest-TestRoutersBasic-55223627-86556775 ID is 87974fba-9e35-411e-9e46-0c2ab1b06427 2025-06-24 19:44:05,158 - DEBUG - VM ctest-TestRoutersBasic-55223627-86556775 launched on Node cn-jenkins-deploy-platform-ansible-os-3542-1 2025-06-24 19:44:05,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/87974fba-9e35-411e-9e46-0c2ab1b06427 2025-06-24 19:44:05,254 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6f937ae6-5576-4456-95f3-a1a2a135516f 2025-06-24 19:44:06,507 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.691 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.691/2.081/3.471/1.390 ms') 2025-06-24 19:44:06,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55223627-86556775 passed 2025-06-24 19:44:06,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 19:44:06,664 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55223627-86556775, IP 116.126.24.67, Port 22 2025-06-24 19:44:06,825 - DEBUG - VM ctest-TestRoutersBasic-55223627-86556775 is ready for SSH connections 2025-06-24 19:44:06,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 19:44:06,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.126.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-24 19:44:06,826 - DEBUG - ping -s 56 -c 3 -W 1 116.126.24.67 2025-06-24 19:44:10,547 - DEBUG - PING 116.126.24.67 (116.126.24.67): 56 data bytes 64 bytes from 116.126.24.67: seq=0 ttl=62 time=6.358 ms 64 bytes from 116.126.24.67: seq=1 ttl=62 time=0.781 ms 64 bytes from 116.126.24.67: seq=2 ttl=62 time=0.961 ms --- 116.126.24.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/2.700/6.358 ms 2025-06-24 19:44:10,547 - INFO - Ping to IP 116.126.24.67 from VM ctest-TestRoutersBasic-55223627-43648450 passed 2025-06-24 19:44:10,547 - INFO - Deleting interface with subnet_id abd6d3fd-8758-480b-905f-42d28ba08820, port_id None from router 2383bbbe-edf4-4e14-a3cc-6d025c581f65 2025-06-24 19:44:10,744 - INFO - Deleting VM ctest-TestRoutersBasic-55223627-86556775 2025-06-24 19:44:10,820 - INFO - Deleting VM ctest-TestRoutersBasic-55223627-43648450 2025-06-24 19:44:10,891 - INFO - Deleting VN ctest-ext_vn-05754919 2025-06-24 19:44:10,971 - DEBUG - VN 26eebfd8-7475-4a07-acfe-2380a882caf4 still in use: Unable to complete operation on network 26eebfd8-7475-4a07-acfe-2380a882caf4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96810366-fbbb-48ed-affb-7989374fe857'] 2025-06-24 19:44:10,972 - WARNING - Deleting VN ctest-ext_vn-05754919 failed..Will retry 2025-06-24 19:44:13,088 - DEBUG - Response for deleting network () 2025-06-24 19:44:13,089 - INFO - Deleting VN ctest-vn-21401735 2025-06-24 19:44:13,201 - DEBUG - Response for deleting network () 2025-06-24 19:44:13,458 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 19:44:13,458 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-24 19:44:13,458 - INFO - -------------------------------------------------------------------------------- 2025-06-24 19:44:14,189 - INFO - Deleted project: ctest-TestRoutersBasic-55223627, ID : ecf08b7e-0871-4467-b7a2-5ea32895c234