2026-02-20 12:15:25,238 - INFO - Domain Default found not creating
2026-02-20 12:15:25,428 - INFO - Project ctest-TestBasicPolicy-33449166 not found, creating it
2026-02-20 12:15:25,927 - INFO - Created Project:ctest-TestBasicPolicy-33449166, ID : 6539fbc2-955b-41a6-ade5-10cb4fa25aab
2026-02-20 12:15:27,691 - INFO - ================================================================================
2026-02-20 12:15:27,691 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 12:15:27,691 - 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:15:27,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2026-02-20 12:15:27,957 - INFO - Initial checks done. Running the testcase now
2026-02-20 12:15:27,957 - INFO -
2026-02-20 12:15:28,577 - DEBUG - Response for create_network : {'network': {'id': '17ce3226-6760-468d-bd2e-aeaffe353673', 'name': 'ctest-vn-03274258', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-03274258'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:15:28,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '98f9c9b5-7ac9-442a-9899-7f80524f5073', 'name': '', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'network_id': '17ce3226-6760-468d-bd2e-aeaffe353673', 'ip_version': 4, 'cidr': '73.19.25.192/26', 'allocation_pools': [{'start': '73.19.25.194', 'end': '73.19.25.254'}], 'gateway_ip': '73.19.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.19.25.194', 'tags': [], 'project_id': '6539fbc2955b41a6ade510cb4fa25aab'}}
2026-02-20 12:15:28,788 - INFO - Created VN ctest-vn-03274258
2026-02-20 12:15:28,841 - DEBUG - VN ctest-vn-03274258 UUID is 17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:29,143 - DEBUG - Response for create_network : {'network': {'id': 'd8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a', 'name': 'ctest-vn-78442766', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-78442766'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:15:29,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '91a05637-7fd6-41dc-8e77-8f802da2b6da', 'name': '', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'network_id': 'd8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a', 'ip_version': 4, 'cidr': '39.1.170.64/26', 'allocation_pools': [{'start': '39.1.170.66', 'end': '39.1.170.126'}], 'gateway_ip': '39.1.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.1.170.66', 'tags': [], 'project_id': '6539fbc2955b41a6ade510cb4fa25aab'}}
2026-02-20 12:15:29,336 - INFO - Created VN ctest-vn-78442766
2026-02-20 12:15:29,393 - DEBUG - VN ctest-vn-78442766 UUID is d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:29,521 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258, 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-33449166:ctest-vn-78442766, 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:15:29,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17ce3226-6760-468d-bd2e-aeaffe353673', 'name': 'ctest-vn-03274258', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98f9c9b5-7ac9-442a-9899-7f80524f5073'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-03274258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141']], 'subnet_ipam': [{'subnet_cidr': '73.19.25.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:15:30,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a', 'name': 'ctest-vn-78442766', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91a05637-7fd6-41dc-8e77-8f802da2b6da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-78442766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141']], 'subnet_ipam': [{'subnet_cidr': '39.1.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 12:15:30,220 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 12:15:30,581 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 12:15:30,614 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5
2026-02-20 12:15:30,630 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab
2026-02-20 12:15:30,707 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:30,717 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:30,726 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699
2026-02-20 12:15:30,734 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699
2026-02-20 12:15:30,741 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/886b4afd-42c9-4689-af1d-ff7b90c3fd2f
2026-02-20 12:15:30,748 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 12:15:30,748 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:30,757 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699
2026-02-20 12:15:30,772 - INFO - Verified VN network id 11 for VN 17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:30,772 - INFO - Verifications in API Server for VN ctest-vn-03274258 passed
2026-02-20 12:15:30,772 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:30,781 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699
2026-02-20 12:15:30,789 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699
2026-02-20 12:15:30,796 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/886b4afd-42c9-4689-af1d-ff7b90c3fd2f
2026-02-20 12:15:30,808 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33449166', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1715363648599246477', 'uuid-lslong': '13632025193004480115'}, 'enable': 'true', 'created': '2026-02-20T12:15:28', 'last-modified': '2026-02-20T12:15:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001098'}
2026-02-20 12:15:30,815 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 12:15:30,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03274258 passed
2026-02-20 12:15:30,816 - DEBUG - ====Verifying policy data for ctest-vn-03274258 in API_Server ======
2026-02-20 12:15:30,816 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 12:15:30,822 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5
2026-02-20 12:15:30,836 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab
2026-02-20 12:15:30,903 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673
2026-02-20 12:15:30,914 - DEBUG - ==>Verifying data for policy with id: ae5a9590-1cff-4977-b5c5-580bbfb0f528, fqn: ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141']
2026-02-20 12:15:30,914 - INFO - VN ctest-vn-03274258 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 12:15:30,914 - DEBUG - Verifying the vn in opserver
2026-02-20 12:15:30,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258 virtual network link through opserver 10.0.0.241
2026-02-20 12:15:30,915 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 12:15:31,250 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 12:15:31,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258?flat'}
2026-02-20 12:15:31,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258 is found in opserver
2026-02-20 12:15:31,331 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 12:15:31,336 - DEBUG - VRF ids for VN ctest-vn-03274258: {}
2026-02-20 12:15:31,337 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 12:15:31,342 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5
2026-02-20 12:15:31,356 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab
2026-02-20 12:15:31,434 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:31,447 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:31,458 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db
2026-02-20 12:15:31,467 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db
2026-02-20 12:15:31,475 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/94096403-6a57-4ca3-b950-2ec35040a850
2026-02-20 12:15:31,483 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 12:15:31,483 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:31,494 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db
2026-02-20 12:15:31,508 - INFO - Verified VN network id 12 for VN d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:31,508 - INFO - Verifications in API Server for VN ctest-vn-78442766 passed
2026-02-20 12:15:31,508 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:31,517 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db
2026-02-20 12:15:31,525 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db
2026-02-20 12:15:31,535 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/94096403-6a57-4ca3-b950-2ec35040a850
2026-02-20 12:15:31,549 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33449166', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15626864412011678622', 'uuid-lslong': '13245359646242044538'}, 'enable': 'true', 'created': '2026-02-20T12:15:29', 'last-modified': '2026-02-20T12:15:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477210'}
2026-02-20 12:15:31,554 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 12:15:31,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78442766 passed
2026-02-20 12:15:31,555 - DEBUG - ====Verifying policy data for ctest-vn-78442766 in API_Server ======
2026-02-20 12:15:31,555 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 12:15:31,561 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5
2026-02-20 12:15:31,572 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab
2026-02-20 12:15:31,643 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a
2026-02-20 12:15:31,651 - DEBUG - ==>Verifying data for policy with id: ae5a9590-1cff-4977-b5c5-580bbfb0f528, fqn: ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141']
2026-02-20 12:15:31,652 - INFO - VN ctest-vn-78442766 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 12:15:31,652 - DEBUG - Verifying the vn in opserver
2026-02-20 12:15:31,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766 virtual network link through opserver 10.0.0.241
2026-02-20 12:15:31,652 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 12:15:31,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766?flat'}
2026-02-20 12:15:31,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766 is found in opserver
2026-02-20 12:15:31,671 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 12:15:31,676 - DEBUG - VRF ids for VN ctest-vn-78442766: {}
2026-02-20 12:15:31,738 - DEBUG - Services list from nova: [