2025-08-07 22:18:22,859 - INFO - Domain Default found not creating 2025-08-07 22:18:23,000 - INFO - Project ctest-TestRoutersBasic-51193198 not found, creating it 2025-08-07 22:18:23,462 - INFO - Created Project:ctest-TestRoutersBasic-51193198, ID : ac0e4df2-e1da-4ccf-baa6-e74bcbe8a6f1 2025-08-07 22:18:24,908 - INFO - ================================================================================ 2025-08-07 22:18:24,908 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-07 22:18:24,908 - 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-07 22:18:25,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 22:18:25,164 - INFO - Initial checks done. Running the testcase now 2025-08-07 22:18:25,164 - INFO - 2025-08-07 22:18:25,872 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51193198 2025-08-07 22:18:25,972 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51193198 2025-08-07 22:18:26,304 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51193198', 'default']} 2025-08-07 22:18:26,608 - DEBUG - Response for create_network : {'network': {'id': 'd4cad5e8-848d-46ef-809b-4e6ce955f838', 'name': 'ctest-vn-79164369', 'tenant_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1', 'project_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51193198', 'ctest-vn-79164369'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 22:18:26,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '267e1fd3-de16-441e-b903-c73f5c968941', 'name': '', 'tenant_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1', 'network_id': 'd4cad5e8-848d-46ef-809b-4e6ce955f838', 'ip_version': 4, 'cidr': '103.135.101.64/26', 'allocation_pools': [{'start': '103.135.101.66', 'end': '103.135.101.126'}], 'gateway_ip': '103.135.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.135.101.66', 'tags': [], 'project_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1'}} 2025-08-07 22:18:26,817 - INFO - Created VN ctest-vn-79164369 2025-08-07 22:18:26,872 - DEBUG - VN ctest-vn-79164369 UUID is d4cad5e8-848d-46ef-809b-4e6ce955f838 2025-08-07 22:18:27,217 - DEBUG - Response for create_network : {'network': {'id': '0efce6a8-c4e2-4f63-8e77-717fa579244c', 'name': 'ctest-ext_vn-23479339', 'tenant_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1', 'project_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51193198', 'ctest-ext_vn-23479339'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 22:18:27,403 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de2e02c9-c67d-4924-bd5a-3d91d606efbb', 'name': '', 'tenant_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1', 'network_id': '0efce6a8-c4e2-4f63-8e77-717fa579244c', 'ip_version': 4, 'cidr': '100.170.133.192/26', 'allocation_pools': [{'start': '100.170.133.194', 'end': '100.170.133.254'}], 'gateway_ip': '100.170.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.170.133.194', 'tags': [], 'project_id': 'ac0e4df2e1da4ccfbaa6e74bcbe8a6f1'}} 2025-08-07 22:18:27,421 - INFO - Created VN ctest-ext_vn-23479339 2025-08-07 22:18:27,472 - DEBUG - VN ctest-ext_vn-23479339 UUID is 0efce6a8-c4e2-4f63-8e77-717fa579244c 2025-08-07 22:18:27,650 - DEBUG - Services list from nova: [, , ] 2025-08-07 22:18:28,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3777-1) 2025-08-07 22:18:29,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3777-1) 2025-08-07 22:18:29,938 - INFO - Setting gateway for router 34303e77-1775-4732-9894-76c48ea15d52 to network 0efce6a8-c4e2-4f63-8e77-717fa579244c 2025-08-07 22:18:30,007 - INFO - Adding interface with subnet_id 267e1fd3-de16-441e-b903-c73f5c968941, port_id None to router 34303e77-1775-4732-9894-76c48ea15d52 2025-08-07 22:18:30,396 - INFO - Waiting for VM ctest-TestRoutersBasic-51193198-66923706 to be up.. 2025-08-07 22:18:30,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 22:18:35,599 - DEBUG - VM is in ACTIVE state now 2025-08-07 22:18:35,599 - INFO - VM name : ctest-TestRoutersBasic-51193198-66923706 2025-08-07 22:18:35,684 - DEBUG - VM ctest-TestRoutersBasic-51193198-66923706 ID is 76e882ce-637a-4684-a701-e4fa4570ec5d 2025-08-07 22:18:35,712 - DEBUG - VM ctest-TestRoutersBasic-51193198-66923706 launched on Node cn-jenkins-deploy-platform-ansible-os-3777-1 2025-08-07 22:18:35,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/76e882ce-637a-4684-a701-e4fa4570ec5d 2025-08-07 22:18:36,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/76e882ce-637a-4684-a701-e4fa4570ec5d 2025-08-07 22:18:36,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9fc6deb5-4541-41b2-809a-638ac1b3b3f3 2025-08-07 22:18:39,457 - 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 1027ms') 2025-08-07 22:18:39,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51193198-66923706 failed! 2025-08-07 22:18:39,516 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51193198:ctest-vn-79164369 is 103.135.101.65 and allocation pool is NOT set 2025-08-07 22:18:41,577 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/1.532/2.541/1.009 ms') 2025-08-07 22:18:41,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51193198-66923706 passed 2025-08-07 22:18:41,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:18:41,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51193198-66923706, IP 103.135.101.67, Port 22 2025-08-07 22:18:41,848 - DEBUG - VM ctest-TestRoutersBasic-51193198-66923706 is ready for SSH connections 2025-08-07 22:18:41,848 - INFO - Waiting for VM ctest-TestRoutersBasic-51193198-54715638 to be up.. 2025-08-07 22:18:41,924 - DEBUG - VM is in ACTIVE state now 2025-08-07 22:18:41,924 - INFO - VM name : ctest-TestRoutersBasic-51193198-54715638 2025-08-07 22:18:42,003 - DEBUG - VM ctest-TestRoutersBasic-51193198-54715638 ID is f7c1000e-a882-4128-96aa-882516be0db1 2025-08-07 22:18:42,004 - DEBUG - VM ctest-TestRoutersBasic-51193198-54715638 launched on Node cn-jenkins-deploy-platform-ansible-os-3777-1 2025-08-07 22:18:42,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f7c1000e-a882-4128-96aa-882516be0db1 2025-08-07 22:18:42,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6aa8d772-16f3-47b9-855c-c310346aa207 2025-08-07 22:18:43,338 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.583/2.688/1.104 ms') 2025-08-07 22:18:43,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51193198-54715638 passed 2025-08-07 22:18:43,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:18:43,496 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51193198-54715638, IP 100.170.133.195, Port 22 2025-08-07 22:18:43,652 - DEBUG - VM ctest-TestRoutersBasic-51193198-54715638 is ready for SSH connections 2025-08-07 22:18:43,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:18:43,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.170.133.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 22:18:43,652 - DEBUG - ping -s 56 -c 3 -W 1 100.170.133.195 2025-08-07 22:18:47,669 - DEBUG - PING 100.170.133.195 (100.170.133.195): 56 data bytes 64 bytes from 100.170.133.195: seq=0 ttl=62 time=5.010 ms 64 bytes from 100.170.133.195: seq=1 ttl=62 time=0.917 ms 64 bytes from 100.170.133.195: seq=2 ttl=62 time=0.800 ms --- 100.170.133.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/2.242/5.010 ms 2025-08-07 22:18:47,669 - INFO - Ping to IP 100.170.133.195 from VM ctest-TestRoutersBasic-51193198-66923706 passed 2025-08-07 22:18:47,669 - INFO - Deleting interface with subnet_id 267e1fd3-de16-441e-b903-c73f5c968941, port_id None from router 34303e77-1775-4732-9894-76c48ea15d52 2025-08-07 22:18:47,868 - INFO - Deleting VM ctest-TestRoutersBasic-51193198-54715638 2025-08-07 22:18:47,935 - INFO - Deleting VM ctest-TestRoutersBasic-51193198-66923706 2025-08-07 22:18:48,014 - INFO - Deleting VN ctest-ext_vn-23479339 2025-08-07 22:18:48,083 - DEBUG - VN 0efce6a8-c4e2-4f63-8e77-717fa579244c still in use: Unable to complete operation on network 0efce6a8-c4e2-4f63-8e77-717fa579244c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afa209e3-b943-49e7-aa43-0ffa86da259e'] 2025-08-07 22:18:48,083 - WARNING - Deleting VN ctest-ext_vn-23479339 failed..Will retry 2025-08-07 22:18:50,243 - DEBUG - Response for deleting network () 2025-08-07 22:18:50,243 - INFO - Deleting VN ctest-vn-79164369 2025-08-07 22:18:50,390 - DEBUG - Response for deleting network () 2025-08-07 22:18:50,652 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 22:18:50,652 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-07 22:18:50,652 - INFO - -------------------------------------------------------------------------------- 2025-08-07 22:18:51,364 - INFO - Deleted project: ctest-TestRoutersBasic-51193198, ID : ac0e4df2-e1da-4ccf-baa6-e74bcbe8a6f1