2026-12-03 17:11:21,894 - INFO - Domain Default found not creating
2026-12-03 17:11:22,076 - INFO - Project ctest-TestBasicPolicy-07379541 not found, creating it
2026-12-03 17:11:22,753 - INFO - Created Project:ctest-TestBasicPolicy-07379541, ID : 86922fbc-6d72-470a-8c51-281c274104a5
2026-12-03 17:11:24,692 - INFO - ================================================================================
2026-12-03 17:11:24,692 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-12-03 17:11:24,692 - 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-12-03 17:11:24,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with
2026-12-03 17:11:24,971 - INFO - Initial checks done. Running the testcase now
2026-12-03 17:11:24,971 - INFO -
2026-12-03 17:11:25,640 - DEBUG - Response for create_network : {'network': {'id': '0ace3048-ea66-47d9-be89-f8132dc8b2dc', 'name': 'ctest-vn-38805165', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-38805165'], 'port_security_enabled': True, 'description': ''}}
2026-12-03 17:11:25,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '49a7425d-ba5b-4f3e-a0f9-095389b5e9f9', 'name': '', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'network_id': '0ace3048-ea66-47d9-be89-f8132dc8b2dc', 'ip_version': 4, 'cidr': '70.200.76.0/26', 'allocation_pools': [{'start': '70.200.76.2', 'end': '70.200.76.62'}], 'gateway_ip': '70.200.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.200.76.2', 'tags': [], 'project_id': '86922fbc6d72470a8c51281c274104a5'}}
2026-12-03 17:11:25,907 - INFO - Created VN ctest-vn-38805165
2026-12-03 17:11:25,960 - DEBUG - VN ctest-vn-38805165 UUID is 0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:26,318 - DEBUG - Response for create_network : {'network': {'id': '8148d8be-87f1-4ebb-9410-f2ccd9d519e7', 'name': 'ctest-vn-24067809', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-24067809'], 'port_security_enabled': True, 'description': ''}}
2026-12-03 17:11:26,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '88434192-8eab-4609-a52c-700ae533ce38', 'name': '', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'network_id': '8148d8be-87f1-4ebb-9410-f2ccd9d519e7', 'ip_version': 4, 'cidr': '159.54.194.64/26', 'allocation_pools': [{'start': '159.54.194.66', 'end': '159.54.194.126'}], 'gateway_ip': '159.54.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.54.194.66', 'tags': [], 'project_id': '86922fbc6d72470a8c51281c274104a5'}}
2026-12-03 17:11:26,576 - INFO - Created VN ctest-vn-24067809
2026-12-03 17:11:26,628 - DEBUG - VN ctest-vn-24067809 UUID is 8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:26,744 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165, 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-07379541:ctest-vn-24067809, 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-12-03 17:11:27,041 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ace3048-ea66-47d9-be89-f8132dc8b2dc', 'name': 'ctest-vn-38805165', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['49a7425d-ba5b-4f3e-a0f9-095389b5e9f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-38805165'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699']], 'subnet_ipam': [{'subnet_cidr': '70.200.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-03 17:11:27,282 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8148d8be-87f1-4ebb-9410-f2ccd9d519e7', 'name': 'ctest-vn-24067809', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['88434192-8eab-4609-a52c-700ae533ce38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-24067809'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699']], 'subnet_ipam': [{'subnet_cidr': '159.54.194.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-03 17:11:27,448 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-12-03 17:11:27,812 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-12-03 17:11:27,843 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0
2026-12-03 17:11:27,857 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5
2026-12-03 17:11:27,932 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:27,946 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:27,957 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f
2026-12-03 17:11:27,965 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f
2026-12-03 17:11:27,971 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/55ee27cf-2585-4ddf-9de2-e75844d38932
2026-12-03 17:11:27,977 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-03 17:11:27,977 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:27,985 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f
2026-12-03 17:11:27,998 - INFO - Verified VN network id 12 for VN 0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:27,998 - INFO - Verifications in API Server for VN ctest-vn-38805165 passed
2026-12-03 17:11:27,998 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:28,006 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f
2026-12-03 17:11:28,012 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f
2026-12-03 17:11:28,020 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/55ee27cf-2585-4ddf-9de2-e75844d38932
2026-12-03 17:11:28,037 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07379541', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '778612875310024665', 'uuid-lslong': '13729777700271862492'}, 'enable': 'true', 'created': '2026-12-03T17:11:25', 'last-modified': '2026-12-03T17:11:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018966'}
2026-12-03 17:11:28,045 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-03 17:11:28,045 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38805165 passed
2026-12-03 17:11:28,045 - DEBUG - ====Verifying policy data for ctest-vn-38805165 in API_Server ======
2026-12-03 17:11:28,045 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-12-03 17:11:28,051 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0
2026-12-03 17:11:28,062 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5
2026-12-03 17:11:28,135 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc
2026-12-03 17:11:28,146 - DEBUG - ==>Verifying data for policy with id: 9b5d5c84-d333-4cf4-8f2e-235be1ce203c, fqn: ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699']
2026-12-03 17:11:28,146 - INFO - VN ctest-vn-38805165 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-03 17:11:28,146 - DEBUG - Verifying the vn in opserver
2026-12-03 17:11:28,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165 virtual network link through opserver 10.0.0.163
2026-12-03 17:11:28,147 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-12-03 17:11:28,508 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-12-03 17:11:28,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165?flat'}
2026-12-03 17:11:28,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165 is found in opserver
2026-12-03 17:11:28,572 - DEBUG - Do not have enough data to verify VN in agent
2026-12-03 17:11:28,576 - DEBUG - VRF ids for VN ctest-vn-38805165: {}
2026-12-03 17:11:28,576 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-12-03 17:11:28,581 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0
2026-12-03 17:11:28,591 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5
2026-12-03 17:11:28,664 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:28,675 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:28,683 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3
2026-12-03 17:11:28,689 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3
2026-12-03 17:11:28,694 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c565d141-29d1-4e4f-956e-f4eb92c42779
2026-12-03 17:11:28,699 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-03 17:11:28,699 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:28,707 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3
2026-12-03 17:11:28,720 - INFO - Verified VN network id 13 for VN 8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:28,720 - INFO - Verifications in API Server for VN ctest-vn-24067809 passed
2026-12-03 17:11:28,720 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:28,733 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3
2026-12-03 17:11:28,742 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3
2026-12-03 17:11:28,750 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c565d141-29d1-4e4f-956e-f4eb92c42779
2026-12-03 17:11:28,762 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07379541', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9315934142051995323', 'uuid-lslong': '10669294478882576871'}, 'enable': 'true', 'created': '2026-12-03T17:11:26', 'last-modified': '2026-12-03T17:11:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501107'}
2026-12-03 17:11:28,769 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-03 17:11:28,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24067809 passed
2026-12-03 17:11:28,769 - DEBUG - ====Verifying policy data for ctest-vn-24067809 in API_Server ======
2026-12-03 17:11:28,769 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-12-03 17:11:28,774 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0
2026-12-03 17:11:28,784 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5
2026-12-03 17:11:28,860 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7
2026-12-03 17:11:28,871 - DEBUG - ==>Verifying data for policy with id: 9b5d5c84-d333-4cf4-8f2e-235be1ce203c, fqn: ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699']
2026-12-03 17:11:28,871 - INFO - VN ctest-vn-24067809 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-03 17:11:28,871 - DEBUG - Verifying the vn in opserver
2026-12-03 17:11:28,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809 virtual network link through opserver 10.0.0.163
2026-12-03 17:11:28,871 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-12-03 17:11:28,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809?flat'}
2026-12-03 17:11:28,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809 is found in opserver
2026-12-03 17:11:28,891 - DEBUG - Do not have enough data to verify VN in agent
2026-12-03 17:11:28,896 - DEBUG - VRF ids for VN ctest-vn-24067809: {}
2026-12-03 17:11:28,961 - DEBUG - Services list from nova: [