2026-02-20 12:28:20,288 - INFO - Domain Default found not creating
2026-02-20 12:28:20,437 - INFO - Project ctest-TestBasicPolicy-43493640 not found, creating it
2026-02-20 12:28:20,894 - INFO - Created Project:ctest-TestBasicPolicy-43493640, ID : c68794e7-02e8-48bc-a6c6-bf307f1fc061
2026-02-20 12:28:22,326 - INFO - ================================================================================
2026-02-20 12:28:22,327 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 12:28:22,327 - 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-20 12:28:22,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2026-02-20 12:28:22,581 - INFO - Initial checks done. Running the testcase now
2026-02-20 12:28:22,581 - INFO -
2026-02-20 12:28:23,117 - DEBUG - Response for create_network : {'network': {'id': '78e9b246-20d6-4b79-927a-1ca3bc2d1c2e', 'name': 'ctest-vn-70325555', 'tenant_id': 'c68794e702e848bca6c6bf307f1fc061', 'project_id': 'c68794e702e848bca6c6bf307f1fc061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-vn-70325555'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:28:23,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c7f9ef9-3de7-4430-9d9e-62a822ca2ce0', 'name': '', 'tenant_id': 'c68794e702e848bca6c6bf307f1fc061', 'network_id': '78e9b246-20d6-4b79-927a-1ca3bc2d1c2e', 'ip_version': 4, 'cidr': '14.46.93.64/26', 'allocation_pools': [{'start': '14.46.93.66', 'end': '14.46.93.126'}], 'gateway_ip': '14.46.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.46.93.66', 'tags': [], 'project_id': 'c68794e702e848bca6c6bf307f1fc061'}}
2026-02-20 12:28:23,318 - INFO - Created VN ctest-vn-70325555
2026-02-20 12:28:23,368 - DEBUG - VN ctest-vn-70325555 UUID is 78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:23,682 - DEBUG - Response for create_network : {'network': {'id': '0c6b89aa-73f1-4160-b580-85edac9d6ebc', 'name': 'ctest-vn-86097055', 'tenant_id': 'c68794e702e848bca6c6bf307f1fc061', 'project_id': 'c68794e702e848bca6c6bf307f1fc061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-vn-86097055'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:28:23,845 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aa4bcdc-a23b-4bb6-a35e-67e8a1975b06', 'name': '', 'tenant_id': 'c68794e702e848bca6c6bf307f1fc061', 'network_id': '0c6b89aa-73f1-4160-b580-85edac9d6ebc', 'ip_version': 4, 'cidr': '54.76.92.64/26', 'allocation_pools': [{'start': '54.76.92.66', 'end': '54.76.92.126'}], 'gateway_ip': '54.76.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.76.92.66', 'tags': [], 'project_id': 'c68794e702e848bca6c6bf307f1fc061'}}
2026-02-20 12:28:23,860 - INFO - Created VN ctest-vn-86097055
2026-02-20 12:28:23,911 - DEBUG - VN ctest-vn-86097055 UUID is 0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:24,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-70325555, 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-43493640:ctest-vn-86097055, 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-20 12:28:24,337 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78e9b246-20d6-4b79-927a-1ca3bc2d1c2e', 'name': 'ctest-vn-70325555', 'tenant_id': 'c68794e702e848bca6c6bf307f1fc061', 'project_id': 'c68794e702e848bca6c6bf307f1fc061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c7f9ef9-3de7-4430-9d9e-62a822ca2ce0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-vn-70325555'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-policy-allow-all-43724503']], 'subnet_ipam': [{'subnet_cidr': '14.46.93.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:28:24,611 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c6b89aa-73f1-4160-b580-85edac9d6ebc', 'name': 'ctest-vn-86097055', 'tenant_id': 'c68794e702e848bca6c6bf307f1fc061', 'project_id': 'c68794e702e848bca6c6bf307f1fc061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8aa4bcdc-a23b-4bb6-a35e-67e8a1975b06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-vn-86097055'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-policy-allow-all-43724503']], 'subnet_ipam': [{'subnet_cidr': '54.76.92.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:28:24,752 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-20 12:28:25,047 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-20 12:28:25,075 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f4ba6413-773c-450c-94fd-be4e3306238d
2026-02-20 12:28:25,087 - DEBUG - Requesting: http://10.0.0.27:8082/project/c68794e7-02e8-48bc-a6c6-bf307f1fc061
2026-02-20 12:28:25,162 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:25,173 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:25,181 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bf98f6c5-23ed-4859-969b-016b455bf12c
2026-02-20 12:28:25,187 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bf98f6c5-23ed-4859-969b-016b455bf12c
2026-02-20 12:28:25,193 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/f2e2d70b-7a3c-4f9e-adbb-cf0d972da4b6
2026-02-20 12:28:25,198 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 12:28:25,198 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:25,207 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bf98f6c5-23ed-4859-969b-016b455bf12c
2026-02-20 12:28:25,219 - INFO - Verified VN network id 11 for VN 78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:25,219 - INFO - Verifications in API Server for VN ctest-vn-70325555 passed
2026-02-20 12:28:25,219 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:25,228 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bf98f6c5-23ed-4859-969b-016b455bf12c
2026-02-20 12:28:25,233 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bf98f6c5-23ed-4859-969b-016b455bf12c
2026-02-20 12:28:25,239 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/f2e2d70b-7a3c-4f9e-adbb-cf0d972da4b6
2026-02-20 12:28:25,249 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-70325555', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43493640', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8712690968393304953', 'uuid-lslong': '10554780166258498606'}, 'enable': 'true', 'created': '2026-02-20T12:28:23', 'last-modified': '2026-02-20T12:28:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930839'}
2026-02-20 12:28:25,254 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 12:28:25,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70325555 passed
2026-02-20 12:28:25,254 - DEBUG - ====Verifying policy data for ctest-vn-70325555 in API_Server ======
2026-02-20 12:28:25,254 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-20 12:28:25,259 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f4ba6413-773c-450c-94fd-be4e3306238d
2026-02-20 12:28:25,268 - DEBUG - Requesting: http://10.0.0.27:8082/project/c68794e7-02e8-48bc-a6c6-bf307f1fc061
2026-02-20 12:28:25,336 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/78e9b246-20d6-4b79-927a-1ca3bc2d1c2e
2026-02-20 12:28:25,346 - DEBUG - ==>Verifying data for policy with id: ceefb95b-ff11-4fa3-bd94-22771f114a59, fqn: ['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-policy-allow-all-43724503']
2026-02-20 12:28:25,346 - INFO - VN ctest-vn-70325555 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 12:28:25,346 - DEBUG - Verifying the vn in opserver
2026-02-20 12:28:25,346 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-70325555 virtual network link through opserver 10.0.0.27
2026-02-20 12:28:25,347 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-20 12:28:25,637 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-20 12:28:25,693 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-70325555', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-70325555?flat'}
2026-02-20 12:28:25,693 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-70325555 is found in opserver
2026-02-20 12:28:25,701 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 12:28:25,705 - DEBUG - VRF ids for VN ctest-vn-70325555: {}
2026-02-20 12:28:25,705 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-20 12:28:25,710 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f4ba6413-773c-450c-94fd-be4e3306238d
2026-02-20 12:28:25,720 - DEBUG - Requesting: http://10.0.0.27:8082/project/c68794e7-02e8-48bc-a6c6-bf307f1fc061
2026-02-20 12:28:25,791 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:25,802 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:25,810 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ad85f06c-97dd-49b7-a5ff-ee28046add5a
2026-02-20 12:28:25,815 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ad85f06c-97dd-49b7-a5ff-ee28046add5a
2026-02-20 12:28:25,821 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/74d43dbe-0fd0-448a-a05e-b3611bcbca69
2026-02-20 12:28:25,826 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 12:28:25,826 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:25,833 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ad85f06c-97dd-49b7-a5ff-ee28046add5a
2026-02-20 12:28:25,845 - INFO - Verified VN network id 12 for VN 0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:25,845 - INFO - Verifications in API Server for VN ctest-vn-86097055 passed
2026-02-20 12:28:25,845 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:25,853 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ad85f06c-97dd-49b7-a5ff-ee28046add5a
2026-02-20 12:28:25,859 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ad85f06c-97dd-49b7-a5ff-ee28046add5a
2026-02-20 12:28:25,864 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/74d43dbe-0fd0-448a-a05e-b3611bcbca69
2026-02-20 12:28:25,874 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-86097055', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43493640', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '894960316145811808', 'uuid-lslong': '13078600573733662396'}, 'enable': 'true', 'created': '2026-02-20T12:28:23', 'last-modified': '2026-02-20T12:28:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.332461'}
2026-02-20 12:28:25,878 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 12:28:25,878 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86097055 passed
2026-02-20 12:28:25,879 - DEBUG - ====Verifying policy data for ctest-vn-86097055 in API_Server ======
2026-02-20 12:28:25,879 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-20 12:28:25,883 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f4ba6413-773c-450c-94fd-be4e3306238d
2026-02-20 12:28:25,893 - DEBUG - Requesting: http://10.0.0.27:8082/project/c68794e7-02e8-48bc-a6c6-bf307f1fc061
2026-02-20 12:28:25,958 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0c6b89aa-73f1-4160-b580-85edac9d6ebc
2026-02-20 12:28:25,966 - DEBUG - ==>Verifying data for policy with id: ceefb95b-ff11-4fa3-bd94-22771f114a59, fqn: ['default-domain', 'ctest-TestBasicPolicy-43493640', 'ctest-policy-allow-all-43724503']
2026-02-20 12:28:25,967 - INFO - VN ctest-vn-86097055 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 12:28:25,967 - DEBUG - Verifying the vn in opserver
2026-02-20 12:28:25,967 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-86097055 virtual network link through opserver 10.0.0.27
2026-02-20 12:28:25,967 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-20 12:28:25,975 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-86097055', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-86097055?flat'}
2026-02-20 12:28:25,975 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43493640:ctest-vn-86097055 is found in opserver
2026-02-20 12:28:25,985 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 12:28:25,989 - DEBUG - VRF ids for VN ctest-vn-86097055: {}
2026-02-20 12:28:26,043 - DEBUG - Services list from nova: [