2025-10-27 02:33:31,231 - INFO - Domain Default found not creating 2025-10-27 02:33:31,373 - INFO - Project ctest-TestBasicPolicy-24665430 not found, creating it 2025-10-27 02:33:31,824 - INFO - Created Project:ctest-TestBasicPolicy-24665430, ID : 6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:33:33,234 - INFO - ================================================================================ 2025-10-27 02:33:33,234 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 02:33:33,235 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-27 02:33:33,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.201': '0'}} with 2025-10-27 02:33:33,492 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:33:33,492 - INFO - 2025-10-27 02:33:34,029 - DEBUG - Response for create_network : {'network': {'id': 'b2cba176-eeb7-417e-8175-bc04df528537', 'name': 'ctest-vn-66047397', 'tenant_id': '6bf48f5349d946f9b5891b2b15a219c2', 'project_id': '6bf48f5349d946f9b5891b2b15a219c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-vn-66047397'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:33:34,301 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd22a4f60-1973-4ae4-afd6-6cb052b42e74', 'name': '', 'tenant_id': '6bf48f5349d946f9b5891b2b15a219c2', 'network_id': 'b2cba176-eeb7-417e-8175-bc04df528537', 'ip_version': 4, 'cidr': '155.108.10.192/26', 'allocation_pools': [{'start': '155.108.10.194', 'end': '155.108.10.254'}], 'gateway_ip': '155.108.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.108.10.194', 'tags': [], 'project_id': '6bf48f5349d946f9b5891b2b15a219c2'}} 2025-10-27 02:33:34,320 - INFO - Created VN ctest-vn-66047397 2025-10-27 02:33:34,371 - DEBUG - VN ctest-vn-66047397 UUID is b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:34,672 - DEBUG - Response for create_network : {'network': {'id': '72b90c3c-a80c-4019-b680-897f3dd78886', 'name': 'ctest-vn-94612897', 'tenant_id': '6bf48f5349d946f9b5891b2b15a219c2', 'project_id': '6bf48f5349d946f9b5891b2b15a219c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-vn-94612897'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:33:34,840 - DEBUG - Response for create_subnet : {'subnet': {'id': '7099bda4-36e8-4131-b46a-b45c47c28aac', 'name': '', 'tenant_id': '6bf48f5349d946f9b5891b2b15a219c2', 'network_id': '72b90c3c-a80c-4019-b680-897f3dd78886', 'ip_version': 4, 'cidr': '61.155.83.192/26', 'allocation_pools': [{'start': '61.155.83.194', 'end': '61.155.83.254'}], 'gateway_ip': '61.155.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.155.83.194', 'tags': [], 'project_id': '6bf48f5349d946f9b5891b2b15a219c2'}} 2025-10-27 02:33:34,856 - INFO - Created VN ctest-vn-94612897 2025-10-27 02:33:34,907 - DEBUG - VN ctest-vn-94612897 UUID is 72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:35,051 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-94612897, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-27 02:33:35,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2cba176-eeb7-417e-8175-bc04df528537', 'name': 'ctest-vn-66047397', 'tenant_id': '6bf48f5349d946f9b5891b2b15a219c2', 'project_id': '6bf48f5349d946f9b5891b2b15a219c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d22a4f60-1973-4ae4-afd6-6cb052b42e74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-vn-66047397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-policy-allow-all-67974007']], 'subnet_ipam': [{'subnet_cidr': '155.108.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:33:35,555 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '72b90c3c-a80c-4019-b680-897f3dd78886', 'name': 'ctest-vn-94612897', 'tenant_id': '6bf48f5349d946f9b5891b2b15a219c2', 'project_id': '6bf48f5349d946f9b5891b2b15a219c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7099bda4-36e8-4131-b46a-b45c47c28aac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-vn-94612897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-policy-allow-all-67974007']], 'subnet_ipam': [{'subnet_cidr': '61.155.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:33:35,707 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:33:35,996 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:33:36,023 - DEBUG - Requesting: http://10.0.0.41:8082/domain/96b84c01-413a-4672-841c-1934c18e2ad4 2025-10-27 02:33:36,033 - DEBUG - Requesting: http://10.0.0.41:8082/project/6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:33:36,107 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:36,118 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:36,128 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6a329186-e387-4a92-9770-6c8638c4551c 2025-10-27 02:33:36,134 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6a329186-e387-4a92-9770-6c8638c4551c 2025-10-27 02:33:36,139 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/412d1a80-2e64-45f6-a556-431a4953d23a 2025-10-27 02:33:36,144 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:33:36,144 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:36,152 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6a329186-e387-4a92-9770-6c8638c4551c 2025-10-27 02:33:36,164 - INFO - Verified VN network id 12 for VN b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:36,164 - INFO - Verifications in API Server for VN ctest-vn-66047397 passed 2025-10-27 02:33:36,164 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:36,173 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6a329186-e387-4a92-9770-6c8638c4551c 2025-10-27 02:33:36,180 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6a329186-e387-4a92-9770-6c8638c4551c 2025-10-27 02:33:36,187 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/412d1a80-2e64-45f6-a556-431a4953d23a 2025-10-27 02:33:36,200 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24665430', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12883568691206635902', 'uuid-lslong': '9328568932280468791'}, 'enable': 'true', 'created': '2025-10-27T02:33:34', 'last-modified': '2025-10-27T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886692'} 2025-10-27 02:33:36,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:33:36,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66047397 passed 2025-10-27 02:33:36,205 - DEBUG - ====Verifying policy data for ctest-vn-66047397 in API_Server ====== 2025-10-27 02:33:36,205 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:33:36,211 - DEBUG - Requesting: http://10.0.0.41:8082/domain/96b84c01-413a-4672-841c-1934c18e2ad4 2025-10-27 02:33:36,220 - DEBUG - Requesting: http://10.0.0.41:8082/project/6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:33:36,287 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b2cba176-eeb7-417e-8175-bc04df528537 2025-10-27 02:33:36,295 - DEBUG - ==>Verifying data for policy with id: f2695f39-e0ec-4759-94e2-8afb217e224e, fqn: ['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-policy-allow-all-67974007'] 2025-10-27 02:33:36,295 - INFO - VN ctest-vn-66047397 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:33:36,295 - DEBUG - Verifying the vn in opserver 2025-10-27 02:33:36,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397 virtual network link through opserver 10.0.0.41 2025-10-27 02:33:36,295 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-27 02:33:36,584 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-27 02:33:36,632 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397?flat'} 2025-10-27 02:33:36,632 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397 is found in opserver 2025-10-27 02:33:36,641 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:33:36,646 - DEBUG - VRF ids for VN ctest-vn-66047397: {} 2025-10-27 02:33:36,646 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:33:36,651 - DEBUG - Requesting: http://10.0.0.41:8082/domain/96b84c01-413a-4672-841c-1934c18e2ad4 2025-10-27 02:33:36,663 - DEBUG - Requesting: http://10.0.0.41:8082/project/6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:33:36,731 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:36,740 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:36,748 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9b555523-fe49-4782-9c1e-50b02d42270e 2025-10-27 02:33:36,753 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9b555523-fe49-4782-9c1e-50b02d42270e 2025-10-27 02:33:36,758 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/133207ee-e7ba-405a-8e63-3f0a8d8d103a 2025-10-27 02:33:36,763 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:33:36,763 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:36,770 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9b555523-fe49-4782-9c1e-50b02d42270e 2025-10-27 02:33:36,782 - INFO - Verified VN network id 13 for VN 72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:36,782 - INFO - Verifications in API Server for VN ctest-vn-94612897 passed 2025-10-27 02:33:36,783 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:36,790 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9b555523-fe49-4782-9c1e-50b02d42270e 2025-10-27 02:33:36,795 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9b555523-fe49-4782-9c1e-50b02d42270e 2025-10-27 02:33:36,800 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/133207ee-e7ba-405a-8e63-3f0a8d8d103a 2025-10-27 02:33:36,809 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-94612897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24665430', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8266652045672202265', 'uuid-lslong': '13150662091513235590'}, 'enable': 'true', 'created': '2025-10-27T02:33:34', 'last-modified': '2025-10-27T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275845'} 2025-10-27 02:33:36,814 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:33:36,814 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94612897 passed 2025-10-27 02:33:36,814 - DEBUG - ====Verifying policy data for ctest-vn-94612897 in API_Server ====== 2025-10-27 02:33:36,814 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:33:36,818 - DEBUG - Requesting: http://10.0.0.41:8082/domain/96b84c01-413a-4672-841c-1934c18e2ad4 2025-10-27 02:33:36,826 - DEBUG - Requesting: http://10.0.0.41:8082/project/6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:33:36,892 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/72b90c3c-a80c-4019-b680-897f3dd78886 2025-10-27 02:33:36,900 - DEBUG - ==>Verifying data for policy with id: f2695f39-e0ec-4759-94e2-8afb217e224e, fqn: ['default-domain', 'ctest-TestBasicPolicy-24665430', 'ctest-policy-allow-all-67974007'] 2025-10-27 02:33:36,900 - INFO - VN ctest-vn-94612897 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:33:36,900 - DEBUG - Verifying the vn in opserver 2025-10-27 02:33:36,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-94612897 virtual network link through opserver 10.0.0.41 2025-10-27 02:33:36,901 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-27 02:33:36,909 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-94612897', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-94612897?flat'} 2025-10-27 02:33:36,909 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-94612897 is found in opserver 2025-10-27 02:33:36,917 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:33:36,921 - DEBUG - VRF ids for VN ctest-vn-94612897: {} 2025-10-27 02:33:36,976 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:33:37,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4490-1) 2025-10-27 02:33:38,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4490-1) 2025-10-27 02:33:38,993 - INFO - Waiting for VM ctest-TestBasicPolicy-24665430-72629924 to be up.. 2025-10-27 02:33:39,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:33:44,142 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:33:44,142 - INFO - VM name : ctest-TestBasicPolicy-24665430-72629924 2025-10-27 02:33:44,209 - DEBUG - VM ctest-TestBasicPolicy-24665430-72629924 ID is 4cd6ca3c-29ce-47a7-aadd-08db88c9d471 2025-10-27 02:33:44,225 - DEBUG - VM ctest-TestBasicPolicy-24665430-72629924 launched on Node cn-jenkins-deploy-platform-ansible-os-4490-1 2025-10-27 02:33:44,287 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4cd6ca3c-29ce-47a7-aadd-08db88c9d471 2025-10-27 02:33:44,293 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8a74d6e9-0177-42a6-a307-9a73bffcf6c9 2025-10-27 02:33:47,545 - 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 1019ms') 2025-10-27 02:33:47,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24665430-72629924 failed! 2025-10-27 02:33:47,599 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24665430:ctest-vn-66047397 is 155.108.10.193 and allocation pool is NOT set 2025-10-27 02:33:49,659 - 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=3.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.851/3.250/1.399 ms') 2025-10-27 02:33:49,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24665430-72629924 passed 2025-10-27 02:33:49,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:33:49,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24665430-72629924, IP 155.108.10.195, Port 22 2025-10-27 02:33:49,963 - DEBUG - VM ctest-TestBasicPolicy-24665430-72629924 is ready for SSH connections 2025-10-27 02:33:49,963 - INFO - Waiting for VM ctest-TestBasicPolicy-24665430-21080164 to be up.. 2025-10-27 02:33:50,045 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:33:50,045 - INFO - VM name : ctest-TestBasicPolicy-24665430-21080164 2025-10-27 02:33:50,116 - DEBUG - VM ctest-TestBasicPolicy-24665430-21080164 ID is 3548a98a-097c-4cb9-b6c2-771beb3f90b8 2025-10-27 02:33:50,116 - DEBUG - VM ctest-TestBasicPolicy-24665430-21080164 launched on Node cn-jenkins-deploy-platform-ansible-os-4490-1 2025-10-27 02:33:50,180 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3548a98a-097c-4cb9-b6c2-771beb3f90b8 2025-10-27 02:33:50,187 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/984a9003-1257-4999-bda2-8fed4759ff66 2025-10-27 02:33:51,419 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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.121/2.595/4.070/1.474 ms') 2025-10-27 02:33:51,420 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24665430-21080164 passed 2025-10-27 02:33:51,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:33:51,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24665430-21080164, IP 61.155.83.195, Port 22 2025-10-27 02:33:51,734 - DEBUG - VM ctest-TestBasicPolicy-24665430-21080164 is ready for SSH connections 2025-10-27 02:33:51,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:33:51,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.155.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-27 02:33:51,734 - DEBUG - ping -s 56 -c 3 -W 1 61.155.83.195 2025-10-27 02:33:55,814 - DEBUG - PING 61.155.83.195 (61.155.83.195): 56 data bytes 64 bytes from 61.155.83.195: seq=0 ttl=63 time=5.245 ms 64 bytes from 61.155.83.195: seq=1 ttl=63 time=0.906 ms 64 bytes from 61.155.83.195: seq=2 ttl=63 time=0.848 ms --- 61.155.83.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.333/5.245 ms 2025-10-27 02:33:55,814 - INFO - Ping to IP 61.155.83.195 from VM ctest-TestBasicPolicy-24665430-72629924 passed 2025-10-27 02:33:55,987 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2695f39-e0ec-4759-94e2-8afb217e224e", "href": "http://10.0.0.41:8082/network-policy/f2695f39-e0ec-4759-94e2-8afb217e224e"}} 2025-10-27 02:33:55,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:33:55,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.155.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-27 02:33:55,987 - DEBUG - ping -s 56 -c 3 -W 1 61.155.83.195 2025-10-27 02:33:59,185 - DEBUG - PING 61.155.83.195 (61.155.83.195): 56 data bytes --- 61.155.83.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 02:33:59,185 - WARNING - Ping to IP 61.155.83.195 from VM ctest-TestBasicPolicy-24665430-72629924 failed 2025-10-27 02:33:59,185 - INFO - Deleting VM ctest-TestBasicPolicy-24665430-21080164 2025-10-27 02:33:59,260 - INFO - Deleting VM ctest-TestBasicPolicy-24665430-72629924 2025-10-27 02:33:59,635 - INFO - Deleted policy ctest-policy-allow-all-67974007 2025-10-27 02:33:59,636 - INFO - Deleting VN ctest-vn-94612897 2025-10-27 02:33:59,674 - DEBUG - VN 72b90c3c-a80c-4019-b680-897f3dd78886 still in use: Unable to complete operation on network 72b90c3c-a80c-4019-b680-897f3dd78886. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17edc5f6-763e-4d56-ac57-29d61e2572d6'] 2025-10-27 02:33:59,674 - WARNING - Deleting VN ctest-vn-94612897 failed..Will retry 2025-10-27 02:34:01,770 - DEBUG - Response for deleting network () 2025-10-27 02:34:01,770 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9b555523-fe49-4782-9c1e-50b02d42270e 2025-10-27 02:34:01,776 - DEBUG - Response Code: 404 2025-10-27 02:34:01,776 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:34:01,781 - DEBUG - Requesting: http://10.0.0.41:8082/domain/96b84c01-413a-4672-841c-1934c18e2ad4 2025-10-27 02:34:01,833 - DEBUG - Requesting: http://10.0.0.41:8082/project/6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:34:01,899 - INFO - Validated that VN ctest-vn-94612897 is not found in API Server 2025-10-27 02:34:01,907 - DEBUG - VN ctest-vn-94612897 is not present in Agent 10.0.0.41 2025-10-27 02:34:01,907 - INFO - Validated that VN ctest-vn-94612897 is not in any agent 2025-10-27 02:34:01,920 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94612897 info 2025-10-27 02:34:01,920 - INFO - Deleting VN ctest-vn-66047397 2025-10-27 02:34:02,008 - DEBUG - Response for deleting network () 2025-10-27 02:34:02,008 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6a329186-e387-4a92-9770-6c8638c4551c 2025-10-27 02:34:02,016 - DEBUG - Response Code: 404 2025-10-27 02:34:02,016 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 02:34:02,020 - DEBUG - Requesting: http://10.0.0.41:8082/domain/96b84c01-413a-4672-841c-1934c18e2ad4 2025-10-27 02:34:02,072 - DEBUG - Requesting: http://10.0.0.41:8082/project/6bf48f53-49d9-46f9-b589-1b2b15a219c2 2025-10-27 02:34:02,138 - INFO - Validated that VN ctest-vn-66047397 is not found in API Server 2025-10-27 02:34:02,146 - DEBUG - VN ctest-vn-66047397 is not present in Agent 10.0.0.41 2025-10-27 02:34:02,146 - INFO - Validated that VN ctest-vn-66047397 is not in any agent 2025-10-27 02:34:02,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66047397 info 2025-10-27 02:34:02,416 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:34:02,416 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-27 02:34:02,416 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:34:03,059 - INFO - Deleted project: ctest-TestBasicPolicy-24665430, ID : 6bf48f53-49d9-46f9-b589-1b2b15a219c2