2026-05-14 13:38:30,774 - INFO - Domain Default found not creating
2026-05-14 13:38:30,958 - INFO - Project ctest-TestBasicPolicy-32991288 not found, creating it
2026-05-14 13:38:31,447 - INFO - Created Project:ctest-TestBasicPolicy-32991288, ID : d53d1692-15fb-45c5-97aa-78e8bfe2c06c
2026-05-14 13:38:32,967 - INFO - ================================================================================
2026-05-14 13:38:32,967 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-14 13:38:32,967 - 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-05-14 13:38:33,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-05-14 13:38:33,223 - INFO - Initial checks done. Running the testcase now
2026-05-14 13:38:33,223 - INFO -
2026-05-14 13:38:33,787 - DEBUG - Response for create_network : {'network': {'id': '69880744-bb73-450a-8864-271860ac34df', 'name': 'ctest-vn-18554261', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-18554261'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 13:38:33,940 - DEBUG - Response for create_subnet : {'subnet': {'id': '537f09b8-2dbc-434f-882e-3d6b3e770013', 'name': '', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'network_id': '69880744-bb73-450a-8864-271860ac34df', 'ip_version': 4, 'cidr': '146.119.64.128/26', 'allocation_pools': [{'start': '146.119.64.130', 'end': '146.119.64.190'}], 'gateway_ip': '146.119.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.119.64.130', 'tags': [], 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c'}}
2026-05-14 13:38:33,957 - INFO - Created VN ctest-vn-18554261
2026-05-14 13:38:34,009 - DEBUG - VN ctest-vn-18554261 UUID is 69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:34,319 - DEBUG - Response for create_network : {'network': {'id': '03116355-1dc6-405c-bf92-2cd26d890a60', 'name': 'ctest-vn-81856187', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-81856187'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 13:38:34,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a09d7ef4-6d53-4cf7-9ede-07e0ecbecd48', 'name': '', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'network_id': '03116355-1dc6-405c-bf92-2cd26d890a60', 'ip_version': 4, 'cidr': '196.250.48.192/26', 'allocation_pools': [{'start': '196.250.48.194', 'end': '196.250.48.254'}], 'gateway_ip': '196.250.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.250.48.194', 'tags': [], 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c'}}
2026-05-14 13:38:34,517 - INFO - Created VN ctest-vn-81856187
2026-05-14 13:38:34,569 - DEBUG - VN ctest-vn-81856187 UUID is 03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:34,686 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261, 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-32991288:ctest-vn-81856187, 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-05-14 13:38:34,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69880744-bb73-450a-8864-271860ac34df', 'name': 'ctest-vn-18554261', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['537f09b8-2dbc-434f-882e-3d6b3e770013'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-18554261'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470']], 'subnet_ipam': [{'subnet_cidr': '146.119.64.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 13:38:35,214 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03116355-1dc6-405c-bf92-2cd26d890a60', 'name': 'ctest-vn-81856187', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a09d7ef4-6d53-4cf7-9ede-07e0ecbecd48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-81856187'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470']], 'subnet_ipam': [{'subnet_cidr': '196.250.48.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 13:38:35,381 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 13:38:35,677 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 13:38:35,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465
2026-05-14 13:38:35,723 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c
2026-05-14 13:38:35,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:35,805 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f
2026-05-14 13:38:35,822 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f
2026-05-14 13:38:35,830 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddcce5b7-f987-44a8-8dd4-dfbcc21055d6
2026-05-14 13:38:35,837 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 13:38:35,837 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:35,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f
2026-05-14 13:38:35,859 - INFO - Verified VN network id 11 for VN 69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:35,859 - INFO - Verifications in API Server for VN ctest-vn-18554261 passed
2026-05-14 13:38:35,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:35,868 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f
2026-05-14 13:38:35,875 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f
2026-05-14 13:38:35,882 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddcce5b7-f987-44a8-8dd4-dfbcc21055d6
2026-05-14 13:38:35,894 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32991288', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7604335962599146762', 'uuid-lslong': '9828023272483861727'}, 'enable': 'true', 'created': '2026-05-14T13:38:33', 'last-modified': '2026-05-14T13:38:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.937163'}
2026-05-14 13:38:35,900 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 13:38:35,901 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18554261 passed
2026-05-14 13:38:35,901 - DEBUG - ====Verifying policy data for ctest-vn-18554261 in API_Server ======
2026-05-14 13:38:35,901 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 13:38:35,906 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465
2026-05-14 13:38:35,918 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c
2026-05-14 13:38:35,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df
2026-05-14 13:38:35,999 - DEBUG - ==>Verifying data for policy with id: 25ad8066-634b-4d8b-b2b5-174394545609, fqn: ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470']
2026-05-14 13:38:35,999 - INFO - VN ctest-vn-18554261 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 13:38:35,999 - DEBUG - Verifying the vn in opserver
2026-05-14 13:38:35,999 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261 virtual network link through opserver 10.0.0.50
2026-05-14 13:38:35,999 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 13:38:36,297 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 13:38:36,368 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261?flat'}
2026-05-14 13:38:36,368 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261 is found in opserver
2026-05-14 13:38:36,378 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 13:38:36,383 - DEBUG - VRF ids for VN ctest-vn-18554261: {}
2026-05-14 13:38:36,383 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 13:38:36,389 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465
2026-05-14 13:38:36,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c
2026-05-14 13:38:36,473 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:36,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:36,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a
2026-05-14 13:38:36,506 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a
2026-05-14 13:38:36,515 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc90e930-1bd1-411a-aabd-ec82b6569fca
2026-05-14 13:38:36,522 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 13:38:36,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:36,530 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a
2026-05-14 13:38:36,546 - INFO - Verified VN network id 12 for VN 03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:36,547 - INFO - Verifications in API Server for VN ctest-vn-81856187 passed
2026-05-14 13:38:36,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:36,558 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a
2026-05-14 13:38:36,566 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a
2026-05-14 13:38:36,574 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc90e930-1bd1-411a-aabd-ec82b6569fca
2026-05-14 13:38:36,586 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32991288', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '221067073940766812', 'uuid-lslong': '13804145090136443488'}, 'enable': 'true', 'created': '2026-05-14T13:38:34', 'last-modified': '2026-05-14T13:38:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395511'}
2026-05-14 13:38:36,593 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 13:38:36,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81856187 passed
2026-05-14 13:38:36,593 - DEBUG - ====Verifying policy data for ctest-vn-81856187 in API_Server ======
2026-05-14 13:38:36,593 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 13:38:36,598 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465
2026-05-14 13:38:36,609 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c
2026-05-14 13:38:36,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60
2026-05-14 13:38:36,691 - DEBUG - ==>Verifying data for policy with id: 25ad8066-634b-4d8b-b2b5-174394545609, fqn: ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470']
2026-05-14 13:38:36,691 - INFO - VN ctest-vn-81856187 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 13:38:36,691 - DEBUG - Verifying the vn in opserver
2026-05-14 13:38:36,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187 virtual network link through opserver 10.0.0.50
2026-05-14 13:38:36,692 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 13:38:36,701 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187?flat'}
2026-05-14 13:38:36,701 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187 is found in opserver
2026-05-14 13:38:36,710 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 13:38:36,714 - DEBUG - VRF ids for VN ctest-vn-81856187: {}
2026-05-14 13:38:36,774 - DEBUG - Services list from nova: [