2026-09-01 14:22:59,701 - INFO - Domain Default found not creating
2026-09-01 14:22:59,877 - INFO - Project ctest-TestBasicPolicy-82430936 not found, creating it
2026-09-01 14:23:00,412 - INFO - Created Project:ctest-TestBasicPolicy-82430936, ID : 74d08b6d-32da-4ec3-a74f-93d7979cb756
2026-09-01 14:23:02,205 - INFO - ================================================================================
2026-09-01 14:23:02,205 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-01 14:23:02,205 - 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-01 14:23:02,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-09-01 14:23:02,491 - INFO - Initial checks done. Running the testcase now
2026-09-01 14:23:02,491 - INFO -
2026-09-01 14:23:03,167 - DEBUG - Response for create_network : {'network': {'id': 'f84d4ea5-1a94-4432-91d7-c145fe7c0e0d', 'name': 'ctest-vn-76585474', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-76585474'], 'port_security_enabled': True, 'description': ''}}
2026-09-01 14:23:03,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '979fdf0b-1cf5-472e-9ae7-bd0c1a7c8554', 'name': '', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'network_id': 'f84d4ea5-1a94-4432-91d7-c145fe7c0e0d', 'ip_version': 4, 'cidr': '105.8.230.64/26', 'allocation_pools': [{'start': '105.8.230.66', 'end': '105.8.230.126'}], 'gateway_ip': '105.8.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.8.230.66', 'tags': [], 'project_id': '74d08b6d32da4ec3a74f93d7979cb756'}}
2026-09-01 14:23:03,430 - INFO - Created VN ctest-vn-76585474
2026-09-01 14:23:03,486 - DEBUG - VN ctest-vn-76585474 UUID is f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:03,835 - DEBUG - Response for create_network : {'network': {'id': '337965fd-e61c-4811-a05e-9bc42527126c', 'name': 'ctest-vn-55474326', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-55474326'], 'port_security_enabled': True, 'description': ''}}
2026-09-01 14:23:04,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd82025e5-ef30-427c-8ef9-aa9772c27c56', 'name': '', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'network_id': '337965fd-e61c-4811-a05e-9bc42527126c', 'ip_version': 4, 'cidr': '169.21.251.192/26', 'allocation_pools': [{'start': '169.21.251.194', 'end': '169.21.251.254'}], 'gateway_ip': '169.21.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.21.251.194', 'tags': [], 'project_id': '74d08b6d32da4ec3a74f93d7979cb756'}}
2026-09-01 14:23:04,103 - INFO - Created VN ctest-vn-55474326
2026-09-01 14:23:04,158 - DEBUG - VN ctest-vn-55474326 UUID is 337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:04,279 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474, 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-82430936:ctest-vn-55474326, 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-01 14:23:04,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f84d4ea5-1a94-4432-91d7-c145fe7c0e0d', 'name': 'ctest-vn-76585474', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['979fdf0b-1cf5-472e-9ae7-bd0c1a7c8554'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-76585474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245']], 'subnet_ipam': [{'subnet_cidr': '105.8.230.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-01 14:23:04,882 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '337965fd-e61c-4811-a05e-9bc42527126c', 'name': 'ctest-vn-55474326', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d82025e5-ef30-427c-8ef9-aa9772c27c56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-55474326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245']], 'subnet_ipam': [{'subnet_cidr': '169.21.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-01 14:23:05,022 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-01 14:23:05,414 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-01 14:23:05,448 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae
2026-09-01 14:23:05,463 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756
2026-09-01 14:23:05,546 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:05,561 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:05,573 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862
2026-09-01 14:23:05,581 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862
2026-09-01 14:23:05,590 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a47f73e0-8ccf-47f8-9787-9b62db6e2ab6
2026-09-01 14:23:05,599 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-01 14:23:05,599 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:05,612 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862
2026-09-01 14:23:05,628 - INFO - Verified VN network id 12 for VN f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:05,628 - INFO - Verifications in API Server for VN ctest-vn-76585474 passed
2026-09-01 14:23:05,629 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:05,638 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862
2026-09-01 14:23:05,649 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862
2026-09-01 14:23:05,657 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a47f73e0-8ccf-47f8-9787-9b62db6e2ab6
2026-09-01 14:23:05,671 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82430936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17892043365635343410', 'uuid-lslong': '10509080761858788877'}, 'enable': 'true', 'created': '2026-09-01T14:23:03', 'last-modified': '2026-09-01T14:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079509'}
2026-09-01 14:23:05,678 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-01 14:23:05,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76585474 passed
2026-09-01 14:23:05,678 - DEBUG - ====Verifying policy data for ctest-vn-76585474 in API_Server ======
2026-09-01 14:23:05,678 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-01 14:23:05,685 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae
2026-09-01 14:23:05,698 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756
2026-09-01 14:23:05,782 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d
2026-09-01 14:23:05,794 - DEBUG - ==>Verifying data for policy with id: cbb22885-6edd-4985-925a-2bf05fe4a7ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245']
2026-09-01 14:23:05,794 - INFO - VN ctest-vn-76585474 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-01 14:23:05,795 - DEBUG - Verifying the vn in opserver
2026-09-01 14:23:05,795 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474 virtual network link through opserver 10.0.0.190
2026-09-01 14:23:05,795 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-01 14:23:06,177 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-01 14:23:06,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474?flat'}
2026-09-01 14:23:06,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474 is found in opserver
2026-09-01 14:23:06,253 - DEBUG - Do not have enough data to verify VN in agent
2026-09-01 14:23:06,260 - DEBUG - VRF ids for VN ctest-vn-76585474: {}
2026-09-01 14:23:06,260 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-01 14:23:06,274 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae
2026-09-01 14:23:06,288 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756
2026-09-01 14:23:06,372 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:06,388 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:06,399 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667
2026-09-01 14:23:06,407 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667
2026-09-01 14:23:06,414 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0a65f640-d868-4341-9b3f-ca8794feedc5
2026-09-01 14:23:06,422 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-01 14:23:06,422 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:06,431 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667
2026-09-01 14:23:06,448 - INFO - Verified VN network id 13 for VN 337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:06,448 - INFO - Verifications in API Server for VN ctest-vn-55474326 passed
2026-09-01 14:23:06,448 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:06,458 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667
2026-09-01 14:23:06,466 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667
2026-09-01 14:23:06,477 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0a65f640-d868-4341-9b3f-ca8794feedc5
2026-09-01 14:23:06,492 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82430936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3709107909278058513', 'uuid-lslong': '11555844960618484332'}, 'enable': 'true', 'created': '2026-09-01T14:23:03', 'last-modified': '2026-09-01T14:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.643532'}
2026-09-01 14:23:06,499 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-01 14:23:06,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55474326 passed
2026-09-01 14:23:06,499 - DEBUG - ====Verifying policy data for ctest-vn-55474326 in API_Server ======
2026-09-01 14:23:06,499 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-01 14:23:06,505 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae
2026-09-01 14:23:06,521 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756
2026-09-01 14:23:06,599 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c
2026-09-01 14:23:06,610 - DEBUG - ==>Verifying data for policy with id: cbb22885-6edd-4985-925a-2bf05fe4a7ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245']
2026-09-01 14:23:06,610 - INFO - VN ctest-vn-55474326 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-01 14:23:06,610 - DEBUG - Verifying the vn in opserver
2026-09-01 14:23:06,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326 virtual network link through opserver 10.0.0.190
2026-09-01 14:23:06,610 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-01 14:23:06,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326?flat'}
2026-09-01 14:23:06,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326 is found in opserver
2026-09-01 14:23:06,635 - DEBUG - Do not have enough data to verify VN in agent
2026-09-01 14:23:06,640 - DEBUG - VRF ids for VN ctest-vn-55474326: {}
2026-09-01 14:23:06,699 - DEBUG - Services list from nova: [