2025-04-04 16:01:47,147 - INFO - Domain Default found not creating 2025-04-04 16:01:47,371 - INFO - Project ctest-TestRoutersBasic-25516772 not found, creating it 2025-04-04 16:01:47,977 - INFO - Created Project:ctest-TestRoutersBasic-25516772, ID : 3c392cf6-43cc-4763-a493-d8817f91c239 2025-04-04 16:01:49,937 - INFO - ================================================================================ 2025-04-04 16:01:49,937 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-04 16:01:49,937 - 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-04-04 16:01:50,216 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with 2025-04-04 16:01:50,216 - INFO - Initial checks done. Running the testcase now 2025-04-04 16:01:50,217 - INFO - 2025-04-04 16:01:51,294 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25516772 2025-04-04 16:01:51,396 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25516772 2025-04-04 16:01:51,755 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25516772', 'default']} 2025-04-04 16:01:52,149 - DEBUG - Response for create_network : {'network': {'id': 'a256896d-90af-432d-a194-d03f611a26a2', 'name': 'ctest-vn-99285358', 'tenant_id': '3c392cf643cc4763a493d8817f91c239', 'project_id': '3c392cf643cc4763a493d8817f91c239', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25516772', 'ctest-vn-99285358'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 16:01:52,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '1da4ac70-ccaf-45e7-bc12-cce08b2c1a45', 'name': '', 'tenant_id': '3c392cf643cc4763a493d8817f91c239', 'network_id': 'a256896d-90af-432d-a194-d03f611a26a2', 'ip_version': 4, 'cidr': '197.211.51.192/26', 'allocation_pools': [{'start': '197.211.51.194', 'end': '197.211.51.254'}], 'gateway_ip': '197.211.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.211.51.194', 'tags': [], 'project_id': '3c392cf643cc4763a493d8817f91c239'}} 2025-04-04 16:01:52,397 - INFO - Created VN ctest-vn-99285358 2025-04-04 16:01:52,456 - DEBUG - VN ctest-vn-99285358 UUID is a256896d-90af-432d-a194-d03f611a26a2 2025-04-04 16:01:52,880 - DEBUG - Response for create_network : {'network': {'id': '43aa08e6-a615-4f62-afea-b4652bf840e3', 'name': 'ctest-ext_vn-96555065', 'tenant_id': '3c392cf643cc4763a493d8817f91c239', 'project_id': '3c392cf643cc4763a493d8817f91c239', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25516772', 'ctest-ext_vn-96555065'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 16:01:53,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '817d64c2-cc36-4109-97e8-640dc148f2c9', 'name': '', 'tenant_id': '3c392cf643cc4763a493d8817f91c239', 'network_id': '43aa08e6-a615-4f62-afea-b4652bf840e3', 'ip_version': 4, 'cidr': '28.206.188.0/26', 'allocation_pools': [{'start': '28.206.188.2', 'end': '28.206.188.62'}], 'gateway_ip': '28.206.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.206.188.2', 'tags': [], 'project_id': '3c392cf643cc4763a493d8817f91c239'}} 2025-04-04 16:01:53,175 - INFO - Created VN ctest-ext_vn-96555065 2025-04-04 16:01:53,232 - DEBUG - VN ctest-ext_vn-96555065 UUID is 43aa08e6-a615-4f62-afea-b4652bf840e3 2025-04-04 16:01:53,463 - DEBUG - Services list from nova: [, , ] 2025-04-04 16:01:54,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3036-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3036-1) 2025-04-04 16:01:56,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3036-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3036-1) 2025-04-04 16:01:56,455 - INFO - Setting gateway for router 0336acc6-67bb-4902-9c52-bee8375b35ae to network 43aa08e6-a615-4f62-afea-b4652bf840e3 2025-04-04 16:01:56,549 - INFO - Adding interface with subnet_id 1da4ac70-ccaf-45e7-bc12-cce08b2c1a45, port_id None to router 0336acc6-67bb-4902-9c52-bee8375b35ae 2025-04-04 16:01:57,139 - INFO - Waiting for VM ctest-TestRoutersBasic-25516772-10472879 to be up.. 2025-04-04 16:01:57,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-04 16:02:02,485 - DEBUG - VM is in ACTIVE state now 2025-04-04 16:02:02,486 - INFO - VM name : ctest-TestRoutersBasic-25516772-10472879 2025-04-04 16:02:02,632 - DEBUG - VM ctest-TestRoutersBasic-25516772-10472879 ID is ea4e9d50-a31e-40fb-bbec-d773f91fe10f 2025-04-04 16:02:02,662 - DEBUG - VM ctest-TestRoutersBasic-25516772-10472879 launched on Node cn-jenkins-deploy-platform-ansible-os-3036-1 2025-04-04 16:02:02,777 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ea4e9d50-a31e-40fb-bbec-d773f91fe10f 2025-04-04 16:02:03,153 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ea4e9d50-a31e-40fb-bbec-d773f91fe10f 2025-04-04 16:02:03,203 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a2a64606-8578-4070-9e27-d0b2bbb8e8ed 2025-04-04 16:02:06,504 - 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 1004ms') 2025-04-04 16:02:06,504 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25516772-10472879 failed! 2025-04-04 16:02:06,564 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25516772:ctest-vn-99285358 is 197.211.51.193 and allocation pool is NOT set 2025-04-04 16:02:10,661 - 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=4.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 4.562/4.562/4.562/0.000 ms') 2025-04-04 16:02:10,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25516772-10472879 passed 2025-04-04 16:02:10,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:02:10,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25516772-10472879, IP 197.211.51.195, Port 22 2025-04-04 16:02:10,959 - DEBUG - VM ctest-TestRoutersBasic-25516772-10472879 is ready for SSH connections 2025-04-04 16:02:10,959 - INFO - Waiting for VM ctest-TestRoutersBasic-25516772-68181789 to be up.. 2025-04-04 16:02:11,095 - DEBUG - VM is in ACTIVE state now 2025-04-04 16:02:11,095 - INFO - VM name : ctest-TestRoutersBasic-25516772-68181789 2025-04-04 16:02:11,206 - DEBUG - VM ctest-TestRoutersBasic-25516772-68181789 ID is da1ee849-b14a-4a47-a38b-4903be0ca5e1 2025-04-04 16:02:11,206 - DEBUG - VM ctest-TestRoutersBasic-25516772-68181789 launched on Node cn-jenkins-deploy-platform-ansible-os-3036-1 2025-04-04 16:02:11,328 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/da1ee849-b14a-4a47-a38b-4903be0ca5e1 2025-04-04 16:02:11,341 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a553b38c-e9f7-4b03-9a22-6cb2e2d530a1 2025-04-04 16:02:12,611 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/2.029/3.538/1.508 ms') 2025-04-04 16:02:12,611 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25516772-68181789 passed 2025-04-04 16:02:12,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:02:12,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25516772-68181789, IP 28.206.188.3, Port 22 2025-04-04 16:02:12,966 - DEBUG - VM ctest-TestRoutersBasic-25516772-68181789 is ready for SSH connections 2025-04-04 16:02:12,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:02:12,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.206.188.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-04 16:02:12,967 - DEBUG - ping -s 56 -c 3 -W 1 28.206.188.3 2025-04-04 16:02:16,849 - DEBUG - PING 28.206.188.3 (28.206.188.3): 56 data bytes 64 bytes from 28.206.188.3: seq=0 ttl=62 time=8.769 ms 64 bytes from 28.206.188.3: seq=1 ttl=62 time=1.253 ms 64 bytes from 28.206.188.3: seq=2 ttl=62 time=1.565 ms --- 28.206.188.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.253/3.862/8.769 ms 2025-04-04 16:02:16,850 - INFO - Ping to IP 28.206.188.3 from VM ctest-TestRoutersBasic-25516772-10472879 passed 2025-04-04 16:02:16,850 - INFO - Deleting interface with subnet_id 1da4ac70-ccaf-45e7-bc12-cce08b2c1a45, port_id None from router 0336acc6-67bb-4902-9c52-bee8375b35ae 2025-04-04 16:02:17,177 - INFO - Deleting VM ctest-TestRoutersBasic-25516772-68181789 2025-04-04 16:02:17,264 - INFO - Deleting VM ctest-TestRoutersBasic-25516772-10472879 2025-04-04 16:02:17,404 - INFO - Deleting VN ctest-ext_vn-96555065 2025-04-04 16:02:17,524 - DEBUG - VN 43aa08e6-a615-4f62-afea-b4652bf840e3 still in use: Unable to complete operation on network 43aa08e6-a615-4f62-afea-b4652bf840e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4cf4b5f-9a0d-4f2d-bc36-b5ce61991689'] 2025-04-04 16:02:17,525 - WARNING - Deleting VN ctest-ext_vn-96555065 failed..Will retry 2025-04-04 16:02:19,686 - DEBUG - Response for deleting network () 2025-04-04 16:02:19,686 - INFO - Deleting VN ctest-vn-99285358 2025-04-04 16:02:19,833 - DEBUG - Response for deleting network () 2025-04-04 16:02:20,107 - DEBUG - No XMPP flaps were noticed during the test 2025-04-04 16:02:20,107 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2025-04-04 16:02:20,107 - INFO - -------------------------------------------------------------------------------- 2025-04-04 16:02:20,947 - INFO - Deleted project: ctest-TestRoutersBasic-25516772, ID : 3c392cf6-43cc-4763-a493-d8817f91c239