2026-04-01 16:11:20,019 - INFO - Domain Default found not creating
2026-04-01 16:11:20,205 - INFO - Project ctest-TestBasicPolicy-28889733 not found, creating it
2026-04-01 16:11:20,701 - INFO - Created Project:ctest-TestBasicPolicy-28889733, ID : bb8801db-e1f9-460c-9100-2db14b1aa51f
2026-04-01 16:11:22,309 - INFO - ================================================================================
2026-04-01 16:11:22,309 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-01 16:11:22,309 - 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-04-01 16:11:22,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with
2026-04-01 16:11:22,566 - INFO - Initial checks done. Running the testcase now
2026-04-01 16:11:22,566 - INFO -
2026-04-01 16:11:23,143 - DEBUG - Response for create_network : {'network': {'id': 'ba1789fe-e505-4639-badf-1db3297ab1bf', 'name': 'ctest-vn-14237038', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-14237038'], 'port_security_enabled': True, 'description': ''}}
2026-04-01 16:11:23,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1794465-5797-4c33-b87c-3e2b481c6519', 'name': '', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'network_id': 'ba1789fe-e505-4639-badf-1db3297ab1bf', 'ip_version': 4, 'cidr': '80.174.101.64/26', 'allocation_pools': [{'start': '80.174.101.66', 'end': '80.174.101.126'}], 'gateway_ip': '80.174.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.174.101.66', 'tags': [], 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f'}}
2026-04-01 16:11:23,335 - INFO - Created VN ctest-vn-14237038
2026-04-01 16:11:23,385 - DEBUG - VN ctest-vn-14237038 UUID is ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:23,726 - DEBUG - Response for create_network : {'network': {'id': '865e6dc8-a010-4e2e-85fe-258387846c27', 'name': 'ctest-vn-34084636', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-34084636'], 'port_security_enabled': True, 'description': ''}}
2026-04-01 16:11:23,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cc84289-3044-413f-9554-d8ffc3f9ce30', 'name': '', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'network_id': '865e6dc8-a010-4e2e-85fe-258387846c27', 'ip_version': 4, 'cidr': '34.26.100.0/26', 'allocation_pools': [{'start': '34.26.100.2', 'end': '34.26.100.62'}], 'gateway_ip': '34.26.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.26.100.2', 'tags': [], 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f'}}
2026-04-01 16:11:23,900 - INFO - Created VN ctest-vn-34084636
2026-04-01 16:11:23,953 - DEBUG - VN ctest-vn-34084636 UUID is 865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:24,071 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038, 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-28889733:ctest-vn-34084636, 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-04-01 16:11:24,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba1789fe-e505-4639-badf-1db3297ab1bf', 'name': 'ctest-vn-14237038', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1794465-5797-4c33-b87c-3e2b481c6519'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-14237038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033']], 'subnet_ipam': [{'subnet_cidr': '80.174.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-01 16:11:24,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '865e6dc8-a010-4e2e-85fe-258387846c27', 'name': 'ctest-vn-34084636', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cc84289-3044-413f-9554-d8ffc3f9ce30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-34084636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033']], 'subnet_ipam': [{'subnet_cidr': '34.26.100.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-01 16:11:24,745 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-04-01 16:11:25,048 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-04-01 16:11:25,082 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab
2026-04-01 16:11:25,095 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f
2026-04-01 16:11:25,169 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:25,181 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:25,191 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3
2026-04-01 16:11:25,200 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3
2026-04-01 16:11:25,208 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/6a7bba5f-fc50-4d43-a994-cf5ced3724be
2026-04-01 16:11:25,214 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-01 16:11:25,214 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:25,223 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3
2026-04-01 16:11:25,239 - INFO - Verified VN network id 11 for VN ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:25,239 - INFO - Verifications in API Server for VN ctest-vn-14237038 passed
2026-04-01 16:11:25,240 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:25,251 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3
2026-04-01 16:11:25,259 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3
2026-04-01 16:11:25,266 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/6a7bba5f-fc50-4d43-a994-cf5ced3724be
2026-04-01 16:11:25,278 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28889733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13409338143375967801', 'uuid-lslong': '13465514066193330623'}, 'enable': 'true', 'created': '2026-04-01T16:11:23', 'last-modified': '2026-04-01T16:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936511'}
2026-04-01 16:11:25,283 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-01 16:11:25,283 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14237038 passed
2026-04-01 16:11:25,284 - DEBUG - ====Verifying policy data for ctest-vn-14237038 in API_Server ======
2026-04-01 16:11:25,284 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-04-01 16:11:25,290 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab
2026-04-01 16:11:25,302 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f
2026-04-01 16:11:25,377 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf
2026-04-01 16:11:25,387 - DEBUG - ==>Verifying data for policy with id: 8cfe9dd7-8329-452a-ad51-253db17a601e, fqn: ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033']
2026-04-01 16:11:25,387 - INFO - VN ctest-vn-14237038 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-01 16:11:25,388 - DEBUG - Verifying the vn in opserver
2026-04-01 16:11:25,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038 virtual network link through opserver 10.0.0.241
2026-04-01 16:11:25,388 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-04-01 16:11:25,683 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-04-01 16:11:25,751 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038?flat'}
2026-04-01 16:11:25,751 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038 is found in opserver
2026-04-01 16:11:25,763 - DEBUG - Do not have enough data to verify VN in agent
2026-04-01 16:11:25,768 - DEBUG - VRF ids for VN ctest-vn-14237038: {}
2026-04-01 16:11:25,769 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-04-01 16:11:25,774 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab
2026-04-01 16:11:25,787 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f
2026-04-01 16:11:25,864 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:25,878 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:25,889 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27
2026-04-01 16:11:25,897 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27
2026-04-01 16:11:25,905 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7b38c595-cb7f-4026-b2a0-1e6fa489c89e
2026-04-01 16:11:25,912 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-01 16:11:25,912 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:25,922 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27
2026-04-01 16:11:25,936 - INFO - Verified VN network id 12 for VN 865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:25,937 - INFO - Verifications in API Server for VN ctest-vn-34084636 passed
2026-04-01 16:11:25,937 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:25,946 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27
2026-04-01 16:11:25,952 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27
2026-04-01 16:11:25,958 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7b38c595-cb7f-4026-b2a0-1e6fa489c89e
2026-04-01 16:11:25,970 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28889733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9682296957339455022', 'uuid-lslong': '9655195897973468199'}, 'enable': 'true', 'created': '2026-04-01T16:11:23', 'last-modified': '2026-04-01T16:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401862'}
2026-04-01 16:11:25,975 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-01 16:11:25,975 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34084636 passed
2026-04-01 16:11:25,975 - DEBUG - ====Verifying policy data for ctest-vn-34084636 in API_Server ======
2026-04-01 16:11:25,975 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-04-01 16:11:25,981 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab
2026-04-01 16:11:25,992 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f
2026-04-01 16:11:26,068 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27
2026-04-01 16:11:26,078 - DEBUG - ==>Verifying data for policy with id: 8cfe9dd7-8329-452a-ad51-253db17a601e, fqn: ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033']
2026-04-01 16:11:26,078 - INFO - VN ctest-vn-34084636 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-01 16:11:26,078 - DEBUG - Verifying the vn in opserver
2026-04-01 16:11:26,078 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636 virtual network link through opserver 10.0.0.241
2026-04-01 16:11:26,078 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-04-01 16:11:26,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636?flat'}
2026-04-01 16:11:26,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636 is found in opserver
2026-04-01 16:11:26,099 - DEBUG - Do not have enough data to verify VN in agent
2026-04-01 16:11:26,104 - DEBUG - VRF ids for VN ctest-vn-34084636: {}
2026-04-01 16:11:26,176 - DEBUG - Services list from nova: [