2025-07-17 02:25:33,990 - INFO - Domain Default found not creating 2025-07-17 02:25:34,163 - INFO - Project ctest-TestRoutersBasic-41893959 not found, creating it 2025-07-17 02:25:34,638 - INFO - Created Project:ctest-TestRoutersBasic-41893959, ID : 3243c028-e46e-417e-9816-501a457f9598 2025-07-17 02:25:36,074 - INFO - ================================================================================ 2025-07-17 02:25:36,074 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-17 02:25:36,074 - 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-17 02:25:36,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-07-17 02:25:36,331 - INFO - Initial checks done. Running the testcase now 2025-07-17 02:25:36,331 - INFO - 2025-07-17 02:25:37,036 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41893959 2025-07-17 02:25:37,132 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41893959 2025-07-17 02:25:37,452 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41893959', 'default']} 2025-07-17 02:25:37,744 - DEBUG - Response for create_network : {'network': {'id': '323fb180-3ffc-45a9-adcb-88b88e3d9465', 'name': 'ctest-vn-25264015', 'tenant_id': '3243c028e46e417e9816501a457f9598', 'project_id': '3243c028e46e417e9816501a457f9598', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41893959', 'ctest-vn-25264015'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:37,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a75cf77-a548-412b-8d05-600d69697408', 'name': '', 'tenant_id': '3243c028e46e417e9816501a457f9598', 'network_id': '323fb180-3ffc-45a9-adcb-88b88e3d9465', 'ip_version': 4, 'cidr': '143.128.91.64/26', 'allocation_pools': [{'start': '143.128.91.66', 'end': '143.128.91.126'}], 'gateway_ip': '143.128.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.128.91.66', 'tags': [], 'project_id': '3243c028e46e417e9816501a457f9598'}} 2025-07-17 02:25:37,964 - INFO - Created VN ctest-vn-25264015 2025-07-17 02:25:38,017 - DEBUG - VN ctest-vn-25264015 UUID is 323fb180-3ffc-45a9-adcb-88b88e3d9465 2025-07-17 02:25:38,355 - DEBUG - Response for create_network : {'network': {'id': '4ff62441-6352-4a29-b4eb-f8eb992e4d0d', 'name': 'ctest-ext_vn-69725711', 'tenant_id': '3243c028e46e417e9816501a457f9598', 'project_id': '3243c028e46e417e9816501a457f9598', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41893959', 'ctest-ext_vn-69725711'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:38,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '31d5e3cf-5e29-49d2-8192-8e924b75f015', 'name': '', 'tenant_id': '3243c028e46e417e9816501a457f9598', 'network_id': '4ff62441-6352-4a29-b4eb-f8eb992e4d0d', 'ip_version': 4, 'cidr': '63.162.183.64/26', 'allocation_pools': [{'start': '63.162.183.66', 'end': '63.162.183.126'}], 'gateway_ip': '63.162.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.162.183.66', 'tags': [], 'project_id': '3243c028e46e417e9816501a457f9598'}} 2025-07-17 02:25:38,561 - INFO - Created VN ctest-ext_vn-69725711 2025-07-17 02:25:38,612 - DEBUG - VN ctest-ext_vn-69725711 UUID is 4ff62441-6352-4a29-b4eb-f8eb992e4d0d 2025-07-17 02:25:38,774 - DEBUG - Services list from nova: [, , ] 2025-07-17 02:25:39,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3649-1) 2025-07-17 02:25:41,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3649-1) 2025-07-17 02:25:41,081 - INFO - Setting gateway for router 60b2eb12-a0f6-4871-9313-0054ead0a18b to network 4ff62441-6352-4a29-b4eb-f8eb992e4d0d 2025-07-17 02:25:41,167 - INFO - Adding interface with subnet_id 6a75cf77-a548-412b-8d05-600d69697408, port_id None to router 60b2eb12-a0f6-4871-9313-0054ead0a18b 2025-07-17 02:25:41,509 - INFO - Waiting for VM ctest-TestRoutersBasic-41893959-87291028 to be up.. 2025-07-17 02:25:41,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 02:25:46,771 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:25:46,771 - INFO - VM name : ctest-TestRoutersBasic-41893959-87291028 2025-07-17 02:25:46,845 - DEBUG - VM ctest-TestRoutersBasic-41893959-87291028 ID is 5ee0ac68-21dd-440a-8dfb-eb39a2148b00 2025-07-17 02:25:46,865 - DEBUG - VM ctest-TestRoutersBasic-41893959-87291028 launched on Node cn-jenkins-deploy-platform-ansible-os-3649-1 2025-07-17 02:25:46,937 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5ee0ac68-21dd-440a-8dfb-eb39a2148b00 2025-07-17 02:25:47,228 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5ee0ac68-21dd-440a-8dfb-eb39a2148b00 2025-07-17 02:25:47,262 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e048e7d6-7c38-48ff-9b49-47193571d902 2025-07-17 02:25:50,538 - 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 1018ms') 2025-07-17 02:25:50,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41893959-87291028 failed! 2025-07-17 02:25:50,592 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41893959:ctest-vn-25264015 is 143.128.91.65 and allocation pool is NOT set 2025-07-17 02:25:52,651 - 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=6.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.786 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 = 0.786/3.616/6.446/2.830 ms') 2025-07-17 02:25:52,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41893959-87291028 passed 2025-07-17 02:25:52,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:52,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41893959-87291028, IP 143.128.91.67, Port 22 2025-07-17 02:25:52,955 - DEBUG - VM ctest-TestRoutersBasic-41893959-87291028 is ready for SSH connections 2025-07-17 02:25:52,956 - INFO - Waiting for VM ctest-TestRoutersBasic-41893959-31618283 to be up.. 2025-07-17 02:25:53,025 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:25:53,025 - INFO - VM name : ctest-TestRoutersBasic-41893959-31618283 2025-07-17 02:25:53,100 - DEBUG - VM ctest-TestRoutersBasic-41893959-31618283 ID is fc858180-a59a-48da-aa97-584f5280121c 2025-07-17 02:25:53,101 - DEBUG - VM ctest-TestRoutersBasic-41893959-31618283 launched on Node cn-jenkins-deploy-platform-ansible-os-3649-1 2025-07-17 02:25:53,199 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fc858180-a59a-48da-aa97-584f5280121c 2025-07-17 02:25:53,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/360e6c5e-892a-4f6e-87d8-438321766537 2025-07-17 02:25:54,469 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.418/1.553/2.689/1.135 ms') 2025-07-17 02:25:54,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41893959-31618283 passed 2025-07-17 02:25:54,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:54,633 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41893959-31618283, IP 63.162.183.67, Port 22 2025-07-17 02:25:54,808 - DEBUG - VM ctest-TestRoutersBasic-41893959-31618283 is ready for SSH connections 2025-07-17 02:25:54,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:54,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.162.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-17 02:25:54,808 - DEBUG - ping -s 56 -c 3 -W 1 63.162.183.67 2025-07-17 02:25:58,511 - DEBUG - PING 63.162.183.67 (63.162.183.67): 56 data bytes 64 bytes from 63.162.183.67: seq=0 ttl=62 time=7.548 ms 64 bytes from 63.162.183.67: seq=1 ttl=62 time=0.830 ms 64 bytes from 63.162.183.67: seq=2 ttl=62 time=0.982 ms --- 63.162.183.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/3.120/7.548 ms 2025-07-17 02:25:58,511 - INFO - Ping to IP 63.162.183.67 from VM ctest-TestRoutersBasic-41893959-87291028 passed 2025-07-17 02:25:58,511 - INFO - Deleting interface with subnet_id 6a75cf77-a548-412b-8d05-600d69697408, port_id None from router 60b2eb12-a0f6-4871-9313-0054ead0a18b 2025-07-17 02:25:58,706 - INFO - Deleting VM ctest-TestRoutersBasic-41893959-31618283 2025-07-17 02:25:58,782 - INFO - Deleting VM ctest-TestRoutersBasic-41893959-87291028 2025-07-17 02:25:58,857 - INFO - Deleting VN ctest-ext_vn-69725711 2025-07-17 02:25:58,938 - DEBUG - VN 4ff62441-6352-4a29-b4eb-f8eb992e4d0d still in use: Unable to complete operation on network 4ff62441-6352-4a29-b4eb-f8eb992e4d0d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e65a657-6f0d-4a76-b1de-297edf2178ae'] 2025-07-17 02:25:58,938 - WARNING - Deleting VN ctest-ext_vn-69725711 failed..Will retry 2025-07-17 02:26:01,048 - DEBUG - Response for deleting network () 2025-07-17 02:26:01,048 - INFO - Deleting VN ctest-vn-25264015 2025-07-17 02:26:01,178 - DEBUG - Response for deleting network () 2025-07-17 02:26:01,435 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 02:26:01,435 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-17 02:26:01,435 - INFO - -------------------------------------------------------------------------------- 2025-07-17 02:26:02,116 - INFO - Deleted project: ctest-TestRoutersBasic-41893959, ID : 3243c028-e46e-417e-9816-501a457f9598