2026-02-19 14:06:25,930 - INFO - Domain Default found not creating
2026-02-19 14:06:26,093 - INFO - Project ctest-TestBasicPolicy-25120103 not found, creating it
2026-02-19 14:06:26,550 - INFO - Created Project:ctest-TestBasicPolicy-25120103, ID : 7d4aaa6a-66a6-41e9-84a7-9a34049daf65
2026-02-19 14:06:28,073 - INFO - ================================================================================
2026-02-19 14:06:28,073 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 14:06:28,073 - 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
2026-02-19 14:06:28,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2026-02-19 14:06:28,331 - INFO - Initial checks done. Running the testcase now
2026-02-19 14:06:28,331 - INFO -
2026-02-19 14:06:28,880 - DEBUG - Response for create_network : {'network': {'id': '869d1291-6ef9-4657-9047-c176d91a1e29', 'name': 'ctest-vn-26370949', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-26370949'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 14:06:29,094 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7e5e789-45d8-4073-84b7-5d2b99c5a04b', 'name': '', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'network_id': '869d1291-6ef9-4657-9047-c176d91a1e29', 'ip_version': 4, 'cidr': '166.210.119.64/26', 'allocation_pools': [{'start': '166.210.119.66', 'end': '166.210.119.126'}], 'gateway_ip': '166.210.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.210.119.66', 'tags': [], 'project_id': '7d4aaa6a66a641e984a79a34049daf65'}}
2026-02-19 14:06:29,112 - INFO - Created VN ctest-vn-26370949
2026-02-19 14:06:29,164 - DEBUG - VN ctest-vn-26370949 UUID is 869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:29,489 - DEBUG - Response for create_network : {'network': {'id': '8ac19c5e-7df6-49d4-b5db-492ea1ae8029', 'name': 'ctest-vn-92557315', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-92557315'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 14:06:29,664 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c891921b-718e-4080-bb8b-afb17f56c301', 'name': '', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'network_id': '8ac19c5e-7df6-49d4-b5db-492ea1ae8029', 'ip_version': 4, 'cidr': '44.16.158.192/26', 'allocation_pools': [{'start': '44.16.158.194', 'end': '44.16.158.254'}], 'gateway_ip': '44.16.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.16.158.194', 'tags': [], 'project_id': '7d4aaa6a66a641e984a79a34049daf65'}}
2026-02-19 14:06:29,683 - INFO - Created VN ctest-vn-92557315
2026-02-19 14:06:29,736 - DEBUG - VN ctest-vn-92557315 UUID is 8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:29,888 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949, 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-25120103:ctest-vn-92557315, 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]
2026-02-19 14:06:30,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '869d1291-6ef9-4657-9047-c176d91a1e29', 'name': 'ctest-vn-26370949', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7e5e789-45d8-4073-84b7-5d2b99c5a04b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-26370949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470']], 'subnet_ipam': [{'subnet_cidr': '166.210.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 14:06:30,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ac19c5e-7df6-49d4-b5db-492ea1ae8029', 'name': 'ctest-vn-92557315', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c891921b-718e-4080-bb8b-afb17f56c301'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-92557315'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470']], 'subnet_ipam': [{'subnet_cidr': '44.16.158.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 14:06:30,536 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-19 14:06:30,853 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-19 14:06:30,886 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5
2026-02-19 14:06:30,897 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65
2026-02-19 14:06:30,972 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:30,985 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:30,998 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe
2026-02-19 14:06:31,008 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe
2026-02-19 14:06:31,017 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/407c674c-0c03-43dd-8378-6922cc1e2c2b
2026-02-19 14:06:31,024 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 14:06:31,024 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:31,035 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe
2026-02-19 14:06:31,051 - INFO - Verified VN network id 12 for VN 869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:31,051 - INFO - Verifications in API Server for VN ctest-vn-26370949 passed
2026-02-19 14:06:31,051 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:31,060 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe
2026-02-19 14:06:31,066 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe
2026-02-19 14:06:31,074 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/407c674c-0c03-43dd-8378-6922cc1e2c2b
2026-02-19 14:06:31,087 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25120103', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9699929588267304535', 'uuid-lslong': '10396490981000748585'}, 'enable': 'true', 'created': '2026-02-19T14:06:28', 'last-modified': '2026-02-19T14:06:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921996'}
2026-02-19 14:06:31,093 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 14:06:31,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26370949 passed
2026-02-19 14:06:31,093 - DEBUG - ====Verifying policy data for ctest-vn-26370949 in API_Server ======
2026-02-19 14:06:31,093 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-19 14:06:31,099 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5
2026-02-19 14:06:31,112 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65
2026-02-19 14:06:31,180 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29
2026-02-19 14:06:31,190 - DEBUG - ==>Verifying data for policy with id: be41ad31-2582-4eff-8f02-fee1f4ae9054, fqn: ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470']
2026-02-19 14:06:31,190 - INFO - VN ctest-vn-26370949 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 14:06:31,191 - DEBUG - Verifying the vn in opserver
2026-02-19 14:06:31,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949 virtual network link through opserver 10.0.0.27
2026-02-19 14:06:31,191 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-19 14:06:31,489 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-19 14:06:31,555 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949?flat'}
2026-02-19 14:06:31,555 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949 is found in opserver
2026-02-19 14:06:31,567 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 14:06:31,573 - DEBUG - VRF ids for VN ctest-vn-26370949: {}
2026-02-19 14:06:31,573 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-19 14:06:31,578 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5
2026-02-19 14:06:31,590 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65
2026-02-19 14:06:31,663 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:31,675 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:31,686 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2
2026-02-19 14:06:31,694 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2
2026-02-19 14:06:31,701 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fc57bb1b-34e9-42cb-bb59-f9104593e0cc
2026-02-19 14:06:31,708 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 14:06:31,708 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:31,717 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2
2026-02-19 14:06:31,731 - INFO - Verified VN network id 13 for VN 8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:31,732 - INFO - Verifications in API Server for VN ctest-vn-92557315 passed
2026-02-19 14:06:31,732 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:31,741 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2
2026-02-19 14:06:31,747 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2
2026-02-19 14:06:31,754 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fc57bb1b-34e9-42cb-bb59-f9104593e0cc
2026-02-19 14:06:31,766 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25120103', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9998444577393363412', 'uuid-lslong': '13104148005394481193'}, 'enable': 'true', 'created': '2026-02-19T14:06:29', 'last-modified': '2026-02-19T14:06:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417185'}
2026-02-19 14:06:31,773 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 14:06:31,773 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92557315 passed
2026-02-19 14:06:31,773 - DEBUG - ====Verifying policy data for ctest-vn-92557315 in API_Server ======
2026-02-19 14:06:31,773 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-19 14:06:31,779 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5
2026-02-19 14:06:31,791 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65
2026-02-19 14:06:31,867 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029
2026-02-19 14:06:31,876 - DEBUG - ==>Verifying data for policy with id: be41ad31-2582-4eff-8f02-fee1f4ae9054, fqn: ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470']
2026-02-19 14:06:31,876 - INFO - VN ctest-vn-92557315 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 14:06:31,876 - DEBUG - Verifying the vn in opserver
2026-02-19 14:06:31,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315 virtual network link through opserver 10.0.0.27
2026-02-19 14:06:31,876 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-19 14:06:31,886 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315?flat'}
2026-02-19 14:06:31,886 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315 is found in opserver
2026-02-19 14:06:31,896 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 14:06:31,900 - DEBUG - VRF ids for VN ctest-vn-92557315: {}
2026-02-19 14:06:31,989 - DEBUG - Services list from nova: [