2025-04-16 22:03:23,227 - INFO - Domain Default found not creating 2025-04-16 22:03:23,405 - INFO - Project ctest-TestRoutersBasic-77716165 not found, creating it 2025-04-16 22:03:23,899 - INFO - Created Project:ctest-TestRoutersBasic-77716165, ID : 92c9db95-0268-45ed-a073-3e5efa5b3ac7 2025-04-16 22:03:25,391 - INFO - ================================================================================ 2025-04-16 22:03:25,392 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-16 22:03:25,392 - 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-04-16 22:03:25,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-04-16 22:03:25,648 - INFO - Initial checks done. Running the testcase now 2025-04-16 22:03:25,648 - INFO - 2025-04-16 22:03:26,380 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77716165 2025-04-16 22:03:26,480 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77716165 2025-04-16 22:03:26,808 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77716165', 'default']} 2025-04-16 22:03:27,172 - DEBUG - Response for create_network : {'network': {'id': '22059414-1577-4ddf-86a6-b8f2ca12a2dc', 'name': 'ctest-vn-43524342', 'tenant_id': '92c9db95026845eda0733e5efa5b3ac7', 'project_id': '92c9db95026845eda0733e5efa5b3ac7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77716165', 'ctest-vn-43524342'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 22:03:27,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d04323e-2e3f-4194-957c-a5cb785a1e56', 'name': '', 'tenant_id': '92c9db95026845eda0733e5efa5b3ac7', 'network_id': '22059414-1577-4ddf-86a6-b8f2ca12a2dc', 'ip_version': 4, 'cidr': '13.118.145.192/26', 'allocation_pools': [{'start': '13.118.145.194', 'end': '13.118.145.254'}], 'gateway_ip': '13.118.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.118.145.194', 'tags': [], 'project_id': '92c9db95026845eda0733e5efa5b3ac7'}} 2025-04-16 22:03:27,396 - INFO - Created VN ctest-vn-43524342 2025-04-16 22:03:27,452 - DEBUG - VN ctest-vn-43524342 UUID is 22059414-1577-4ddf-86a6-b8f2ca12a2dc 2025-04-16 22:03:27,865 - DEBUG - Response for create_network : {'network': {'id': 'f9b9598c-8c83-49ba-9bc5-fd98b4d124a9', 'name': 'ctest-ext_vn-55143327', 'tenant_id': '92c9db95026845eda0733e5efa5b3ac7', 'project_id': '92c9db95026845eda0733e5efa5b3ac7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77716165', 'ctest-ext_vn-55143327'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 22:03:28,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '83e25c8d-7d10-4b96-9cf8-89cf3eda2356', 'name': '', 'tenant_id': '92c9db95026845eda0733e5efa5b3ac7', 'network_id': 'f9b9598c-8c83-49ba-9bc5-fd98b4d124a9', 'ip_version': 4, 'cidr': '195.68.86.64/26', 'allocation_pools': [{'start': '195.68.86.66', 'end': '195.68.86.126'}], 'gateway_ip': '195.68.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.68.86.66', 'tags': [], 'project_id': '92c9db95026845eda0733e5efa5b3ac7'}} 2025-04-16 22:03:28,086 - INFO - Created VN ctest-ext_vn-55143327 2025-04-16 22:03:28,140 - DEBUG - VN ctest-ext_vn-55143327 UUID is f9b9598c-8c83-49ba-9bc5-fd98b4d124a9 2025-04-16 22:03:28,323 - DEBUG - Services list from nova: [, , ] 2025-04-16 22:03:29,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3127-1) 2025-04-16 22:03:30,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3127-1) 2025-04-16 22:03:30,777 - INFO - Setting gateway for router 9bceb87c-de7d-4bc7-bfae-a814f4c41739 to network f9b9598c-8c83-49ba-9bc5-fd98b4d124a9 2025-04-16 22:03:30,847 - INFO - Adding interface with subnet_id 2d04323e-2e3f-4194-957c-a5cb785a1e56, port_id None to router 9bceb87c-de7d-4bc7-bfae-a814f4c41739 2025-04-16 22:03:31,321 - INFO - Waiting for VM ctest-TestRoutersBasic-77716165-74818638 to be up.. 2025-04-16 22:03:31,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 22:03:36,645 - DEBUG - VM is in ACTIVE state now 2025-04-16 22:03:36,646 - INFO - VM name : ctest-TestRoutersBasic-77716165-74818638 2025-04-16 22:03:36,733 - DEBUG - VM ctest-TestRoutersBasic-77716165-74818638 ID is e985836c-80c7-407b-bb97-bf9671679fb2 2025-04-16 22:03:36,755 - DEBUG - VM ctest-TestRoutersBasic-77716165-74818638 launched on Node cn-jenkins-deploy-platform-ansible-os-3127-1 2025-04-16 22:03:36,847 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e985836c-80c7-407b-bb97-bf9671679fb2 2025-04-16 22:03:37,147 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e985836c-80c7-407b-bb97-bf9671679fb2 2025-04-16 22:03:37,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2d754f1b-01f6-457f-a839-55308e8c4838 2025-04-16 22:03:40,456 - 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 1023ms') 2025-04-16 22:03:40,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77716165-74818638 failed! 2025-04-16 22:03:40,512 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77716165:ctest-vn-43524342 is 13.118.145.193 and allocation pool is NOT set 2025-04-16 22:03:42,576 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.492 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.492/1.675/2.858/1.183 ms') 2025-04-16 22:03:42,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77716165-74818638 passed 2025-04-16 22:03:42,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 22:03:42,733 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77716165-74818638, IP 13.118.145.195, Port 22 2025-04-16 22:03:42,892 - DEBUG - VM ctest-TestRoutersBasic-77716165-74818638 is ready for SSH connections 2025-04-16 22:03:42,892 - INFO - Waiting for VM ctest-TestRoutersBasic-77716165-12911216 to be up.. 2025-04-16 22:03:42,987 - DEBUG - VM is in ACTIVE state now 2025-04-16 22:03:42,987 - INFO - VM name : ctest-TestRoutersBasic-77716165-12911216 2025-04-16 22:03:43,079 - DEBUG - VM ctest-TestRoutersBasic-77716165-12911216 ID is 63a45401-6762-4d91-ae05-20d85f1af438 2025-04-16 22:03:43,079 - DEBUG - VM ctest-TestRoutersBasic-77716165-12911216 launched on Node cn-jenkins-deploy-platform-ansible-os-3127-1 2025-04-16 22:03:43,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/63a45401-6762-4d91-ae05-20d85f1af438 2025-04-16 22:03:43,173 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a04a4915-d9d8-4c1d-9f5a-c370c7537b38 2025-04-16 22:03:44,421 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.476/1.778/3.080/1.302 ms') 2025-04-16 22:03:44,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77716165-12911216 passed 2025-04-16 22:03:44,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 22:03:44,585 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77716165-12911216, IP 195.68.86.67, Port 22 2025-04-16 22:03:44,759 - DEBUG - VM ctest-TestRoutersBasic-77716165-12911216 is ready for SSH connections 2025-04-16 22:03:44,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 22:03:44,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.68.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-16 22:03:44,760 - DEBUG - ping -s 56 -c 3 -W 1 195.68.86.67 2025-04-16 22:03:48,494 - DEBUG - PING 195.68.86.67 (195.68.86.67): 56 data bytes 64 bytes from 195.68.86.67: seq=0 ttl=62 time=6.269 ms 64 bytes from 195.68.86.67: seq=1 ttl=62 time=1.172 ms 64 bytes from 195.68.86.67: seq=2 ttl=62 time=0.790 ms --- 195.68.86.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/2.743/6.269 ms 2025-04-16 22:03:48,494 - INFO - Ping to IP 195.68.86.67 from VM ctest-TestRoutersBasic-77716165-74818638 passed 2025-04-16 22:03:48,494 - INFO - Deleting interface with subnet_id 2d04323e-2e3f-4194-957c-a5cb785a1e56, port_id None from router 9bceb87c-de7d-4bc7-bfae-a814f4c41739 2025-04-16 22:03:48,707 - INFO - Deleting VM ctest-TestRoutersBasic-77716165-12911216 2025-04-16 22:03:48,788 - INFO - Deleting VM ctest-TestRoutersBasic-77716165-74818638 2025-04-16 22:03:48,886 - INFO - Deleting VN ctest-ext_vn-55143327 2025-04-16 22:03:48,975 - DEBUG - VN f9b9598c-8c83-49ba-9bc5-fd98b4d124a9 still in use: Unable to complete operation on network f9b9598c-8c83-49ba-9bc5-fd98b4d124a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3cb8286-9bbd-46da-9752-92b0f3869be7'] 2025-04-16 22:03:48,975 - WARNING - Deleting VN ctest-ext_vn-55143327 failed..Will retry 2025-04-16 22:03:51,106 - DEBUG - Response for deleting network () 2025-04-16 22:03:51,106 - INFO - Deleting VN ctest-vn-43524342 2025-04-16 22:03:51,228 - DEBUG - Response for deleting network () 2025-04-16 22:03:51,501 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 22:03:51,501 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-16 22:03:51,502 - INFO - -------------------------------------------------------------------------------- 2025-04-16 22:03:52,253 - INFO - Deleted project: ctest-TestRoutersBasic-77716165, ID : 92c9db95-0268-45ed-a073-3e5efa5b3ac7