2025-09-21 12:48:39,775 - INFO - Domain Default found not creating 2025-09-21 12:48:39,901 - INFO - Project ctest-TestRoutersBasic-04079595 not found, creating it 2025-09-21 12:48:40,326 - INFO - Created Project:ctest-TestRoutersBasic-04079595, ID : a83adbe6-c5a7-4e41-ab14-b8c1c8f5023a 2025-09-21 12:48:41,648 - INFO - ================================================================================ 2025-09-21 12:48:41,648 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-21 12:48:41,648 - 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-09-21 12:48:41,901 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-21 12:48:41,901 - INFO - Initial checks done. Running the testcase now 2025-09-21 12:48:41,901 - INFO - 2025-09-21 12:48:42,579 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04079595 2025-09-21 12:48:42,676 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04079595 2025-09-21 12:48:42,992 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04079595', 'default']} 2025-09-21 12:48:43,264 - DEBUG - Response for create_network : {'network': {'id': 'a71067d4-bb33-470c-8df3-33a0f0806614', 'name': 'ctest-vn-27827576', 'tenant_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a', 'project_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04079595', 'ctest-vn-27827576'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 12:48:43,444 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0463cdb-40c2-4795-b6c3-070ea2d1f84d', 'name': '', 'tenant_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a', 'network_id': 'a71067d4-bb33-470c-8df3-33a0f0806614', 'ip_version': 4, 'cidr': '122.10.116.128/26', 'allocation_pools': [{'start': '122.10.116.130', 'end': '122.10.116.190'}], 'gateway_ip': '122.10.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.10.116.130', 'tags': [], 'project_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a'}} 2025-09-21 12:48:43,459 - INFO - Created VN ctest-vn-27827576 2025-09-21 12:48:43,508 - DEBUG - VN ctest-vn-27827576 UUID is a71067d4-bb33-470c-8df3-33a0f0806614 2025-09-21 12:48:43,823 - DEBUG - Response for create_network : {'network': {'id': 'f388907d-6b2b-4a02-b959-45ad51016fe7', 'name': 'ctest-ext_vn-29297274', 'tenant_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a', 'project_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04079595', 'ctest-ext_vn-29297274'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 12:48:44,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '17b4c4b9-ad8b-48e4-b5b8-46939999e990', 'name': '', 'tenant_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a', 'network_id': 'f388907d-6b2b-4a02-b959-45ad51016fe7', 'ip_version': 4, 'cidr': '206.72.33.0/26', 'allocation_pools': [{'start': '206.72.33.2', 'end': '206.72.33.62'}], 'gateway_ip': '206.72.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.72.33.2', 'tags': [], 'project_id': 'a83adbe6c5a74e41ab14b8c1c8f5023a'}} 2025-09-21 12:48:44,045 - INFO - Created VN ctest-ext_vn-29297274 2025-09-21 12:48:44,096 - DEBUG - VN ctest-ext_vn-29297274 UUID is f388907d-6b2b-4a02-b959-45ad51016fe7 2025-09-21 12:48:44,290 - DEBUG - Services list from nova: [, , ] 2025-09-21 12:48:45,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4157-1) 2025-09-21 12:48:46,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4157-1) 2025-09-21 12:48:46,404 - INFO - Setting gateway for router b6faf92d-75e7-4e35-b098-a90f784f3e26 to network f388907d-6b2b-4a02-b959-45ad51016fe7 2025-09-21 12:48:46,482 - INFO - Adding interface with subnet_id f0463cdb-40c2-4795-b6c3-070ea2d1f84d, port_id None to router b6faf92d-75e7-4e35-b098-a90f784f3e26 2025-09-21 12:48:46,835 - INFO - Waiting for VM ctest-TestRoutersBasic-04079595-47894594 to be up.. 2025-09-21 12:48:46,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 12:48:52,064 - DEBUG - VM is in ACTIVE state now 2025-09-21 12:48:52,064 - INFO - VM name : ctest-TestRoutersBasic-04079595-47894594 2025-09-21 12:48:52,129 - DEBUG - VM ctest-TestRoutersBasic-04079595-47894594 ID is f86de182-f488-4621-82b0-e83dd391dddb 2025-09-21 12:48:52,146 - DEBUG - VM ctest-TestRoutersBasic-04079595-47894594 launched on Node cn-jenkins-deploy-platform-ansible-os-4157-1 2025-09-21 12:48:52,210 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f86de182-f488-4621-82b0-e83dd391dddb 2025-09-21 12:48:52,497 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f86de182-f488-4621-82b0-e83dd391dddb 2025-09-21 12:48:52,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4b6106e9-4173-43a8-9278-1a6f85dcbeff 2025-09-21 12:48:55,778 - 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-09-21 12:48:55,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04079595-47894594 failed! 2025-09-21 12:48:55,832 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04079595:ctest-vn-27827576 is 122.10.116.129 and allocation pool is NOT set 2025-09-21 12:48:57,893 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/3.261/6.123/2.861 ms') 2025-09-21 12:48:57,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04079595-47894594 passed 2025-09-21 12:48:58,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:48:58,044 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04079595-47894594, IP 122.10.116.131, Port 22 2025-09-21 12:48:58,196 - DEBUG - VM ctest-TestRoutersBasic-04079595-47894594 is ready for SSH connections 2025-09-21 12:48:58,196 - INFO - Waiting for VM ctest-TestRoutersBasic-04079595-17770090 to be up.. 2025-09-21 12:48:58,269 - DEBUG - VM is in ACTIVE state now 2025-09-21 12:48:58,269 - INFO - VM name : ctest-TestRoutersBasic-04079595-17770090 2025-09-21 12:48:58,335 - DEBUG - VM ctest-TestRoutersBasic-04079595-17770090 ID is 922ba2fd-5502-4f46-99b8-d4f86b2185dc 2025-09-21 12:48:58,335 - DEBUG - VM ctest-TestRoutersBasic-04079595-17770090 launched on Node cn-jenkins-deploy-platform-ansible-os-4157-1 2025-09-21 12:48:58,398 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/922ba2fd-5502-4f46-99b8-d4f86b2185dc 2025-09-21 12:48:58,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e1ce2a7d-bd3a-4000-85f7-a491456b547a 2025-09-21 12:48:59,638 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.523/2.736/1.213 ms') 2025-09-21 12:48:59,638 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04079595-17770090 passed 2025-09-21 12:48:59,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:48:59,784 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04079595-17770090, IP 206.72.33.3, Port 22 2025-09-21 12:48:59,935 - DEBUG - VM ctest-TestRoutersBasic-04079595-17770090 is ready for SSH connections 2025-09-21 12:48:59,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:48:59,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.72.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-21 12:48:59,936 - DEBUG - ping -s 56 -c 3 -W 1 206.72.33.3 2025-09-21 12:49:03,649 - DEBUG - PING 206.72.33.3 (206.72.33.3): 56 data bytes 64 bytes from 206.72.33.3: seq=0 ttl=62 time=5.597 ms 64 bytes from 206.72.33.3: seq=1 ttl=62 time=1.235 ms 64 bytes from 206.72.33.3: seq=2 ttl=62 time=0.774 ms --- 206.72.33.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/2.535/5.597 ms 2025-09-21 12:49:03,649 - INFO - Ping to IP 206.72.33.3 from VM ctest-TestRoutersBasic-04079595-47894594 passed 2025-09-21 12:49:03,649 - INFO - Deleting interface with subnet_id f0463cdb-40c2-4795-b6c3-070ea2d1f84d, port_id None from router b6faf92d-75e7-4e35-b098-a90f784f3e26 2025-09-21 12:49:03,812 - INFO - Deleting VM ctest-TestRoutersBasic-04079595-17770090 2025-09-21 12:49:03,869 - INFO - Deleting VM ctest-TestRoutersBasic-04079595-47894594 2025-09-21 12:49:03,933 - INFO - Deleting VN ctest-ext_vn-29297274 2025-09-21 12:49:03,991 - DEBUG - VN f388907d-6b2b-4a02-b959-45ad51016fe7 still in use: Unable to complete operation on network f388907d-6b2b-4a02-b959-45ad51016fe7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d16aa576-f08c-4ce5-bb4e-65ef70f33f3d'] 2025-09-21 12:49:03,991 - WARNING - Deleting VN ctest-ext_vn-29297274 failed..Will retry 2025-09-21 12:49:06,092 - DEBUG - Response for deleting network () 2025-09-21 12:49:06,092 - INFO - Deleting VN ctest-vn-27827576 2025-09-21 12:49:06,194 - DEBUG - Response for deleting network () 2025-09-21 12:49:06,454 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 12:49:06,454 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-21 12:49:06,454 - INFO - -------------------------------------------------------------------------------- 2025-09-21 12:49:07,114 - INFO - Deleted project: ctest-TestRoutersBasic-04079595, ID : a83adbe6-c5a7-4e41-ab14-b8c1c8f5023a