2025-06-05 16:25:16,561 - INFO - Domain Default found not creating 2025-06-05 16:25:16,724 - INFO - Project ctest-TestRoutersBasic-87385511 not found, creating it 2025-06-05 16:25:17,195 - INFO - Created Project:ctest-TestRoutersBasic-87385511, ID : 54a2d4f3-30a9-4916-b36f-405dac36b767 2025-06-05 16:25:18,773 - INFO - ================================================================================ 2025-06-05 16:25:18,773 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-05 16:25:18,773 - 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-05 16:25:19,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-05 16:25:19,027 - INFO - Initial checks done. Running the testcase now 2025-06-05 16:25:19,027 - INFO - 2025-06-05 16:25:19,826 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87385511 2025-06-05 16:25:19,929 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87385511 2025-06-05 16:25:20,265 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87385511', 'default']} 2025-06-05 16:25:20,598 - DEBUG - Response for create_network : {'network': {'id': '184a66ee-e101-4252-adde-be68ccb2e5bf', 'name': 'ctest-vn-60566455', 'tenant_id': '54a2d4f330a94916b36f405dac36b767', 'project_id': '54a2d4f330a94916b36f405dac36b767', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87385511', 'ctest-vn-60566455'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 16:25:20,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '0450bbc3-ad17-4111-b3a5-64047284f98b', 'name': '', 'tenant_id': '54a2d4f330a94916b36f405dac36b767', 'network_id': '184a66ee-e101-4252-adde-be68ccb2e5bf', 'ip_version': 4, 'cidr': '79.192.197.0/26', 'allocation_pools': [{'start': '79.192.197.2', 'end': '79.192.197.62'}], 'gateway_ip': '79.192.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.192.197.2', 'tags': [], 'project_id': '54a2d4f330a94916b36f405dac36b767'}} 2025-06-05 16:25:20,838 - INFO - Created VN ctest-vn-60566455 2025-06-05 16:25:20,892 - DEBUG - VN ctest-vn-60566455 UUID is 184a66ee-e101-4252-adde-be68ccb2e5bf 2025-06-05 16:25:21,228 - DEBUG - Response for create_network : {'network': {'id': 'b24e8adb-999a-4de4-a791-013039fada69', 'name': 'ctest-ext_vn-37026037', 'tenant_id': '54a2d4f330a94916b36f405dac36b767', 'project_id': '54a2d4f330a94916b36f405dac36b767', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87385511', 'ctest-ext_vn-37026037'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 16:25:21,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '95584a4e-65f7-448a-90b0-87d8b88b5e29', 'name': '', 'tenant_id': '54a2d4f330a94916b36f405dac36b767', 'network_id': 'b24e8adb-999a-4de4-a791-013039fada69', 'ip_version': 4, 'cidr': '16.36.102.192/26', 'allocation_pools': [{'start': '16.36.102.194', 'end': '16.36.102.254'}], 'gateway_ip': '16.36.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.36.102.194', 'tags': [], 'project_id': '54a2d4f330a94916b36f405dac36b767'}} 2025-06-05 16:25:21,426 - INFO - Created VN ctest-ext_vn-37026037 2025-06-05 16:25:21,480 - DEBUG - VN ctest-ext_vn-37026037 UUID is b24e8adb-999a-4de4-a791-013039fada69 2025-06-05 16:25:21,646 - DEBUG - Services list from nova: [, , ] 2025-06-05 16:25:22,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3407-1) 2025-06-05 16:25:24,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3407-1) 2025-06-05 16:25:24,089 - INFO - Setting gateway for router f0c5eead-6f45-4a8f-852e-6b0fcaed410c to network b24e8adb-999a-4de4-a791-013039fada69 2025-06-05 16:25:24,156 - INFO - Adding interface with subnet_id 0450bbc3-ad17-4111-b3a5-64047284f98b, port_id None to router f0c5eead-6f45-4a8f-852e-6b0fcaed410c 2025-06-05 16:25:24,619 - INFO - Waiting for VM ctest-TestRoutersBasic-87385511-97608134 to be up.. 2025-06-05 16:25:24,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 16:25:29,927 - DEBUG - VM is in ACTIVE state now 2025-06-05 16:25:29,927 - INFO - VM name : ctest-TestRoutersBasic-87385511-97608134 2025-06-05 16:25:30,023 - DEBUG - VM ctest-TestRoutersBasic-87385511-97608134 ID is 34a32a5a-0dde-47dc-977e-01adbad93dbb 2025-06-05 16:25:30,048 - DEBUG - VM ctest-TestRoutersBasic-87385511-97608134 launched on Node cn-jenkins-deploy-platform-ansible-os-3407-1 2025-06-05 16:25:30,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/34a32a5a-0dde-47dc-977e-01adbad93dbb 2025-06-05 16:25:30,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/34a32a5a-0dde-47dc-977e-01adbad93dbb 2025-06-05 16:25:30,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e4f0f827-aa41-4496-a905-aa9cabcadd89 2025-06-05 16:25:33,793 - 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 1006ms') 2025-06-05 16:25:33,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87385511-97608134 failed! 2025-06-05 16:25:33,852 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87385511:ctest-vn-60566455 is 79.192.197.1 and allocation pool is NOT set 2025-06-05 16:25:35,910 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.510/2.939/4.368/1.429 ms') 2025-06-05 16:25:35,910 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87385511-97608134 passed 2025-06-05 16:25:36,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:25:36,069 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87385511-97608134, IP 79.192.197.3, Port 22 2025-06-05 16:25:36,238 - DEBUG - VM ctest-TestRoutersBasic-87385511-97608134 is ready for SSH connections 2025-06-05 16:25:36,238 - INFO - Waiting for VM ctest-TestRoutersBasic-87385511-55692602 to be up.. 2025-06-05 16:25:36,331 - DEBUG - VM is in ACTIVE state now 2025-06-05 16:25:36,331 - INFO - VM name : ctest-TestRoutersBasic-87385511-55692602 2025-06-05 16:25:36,430 - DEBUG - VM ctest-TestRoutersBasic-87385511-55692602 ID is 9ca21115-114c-4c52-b39c-1c28e33607a0 2025-06-05 16:25:36,430 - DEBUG - VM ctest-TestRoutersBasic-87385511-55692602 launched on Node cn-jenkins-deploy-platform-ansible-os-3407-1 2025-06-05 16:25:36,519 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9ca21115-114c-4c52-b39c-1c28e33607a0 2025-06-05 16:25:36,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5d4da19-91e4-41bc-9583-4e9565c3229f 2025-06-05 16:25:37,791 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.754/3.114/1.360 ms') 2025-06-05 16:25:37,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87385511-55692602 passed 2025-06-05 16:25:37,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:25:37,945 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87385511-55692602, IP 16.36.102.195, Port 22 2025-06-05 16:25:38,100 - DEBUG - VM ctest-TestRoutersBasic-87385511-55692602 is ready for SSH connections 2025-06-05 16:25:38,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:25:38,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.36.102.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-05 16:25:38,100 - DEBUG - ping -s 56 -c 3 -W 1 16.36.102.195 2025-06-05 16:25:41,857 - DEBUG - PING 16.36.102.195 (16.36.102.195): 56 data bytes 64 bytes from 16.36.102.195: seq=0 ttl=62 time=5.086 ms 64 bytes from 16.36.102.195: seq=1 ttl=62 time=0.886 ms 64 bytes from 16.36.102.195: seq=2 ttl=62 time=0.834 ms --- 16.36.102.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.268/5.086 ms 2025-06-05 16:25:41,857 - INFO - Ping to IP 16.36.102.195 from VM ctest-TestRoutersBasic-87385511-97608134 passed 2025-06-05 16:25:41,857 - INFO - Deleting interface with subnet_id 0450bbc3-ad17-4111-b3a5-64047284f98b, port_id None from router f0c5eead-6f45-4a8f-852e-6b0fcaed410c 2025-06-05 16:25:42,066 - INFO - Deleting VM ctest-TestRoutersBasic-87385511-55692602 2025-06-05 16:25:42,140 - INFO - Deleting VM ctest-TestRoutersBasic-87385511-97608134 2025-06-05 16:25:42,243 - INFO - Deleting VN ctest-ext_vn-37026037 2025-06-05 16:25:42,332 - DEBUG - VN b24e8adb-999a-4de4-a791-013039fada69 still in use: Unable to complete operation on network b24e8adb-999a-4de4-a791-013039fada69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33041b85-f569-48b1-83ae-414e4951ed96'] 2025-06-05 16:25:42,332 - WARNING - Deleting VN ctest-ext_vn-37026037 failed..Will retry 2025-06-05 16:25:44,444 - DEBUG - Response for deleting network () 2025-06-05 16:25:44,444 - INFO - Deleting VN ctest-vn-60566455 2025-06-05 16:25:44,577 - DEBUG - Response for deleting network () 2025-06-05 16:25:44,834 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 16:25:44,834 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-05 16:25:44,834 - INFO - -------------------------------------------------------------------------------- 2025-06-05 16:25:45,567 - INFO - Deleted project: ctest-TestRoutersBasic-87385511, ID : 54a2d4f3-30a9-4916-b36f-405dac36b767