2026-02-26 02:01:54,740 - INFO - Domain Default found not creating
2026-02-26 02:01:54,906 - INFO - Project ctest-TestBasicPolicy-09512276 not found, creating it
2026-02-26 02:01:55,388 - INFO - Created Project:ctest-TestBasicPolicy-09512276, ID : ff521869-8f01-44c3-853f-ef4a6771bce6
2026-02-26 02:01:56,908 - INFO - ================================================================================
2026-02-26 02:01:56,908 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-26 02:01:56,908 - 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-26 02:01:57,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-02-26 02:01:57,169 - INFO - Initial checks done. Running the testcase now
2026-02-26 02:01:57,169 - INFO -
2026-02-26 02:01:57,729 - DEBUG - Response for create_network : {'network': {'id': '2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1', 'name': 'ctest-vn-46927920', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-46927920'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:01:57,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be91500b-c71b-42c5-80d5-91281bc43bd5', 'name': '', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'network_id': '2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1', 'ip_version': 4, 'cidr': '214.10.34.192/26', 'allocation_pools': [{'start': '214.10.34.194', 'end': '214.10.34.254'}], 'gateway_ip': '214.10.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.10.34.194', 'tags': [], 'project_id': 'ff5218698f0144c3853fef4a6771bce6'}}
2026-02-26 02:01:57,922 - INFO - Created VN ctest-vn-46927920
2026-02-26 02:01:57,974 - DEBUG - VN ctest-vn-46927920 UUID is 2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:01:58,250 - DEBUG - Response for create_network : {'network': {'id': 'ad49a107-4b8a-493f-a643-8a5bda59d334', 'name': 'ctest-vn-51146861', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-51146861'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:01:58,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '538f7e8b-c1ce-416c-b114-f1b1399614b1', 'name': '', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'network_id': 'ad49a107-4b8a-493f-a643-8a5bda59d334', 'ip_version': 4, 'cidr': '214.177.73.192/26', 'allocation_pools': [{'start': '214.177.73.194', 'end': '214.177.73.254'}], 'gateway_ip': '214.177.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.177.73.194', 'tags': [], 'project_id': 'ff5218698f0144c3853fef4a6771bce6'}}
2026-02-26 02:01:58,498 - INFO - Created VN ctest-vn-51146861
2026-02-26 02:01:58,550 - DEBUG - VN ctest-vn-51146861 UUID is ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:01:58,663 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920, 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-09512276:ctest-vn-51146861, 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-26 02:01:58,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1', 'name': 'ctest-vn-46927920', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be91500b-c71b-42c5-80d5-91281bc43bd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-46927920'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447']], 'subnet_ipam': [{'subnet_cidr': '214.10.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:01:59,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad49a107-4b8a-493f-a643-8a5bda59d334', 'name': 'ctest-vn-51146861', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['538f7e8b-c1ce-416c-b114-f1b1399614b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-51146861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447']], 'subnet_ipam': [{'subnet_cidr': '214.177.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:01:59,383 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-26 02:01:59,694 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-26 02:01:59,728 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f
2026-02-26 02:01:59,744 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6
2026-02-26 02:01:59,814 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:01:59,824 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:01:59,833 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01
2026-02-26 02:01:59,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01
2026-02-26 02:01:59,846 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a2dafe14-6bfa-4080-a4e9-1e1ab7c0c7d5
2026-02-26 02:01:59,852 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 02:01:59,852 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:01:59,859 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01
2026-02-26 02:01:59,873 - INFO - Verified VN network id 12 for VN 2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:01:59,873 - INFO - Verifications in API Server for VN ctest-vn-46927920 passed
2026-02-26 02:01:59,873 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:01:59,881 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01
2026-02-26 02:01:59,888 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01
2026-02-26 02:01:59,894 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a2dafe14-6bfa-4080-a4e9-1e1ab7c0c7d5
2026-02-26 02:01:59,904 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09512276', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3327628407820471803', 'uuid-lslong': '10571395055591435201'}, 'enable': 'true', 'created': '2026-02-26T02:01:57', 'last-modified': '2026-02-26T02:01:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978467'}
2026-02-26 02:01:59,910 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 02:01:59,910 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46927920 passed
2026-02-26 02:01:59,911 - DEBUG - ====Verifying policy data for ctest-vn-46927920 in API_Server ======
2026-02-26 02:01:59,911 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-26 02:01:59,915 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f
2026-02-26 02:01:59,926 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6
2026-02-26 02:01:59,995 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1
2026-02-26 02:02:00,012 - DEBUG - ==>Verifying data for policy with id: 5cd33b3d-8f85-4b11-9f87-9ebf5f4cf48f, fqn: ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447']
2026-02-26 02:02:00,013 - INFO - VN ctest-vn-46927920 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 02:02:00,013 - DEBUG - Verifying the vn in opserver
2026-02-26 02:02:00,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920 virtual network link through opserver 10.0.0.242
2026-02-26 02:02:00,013 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-26 02:02:00,321 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-26 02:02:00,385 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920?flat'}
2026-02-26 02:02:00,385 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920 is found in opserver
2026-02-26 02:02:00,396 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 02:02:00,401 - DEBUG - VRF ids for VN ctest-vn-46927920: {}
2026-02-26 02:02:00,401 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-26 02:02:00,406 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f
2026-02-26 02:02:00,418 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6
2026-02-26 02:02:00,495 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:02:00,507 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:02:00,517 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945
2026-02-26 02:02:00,524 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945
2026-02-26 02:02:00,532 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d2d1a86c-3e5b-4a6a-b08c-4f6ad35d1647
2026-02-26 02:02:00,538 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 02:02:00,538 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:02:00,547 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945
2026-02-26 02:02:00,562 - INFO - Verified VN network id 13 for VN ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:02:00,562 - INFO - Verifications in API Server for VN ctest-vn-51146861 passed
2026-02-26 02:02:00,562 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:02:00,573 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945
2026-02-26 02:02:00,581 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945
2026-02-26 02:02:00,590 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d2d1a86c-3e5b-4a6a-b08c-4f6ad35d1647
2026-02-26 02:02:00,602 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09512276', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12486688494565607743', 'uuid-lslong': '11980571560845628212'}, 'enable': 'true', 'created': '2026-02-26T02:01:58', 'last-modified': '2026-02-26T02:01:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448061'}
2026-02-26 02:02:00,609 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 02:02:00,610 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51146861 passed
2026-02-26 02:02:00,610 - DEBUG - ====Verifying policy data for ctest-vn-51146861 in API_Server ======
2026-02-26 02:02:00,610 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-26 02:02:00,617 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f
2026-02-26 02:02:00,632 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6
2026-02-26 02:02:00,704 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334
2026-02-26 02:02:00,716 - DEBUG - ==>Verifying data for policy with id: 5cd33b3d-8f85-4b11-9f87-9ebf5f4cf48f, fqn: ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447']
2026-02-26 02:02:00,716 - INFO - VN ctest-vn-51146861 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 02:02:00,716 - DEBUG - Verifying the vn in opserver
2026-02-26 02:02:00,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861 virtual network link through opserver 10.0.0.242
2026-02-26 02:02:00,716 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-26 02:02:00,725 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861?flat'}
2026-02-26 02:02:00,725 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861 is found in opserver
2026-02-26 02:02:00,737 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 02:02:00,741 - DEBUG - VRF ids for VN ctest-vn-51146861: {}
2026-02-26 02:02:00,813 - DEBUG - Services list from nova: [