2025-06-30 02:28:36,298 - INFO - Domain Default found not creating 2025-06-30 02:28:36,451 - INFO - Project ctest-TestRoutersBasic-55894482 not found, creating it 2025-06-30 02:28:36,932 - INFO - Created Project:ctest-TestRoutersBasic-55894482, ID : c9f6554a-0c0c-4804-9cab-b2a5c2d7a73c 2025-06-30 02:28:38,348 - INFO - ================================================================================ 2025-06-30 02:28:38,348 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-30 02:28:38,348 - 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-30 02:28:38,606 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with 2025-06-30 02:28:38,606 - INFO - Initial checks done. Running the testcase now 2025-06-30 02:28:38,606 - INFO - 2025-06-30 02:28:39,305 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55894482 2025-06-30 02:28:39,400 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55894482 2025-06-30 02:28:39,716 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55894482', 'default']} 2025-06-30 02:28:40,004 - DEBUG - Response for create_network : {'network': {'id': 'eeac839f-ba5e-4538-8371-3e459e77cb28', 'name': 'ctest-vn-69555629', 'tenant_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c', 'project_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55894482', 'ctest-vn-69555629'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:28:40,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cc39d14-c44e-4fdc-bde4-f84b76afdbb4', 'name': '', 'tenant_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c', 'network_id': 'eeac839f-ba5e-4538-8371-3e459e77cb28', 'ip_version': 4, 'cidr': '8.55.67.0/26', 'allocation_pools': [{'start': '8.55.67.2', 'end': '8.55.67.62'}], 'gateway_ip': '8.55.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.55.67.2', 'tags': [], 'project_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c'}} 2025-06-30 02:28:40,201 - INFO - Created VN ctest-vn-69555629 2025-06-30 02:28:40,255 - DEBUG - VN ctest-vn-69555629 UUID is eeac839f-ba5e-4538-8371-3e459e77cb28 2025-06-30 02:28:40,587 - DEBUG - Response for create_network : {'network': {'id': '375cbd73-aeed-4aea-a811-1f97266d4ee5', 'name': 'ctest-ext_vn-69693915', 'tenant_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c', 'project_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55894482', 'ctest-ext_vn-69693915'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:28:40,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e282caf-6a20-4daf-875f-ff71792a6bab', 'name': '', 'tenant_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c', 'network_id': '375cbd73-aeed-4aea-a811-1f97266d4ee5', 'ip_version': 4, 'cidr': '69.60.212.0/26', 'allocation_pools': [{'start': '69.60.212.2', 'end': '69.60.212.62'}], 'gateway_ip': '69.60.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.60.212.2', 'tags': [], 'project_id': 'c9f6554a0c0c48049cabb2a5c2d7a73c'}} 2025-06-30 02:28:40,810 - INFO - Created VN ctest-ext_vn-69693915 2025-06-30 02:28:40,863 - DEBUG - VN ctest-ext_vn-69693915 UUID is 375cbd73-aeed-4aea-a811-1f97266d4ee5 2025-06-30 02:28:41,047 - DEBUG - Services list from nova: [, , ] 2025-06-30 02:28:42,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3568-1) 2025-06-30 02:28:43,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3568-1) 2025-06-30 02:28:43,487 - INFO - Setting gateway for router fd52413b-b9ad-423e-83cd-d68af212db2b to network 375cbd73-aeed-4aea-a811-1f97266d4ee5 2025-06-30 02:28:43,577 - INFO - Adding interface with subnet_id 0cc39d14-c44e-4fdc-bde4-f84b76afdbb4, port_id None to router fd52413b-b9ad-423e-83cd-d68af212db2b 2025-06-30 02:28:43,907 - INFO - Waiting for VM ctest-TestRoutersBasic-55894482-27900581 to be up.. 2025-06-30 02:28:44,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 02:28:49,135 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:28:49,135 - INFO - VM name : ctest-TestRoutersBasic-55894482-27900581 2025-06-30 02:28:49,219 - DEBUG - VM ctest-TestRoutersBasic-55894482-27900581 ID is 94daf40d-c2bc-42ff-af5a-f586344d40ef 2025-06-30 02:28:49,241 - DEBUG - VM ctest-TestRoutersBasic-55894482-27900581 launched on Node cn-jenkins-deploy-platform-ansible-os-3568-1 2025-06-30 02:28:49,333 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/94daf40d-c2bc-42ff-af5a-f586344d40ef 2025-06-30 02:28:49,629 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/94daf40d-c2bc-42ff-af5a-f586344d40ef 2025-06-30 02:28:49,675 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/f378ae24-9bbd-4ef0-bf04-4df72a652dc3 2025-06-30 02:28:52,925 - 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 1008ms') 2025-06-30 02:28:52,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55894482-27900581 failed! 2025-06-30 02:28:52,979 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55894482:ctest-vn-69555629 is 8.55.67.1 and allocation pool is NOT set 2025-06-30 02:28:55,056 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 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 = 2.806/2.825/2.844/0.019 ms') 2025-06-30 02:28:55,056 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55894482-27900581 passed 2025-06-30 02:28:55,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:28:55,207 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55894482-27900581, IP 8.55.67.3, Port 22 2025-06-30 02:28:55,363 - DEBUG - VM ctest-TestRoutersBasic-55894482-27900581 is ready for SSH connections 2025-06-30 02:28:55,363 - INFO - Waiting for VM ctest-TestRoutersBasic-55894482-99096104 to be up.. 2025-06-30 02:28:55,437 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:28:55,437 - INFO - VM name : ctest-TestRoutersBasic-55894482-99096104 2025-06-30 02:28:55,519 - DEBUG - VM ctest-TestRoutersBasic-55894482-99096104 ID is 66b5fbd4-63c3-4bf8-8906-a3abeb3f6f3b 2025-06-30 02:28:55,520 - DEBUG - VM ctest-TestRoutersBasic-55894482-99096104 launched on Node cn-jenkins-deploy-platform-ansible-os-3568-1 2025-06-30 02:28:55,595 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/66b5fbd4-63c3-4bf8-8906-a3abeb3f6f3b 2025-06-30 02:28:55,604 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/096f49b8-39de-4688-a25e-0cd9d29d09ce 2025-06-30 02:28:56,848 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.909 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.909/2.291/3.673/1.382 ms') 2025-06-30 02:28:56,848 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55894482-99096104 passed 2025-06-30 02:28:57,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:28:57,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55894482-99096104, IP 69.60.212.3, Port 22 2025-06-30 02:28:57,155 - DEBUG - VM ctest-TestRoutersBasic-55894482-99096104 is ready for SSH connections 2025-06-30 02:28:57,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:28:57,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.60.212.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-06-30 02:28:57,155 - DEBUG - ping -s 56 -c 3 -W 1 69.60.212.3 2025-06-30 02:29:01,133 - DEBUG - PING 69.60.212.3 (69.60.212.3): 56 data bytes 64 bytes from 69.60.212.3: seq=0 ttl=62 time=8.364 ms 64 bytes from 69.60.212.3: seq=1 ttl=62 time=1.140 ms 64 bytes from 69.60.212.3: seq=2 ttl=62 time=0.836 ms --- 69.60.212.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/3.446/8.364 ms 2025-06-30 02:29:01,133 - INFO - Ping to IP 69.60.212.3 from VM ctest-TestRoutersBasic-55894482-27900581 passed 2025-06-30 02:29:01,133 - INFO - Deleting interface with subnet_id 0cc39d14-c44e-4fdc-bde4-f84b76afdbb4, port_id None from router fd52413b-b9ad-423e-83cd-d68af212db2b 2025-06-30 02:29:01,350 - INFO - Deleting VM ctest-TestRoutersBasic-55894482-99096104 2025-06-30 02:29:01,429 - INFO - Deleting VM ctest-TestRoutersBasic-55894482-27900581 2025-06-30 02:29:01,516 - INFO - Deleting VN ctest-ext_vn-69693915 2025-06-30 02:29:01,596 - DEBUG - VN 375cbd73-aeed-4aea-a811-1f97266d4ee5 still in use: Unable to complete operation on network 375cbd73-aeed-4aea-a811-1f97266d4ee5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7cbef9d8-50db-479b-9ce8-dc2e6a50540a'] 2025-06-30 02:29:01,597 - WARNING - Deleting VN ctest-ext_vn-69693915 failed..Will retry 2025-06-30 02:29:03,693 - DEBUG - Response for deleting network () 2025-06-30 02:29:03,693 - INFO - Deleting VN ctest-vn-69555629 2025-06-30 02:29:03,797 - DEBUG - Response for deleting network () 2025-06-30 02:29:04,061 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 02:29:04,061 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-30 02:29:04,061 - INFO - -------------------------------------------------------------------------------- 2025-06-30 02:29:04,739 - INFO - Deleted project: ctest-TestRoutersBasic-55894482, ID : c9f6554a-0c0c-4804-9cab-b2a5c2d7a73c