2025-01-15 00:46:12,176 - INFO - Domain Default found not creating 2025-01-15 00:46:12,313 - INFO - Project ctest-TestRoutersBasic-88803379 not found, creating it 2025-01-15 00:46:12,761 - INFO - Created Project:ctest-TestRoutersBasic-88803379, ID : edd842f1-bace-4fda-bebc-9f59ea05b183 2025-01-15 00:46:14,116 - INFO - ================================================================================ 2025-01-15 00:46:14,117 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-15 00:46:14,117 - 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-01-15 00:46:14,374 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.29': '0'}} with 2025-01-15 00:46:14,374 - INFO - Initial checks done. Running the testcase now 2025-01-15 00:46:14,374 - INFO - 2025-01-15 00:46:15,076 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88803379 2025-01-15 00:46:15,185 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88803379 2025-01-15 00:46:15,500 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88803379', 'default']} 2025-01-15 00:46:15,799 - DEBUG - Response for create_network : {'network': {'id': '399a337d-7267-4ad6-bab2-be3d425c1d72', 'name': 'ctest-vn-42014119', 'tenant_id': 'edd842f1bace4fdabebc9f59ea05b183', 'project_id': 'edd842f1bace4fdabebc9f59ea05b183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88803379', 'ctest-vn-42014119'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 00:46:15,978 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbc63249-bd5c-4580-aba3-f7649801c2bb', 'name': '', 'tenant_id': 'edd842f1bace4fdabebc9f59ea05b183', 'network_id': '399a337d-7267-4ad6-bab2-be3d425c1d72', 'ip_version': 4, 'cidr': '150.55.53.128/26', 'allocation_pools': [{'start': '150.55.53.130', 'end': '150.55.53.190'}], 'gateway_ip': '150.55.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.55.53.130', 'tags': [], 'project_id': 'edd842f1bace4fdabebc9f59ea05b183'}} 2025-01-15 00:46:16,002 - INFO - Created VN ctest-vn-42014119 2025-01-15 00:46:16,061 - DEBUG - VN ctest-vn-42014119 UUID is 399a337d-7267-4ad6-bab2-be3d425c1d72 2025-01-15 00:46:16,420 - DEBUG - Response for create_network : {'network': {'id': 'c98cc882-5a07-48fd-b1f6-1699aaaa5f53', 'name': 'ctest-ext_vn-35256706', 'tenant_id': 'edd842f1bace4fdabebc9f59ea05b183', 'project_id': 'edd842f1bace4fdabebc9f59ea05b183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88803379', 'ctest-ext_vn-35256706'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 00:46:16,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd57cebad-7385-461a-bf3f-6417b2413250', 'name': '', 'tenant_id': 'edd842f1bace4fdabebc9f59ea05b183', 'network_id': 'c98cc882-5a07-48fd-b1f6-1699aaaa5f53', 'ip_version': 4, 'cidr': '50.147.21.192/26', 'allocation_pools': [{'start': '50.147.21.194', 'end': '50.147.21.254'}], 'gateway_ip': '50.147.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.147.21.194', 'tags': [], 'project_id': 'edd842f1bace4fdabebc9f59ea05b183'}} 2025-01-15 00:46:16,647 - INFO - Created VN ctest-ext_vn-35256706 2025-01-15 00:46:16,700 - DEBUG - VN ctest-ext_vn-35256706 UUID is c98cc882-5a07-48fd-b1f6-1699aaaa5f53 2025-01-15 00:46:16,863 - DEBUG - Services list from nova: [, , ] 2025-01-15 00:46:17,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2632-1) 2025-01-15 00:46:18,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2632-1) 2025-01-15 00:46:19,016 - INFO - Setting gateway for router 32ac0e25-6b73-4d3b-a020-991455bbd28c to network c98cc882-5a07-48fd-b1f6-1699aaaa5f53 2025-01-15 00:46:19,086 - INFO - Adding interface with subnet_id cbc63249-bd5c-4580-aba3-f7649801c2bb, port_id None to router 32ac0e25-6b73-4d3b-a020-991455bbd28c 2025-01-15 00:46:19,430 - INFO - Waiting for VM ctest-TestRoutersBasic-88803379-15122791 to be up.. 2025-01-15 00:46:19,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 00:46:24,710 - DEBUG - VM is in ACTIVE state now 2025-01-15 00:46:24,711 - INFO - VM name : ctest-TestRoutersBasic-88803379-15122791 2025-01-15 00:46:24,785 - DEBUG - VM ctest-TestRoutersBasic-88803379-15122791 ID is 8d836593-3b22-48d8-be21-2a76bc32c966 2025-01-15 00:46:24,803 - DEBUG - VM ctest-TestRoutersBasic-88803379-15122791 launched on Node cn-jenkins-deploy-platform-ansible-os-2632-1 2025-01-15 00:46:24,874 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/8d836593-3b22-48d8-be21-2a76bc32c966 2025-01-15 00:46:25,170 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/8d836593-3b22-48d8-be21-2a76bc32c966 2025-01-15 00:46:25,201 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/ed8d7a5e-444e-45c6-8f93-f5373f3b0daf 2025-01-15 00:46:28,477 - 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 1035ms') 2025-01-15 00:46:28,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88803379-15122791 failed! 2025-01-15 00:46:28,532 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88803379:ctest-vn-42014119 is 150.55.53.129 and allocation pool is NOT set 2025-01-15 00:46:30,597 - 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=3.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.629 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.629/1.848/3.067/1.219 ms') 2025-01-15 00:46:30,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88803379-15122791 passed 2025-01-15 00:46:30,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:46:30,705 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88803379-15122791, IP 150.55.53.131, Port 22 2025-01-15 00:46:30,860 - DEBUG - VM ctest-TestRoutersBasic-88803379-15122791 is ready for SSH connections 2025-01-15 00:46:30,860 - INFO - Waiting for VM ctest-TestRoutersBasic-88803379-75530801 to be up.. 2025-01-15 00:46:30,931 - DEBUG - VM is in ACTIVE state now 2025-01-15 00:46:30,931 - INFO - VM name : ctest-TestRoutersBasic-88803379-75530801 2025-01-15 00:46:31,003 - DEBUG - VM ctest-TestRoutersBasic-88803379-75530801 ID is 83d2a2c9-3467-4e89-985f-bf4067583689 2025-01-15 00:46:31,003 - DEBUG - VM ctest-TestRoutersBasic-88803379-75530801 launched on Node cn-jenkins-deploy-platform-ansible-os-2632-1 2025-01-15 00:46:31,071 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/83d2a2c9-3467-4e89-985f-bf4067583689 2025-01-15 00:46:31,079 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/001291cc-7840-4f80-aaef-4d71943f207d 2025-01-15 00:46:32,314 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.749/2.967/1.218 ms') 2025-01-15 00:46:32,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88803379-75530801 passed 2025-01-15 00:46:32,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:46:32,465 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88803379-75530801, IP 50.147.21.195, Port 22 2025-01-15 00:46:32,626 - DEBUG - VM ctest-TestRoutersBasic-88803379-75530801 is ready for SSH connections 2025-01-15 00:46:32,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 00:46:32,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.147.21.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-01-15 00:46:32,627 - DEBUG - ping -s 56 -c 3 -W 1 50.147.21.195 2025-01-15 00:46:36,603 - DEBUG - PING 50.147.21.195 (50.147.21.195): 56 data bytes 64 bytes from 50.147.21.195: seq=0 ttl=62 time=4.378 ms 64 bytes from 50.147.21.195: seq=1 ttl=62 time=0.913 ms 64 bytes from 50.147.21.195: seq=2 ttl=62 time=1.025 ms --- 50.147.21.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.105/4.378 ms 2025-01-15 00:46:36,603 - INFO - Ping to IP 50.147.21.195 from VM ctest-TestRoutersBasic-88803379-15122791 passed 2025-01-15 00:46:36,603 - INFO - Deleting interface with subnet_id cbc63249-bd5c-4580-aba3-f7649801c2bb, port_id None from router 32ac0e25-6b73-4d3b-a020-991455bbd28c 2025-01-15 00:46:36,811 - INFO - Deleting VM ctest-TestRoutersBasic-88803379-75530801 2025-01-15 00:46:36,872 - INFO - Deleting VM ctest-TestRoutersBasic-88803379-15122791 2025-01-15 00:46:36,941 - INFO - Deleting VN ctest-ext_vn-35256706 2025-01-15 00:46:37,006 - DEBUG - VN c98cc882-5a07-48fd-b1f6-1699aaaa5f53 still in use: Unable to complete operation on network c98cc882-5a07-48fd-b1f6-1699aaaa5f53. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc0282eb-a8c8-49b3-b509-c5a2985ff720'] 2025-01-15 00:46:37,006 - WARNING - Deleting VN ctest-ext_vn-35256706 failed..Will retry 2025-01-15 00:46:39,108 - DEBUG - Response for deleting network () 2025-01-15 00:46:39,108 - INFO - Deleting VN ctest-vn-42014119 2025-01-15 00:46:39,229 - DEBUG - Response for deleting network () 2025-01-15 00:46:39,482 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 00:46:39,482 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-15 00:46:39,482 - INFO - -------------------------------------------------------------------------------- 2025-01-15 00:46:40,147 - INFO - Deleted project: ctest-TestRoutersBasic-88803379, ID : edd842f1-bace-4fda-bebc-9f59ea05b183