2026-03-19 02:27:14,239 - INFO - Domain Default found not creating
2026-03-19 02:27:14,404 - INFO - Project ctest-TestBasicPolicy-93441428 not found, creating it
2026-03-19 02:27:14,861 - INFO - Created Project:ctest-TestBasicPolicy-93441428, ID : ee857163-9657-42c0-9bfa-578f3d554d30
2026-03-19 02:27:16,414 - INFO - ================================================================================
2026-03-19 02:27:16,414 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-19 02:27:16,414 - 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-03-19 02:27:16,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0'}} with
2026-03-19 02:27:16,671 - INFO - Initial checks done. Running the testcase now
2026-03-19 02:27:16,671 - INFO -
2026-03-19 02:27:17,236 - DEBUG - Response for create_network : {'network': {'id': 'd531fd93-120d-4529-b09f-70809c73548c', 'name': 'ctest-vn-72517496', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-72517496'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 02:27:17,416 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0ca6a60-8d61-4df2-b04e-b57f69b37cfb', 'name': '', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'network_id': 'd531fd93-120d-4529-b09f-70809c73548c', 'ip_version': 4, 'cidr': '108.164.4.64/26', 'allocation_pools': [{'start': '108.164.4.66', 'end': '108.164.4.126'}], 'gateway_ip': '108.164.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.164.4.66', 'tags': [], 'project_id': 'ee857163965742c09bfa578f3d554d30'}}
2026-03-19 02:27:17,433 - INFO - Created VN ctest-vn-72517496
2026-03-19 02:27:17,485 - DEBUG - VN ctest-vn-72517496 UUID is d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:17,808 - DEBUG - Response for create_network : {'network': {'id': '984e2cc9-a003-4740-b3a8-12f2171a65e1', 'name': 'ctest-vn-83105788', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-83105788'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 02:27:17,991 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7da7eaa-16b0-47f4-a005-28e8adb3ecf6', 'name': '', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'network_id': '984e2cc9-a003-4740-b3a8-12f2171a65e1', 'ip_version': 4, 'cidr': '173.36.203.0/26', 'allocation_pools': [{'start': '173.36.203.2', 'end': '173.36.203.62'}], 'gateway_ip': '173.36.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.36.203.2', 'tags': [], 'project_id': 'ee857163965742c09bfa578f3d554d30'}}
2026-03-19 02:27:18,010 - INFO - Created VN ctest-vn-83105788
2026-03-19 02:27:18,065 - DEBUG - VN ctest-vn-83105788 UUID is 984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:18,176 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496, 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-93441428:ctest-vn-83105788, 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-03-19 02:27:18,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd531fd93-120d-4529-b09f-70809c73548c', 'name': 'ctest-vn-72517496', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0ca6a60-8d61-4df2-b04e-b57f69b37cfb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-72517496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244']], 'subnet_ipam': [{'subnet_cidr': '108.164.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 02:27:18,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '984e2cc9-a003-4740-b3a8-12f2171a65e1', 'name': 'ctest-vn-83105788', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7da7eaa-16b0-47f4-a005-28e8adb3ecf6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-83105788'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244']], 'subnet_ipam': [{'subnet_cidr': '173.36.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 02:27:18,853 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-19 02:27:19,157 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-19 02:27:19,192 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8
2026-03-19 02:27:19,204 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30
2026-03-19 02:27:19,274 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:19,284 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:19,292 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5
2026-03-19 02:27:19,298 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5
2026-03-19 02:27:19,304 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/186aeecc-edd3-47a0-a319-113f1be22491
2026-03-19 02:27:19,310 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 02:27:19,310 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:19,319 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5
2026-03-19 02:27:19,332 - INFO - Verified VN network id 11 for VN d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:19,332 - INFO - Verifications in API Server for VN ctest-vn-72517496 passed
2026-03-19 02:27:19,332 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:19,341 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5
2026-03-19 02:27:19,346 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5
2026-03-19 02:27:19,352 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/186aeecc-edd3-47a0-a319-113f1be22491
2026-03-19 02:27:19,362 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93441428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15362338612042351913', 'uuid-lslong': '12727014769655239820'}, 'enable': 'true', 'created': '2026-03-19T02:27:17', 'last-modified': '2026-03-19T02:27:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909298'}
2026-03-19 02:27:19,368 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 02:27:19,368 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72517496 passed
2026-03-19 02:27:19,368 - DEBUG - ====Verifying policy data for ctest-vn-72517496 in API_Server ======
2026-03-19 02:27:19,368 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-19 02:27:19,373 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8
2026-03-19 02:27:19,386 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30
2026-03-19 02:27:19,458 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c
2026-03-19 02:27:19,468 - DEBUG - ==>Verifying data for policy with id: 709eeba8-5e11-453d-9c1c-47c657c2d873, fqn: ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244']
2026-03-19 02:27:19,468 - INFO - VN ctest-vn-72517496 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 02:27:19,468 - DEBUG - Verifying the vn in opserver
2026-03-19 02:27:19,468 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496 virtual network link through opserver 10.0.0.249
2026-03-19 02:27:19,468 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-19 02:27:19,765 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-19 02:27:19,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496?flat'}
2026-03-19 02:27:19,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496 is found in opserver
2026-03-19 02:27:19,838 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 02:27:19,844 - DEBUG - VRF ids for VN ctest-vn-72517496: {}
2026-03-19 02:27:19,844 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-19 02:27:19,850 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8
2026-03-19 02:27:19,861 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30
2026-03-19 02:27:19,933 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:19,945 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:19,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60
2026-03-19 02:27:19,962 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60
2026-03-19 02:27:19,969 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/28cfda4c-7b7e-4945-ba38-71b9d83b0110
2026-03-19 02:27:19,975 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 02:27:19,975 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:19,983 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60
2026-03-19 02:27:19,996 - INFO - Verified VN network id 12 for VN 984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:19,996 - INFO - Verifications in API Server for VN ctest-vn-83105788 passed
2026-03-19 02:27:19,996 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:20,008 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60
2026-03-19 02:27:20,016 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60
2026-03-19 02:27:20,022 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/28cfda4c-7b7e-4945-ba38-71b9d83b0110
2026-03-19 02:27:20,035 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93441428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10974758586433095488', 'uuid-lslong': '12945617959855482337'}, 'enable': 'true', 'created': '2026-03-19T02:27:17', 'last-modified': '2026-03-19T02:27:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352583'}
2026-03-19 02:27:20,040 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 02:27:20,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83105788 passed
2026-03-19 02:27:20,041 - DEBUG - ====Verifying policy data for ctest-vn-83105788 in API_Server ======
2026-03-19 02:27:20,041 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-19 02:27:20,046 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8
2026-03-19 02:27:20,058 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30
2026-03-19 02:27:20,127 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1
2026-03-19 02:27:20,138 - DEBUG - ==>Verifying data for policy with id: 709eeba8-5e11-453d-9c1c-47c657c2d873, fqn: ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244']
2026-03-19 02:27:20,138 - INFO - VN ctest-vn-83105788 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 02:27:20,138 - DEBUG - Verifying the vn in opserver
2026-03-19 02:27:20,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788 virtual network link through opserver 10.0.0.249
2026-03-19 02:27:20,138 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-19 02:27:20,148 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788?flat'}
2026-03-19 02:27:20,148 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788 is found in opserver
2026-03-19 02:27:20,158 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 02:27:20,162 - DEBUG - VRF ids for VN ctest-vn-83105788: {}
2026-03-19 02:27:20,224 - DEBUG - Services list from nova: [