2026-08-26 06:15:30,901 - INFO - Domain Default found not creating
2026-08-26 06:15:31,085 - INFO - Project ctest-TestBasicPolicy-64084082 not found, creating it
2026-08-26 06:15:31,628 - INFO - Created Project:ctest-TestBasicPolicy-64084082, ID : 4b94a38a-d294-4e58-8950-83843d838e86
2026-08-26 06:15:33,257 - INFO - ================================================================================
2026-08-26 06:15:33,257 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-26 06:15:33,257 - 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-08-26 06:15:33,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-08-26 06:15:33,521 - INFO - Initial checks done. Running the testcase now
2026-08-26 06:15:33,521 - INFO -
2026-08-26 06:15:34,169 - DEBUG - Response for create_network : {'network': {'id': '45dddea8-6ce0-4f60-ba02-b934e0d228aa', 'name': 'ctest-vn-69922406', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-69922406'], 'port_security_enabled': True, 'description': ''}}
2026-08-26 06:15:34,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e60b75e-defb-4254-b692-1b9313bae038', 'name': '', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'network_id': '45dddea8-6ce0-4f60-ba02-b934e0d228aa', 'ip_version': 4, 'cidr': '190.67.41.128/26', 'allocation_pools': [{'start': '190.67.41.130', 'end': '190.67.41.190'}], 'gateway_ip': '190.67.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.67.41.130', 'tags': [], 'project_id': '4b94a38ad2944e58895083843d838e86'}}
2026-08-26 06:15:34,400 - INFO - Created VN ctest-vn-69922406
2026-08-26 06:15:34,454 - DEBUG - VN ctest-vn-69922406 UUID is 45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:34,783 - DEBUG - Response for create_network : {'network': {'id': '706bf160-0857-499d-aafb-0f4a6abc11f5', 'name': 'ctest-vn-60364917', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-60364917'], 'port_security_enabled': True, 'description': ''}}
2026-08-26 06:15:34,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '6560cfae-5b9a-4f24-af3b-4888811a12f3', 'name': '', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'network_id': '706bf160-0857-499d-aafb-0f4a6abc11f5', 'ip_version': 4, 'cidr': '149.94.253.192/26', 'allocation_pools': [{'start': '149.94.253.194', 'end': '149.94.253.254'}], 'gateway_ip': '149.94.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.94.253.194', 'tags': [], 'project_id': '4b94a38ad2944e58895083843d838e86'}}
2026-08-26 06:15:35,007 - INFO - Created VN ctest-vn-60364917
2026-08-26 06:15:35,061 - DEBUG - VN ctest-vn-60364917 UUID is 706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:35,179 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406, 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-64084082:ctest-vn-60364917, 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-08-26 06:15:35,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45dddea8-6ce0-4f60-ba02-b934e0d228aa', 'name': 'ctest-vn-69922406', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8e60b75e-defb-4254-b692-1b9313bae038'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-69922406'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400']], 'subnet_ipam': [{'subnet_cidr': '190.67.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-26 06:15:35,779 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '706bf160-0857-499d-aafb-0f4a6abc11f5', 'name': 'ctest-vn-60364917', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6560cfae-5b9a-4f24-af3b-4888811a12f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-60364917'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400']], 'subnet_ipam': [{'subnet_cidr': '149.94.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-26 06:15:35,950 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-26 06:15:36,278 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-26 06:15:36,315 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281
2026-08-26 06:15:36,351 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86
2026-08-26 06:15:36,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:36,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:36,465 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c
2026-08-26 06:15:36,474 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c
2026-08-26 06:15:36,483 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/05cea06e-cfe3-429b-a8d3-ae61950aad41
2026-08-26 06:15:36,491 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-26 06:15:36,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:36,503 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c
2026-08-26 06:15:36,521 - INFO - Verified VN network id 12 for VN 45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:36,521 - INFO - Verifications in API Server for VN ctest-vn-69922406 passed
2026-08-26 06:15:36,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:36,532 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c
2026-08-26 06:15:36,541 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c
2026-08-26 06:15:36,550 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/05cea06e-cfe3-429b-a8d3-ae61950aad41
2026-08-26 06:15:36,567 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64084082', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5034424773432594272', 'uuid-lslong': '13403479077769324714'}, 'enable': 'true', 'created': '2026-08-26T06:15:34', 'last-modified': '2026-08-26T06:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.074435'}
2026-08-26 06:15:36,578 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-26 06:15:36,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69922406 passed
2026-08-26 06:15:36,579 - DEBUG - ====Verifying policy data for ctest-vn-69922406 in API_Server ======
2026-08-26 06:15:36,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-26 06:15:36,585 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281
2026-08-26 06:15:36,598 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86
2026-08-26 06:15:36,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa
2026-08-26 06:15:36,688 - DEBUG - ==>Verifying data for policy with id: f12fd383-8db6-41bd-9fed-4ed1fa445244, fqn: ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400']
2026-08-26 06:15:36,688 - INFO - VN ctest-vn-69922406 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-26 06:15:36,688 - DEBUG - Verifying the vn in opserver
2026-08-26 06:15:36,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406 virtual network link through opserver 10.0.0.50
2026-08-26 06:15:36,688 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-26 06:15:37,022 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-26 06:15:37,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406?flat'}
2026-08-26 06:15:37,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406 is found in opserver
2026-08-26 06:15:37,101 - DEBUG - Do not have enough data to verify VN in agent
2026-08-26 06:15:37,108 - DEBUG - VRF ids for VN ctest-vn-69922406: {}
2026-08-26 06:15:37,108 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-26 06:15:37,115 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281
2026-08-26 06:15:37,129 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86
2026-08-26 06:15:37,214 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:37,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:37,238 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3
2026-08-26 06:15:37,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3
2026-08-26 06:15:37,254 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e1da3b15-df15-4717-bfb1-9f2179d29246
2026-08-26 06:15:37,262 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-26 06:15:37,262 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:37,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3
2026-08-26 06:15:37,293 - INFO - Verified VN network id 13 for VN 706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:37,293 - INFO - Verifications in API Server for VN ctest-vn-60364917 passed
2026-08-26 06:15:37,293 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:37,307 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3
2026-08-26 06:15:37,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3
2026-08-26 06:15:37,326 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e1da3b15-df15-4717-bfb1-9f2179d29246
2026-08-26 06:15:37,344 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64084082', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8100833749515061661', 'uuid-lslong': '12320458017894830581'}, 'enable': 'true', 'created': '2026-08-26T06:15:34', 'last-modified': '2026-08-26T06:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.602084'}
2026-08-26 06:15:37,351 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-26 06:15:37,352 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60364917 passed
2026-08-26 06:15:37,352 - DEBUG - ====Verifying policy data for ctest-vn-60364917 in API_Server ======
2026-08-26 06:15:37,352 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-26 06:15:37,359 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281
2026-08-26 06:15:37,373 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86
2026-08-26 06:15:37,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5
2026-08-26 06:15:37,465 - DEBUG - ==>Verifying data for policy with id: f12fd383-8db6-41bd-9fed-4ed1fa445244, fqn: ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400']
2026-08-26 06:15:37,465 - INFO - VN ctest-vn-60364917 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-26 06:15:37,465 - DEBUG - Verifying the vn in opserver
2026-08-26 06:15:37,465 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917 virtual network link through opserver 10.0.0.50
2026-08-26 06:15:37,465 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-26 06:15:37,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917?flat'}
2026-08-26 06:15:37,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917 is found in opserver
2026-08-26 06:15:37,491 - DEBUG - Do not have enough data to verify VN in agent
2026-08-26 06:15:37,497 - DEBUG - VRF ids for VN ctest-vn-60364917: {}
2026-08-26 06:15:37,566 - DEBUG - Services list from nova: [