2025-03-31 11:46:15,247 - INFO - Domain Default found not creating 2025-03-31 11:46:15,394 - INFO - Project ctest-TestRoutersBasic-60436999 not found, creating it 2025-03-31 11:46:15,880 - INFO - Created Project:ctest-TestRoutersBasic-60436999, ID : 52a7825f-4760-4309-844b-a2202f93c01a 2025-03-31 11:46:17,339 - INFO - ================================================================================ 2025-03-31 11:46:17,339 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-31 11:46:17,339 - 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-03-31 11:46:17,594 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.23': '0'}} with 2025-03-31 11:46:17,594 - INFO - Initial checks done. Running the testcase now 2025-03-31 11:46:17,594 - INFO - 2025-03-31 11:46:18,315 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60436999 2025-03-31 11:46:18,415 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60436999 2025-03-31 11:46:18,751 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60436999', 'default']} 2025-03-31 11:46:19,065 - DEBUG - Response for create_network : {'network': {'id': '5bcc38a8-9582-4cf3-bca9-5158197c66d3', 'name': 'ctest-vn-39923892', 'tenant_id': '52a7825f47604309844ba2202f93c01a', 'project_id': '52a7825f47604309844ba2202f93c01a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60436999', 'ctest-vn-39923892'], 'port_security_enabled': True, 'description': ''}} 2025-03-31 11:46:19,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe87ad5a-4706-4b91-bfde-2ec040625321', 'name': '', 'tenant_id': '52a7825f47604309844ba2202f93c01a', 'network_id': '5bcc38a8-9582-4cf3-bca9-5158197c66d3', 'ip_version': 4, 'cidr': '50.141.198.128/26', 'allocation_pools': [{'start': '50.141.198.130', 'end': '50.141.198.190'}], 'gateway_ip': '50.141.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.141.198.130', 'tags': [], 'project_id': '52a7825f47604309844ba2202f93c01a'}} 2025-03-31 11:46:19,257 - INFO - Created VN ctest-vn-39923892 2025-03-31 11:46:19,311 - DEBUG - VN ctest-vn-39923892 UUID is 5bcc38a8-9582-4cf3-bca9-5158197c66d3 2025-03-31 11:46:19,651 - DEBUG - Response for create_network : {'network': {'id': 'aa99c56f-faa8-45ac-b269-e9b75528e4b4', 'name': 'ctest-ext_vn-47854929', 'tenant_id': '52a7825f47604309844ba2202f93c01a', 'project_id': '52a7825f47604309844ba2202f93c01a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60436999', 'ctest-ext_vn-47854929'], 'port_security_enabled': True, 'description': ''}} 2025-03-31 11:46:19,808 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a498e81b-81b4-4a44-ab7b-23650d0b96d3', 'name': '', 'tenant_id': '52a7825f47604309844ba2202f93c01a', 'network_id': 'aa99c56f-faa8-45ac-b269-e9b75528e4b4', 'ip_version': 4, 'cidr': '88.63.138.192/26', 'allocation_pools': [{'start': '88.63.138.194', 'end': '88.63.138.254'}], 'gateway_ip': '88.63.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.63.138.194', 'tags': [], 'project_id': '52a7825f47604309844ba2202f93c01a'}} 2025-03-31 11:46:19,828 - INFO - Created VN ctest-ext_vn-47854929 2025-03-31 11:46:19,883 - DEBUG - VN ctest-ext_vn-47854929 UUID is aa99c56f-faa8-45ac-b269-e9b75528e4b4 2025-03-31 11:46:20,053 - DEBUG - Services list from nova: [, , ] 2025-03-31 11:46:21,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3015-1) 2025-03-31 11:46:22,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3015-1) 2025-03-31 11:46:22,326 - INFO - Setting gateway for router fbdc32a6-b803-483f-a849-090baeef1857 to network aa99c56f-faa8-45ac-b269-e9b75528e4b4 2025-03-31 11:46:22,390 - INFO - Adding interface with subnet_id fe87ad5a-4706-4b91-bfde-2ec040625321, port_id None to router fbdc32a6-b803-483f-a849-090baeef1857 2025-03-31 11:46:22,769 - INFO - Waiting for VM ctest-TestRoutersBasic-60436999-89718660 to be up.. 2025-03-31 11:46:22,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-31 11:46:28,007 - DEBUG - VM is in ACTIVE state now 2025-03-31 11:46:28,007 - INFO - VM name : ctest-TestRoutersBasic-60436999-89718660 2025-03-31 11:46:28,086 - DEBUG - VM ctest-TestRoutersBasic-60436999-89718660 ID is 7fba1547-ab6e-4f74-a52e-51ca001dd975 2025-03-31 11:46:28,107 - DEBUG - VM ctest-TestRoutersBasic-60436999-89718660 launched on Node cn-jenkins-deploy-platform-ansible-os-3015-1 2025-03-31 11:46:28,194 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7fba1547-ab6e-4f74-a52e-51ca001dd975 2025-03-31 11:46:28,495 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7fba1547-ab6e-4f74-a52e-51ca001dd975 2025-03-31 11:46:28,526 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e7ee7e8c-a11b-483c-b8aa-f09cb40ee0f1 2025-03-31 11:46:31,813 - 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-03-31 11:46:31,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60436999-89718660 failed! 2025-03-31 11:46:31,871 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60436999:ctest-vn-39923892 is 50.141.198.129 and allocation pool is NOT set 2025-03-31 11:46:33,928 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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 = 0.404/2.269/4.134/1.865 ms') 2025-03-31 11:46:33,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60436999-89718660 passed 2025-03-31 11:46:34,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-31 11:46:34,043 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60436999-89718660, IP 50.141.198.131, Port 22 2025-03-31 11:46:34,207 - DEBUG - VM ctest-TestRoutersBasic-60436999-89718660 is ready for SSH connections 2025-03-31 11:46:34,207 - INFO - Waiting for VM ctest-TestRoutersBasic-60436999-69745589 to be up.. 2025-03-31 11:46:34,292 - DEBUG - VM is in ACTIVE state now 2025-03-31 11:46:34,292 - INFO - VM name : ctest-TestRoutersBasic-60436999-69745589 2025-03-31 11:46:34,375 - DEBUG - VM ctest-TestRoutersBasic-60436999-69745589 ID is ca684b65-8ee3-4672-984f-f85172fe4cb0 2025-03-31 11:46:34,375 - DEBUG - VM ctest-TestRoutersBasic-60436999-69745589 launched on Node cn-jenkins-deploy-platform-ansible-os-3015-1 2025-03-31 11:46:34,451 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ca684b65-8ee3-4672-984f-f85172fe4cb0 2025-03-31 11:46:34,461 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4005e27a-4d3c-48e9-9d64-eec5ed038c66 2025-03-31 11:46:35,702 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.615/2.824/1.209 ms') 2025-03-31 11:46:35,702 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60436999-69745589 passed 2025-03-31 11:46:35,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-31 11:46:35,859 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60436999-69745589, IP 88.63.138.195, Port 22 2025-03-31 11:46:36,035 - DEBUG - VM ctest-TestRoutersBasic-60436999-69745589 is ready for SSH connections 2025-03-31 11:46:36,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-31 11:46:36,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.63.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-31 11:46:36,035 - DEBUG - ping -s 56 -c 3 -W 1 88.63.138.195 2025-03-31 11:46:39,744 - DEBUG - PING 88.63.138.195 (88.63.138.195): 56 data bytes 64 bytes from 88.63.138.195: seq=0 ttl=62 time=6.546 ms 64 bytes from 88.63.138.195: seq=1 ttl=62 time=1.129 ms 64 bytes from 88.63.138.195: seq=2 ttl=62 time=1.103 ms --- 88.63.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.103/2.926/6.546 ms 2025-03-31 11:46:39,744 - INFO - Ping to IP 88.63.138.195 from VM ctest-TestRoutersBasic-60436999-89718660 passed 2025-03-31 11:46:39,744 - INFO - Deleting interface with subnet_id fe87ad5a-4706-4b91-bfde-2ec040625321, port_id None from router fbdc32a6-b803-483f-a849-090baeef1857 2025-03-31 11:46:39,980 - INFO - Deleting VM ctest-TestRoutersBasic-60436999-69745589 2025-03-31 11:46:40,055 - INFO - Deleting VM ctest-TestRoutersBasic-60436999-89718660 2025-03-31 11:46:40,134 - INFO - Deleting VN ctest-ext_vn-47854929 2025-03-31 11:46:40,203 - DEBUG - VN aa99c56f-faa8-45ac-b269-e9b75528e4b4 still in use: Unable to complete operation on network aa99c56f-faa8-45ac-b269-e9b75528e4b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0eaf079-3dc9-4e8f-92c2-bf2f63672da9'] 2025-03-31 11:46:40,203 - WARNING - Deleting VN ctest-ext_vn-47854929 failed..Will retry 2025-03-31 11:46:42,372 - DEBUG - Response for deleting network () 2025-03-31 11:46:42,372 - INFO - Deleting VN ctest-vn-39923892 2025-03-31 11:46:42,490 - DEBUG - Response for deleting network () 2025-03-31 11:46:42,755 - DEBUG - No XMPP flaps were noticed during the test 2025-03-31 11:46:42,755 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-03-31 11:46:42,756 - INFO - -------------------------------------------------------------------------------- 2025-03-31 11:46:43,432 - INFO - Deleted project: ctest-TestRoutersBasic-60436999, ID : 52a7825f-4760-4309-844b-a2202f93c01a