2025-06-25 15:42:41,807 - INFO - Domain Default found not creating 2025-06-25 15:42:41,961 - INFO - Project ctest-TestRoutersBasic-51603328 not found, creating it 2025-06-25 15:42:42,427 - INFO - Created Project:ctest-TestRoutersBasic-51603328, ID : 61a7ead5-41a7-41fa-9474-0369be36c701 2025-06-25 15:42:43,951 - INFO - ================================================================================ 2025-06-25 15:42:43,951 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-25 15:42:43,951 - 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-06-25 15:42:44,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-25 15:42:44,208 - INFO - Initial checks done. Running the testcase now 2025-06-25 15:42:44,208 - INFO - 2025-06-25 15:42:44,998 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51603328 2025-06-25 15:42:45,098 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51603328 2025-06-25 15:42:45,414 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51603328', 'default']} 2025-06-25 15:42:45,722 - DEBUG - Response for create_network : {'network': {'id': 'ca0a372e-0394-4f6d-86f3-a463a3e99110', 'name': 'ctest-vn-09884213', 'tenant_id': '61a7ead541a741fa94740369be36c701', 'project_id': '61a7ead541a741fa94740369be36c701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51603328', 'ctest-vn-09884213'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:42:45,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d737bce-3252-4daf-909a-6473f1477d73', 'name': '', 'tenant_id': '61a7ead541a741fa94740369be36c701', 'network_id': 'ca0a372e-0394-4f6d-86f3-a463a3e99110', 'ip_version': 4, 'cidr': '87.160.182.192/26', 'allocation_pools': [{'start': '87.160.182.194', 'end': '87.160.182.254'}], 'gateway_ip': '87.160.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.160.182.194', 'tags': [], 'project_id': '61a7ead541a741fa94740369be36c701'}} 2025-06-25 15:42:45,955 - INFO - Created VN ctest-vn-09884213 2025-06-25 15:42:46,014 - DEBUG - VN ctest-vn-09884213 UUID is ca0a372e-0394-4f6d-86f3-a463a3e99110 2025-06-25 15:42:46,379 - DEBUG - Response for create_network : {'network': {'id': 'c47fe1cd-3299-45d6-a19e-08efe84169d2', 'name': 'ctest-ext_vn-34866919', 'tenant_id': '61a7ead541a741fa94740369be36c701', 'project_id': '61a7ead541a741fa94740369be36c701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51603328', 'ctest-ext_vn-34866919'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:42:46,584 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8e91808-318d-4b17-b14d-f0433f919f2c', 'name': '', 'tenant_id': '61a7ead541a741fa94740369be36c701', 'network_id': 'c47fe1cd-3299-45d6-a19e-08efe84169d2', 'ip_version': 4, 'cidr': '44.152.98.64/26', 'allocation_pools': [{'start': '44.152.98.66', 'end': '44.152.98.126'}], 'gateway_ip': '44.152.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.152.98.66', 'tags': [], 'project_id': '61a7ead541a741fa94740369be36c701'}} 2025-06-25 15:42:46,602 - INFO - Created VN ctest-ext_vn-34866919 2025-06-25 15:42:46,658 - DEBUG - VN ctest-ext_vn-34866919 UUID is c47fe1cd-3299-45d6-a19e-08efe84169d2 2025-06-25 15:42:46,834 - DEBUG - Services list from nova: [, , ] 2025-06-25 15:42:47,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3550-1) 2025-06-25 15:42:49,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3550-1) 2025-06-25 15:42:49,229 - INFO - Setting gateway for router 778bf7b0-d1ac-4dd3-b76b-9d3aa279b8a9 to network c47fe1cd-3299-45d6-a19e-08efe84169d2 2025-06-25 15:42:49,302 - INFO - Adding interface with subnet_id 4d737bce-3252-4daf-909a-6473f1477d73, port_id None to router 778bf7b0-d1ac-4dd3-b76b-9d3aa279b8a9 2025-06-25 15:42:49,876 - INFO - Waiting for VM ctest-TestRoutersBasic-51603328-46118441 to be up.. 2025-06-25 15:42:50,021 - DEBUG - VM is in ACTIVE state now 2025-06-25 15:42:50,021 - INFO - VM name : ctest-TestRoutersBasic-51603328-46118441 2025-06-25 15:42:50,205 - DEBUG - VM ctest-TestRoutersBasic-51603328-46118441 ID is 87f5d00c-f7df-4c09-a4a2-f467dd970e17 2025-06-25 15:42:50,224 - DEBUG - VM ctest-TestRoutersBasic-51603328-46118441 launched on Node cn-jenkins-deploy-platform-ansible-os-3550-1 2025-06-25 15:42:50,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/87f5d00c-f7df-4c09-a4a2-f467dd970e17 2025-06-25 15:42:50,725 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/87f5d00c-f7df-4c09-a4a2-f467dd970e17 2025-06-25 15:42:50,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/38e9da16-dabd-47a0-8255-6b13b57a14a2 2025-06-25 15:42:54,055 - 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 1024ms') 2025-06-25 15:42:54,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51603328-46118441 failed! 2025-06-25 15:42:54,114 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51603328:ctest-vn-09884213 is 87.160.182.193 and allocation pool is NOT set 2025-06-25 15:42:58,188 - 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 1017ms') 2025-06-25 15:42:58,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51603328-46118441 failed! 2025-06-25 15:42:58,246 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51603328:ctest-vn-09884213 is 87.160.182.193 and allocation pool is NOT set 2025-06-25 15:43:00,313 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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 = 2.482/3.332/4.182/0.850 ms') 2025-06-25 15:43:00,313 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51603328-46118441 passed 2025-06-25 15:43:00,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:00,466 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51603328-46118441, IP 87.160.182.195, Port 22 2025-06-25 15:43:00,621 - DEBUG - VM ctest-TestRoutersBasic-51603328-46118441 is ready for SSH connections 2025-06-25 15:43:00,621 - INFO - Waiting for VM ctest-TestRoutersBasic-51603328-69106280 to be up.. 2025-06-25 15:43:00,701 - DEBUG - VM is in ACTIVE state now 2025-06-25 15:43:00,701 - INFO - VM name : ctest-TestRoutersBasic-51603328-69106280 2025-06-25 15:43:00,780 - DEBUG - VM ctest-TestRoutersBasic-51603328-69106280 ID is 30ea3e77-a8bc-43be-9872-043ab9a0b820 2025-06-25 15:43:00,780 - DEBUG - VM ctest-TestRoutersBasic-51603328-69106280 launched on Node cn-jenkins-deploy-platform-ansible-os-3550-1 2025-06-25 15:43:00,857 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/30ea3e77-a8bc-43be-9872-043ab9a0b820 2025-06-25 15:43:00,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bd9ecef1-2ec1-4dc4-8c36-0eef24939c2a 2025-06-25 15:43:02,115 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.845 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.845/1.997/3.149/1.152 ms') 2025-06-25 15:43:02,116 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51603328-69106280 passed 2025-06-25 15:43:02,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:02,270 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51603328-69106280, IP 44.152.98.67, Port 22 2025-06-25 15:43:02,425 - DEBUG - VM ctest-TestRoutersBasic-51603328-69106280 is ready for SSH connections 2025-06-25 15:43:02,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:02,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.152.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-25 15:43:02,425 - DEBUG - ping -s 56 -c 3 -W 1 44.152.98.67 2025-06-25 15:43:06,123 - DEBUG - PING 44.152.98.67 (44.152.98.67): 56 data bytes 64 bytes from 44.152.98.67: seq=0 ttl=62 time=7.451 ms 64 bytes from 44.152.98.67: seq=1 ttl=62 time=0.794 ms 64 bytes from 44.152.98.67: seq=2 ttl=62 time=0.876 ms --- 44.152.98.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/3.040/7.451 ms 2025-06-25 15:43:06,123 - INFO - Ping to IP 44.152.98.67 from VM ctest-TestRoutersBasic-51603328-46118441 passed 2025-06-25 15:43:06,124 - INFO - Deleting interface with subnet_id 4d737bce-3252-4daf-909a-6473f1477d73, port_id None from router 778bf7b0-d1ac-4dd3-b76b-9d3aa279b8a9 2025-06-25 15:43:06,338 - INFO - Deleting VM ctest-TestRoutersBasic-51603328-69106280 2025-06-25 15:43:06,408 - INFO - Deleting VM ctest-TestRoutersBasic-51603328-46118441 2025-06-25 15:43:06,496 - INFO - Deleting VN ctest-ext_vn-34866919 2025-06-25 15:43:06,564 - DEBUG - VN c47fe1cd-3299-45d6-a19e-08efe84169d2 still in use: Unable to complete operation on network c47fe1cd-3299-45d6-a19e-08efe84169d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d33b9287-74e7-4d63-85e9-b7c1425719b8'] 2025-06-25 15:43:06,564 - WARNING - Deleting VN ctest-ext_vn-34866919 failed..Will retry 2025-06-25 15:43:08,672 - DEBUG - Response for deleting network () 2025-06-25 15:43:08,672 - INFO - Deleting VN ctest-vn-09884213 2025-06-25 15:43:08,802 - DEBUG - Response for deleting network () 2025-06-25 15:43:09,059 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 15:43:09,059 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-25 15:43:09,059 - INFO - -------------------------------------------------------------------------------- 2025-06-25 15:43:09,808 - INFO - Deleted project: ctest-TestRoutersBasic-51603328, ID : 61a7ead5-41a7-41fa-9474-0369be36c701