2025-06-18 02:44:24,065 - INFO - Domain Default found not creating 2025-06-18 02:44:24,214 - INFO - Project ctest-TestRoutersBasic-24642264 not found, creating it 2025-06-18 02:44:24,689 - INFO - Created Project:ctest-TestRoutersBasic-24642264, ID : 53c6fae9-77f4-4639-aeee-0e949afdc3c7 2025-06-18 02:44:26,263 - INFO - ================================================================================ 2025-06-18 02:44:26,263 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 02:44:26,263 - 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-18 02:44:26,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-18 02:44:26,519 - INFO - Initial checks done. Running the testcase now 2025-06-18 02:44:26,519 - INFO - 2025-06-18 02:44:27,362 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24642264 2025-06-18 02:44:27,464 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24642264 2025-06-18 02:44:27,788 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24642264', 'default']} 2025-06-18 02:44:28,089 - DEBUG - Response for create_network : {'network': {'id': 'a9a1f09a-23f4-4b3b-ac0f-0b54dba096cd', 'name': 'ctest-vn-43969561', 'tenant_id': '53c6fae977f44639aeee0e949afdc3c7', 'project_id': '53c6fae977f44639aeee0e949afdc3c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24642264', 'ctest-vn-43969561'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 02:44:28,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '251bb328-d78d-42fe-8bf1-c23a89484fb3', 'name': '', 'tenant_id': '53c6fae977f44639aeee0e949afdc3c7', 'network_id': 'a9a1f09a-23f4-4b3b-ac0f-0b54dba096cd', 'ip_version': 4, 'cidr': '179.192.176.192/26', 'allocation_pools': [{'start': '179.192.176.194', 'end': '179.192.176.254'}], 'gateway_ip': '179.192.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.192.176.194', 'tags': [], 'project_id': '53c6fae977f44639aeee0e949afdc3c7'}} 2025-06-18 02:44:28,324 - INFO - Created VN ctest-vn-43969561 2025-06-18 02:44:28,380 - DEBUG - VN ctest-vn-43969561 UUID is a9a1f09a-23f4-4b3b-ac0f-0b54dba096cd 2025-06-18 02:44:28,716 - DEBUG - Response for create_network : {'network': {'id': '77a23b29-f6f6-4851-8588-626e756d1056', 'name': 'ctest-ext_vn-35056285', 'tenant_id': '53c6fae977f44639aeee0e949afdc3c7', 'project_id': '53c6fae977f44639aeee0e949afdc3c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24642264', 'ctest-ext_vn-35056285'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 02:44:28,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f365e253-088d-4b66-aedf-ab2e2da6c92e', 'name': '', 'tenant_id': '53c6fae977f44639aeee0e949afdc3c7', 'network_id': '77a23b29-f6f6-4851-8588-626e756d1056', 'ip_version': 4, 'cidr': '141.61.203.0/26', 'allocation_pools': [{'start': '141.61.203.2', 'end': '141.61.203.62'}], 'gateway_ip': '141.61.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.61.203.2', 'tags': [], 'project_id': '53c6fae977f44639aeee0e949afdc3c7'}} 2025-06-18 02:44:28,945 - INFO - Created VN ctest-ext_vn-35056285 2025-06-18 02:44:29,000 - DEBUG - VN ctest-ext_vn-35056285 UUID is 77a23b29-f6f6-4851-8588-626e756d1056 2025-06-18 02:44:29,179 - DEBUG - Services list from nova: [, , ] 2025-06-18 02:44:30,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3466-1) 2025-06-18 02:44:31,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3466-1) 2025-06-18 02:44:31,681 - INFO - Setting gateway for router 5fabfc4a-fd5b-4890-8659-23d66a05fa22 to network 77a23b29-f6f6-4851-8588-626e756d1056 2025-06-18 02:44:31,758 - INFO - Adding interface with subnet_id 251bb328-d78d-42fe-8bf1-c23a89484fb3, port_id None to router 5fabfc4a-fd5b-4890-8659-23d66a05fa22 2025-06-18 02:44:32,263 - INFO - Waiting for VM ctest-TestRoutersBasic-24642264-33765988 to be up.. 2025-06-18 02:44:32,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 02:44:37,542 - DEBUG - VM is in ACTIVE state now 2025-06-18 02:44:37,542 - INFO - VM name : ctest-TestRoutersBasic-24642264-33765988 2025-06-18 02:44:37,633 - DEBUG - VM ctest-TestRoutersBasic-24642264-33765988 ID is ca097275-55d1-4fee-9a13-34c88a714b7c 2025-06-18 02:44:37,655 - DEBUG - VM ctest-TestRoutersBasic-24642264-33765988 launched on Node cn-jenkins-deploy-platform-ansible-os-3466-1 2025-06-18 02:44:37,743 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ca097275-55d1-4fee-9a13-34c88a714b7c 2025-06-18 02:44:38,078 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ca097275-55d1-4fee-9a13-34c88a714b7c 2025-06-18 02:44:38,112 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8e098bf3-b48d-41c7-aed6-d90a361be3b8 2025-06-18 02:44:41,373 - 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 1015ms') 2025-06-18 02:44:41,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24642264-33765988 failed! 2025-06-18 02:44:41,431 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24642264:ctest-vn-43969561 is 179.192.176.193 and allocation pool is NOT set 2025-06-18 02:44:43,492 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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 = 1.005/2.708/4.412/1.703 ms') 2025-06-18 02:44:43,492 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24642264-33765988 passed 2025-06-18 02:44:43,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 02:44:43,648 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24642264-33765988, IP 179.192.176.195, Port 22 2025-06-18 02:44:43,803 - DEBUG - VM ctest-TestRoutersBasic-24642264-33765988 is ready for SSH connections 2025-06-18 02:44:43,803 - INFO - Waiting for VM ctest-TestRoutersBasic-24642264-93105921 to be up.. 2025-06-18 02:44:43,884 - DEBUG - VM is in ACTIVE state now 2025-06-18 02:44:43,884 - INFO - VM name : ctest-TestRoutersBasic-24642264-93105921 2025-06-18 02:44:43,968 - DEBUG - VM ctest-TestRoutersBasic-24642264-93105921 ID is f1788db9-a414-468f-8e50-94fe0ae06433 2025-06-18 02:44:43,968 - DEBUG - VM ctest-TestRoutersBasic-24642264-93105921 launched on Node cn-jenkins-deploy-platform-ansible-os-3466-1 2025-06-18 02:44:44,051 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f1788db9-a414-468f-8e50-94fe0ae06433 2025-06-18 02:44:44,062 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/95f98e5e-a32c-49c8-b7aa-5b0b4eb711d8 2025-06-18 02:44:45,318 - 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=4.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.408/2.999/4.591/1.591 ms') 2025-06-18 02:44:45,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24642264-93105921 passed 2025-06-18 02:44:45,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 02:44:45,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24642264-93105921, IP 141.61.203.3, Port 22 2025-06-18 02:44:45,647 - DEBUG - VM ctest-TestRoutersBasic-24642264-93105921 is ready for SSH connections 2025-06-18 02:44:45,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 02:44:45,648 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.61.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-18 02:44:45,648 - DEBUG - ping -s 56 -c 3 -W 1 141.61.203.3 2025-06-18 02:44:49,737 - DEBUG - PING 141.61.203.3 (141.61.203.3): 56 data bytes 64 bytes from 141.61.203.3: seq=0 ttl=62 time=6.424 ms 64 bytes from 141.61.203.3: seq=1 ttl=62 time=0.892 ms 64 bytes from 141.61.203.3: seq=2 ttl=62 time=0.953 ms --- 141.61.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/2.756/6.424 ms 2025-06-18 02:44:49,738 - INFO - Ping to IP 141.61.203.3 from VM ctest-TestRoutersBasic-24642264-33765988 passed 2025-06-18 02:44:49,738 - INFO - Deleting interface with subnet_id 251bb328-d78d-42fe-8bf1-c23a89484fb3, port_id None from router 5fabfc4a-fd5b-4890-8659-23d66a05fa22 2025-06-18 02:44:49,952 - INFO - Deleting VM ctest-TestRoutersBasic-24642264-93105921 2025-06-18 02:44:50,021 - INFO - Deleting VM ctest-TestRoutersBasic-24642264-33765988 2025-06-18 02:44:50,102 - INFO - Deleting VN ctest-ext_vn-35056285 2025-06-18 02:44:50,173 - DEBUG - VN 77a23b29-f6f6-4851-8588-626e756d1056 still in use: Unable to complete operation on network 77a23b29-f6f6-4851-8588-626e756d1056. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d39d5596-3c22-4107-90a9-9cde6529de26'] 2025-06-18 02:44:50,173 - WARNING - Deleting VN ctest-ext_vn-35056285 failed..Will retry 2025-06-18 02:44:52,296 - DEBUG - Response for deleting network () 2025-06-18 02:44:52,296 - INFO - Deleting VN ctest-vn-43969561 2025-06-18 02:44:52,414 - DEBUG - Response for deleting network () 2025-06-18 02:44:52,674 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 02:44:52,675 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-18 02:44:52,675 - INFO - -------------------------------------------------------------------------------- 2025-06-18 02:44:53,415 - INFO - Deleted project: ctest-TestRoutersBasic-24642264, ID : 53c6fae9-77f4-4639-aeee-0e949afdc3c7