2025-10-20 14:52:50,605 - INFO - Domain Default found not creating 2025-10-20 14:52:50,742 - INFO - Project ctest-TestRoutersBasic-64709022 not found, creating it 2025-10-20 14:52:51,197 - INFO - Created Project:ctest-TestRoutersBasic-64709022, ID : 081a041b-eb91-4c0a-addf-da6c31424f36 2025-10-20 14:52:52,629 - INFO - ================================================================================ 2025-10-20 14:52:52,629 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 14:52:52,629 - 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-10-20 14:52:52,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-20 14:52:52,888 - INFO - Initial checks done. Running the testcase now 2025-10-20 14:52:52,888 - INFO - 2025-10-20 14:52:53,572 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64709022 2025-10-20 14:52:53,670 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64709022 2025-10-20 14:52:53,990 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64709022', 'default']} 2025-10-20 14:52:54,260 - DEBUG - Response for create_network : {'network': {'id': '84c00f03-2e21-4dfe-8bd2-2db8f20960f3', 'name': 'ctest-vn-14665306', 'tenant_id': '081a041beb914c0aaddfda6c31424f36', 'project_id': '081a041beb914c0aaddfda6c31424f36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64709022', 'ctest-vn-14665306'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 14:52:54,468 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebda085f-a717-44b0-9609-1dfbe5c9a23f', 'name': '', 'tenant_id': '081a041beb914c0aaddfda6c31424f36', 'network_id': '84c00f03-2e21-4dfe-8bd2-2db8f20960f3', 'ip_version': 4, 'cidr': '212.64.132.192/26', 'allocation_pools': [{'start': '212.64.132.194', 'end': '212.64.132.254'}], 'gateway_ip': '212.64.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.64.132.194', 'tags': [], 'project_id': '081a041beb914c0aaddfda6c31424f36'}} 2025-10-20 14:52:54,484 - INFO - Created VN ctest-vn-14665306 2025-10-20 14:52:54,535 - DEBUG - VN ctest-vn-14665306 UUID is 84c00f03-2e21-4dfe-8bd2-2db8f20960f3 2025-10-20 14:52:54,865 - DEBUG - Response for create_network : {'network': {'id': 'a305a584-a632-4707-bd23-086d554fb17d', 'name': 'ctest-ext_vn-32016640', 'tenant_id': '081a041beb914c0aaddfda6c31424f36', 'project_id': '081a041beb914c0aaddfda6c31424f36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64709022', 'ctest-ext_vn-32016640'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 14:52:55,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '667d42a2-308e-4f7e-9504-512e0660cd48', 'name': '', 'tenant_id': '081a041beb914c0aaddfda6c31424f36', 'network_id': 'a305a584-a632-4707-bd23-086d554fb17d', 'ip_version': 4, 'cidr': '54.232.2.64/26', 'allocation_pools': [{'start': '54.232.2.66', 'end': '54.232.2.126'}], 'gateway_ip': '54.232.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.232.2.66', 'tags': [], 'project_id': '081a041beb914c0aaddfda6c31424f36'}} 2025-10-20 14:52:55,045 - INFO - Created VN ctest-ext_vn-32016640 2025-10-20 14:52:55,098 - DEBUG - VN ctest-ext_vn-32016640 UUID is a305a584-a632-4707-bd23-086d554fb17d 2025-10-20 14:52:55,296 - DEBUG - Services list from nova: [, , ] 2025-10-20 14:52:56,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4380-1) 2025-10-20 14:52:57,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4380-1) 2025-10-20 14:52:57,451 - INFO - Setting gateway for router fbfa44f8-4f08-4b24-b9bd-2988691ba41d to network a305a584-a632-4707-bd23-086d554fb17d 2025-10-20 14:52:57,512 - INFO - Adding interface with subnet_id ebda085f-a717-44b0-9609-1dfbe5c9a23f, port_id None to router fbfa44f8-4f08-4b24-b9bd-2988691ba41d 2025-10-20 14:52:57,846 - INFO - Waiting for VM ctest-TestRoutersBasic-64709022-78490939 to be up.. 2025-10-20 14:52:57,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 14:53:03,047 - DEBUG - VM is in ACTIVE state now 2025-10-20 14:53:03,047 - INFO - VM name : ctest-TestRoutersBasic-64709022-78490939 2025-10-20 14:53:03,116 - DEBUG - VM ctest-TestRoutersBasic-64709022-78490939 ID is 306d3310-44a3-49f7-a0d7-6a5015606b60 2025-10-20 14:53:03,134 - DEBUG - VM ctest-TestRoutersBasic-64709022-78490939 launched on Node cn-jenkins-deploy-platform-ansible-os-4380-1 2025-10-20 14:53:03,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/306d3310-44a3-49f7-a0d7-6a5015606b60 2025-10-20 14:53:03,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/306d3310-44a3-49f7-a0d7-6a5015606b60 2025-10-20 14:53:03,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f945cff9-d73b-468b-ab71-5eed1b16db4f 2025-10-20 14:53:06,801 - 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 1031ms') 2025-10-20 14:53:06,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64709022-78490939 failed! 2025-10-20 14:53:06,854 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64709022:ctest-vn-14665306 is 212.64.132.193 and allocation pool is NOT set 2025-10-20 14:53:08,919 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.596 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.596/1.666/2.736/1.070 ms') 2025-10-20 14:53:08,919 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64709022-78490939 passed 2025-10-20 14:53:09,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:53:09,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64709022-78490939, IP 212.64.132.195, Port 22 2025-10-20 14:53:09,218 - DEBUG - VM ctest-TestRoutersBasic-64709022-78490939 is ready for SSH connections 2025-10-20 14:53:09,218 - INFO - Waiting for VM ctest-TestRoutersBasic-64709022-24388609 to be up.. 2025-10-20 14:53:09,282 - DEBUG - VM is in ACTIVE state now 2025-10-20 14:53:09,282 - INFO - VM name : ctest-TestRoutersBasic-64709022-24388609 2025-10-20 14:53:09,348 - DEBUG - VM ctest-TestRoutersBasic-64709022-24388609 ID is 204f3864-b787-417a-be41-969fa45d454a 2025-10-20 14:53:09,348 - DEBUG - VM ctest-TestRoutersBasic-64709022-24388609 launched on Node cn-jenkins-deploy-platform-ansible-os-4380-1 2025-10-20 14:53:09,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/204f3864-b787-417a-be41-969fa45d454a 2025-10-20 14:53:09,420 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/75a75ee8-8bcf-4973-8419-e2d807e16b16 2025-10-20 14:53:10,651 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.434/2.874/4.315/1.440 ms') 2025-10-20 14:53:10,651 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64709022-24388609 passed 2025-10-20 14:53:10,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:53:10,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64709022-24388609, IP 54.232.2.67, Port 22 2025-10-20 14:53:10,953 - DEBUG - VM ctest-TestRoutersBasic-64709022-24388609 is ready for SSH connections 2025-10-20 14:53:10,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:53:10,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.232.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-20 14:53:10,954 - DEBUG - ping -s 56 -c 3 -W 1 54.232.2.67 2025-10-20 14:53:14,910 - DEBUG - PING 54.232.2.67 (54.232.2.67): 56 data bytes 64 bytes from 54.232.2.67: seq=0 ttl=62 time=5.915 ms 64 bytes from 54.232.2.67: seq=1 ttl=62 time=0.837 ms 64 bytes from 54.232.2.67: seq=2 ttl=62 time=0.893 ms --- 54.232.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/2.548/5.915 ms 2025-10-20 14:53:14,910 - INFO - Ping to IP 54.232.2.67 from VM ctest-TestRoutersBasic-64709022-78490939 passed 2025-10-20 14:53:14,910 - INFO - Deleting interface with subnet_id ebda085f-a717-44b0-9609-1dfbe5c9a23f, port_id None from router fbfa44f8-4f08-4b24-b9bd-2988691ba41d 2025-10-20 14:53:15,108 - INFO - Deleting VM ctest-TestRoutersBasic-64709022-24388609 2025-10-20 14:53:15,176 - INFO - Deleting VM ctest-TestRoutersBasic-64709022-78490939 2025-10-20 14:53:15,274 - INFO - Deleting VN ctest-ext_vn-32016640 2025-10-20 14:53:15,351 - DEBUG - VN a305a584-a632-4707-bd23-086d554fb17d still in use: Unable to complete operation on network a305a584-a632-4707-bd23-086d554fb17d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-174ae3c9-91aa-491e-9b02-0a044f8348f8'] 2025-10-20 14:53:15,351 - WARNING - Deleting VN ctest-ext_vn-32016640 failed..Will retry 2025-10-20 14:53:17,449 - DEBUG - Response for deleting network () 2025-10-20 14:53:17,449 - INFO - Deleting VN ctest-vn-14665306 2025-10-20 14:53:17,547 - DEBUG - Response for deleting network () 2025-10-20 14:53:17,799 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 14:53:17,800 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-20 14:53:17,800 - INFO - -------------------------------------------------------------------------------- 2025-10-20 14:53:18,489 - INFO - Deleted project: ctest-TestRoutersBasic-64709022, ID : 081a041b-eb91-4c0a-addf-da6c31424f36