2026-02-24 03:48:44,809 - INFO - Domain Default found not creating
2026-02-24 03:48:44,978 - INFO - Project ctest-TestBasicPolicy-99822550 not found, creating it
2026-02-24 03:48:45,485 - INFO - Created Project:ctest-TestBasicPolicy-99822550, ID : 95c642e4-bfbe-476b-ac62-a5ba7882d94d
2026-02-24 03:48:47,095 - INFO - ================================================================================
2026-02-24 03:48:47,095 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-24 03:48:47,095 - 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-24 03:48:47,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-24 03:48:47,351 - INFO - Initial checks done. Running the testcase now
2026-02-24 03:48:47,351 - INFO -
2026-02-24 03:48:47,936 - DEBUG - Response for create_network : {'network': {'id': '2873378e-50f3-48db-9f55-b9794f4b47d6', 'name': 'ctest-vn-91645310', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-91645310'], 'port_security_enabled': True, 'description': ''}}
2026-02-24 03:48:48,106 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb3dbe98-0c2e-455f-bc0f-fc4ec1ba5cb4', 'name': '', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'network_id': '2873378e-50f3-48db-9f55-b9794f4b47d6', 'ip_version': 4, 'cidr': '41.157.108.0/26', 'allocation_pools': [{'start': '41.157.108.2', 'end': '41.157.108.62'}], 'gateway_ip': '41.157.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.157.108.2', 'tags': [], 'project_id': '95c642e4bfbe476bac62a5ba7882d94d'}}
2026-02-24 03:48:48,124 - INFO - Created VN ctest-vn-91645310
2026-02-24 03:48:48,177 - DEBUG - VN ctest-vn-91645310 UUID is 2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:48,502 - DEBUG - Response for create_network : {'network': {'id': '44f467ce-c7ad-47a3-bb30-d7b4a8fccab6', 'name': 'ctest-vn-12167781', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-12167781'], 'port_security_enabled': True, 'description': ''}}
2026-02-24 03:48:48,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5e09c2e-03d0-409f-a0e4-49586b37ae02', 'name': '', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'network_id': '44f467ce-c7ad-47a3-bb30-d7b4a8fccab6', 'ip_version': 4, 'cidr': '2.217.167.192/26', 'allocation_pools': [{'start': '2.217.167.194', 'end': '2.217.167.254'}], 'gateway_ip': '2.217.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.217.167.194', 'tags': [], 'project_id': '95c642e4bfbe476bac62a5ba7882d94d'}}
2026-02-24 03:48:48,700 - INFO - Created VN ctest-vn-12167781
2026-02-24 03:48:48,753 - DEBUG - VN ctest-vn-12167781 UUID is 44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:48,909 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310, 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-99822550:ctest-vn-12167781, 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-24 03:48:49,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2873378e-50f3-48db-9f55-b9794f4b47d6', 'name': 'ctest-vn-91645310', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb3dbe98-0c2e-455f-bc0f-fc4ec1ba5cb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-91645310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266']], 'subnet_ipam': [{'subnet_cidr': '41.157.108.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-24 03:48:49,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44f467ce-c7ad-47a3-bb30-d7b4a8fccab6', 'name': 'ctest-vn-12167781', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5e09c2e-03d0-409f-a0e4-49586b37ae02'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-12167781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266']], 'subnet_ipam': [{'subnet_cidr': '2.217.167.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-24 03:48:49,553 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-24 03:48:49,895 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-24 03:48:49,925 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c
2026-02-24 03:48:49,936 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d
2026-02-24 03:48:50,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:50,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:50,030 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f
2026-02-24 03:48:50,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f
2026-02-24 03:48:50,045 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/500f3011-f1f7-4a6d-8133-6d173ac5eed8
2026-02-24 03:48:50,051 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-24 03:48:50,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:50,060 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f
2026-02-24 03:48:50,075 - INFO - Verified VN network id 11 for VN 2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:50,075 - INFO - Verifications in API Server for VN ctest-vn-91645310 passed
2026-02-24 03:48:50,075 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:50,084 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f
2026-02-24 03:48:50,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f
2026-02-24 03:48:50,096 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/500f3011-f1f7-4a6d-8133-6d173ac5eed8
2026-02-24 03:48:50,108 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99822550', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2914734468221847771', 'uuid-lslong': '11481286755723462614'}, 'enable': 'true', 'created': '2026-02-24T03:48:47', 'last-modified': '2026-02-24T03:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930700'}
2026-02-24 03:48:50,115 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-24 03:48:50,115 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91645310 passed
2026-02-24 03:48:50,115 - DEBUG - ====Verifying policy data for ctest-vn-91645310 in API_Server ======
2026-02-24 03:48:50,115 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-24 03:48:50,121 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c
2026-02-24 03:48:50,131 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d
2026-02-24 03:48:50,201 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6
2026-02-24 03:48:50,210 - DEBUG - ==>Verifying data for policy with id: fdf8fe55-b778-476a-9b53-481bdff48dad, fqn: ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266']
2026-02-24 03:48:50,211 - INFO - VN ctest-vn-91645310 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-24 03:48:50,211 - DEBUG - Verifying the vn in opserver
2026-02-24 03:48:50,211 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310 virtual network link through opserver 10.0.0.50
2026-02-24 03:48:50,211 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-24 03:48:50,546 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-24 03:48:50,607 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310?flat'}
2026-02-24 03:48:50,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310 is found in opserver
2026-02-24 03:48:50,615 - DEBUG - Do not have enough data to verify VN in agent
2026-02-24 03:48:50,619 - DEBUG - VRF ids for VN ctest-vn-91645310: {}
2026-02-24 03:48:50,620 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-24 03:48:50,624 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c
2026-02-24 03:48:50,635 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d
2026-02-24 03:48:50,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:50,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:50,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a
2026-02-24 03:48:50,728 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a
2026-02-24 03:48:50,734 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2101d409-c229-41dc-8fbc-336aba717648
2026-02-24 03:48:50,741 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-24 03:48:50,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:50,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a
2026-02-24 03:48:50,766 - INFO - Verified VN network id 12 for VN 44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:50,766 - INFO - Verifications in API Server for VN ctest-vn-12167781 passed
2026-02-24 03:48:50,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:50,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a
2026-02-24 03:48:50,779 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a
2026-02-24 03:48:50,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2101d409-c229-41dc-8fbc-336aba717648
2026-02-24 03:48:50,795 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99822550', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4968710426707445667', 'uuid-lslong': '13488518054903859894'}, 'enable': 'true', 'created': '2026-02-24T03:48:48', 'last-modified': '2026-02-24T03:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427688'}
2026-02-24 03:48:50,801 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-24 03:48:50,801 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12167781 passed
2026-02-24 03:48:50,801 - DEBUG - ====Verifying policy data for ctest-vn-12167781 in API_Server ======
2026-02-24 03:48:50,801 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-24 03:48:50,806 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c
2026-02-24 03:48:50,815 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d
2026-02-24 03:48:50,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6
2026-02-24 03:48:50,891 - DEBUG - ==>Verifying data for policy with id: fdf8fe55-b778-476a-9b53-481bdff48dad, fqn: ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266']
2026-02-24 03:48:50,891 - INFO - VN ctest-vn-12167781 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-24 03:48:50,891 - DEBUG - Verifying the vn in opserver
2026-02-24 03:48:50,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781 virtual network link through opserver 10.0.0.50
2026-02-24 03:48:50,891 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-24 03:48:50,900 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781?flat'}
2026-02-24 03:48:50,900 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781 is found in opserver
2026-02-24 03:48:50,908 - DEBUG - Do not have enough data to verify VN in agent
2026-02-24 03:48:50,913 - DEBUG - VRF ids for VN ctest-vn-12167781: {}
2026-02-24 03:48:50,967 - DEBUG - Services list from nova: [