2025-07-24 02:23:50,874 - INFO - Domain Default found not creating 2025-07-24 02:23:51,042 - INFO - Project ctest-TestRoutersBasic-59703396 not found, creating it 2025-07-24 02:23:51,542 - INFO - Created Project:ctest-TestRoutersBasic-59703396, ID : f260e0be-7019-412b-86ae-6b62b8707533 2025-07-24 02:23:53,066 - INFO - ================================================================================ 2025-07-24 02:23:53,066 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-24 02:23:53,066 - 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-07-24 02:23:53,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-07-24 02:23:53,328 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:23:53,328 - INFO - 2025-07-24 02:23:54,085 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59703396 2025-07-24 02:23:54,185 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59703396 2025-07-24 02:23:54,513 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59703396', 'default']} 2025-07-24 02:23:54,836 - DEBUG - Response for create_network : {'network': {'id': 'de7d4d2a-8803-46f7-85d2-b11511509e67', 'name': 'ctest-vn-27404447', 'tenant_id': 'f260e0be7019412b86ae6b62b8707533', 'project_id': 'f260e0be7019412b86ae6b62b8707533', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59703396', 'ctest-vn-27404447'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:23:55,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b85c13a-3dd7-4d3a-82d3-8589550fe1d2', 'name': '', 'tenant_id': 'f260e0be7019412b86ae6b62b8707533', 'network_id': 'de7d4d2a-8803-46f7-85d2-b11511509e67', 'ip_version': 4, 'cidr': '111.184.219.128/26', 'allocation_pools': [{'start': '111.184.219.130', 'end': '111.184.219.190'}], 'gateway_ip': '111.184.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.184.219.130', 'tags': [], 'project_id': 'f260e0be7019412b86ae6b62b8707533'}} 2025-07-24 02:23:55,039 - INFO - Created VN ctest-vn-27404447 2025-07-24 02:23:55,093 - DEBUG - VN ctest-vn-27404447 UUID is de7d4d2a-8803-46f7-85d2-b11511509e67 2025-07-24 02:23:55,428 - DEBUG - Response for create_network : {'network': {'id': '08306e3f-41d3-48a7-b515-e2e490457307', 'name': 'ctest-ext_vn-31938963', 'tenant_id': 'f260e0be7019412b86ae6b62b8707533', 'project_id': 'f260e0be7019412b86ae6b62b8707533', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59703396', 'ctest-ext_vn-31938963'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:23:55,652 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf71bdfa-a252-4188-aae9-f6e64702e64f', 'name': '', 'tenant_id': 'f260e0be7019412b86ae6b62b8707533', 'network_id': '08306e3f-41d3-48a7-b515-e2e490457307', 'ip_version': 4, 'cidr': '66.58.50.64/26', 'allocation_pools': [{'start': '66.58.50.66', 'end': '66.58.50.126'}], 'gateway_ip': '66.58.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.58.50.66', 'tags': [], 'project_id': 'f260e0be7019412b86ae6b62b8707533'}} 2025-07-24 02:23:55,670 - INFO - Created VN ctest-ext_vn-31938963 2025-07-24 02:23:55,725 - DEBUG - VN ctest-ext_vn-31938963 UUID is 08306e3f-41d3-48a7-b515-e2e490457307 2025-07-24 02:23:55,902 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:23:56,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3709-1) 2025-07-24 02:23:58,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3709-1) 2025-07-24 02:23:58,194 - INFO - Setting gateway for router c56932bf-75ac-4951-9777-e00e0b39eab5 to network 08306e3f-41d3-48a7-b515-e2e490457307 2025-07-24 02:23:58,252 - INFO - Adding interface with subnet_id 7b85c13a-3dd7-4d3a-82d3-8589550fe1d2, port_id None to router c56932bf-75ac-4951-9777-e00e0b39eab5 2025-07-24 02:23:58,615 - INFO - Waiting for VM ctest-TestRoutersBasic-59703396-92482416 to be up.. 2025-07-24 02:23:58,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:24:03,842 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:24:03,843 - INFO - VM name : ctest-TestRoutersBasic-59703396-92482416 2025-07-24 02:24:03,920 - DEBUG - VM ctest-TestRoutersBasic-59703396-92482416 ID is 2240296b-5c93-44f7-8ac6-774aee260c02 2025-07-24 02:24:03,938 - DEBUG - VM ctest-TestRoutersBasic-59703396-92482416 launched on Node cn-jenkins-deploy-platform-ansible-os-3709-1 2025-07-24 02:24:04,017 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2240296b-5c93-44f7-8ac6-774aee260c02 2025-07-24 02:24:04,334 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2240296b-5c93-44f7-8ac6-774aee260c02 2025-07-24 02:24:04,372 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f4f1dcbf-bc34-49a8-b1e9-f16fe10d85d2 2025-07-24 02:24:07,655 - 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 1025ms') 2025-07-24 02:24:07,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59703396-92482416 failed! 2025-07-24 02:24:07,709 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59703396:ctest-vn-27404447 is 111.184.219.129 and allocation pool is NOT set 2025-07-24 02:24:09,765 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/2.414/4.332/1.918 ms') 2025-07-24 02:24:09,765 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59703396-92482416 passed 2025-07-24 02:24:09,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:24:09,922 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59703396-92482416, IP 111.184.219.131, Port 22 2025-07-24 02:24:10,084 - DEBUG - VM ctest-TestRoutersBasic-59703396-92482416 is ready for SSH connections 2025-07-24 02:24:10,084 - INFO - Waiting for VM ctest-TestRoutersBasic-59703396-25358468 to be up.. 2025-07-24 02:24:10,164 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:24:10,164 - INFO - VM name : ctest-TestRoutersBasic-59703396-25358468 2025-07-24 02:24:10,240 - DEBUG - VM ctest-TestRoutersBasic-59703396-25358468 ID is b406f7a9-7fc6-42f3-a394-070123758788 2025-07-24 02:24:10,241 - DEBUG - VM ctest-TestRoutersBasic-59703396-25358468 launched on Node cn-jenkins-deploy-platform-ansible-os-3709-1 2025-07-24 02:24:10,324 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b406f7a9-7fc6-42f3-a394-070123758788 2025-07-24 02:24:10,335 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/274b0f66-bfa1-4410-8c2c-d3e92c39ed55 2025-07-24 02:24:11,579 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.799/3.178/1.379 ms') 2025-07-24 02:24:11,580 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59703396-25358468 passed 2025-07-24 02:24:11,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:24:11,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59703396-25358468, IP 66.58.50.67, Port 22 2025-07-24 02:24:11,904 - DEBUG - VM ctest-TestRoutersBasic-59703396-25358468 is ready for SSH connections 2025-07-24 02:24:11,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:24:11,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.58.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-24 02:24:11,904 - DEBUG - ping -s 56 -c 3 -W 1 66.58.50.67 2025-07-24 02:24:15,586 - DEBUG - PING 66.58.50.67 (66.58.50.67): 56 data bytes 64 bytes from 66.58.50.67: seq=0 ttl=62 time=7.940 ms 64 bytes from 66.58.50.67: seq=1 ttl=62 time=0.912 ms 64 bytes from 66.58.50.67: seq=2 ttl=62 time=0.984 ms --- 66.58.50.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/3.278/7.940 ms 2025-07-24 02:24:15,587 - INFO - Ping to IP 66.58.50.67 from VM ctest-TestRoutersBasic-59703396-92482416 passed 2025-07-24 02:24:15,587 - INFO - Deleting interface with subnet_id 7b85c13a-3dd7-4d3a-82d3-8589550fe1d2, port_id None from router c56932bf-75ac-4951-9777-e00e0b39eab5 2025-07-24 02:24:15,807 - INFO - Deleting VM ctest-TestRoutersBasic-59703396-25358468 2025-07-24 02:24:15,881 - INFO - Deleting VM ctest-TestRoutersBasic-59703396-92482416 2025-07-24 02:24:15,966 - INFO - Deleting VN ctest-ext_vn-31938963 2025-07-24 02:24:16,043 - DEBUG - VN 08306e3f-41d3-48a7-b515-e2e490457307 still in use: Unable to complete operation on network 08306e3f-41d3-48a7-b515-e2e490457307. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-178e40b6-81fa-4487-843b-d4113a87f5c1'] 2025-07-24 02:24:16,043 - WARNING - Deleting VN ctest-ext_vn-31938963 failed..Will retry 2025-07-24 02:24:18,162 - DEBUG - Response for deleting network () 2025-07-24 02:24:18,162 - INFO - Deleting VN ctest-vn-27404447 2025-07-24 02:24:18,274 - DEBUG - Response for deleting network () 2025-07-24 02:24:18,539 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:24:18,539 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-24 02:24:18,539 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:24:19,278 - INFO - Deleted project: ctest-TestRoutersBasic-59703396, ID : f260e0be-7019-412b-86ae-6b62b8707533