2026-09-16 13:19:31,585 - INFO - Domain Default found not creating
2026-09-16 13:19:31,737 - INFO - Project ctest-TestBasicPolicy-14901832 not found, creating it
2026-09-16 13:19:32,194 - INFO - Created Project:ctest-TestBasicPolicy-14901832, ID : efe6f15d-508e-4a55-9f49-7cf89c4697f4
2026-09-16 13:19:33,836 - INFO - ================================================================================
2026-09-16 13:19:33,836 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 13:19:33,836 - 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-09-16 13:19:34,094 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.254': '0'}} with
2026-09-16 13:19:34,094 - INFO - Initial checks done. Running the testcase now
2026-09-16 13:19:34,094 - INFO -
2026-09-16 13:19:34,711 - DEBUG - Response for create_network : {'network': {'id': 'f0761707-eaf9-4a8f-b3ef-657e098783f0', 'name': 'ctest-vn-71998603', 'tenant_id': 'efe6f15d508e4a559f497cf89c4697f4', 'project_id': 'efe6f15d508e4a559f497cf89c4697f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-vn-71998603'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:19:34,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2ad9ee0-ef6b-49bb-9516-a6690319b39f', 'name': '', 'tenant_id': 'efe6f15d508e4a559f497cf89c4697f4', 'network_id': 'f0761707-eaf9-4a8f-b3ef-657e098783f0', 'ip_version': 4, 'cidr': '6.254.195.64/26', 'allocation_pools': [{'start': '6.254.195.66', 'end': '6.254.195.126'}], 'gateway_ip': '6.254.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.254.195.66', 'tags': [], 'project_id': 'efe6f15d508e4a559f497cf89c4697f4'}}
2026-09-16 13:19:34,937 - INFO - Created VN ctest-vn-71998603
2026-09-16 13:19:34,987 - DEBUG - VN ctest-vn-71998603 UUID is f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:35,328 - DEBUG - Response for create_network : {'network': {'id': '91f9e398-d253-47b5-97df-2f3691ebbe30', 'name': 'ctest-vn-63673587', 'tenant_id': 'efe6f15d508e4a559f497cf89c4697f4', 'project_id': 'efe6f15d508e4a559f497cf89c4697f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-vn-63673587'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:19:35,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '26e9c59b-19b9-427e-a503-8527598d3658', 'name': '', 'tenant_id': 'efe6f15d508e4a559f497cf89c4697f4', 'network_id': '91f9e398-d253-47b5-97df-2f3691ebbe30', 'ip_version': 4, 'cidr': '90.131.146.0/26', 'allocation_pools': [{'start': '90.131.146.2', 'end': '90.131.146.62'}], 'gateway_ip': '90.131.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.131.146.2', 'tags': [], 'project_id': 'efe6f15d508e4a559f497cf89c4697f4'}}
2026-09-16 13:19:35,532 - INFO - Created VN ctest-vn-63673587
2026-09-16 13:19:35,583 - DEBUG - VN ctest-vn-63673587 UUID is 91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:35,731 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-71998603, 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-14901832:ctest-vn-63673587, 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-09-16 13:19:36,050 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0761707-eaf9-4a8f-b3ef-657e098783f0', 'name': 'ctest-vn-71998603', 'tenant_id': 'efe6f15d508e4a559f497cf89c4697f4', 'project_id': 'efe6f15d508e4a559f497cf89c4697f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b2ad9ee0-ef6b-49bb-9516-a6690319b39f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-vn-71998603'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-policy-allow-all-56370862']], 'subnet_ipam': [{'subnet_cidr': '6.254.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:19:36,305 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91f9e398-d253-47b5-97df-2f3691ebbe30', 'name': 'ctest-vn-63673587', 'tenant_id': 'efe6f15d508e4a559f497cf89c4697f4', 'project_id': 'efe6f15d508e4a559f497cf89c4697f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['26e9c59b-19b9-427e-a503-8527598d3658'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-vn-63673587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-policy-allow-all-56370862']], 'subnet_ipam': [{'subnet_cidr': '90.131.146.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:19:36,472 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 13:19:36,837 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 13:19:36,864 - DEBUG - Requesting: http://10.0.0.189:8082/domain/ac3f3409-64a4-4a67-8a93-aba17253f477
2026-09-16 13:19:36,876 - DEBUG - Requesting: http://10.0.0.189:8082/project/efe6f15d-508e-4a55-9f49-7cf89c4697f4
2026-09-16 13:19:36,951 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:36,962 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:36,971 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/cb6538db-0a8c-49de-9c3a-3d13a62f088e
2026-09-16 13:19:36,978 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/cb6538db-0a8c-49de-9c3a-3d13a62f088e
2026-09-16 13:19:36,984 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f03bdda1-b60e-45ae-a3ba-dbfdaaeb292f
2026-09-16 13:19:36,990 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:19:36,990 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:36,998 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/cb6538db-0a8c-49de-9c3a-3d13a62f088e
2026-09-16 13:19:37,010 - INFO - Verified VN network id 12 for VN f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:37,010 - INFO - Verifications in API Server for VN ctest-vn-71998603 passed
2026-09-16 13:19:37,010 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:37,018 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/cb6538db-0a8c-49de-9c3a-3d13a62f088e
2026-09-16 13:19:37,024 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/cb6538db-0a8c-49de-9c3a-3d13a62f088e
2026-09-16 13:19:37,030 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f03bdda1-b60e-45ae-a3ba-dbfdaaeb292f
2026-09-16 13:19:37,042 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-71998603', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14901832', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17327061939128978063', 'uuid-lslong': '12965693444223108080'}, 'enable': 'true', 'created': '2026-09-16T13:19:34', 'last-modified': '2026-09-16T13:19:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015839'}
2026-09-16 13:19:37,048 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:19:37,048 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71998603 passed
2026-09-16 13:19:37,049 - DEBUG - ====Verifying policy data for ctest-vn-71998603 in API_Server ======
2026-09-16 13:19:37,049 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 13:19:37,053 - DEBUG - Requesting: http://10.0.0.189:8082/domain/ac3f3409-64a4-4a67-8a93-aba17253f477
2026-09-16 13:19:37,062 - DEBUG - Requesting: http://10.0.0.189:8082/project/efe6f15d-508e-4a55-9f49-7cf89c4697f4
2026-09-16 13:19:37,133 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0761707-eaf9-4a8f-b3ef-657e098783f0
2026-09-16 13:19:37,142 - DEBUG - ==>Verifying data for policy with id: 865e7467-9fb9-46a7-a0fb-a668f791f6d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-policy-allow-all-56370862']
2026-09-16 13:19:37,142 - INFO - VN ctest-vn-71998603 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:19:37,142 - DEBUG - Verifying the vn in opserver
2026-09-16 13:19:37,142 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-71998603 virtual network link through opserver 10.0.0.189
2026-09-16 13:19:37,143 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-16 13:19:37,506 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-16 13:19:37,560 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-71998603', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-71998603?flat'}
2026-09-16 13:19:37,560 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-71998603 is found in opserver
2026-09-16 13:19:37,573 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:19:37,578 - DEBUG - VRF ids for VN ctest-vn-71998603: {}
2026-09-16 13:19:37,578 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 13:19:37,584 - DEBUG - Requesting: http://10.0.0.189:8082/domain/ac3f3409-64a4-4a67-8a93-aba17253f477
2026-09-16 13:19:37,594 - DEBUG - Requesting: http://10.0.0.189:8082/project/efe6f15d-508e-4a55-9f49-7cf89c4697f4
2026-09-16 13:19:37,665 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:37,677 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:37,685 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1dde61aa-ebe7-4490-81d2-3cd2a9370072
2026-09-16 13:19:37,691 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1dde61aa-ebe7-4490-81d2-3cd2a9370072
2026-09-16 13:19:37,697 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a2268325-84ff-467e-b722-e4824d5819e7
2026-09-16 13:19:37,702 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:19:37,702 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:37,710 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1dde61aa-ebe7-4490-81d2-3cd2a9370072
2026-09-16 13:19:37,722 - INFO - Verified VN network id 13 for VN 91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:37,722 - INFO - Verifications in API Server for VN ctest-vn-63673587 passed
2026-09-16 13:19:37,722 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:37,731 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1dde61aa-ebe7-4490-81d2-3cd2a9370072
2026-09-16 13:19:37,737 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1dde61aa-ebe7-4490-81d2-3cd2a9370072
2026-09-16 13:19:37,742 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a2268325-84ff-467e-b722-e4824d5819e7
2026-09-16 13:19:37,753 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-63673587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14901832', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10518688650203711413', 'uuid-lslong': '10943517530956480048'}, 'enable': 'true', 'created': '2026-09-16T13:19:35', 'last-modified': '2026-09-16T13:19:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481020'}
2026-09-16 13:19:37,759 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:19:37,759 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63673587 passed
2026-09-16 13:19:37,759 - DEBUG - ====Verifying policy data for ctest-vn-63673587 in API_Server ======
2026-09-16 13:19:37,759 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 13:19:37,764 - DEBUG - Requesting: http://10.0.0.189:8082/domain/ac3f3409-64a4-4a67-8a93-aba17253f477
2026-09-16 13:19:37,773 - DEBUG - Requesting: http://10.0.0.189:8082/project/efe6f15d-508e-4a55-9f49-7cf89c4697f4
2026-09-16 13:19:37,845 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/91f9e398-d253-47b5-97df-2f3691ebbe30
2026-09-16 13:19:37,855 - DEBUG - ==>Verifying data for policy with id: 865e7467-9fb9-46a7-a0fb-a668f791f6d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-14901832', 'ctest-policy-allow-all-56370862']
2026-09-16 13:19:37,855 - INFO - VN ctest-vn-63673587 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:19:37,855 - DEBUG - Verifying the vn in opserver
2026-09-16 13:19:37,855 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-63673587 virtual network link through opserver 10.0.0.189
2026-09-16 13:19:37,855 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-16 13:19:37,864 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-63673587', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-63673587?flat'}
2026-09-16 13:19:37,864 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14901832:ctest-vn-63673587 is found in opserver
2026-09-16 13:19:37,874 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:19:37,878 - DEBUG - VRF ids for VN ctest-vn-63673587: {}
2026-09-16 13:19:37,933 - DEBUG - Services list from nova: [