2025-08-10 20:42:20,419 - INFO - Domain Default found not creating 2025-08-10 20:42:20,533 - INFO - Project ctest-TestRoutersBasic-96342140 not found, creating it 2025-08-10 20:42:21,036 - INFO - Created Project:ctest-TestRoutersBasic-96342140, ID : 0b6fdb33-a03e-45b9-9121-8711655c9a66 2025-08-10 20:42:22,314 - INFO - ================================================================================ 2025-08-10 20:42:22,314 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-10 20:42:22,314 - 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-08-10 20:42:22,569 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-10 20:42:22,569 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:42:22,569 - INFO - 2025-08-10 20:42:23,237 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96342140 2025-08-10 20:42:23,332 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96342140 2025-08-10 20:42:23,644 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96342140', 'default']} 2025-08-10 20:42:23,911 - DEBUG - Response for create_network : {'network': {'id': '6a481ad3-b887-470c-a423-2ecd470d842a', 'name': 'ctest-vn-61458956', 'tenant_id': '0b6fdb33a03e45b991218711655c9a66', 'project_id': '0b6fdb33a03e45b991218711655c9a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96342140', 'ctest-vn-61458956'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:42:24,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '4da2faab-6270-4a14-9e5c-20011d5401cd', 'name': '', 'tenant_id': '0b6fdb33a03e45b991218711655c9a66', 'network_id': '6a481ad3-b887-470c-a423-2ecd470d842a', 'ip_version': 4, 'cidr': '173.188.63.128/26', 'allocation_pools': [{'start': '173.188.63.130', 'end': '173.188.63.190'}], 'gateway_ip': '173.188.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.188.63.130', 'tags': [], 'project_id': '0b6fdb33a03e45b991218711655c9a66'}} 2025-08-10 20:42:24,133 - INFO - Created VN ctest-vn-61458956 2025-08-10 20:42:24,184 - DEBUG - VN ctest-vn-61458956 UUID is 6a481ad3-b887-470c-a423-2ecd470d842a 2025-08-10 20:42:24,490 - DEBUG - Response for create_network : {'network': {'id': '58bf313a-185b-4824-a5f4-46a8cea9d74f', 'name': 'ctest-ext_vn-46120923', 'tenant_id': '0b6fdb33a03e45b991218711655c9a66', 'project_id': '0b6fdb33a03e45b991218711655c9a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96342140', 'ctest-ext_vn-46120923'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:42:24,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae172453-aa53-4ee0-85e2-858b77fbae41', 'name': '', 'tenant_id': '0b6fdb33a03e45b991218711655c9a66', 'network_id': '58bf313a-185b-4824-a5f4-46a8cea9d74f', 'ip_version': 4, 'cidr': '218.178.144.0/26', 'allocation_pools': [{'start': '218.178.144.2', 'end': '218.178.144.62'}], 'gateway_ip': '218.178.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.178.144.2', 'tags': [], 'project_id': '0b6fdb33a03e45b991218711655c9a66'}} 2025-08-10 20:42:24,647 - INFO - Created VN ctest-ext_vn-46120923 2025-08-10 20:42:24,696 - DEBUG - VN ctest-ext_vn-46120923 UUID is 58bf313a-185b-4824-a5f4-46a8cea9d74f 2025-08-10 20:42:24,887 - DEBUG - Services list from nova: [, , ] 2025-08-10 20:42:25,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:42:26,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:42:26,882 - INFO - Setting gateway for router f75e3806-cf8a-47df-abe6-2295671752e5 to network 58bf313a-185b-4824-a5f4-46a8cea9d74f 2025-08-10 20:42:26,946 - INFO - Adding interface with subnet_id 4da2faab-6270-4a14-9e5c-20011d5401cd, port_id None to router f75e3806-cf8a-47df-abe6-2295671752e5 2025-08-10 20:42:27,358 - INFO - Waiting for VM ctest-TestRoutersBasic-96342140-66655303 to be up.. 2025-08-10 20:42:27,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 20:42:32,583 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:42:32,583 - INFO - VM name : ctest-TestRoutersBasic-96342140-66655303 2025-08-10 20:42:32,642 - DEBUG - VM ctest-TestRoutersBasic-96342140-66655303 ID is e9fc11d0-c61e-4928-a6b2-3ec854fb78c8 2025-08-10 20:42:32,658 - DEBUG - VM ctest-TestRoutersBasic-96342140-66655303 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:42:32,719 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e9fc11d0-c61e-4928-a6b2-3ec854fb78c8 2025-08-10 20:42:33,009 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e9fc11d0-c61e-4928-a6b2-3ec854fb78c8 2025-08-10 20:42:33,037 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/349fafb1-082c-4b61-a6a5-024750585647 2025-08-10 20:42:36,305 - 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=2 ttl=63 time=2.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 2.878/2.878/2.878/0.000 ms') 2025-08-10 20:42:36,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96342140-66655303 passed 2025-08-10 20:42:36,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:36,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96342140-66655303, IP 173.188.63.131, Port 22 2025-08-10 20:42:36,619 - DEBUG - VM ctest-TestRoutersBasic-96342140-66655303 is ready for SSH connections 2025-08-10 20:42:36,619 - INFO - Waiting for VM ctest-TestRoutersBasic-96342140-46556245 to be up.. 2025-08-10 20:42:36,683 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:42:36,683 - INFO - VM name : ctest-TestRoutersBasic-96342140-46556245 2025-08-10 20:42:36,746 - DEBUG - VM ctest-TestRoutersBasic-96342140-46556245 ID is cf27a767-02e9-43ca-81c5-90a1daf34ded 2025-08-10 20:42:36,746 - DEBUG - VM ctest-TestRoutersBasic-96342140-46556245 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:42:36,804 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/cf27a767-02e9-43ca-81c5-90a1daf34ded 2025-08-10 20:42:36,811 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/cfdb91bd-d605-486c-9436-7c8d415b1ca4 2025-08-10 20:42:38,038 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.751 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.751/2.824/4.897/2.073 ms') 2025-08-10 20:42:38,039 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96342140-46556245 passed 2025-08-10 20:42:38,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:38,188 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96342140-46556245, IP 218.178.144.3, Port 22 2025-08-10 20:42:38,347 - DEBUG - VM ctest-TestRoutersBasic-96342140-46556245 is ready for SSH connections 2025-08-10 20:42:38,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:38,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.178.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:42:38,347 - DEBUG - ping -s 56 -c 3 -W 1 218.178.144.3 2025-08-10 20:42:42,001 - DEBUG - PING 218.178.144.3 (218.178.144.3): 56 data bytes 64 bytes from 218.178.144.3: seq=0 ttl=62 time=6.383 ms 64 bytes from 218.178.144.3: seq=1 ttl=62 time=1.291 ms 64 bytes from 218.178.144.3: seq=2 ttl=62 time=0.790 ms --- 218.178.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/2.821/6.383 ms 2025-08-10 20:42:42,001 - INFO - Ping to IP 218.178.144.3 from VM ctest-TestRoutersBasic-96342140-66655303 passed 2025-08-10 20:42:42,002 - INFO - Deleting interface with subnet_id 4da2faab-6270-4a14-9e5c-20011d5401cd, port_id None from router f75e3806-cf8a-47df-abe6-2295671752e5 2025-08-10 20:42:42,207 - INFO - Deleting VM ctest-TestRoutersBasic-96342140-46556245 2025-08-10 20:42:42,269 - INFO - Deleting VM ctest-TestRoutersBasic-96342140-66655303 2025-08-10 20:42:42,353 - INFO - Deleting VN ctest-ext_vn-46120923 2025-08-10 20:42:42,410 - DEBUG - VN 58bf313a-185b-4824-a5f4-46a8cea9d74f still in use: Unable to complete operation on network 58bf313a-185b-4824-a5f4-46a8cea9d74f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1299bc2c-e278-4897-911c-ed285e720ce3'] 2025-08-10 20:42:42,410 - WARNING - Deleting VN ctest-ext_vn-46120923 failed..Will retry 2025-08-10 20:42:44,516 - DEBUG - Response for deleting network () 2025-08-10 20:42:44,516 - INFO - Deleting VN ctest-vn-61458956 2025-08-10 20:42:44,632 - DEBUG - Response for deleting network () 2025-08-10 20:42:44,881 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 20:42:44,881 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-08-10 20:42:44,881 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:42:45,542 - INFO - Deleted project: ctest-TestRoutersBasic-96342140, ID : 0b6fdb33-a03e-45b9-9121-8711655c9a66