2026-01-29 15:30:44,448 - INFO - Reading existing Domain with UUID 5762e81a-fedf-4255-81ca-e05b2ea83674
2026-01-29 15:30:44,458 - INFO - Using existing domain ['admin_domain'](5762e81a-fedf-4255-81ca-e05b2ea83674)
2026-01-29 15:30:44,676 - INFO - Project ctest-TestBasicPolicy-43636478 not found, creating it
2026-01-29 15:30:45,172 - INFO - Created Project:ctest-TestBasicPolicy-43636478, ID : 18fab8db-9c41-478e-a64b-f9f3356d00ee
2026-01-29 15:30:46,946 - INFO - ================================================================================
2026-01-29 15:30:46,947 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 15:30:46,947 - 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-01-29 15:30:47,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.0.0.61': '0'}} with
2026-01-29 15:30:47,341 - INFO - Initial checks done. Running the testcase now
2026-01-29 15:30:47,341 - INFO -
2026-01-29 15:30:48,192 - DEBUG - Response for create_network : {'network': {'id': '5cf19b71-9540-448c-bf9e-c177bc4d8808', 'name': 'ctest-vn-41370449', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-41370449'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-01-29 15:30:48,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '129a8b3c-e788-4786-8de5-c704be7c1c1a', 'name': '', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'network_id': '5cf19b71-9540-448c-bf9e-c177bc4d8808', 'ip_version': 4, 'cidr': '111.218.245.64/26', 'allocation_pools': [{'start': '111.218.245.66', 'end': '111.218.245.126'}], 'gateway_ip': '111.218.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:30:48.371654', 'updated_at': '2026-01-29T15:30:48.371654', 'dns_server_address': '111.218.245.66', 'tags': [], 'project_id': '18fab8db9c41478ea64bf9f3356d00ee'}}
2026-01-29 15:30:48,542 - INFO - Created VN ctest-vn-41370449
2026-01-29 15:30:48,600 - DEBUG - VN ctest-vn-41370449 UUID is 5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:49,104 - DEBUG - Response for create_network : {'network': {'id': '65933e14-8d9a-4414-9b25-4b351227d0d8', 'name': 'ctest-vn-89663719', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-89663719'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-01-29 15:30:49,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce382904-d4b3-4525-8711-9b138533573d', 'name': '', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'network_id': '65933e14-8d9a-4414-9b25-4b351227d0d8', 'ip_version': 4, 'cidr': '109.153.210.0/26', 'allocation_pools': [{'start': '109.153.210.2', 'end': '109.153.210.62'}], 'gateway_ip': '109.153.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:30:49.208996', 'updated_at': '2026-01-29T15:30:49.208996', 'dns_server_address': '109.153.210.2', 'tags': [], 'project_id': '18fab8db9c41478ea64bf9f3356d00ee'}}
2026-01-29 15:30:49,378 - INFO - Created VN ctest-vn-89663719
2026-01-29 15:30:49,436 - DEBUG - VN ctest-vn-89663719 UUID is 65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:49,660 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719, 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-01-29 15:30:50,072 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5cf19b71-9540-448c-bf9e-c177bc4d8808', 'name': 'ctest-vn-41370449', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['129a8b3c-e788-4786-8de5-c704be7c1c1a'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-41370449'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096']], 'subnet_ipam': [{'subnet_cidr': '111.218.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:30:48.105800', 'updated_at': '2026-01-29T15:30:48.385458'}}
2026-01-29 15:30:50,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65933e14-8d9a-4414-9b25-4b351227d0d8', 'name': 'ctest-vn-89663719', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce382904-d4b3-4525-8711-9b138533573d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-89663719'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096']], 'subnet_ipam': [{'subnet_cidr': '109.153.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:30:49.019832', 'updated_at': '2026-01-29T15:30:49.221881'}}
2026-01-29 15:30:50,664 - DEBUG - Requesting: https://10.0.0.61:8082/domains
2026-01-29 15:30:51,018 - DEBUG - Requesting: https://10.0.0.61:8082/domains
2026-01-29 15:30:51,100 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674
2026-01-29 15:30:51,165 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee
2026-01-29 15:30:51,250 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:51,310 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:51,366 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0
2026-01-29 15:30:51,421 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0
2026-01-29 15:30:51,482 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/43c2782b-8fe3-4ac1-977d-d3cffbe6bf62
2026-01-29 15:30:51,536 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 15:30:51,537 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:51,594 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0
2026-01-29 15:30:51,657 - INFO - Verified VN network id 11 for VN 5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:51,657 - INFO - Verifications in API Server for VN ctest-vn-41370449 passed
2026-01-29 15:30:51,657 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:51,709 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0
2026-01-29 15:30:51,765 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0
2026-01-29 15:30:51,817 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/43c2782b-8fe3-4ac1-977d-d3cffbe6bf62
2026-01-29 15:30:51,921 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43636478', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6697305033014264972', 'uuid-lslong': '13807686227568986120'}, 'enable': 'true', 'created': '2026-01-29T15:30:48', 'last-modified': '2026-01-29T15:30:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.876897'}
2026-01-29 15:30:51,974 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 15:30:51,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41370449 passed
2026-01-29 15:30:51,974 - DEBUG - ====Verifying policy data for ctest-vn-41370449 in API_Server ======
2026-01-29 15:30:51,975 - DEBUG - Requesting: https://10.0.0.61:8082/domains
2026-01-29 15:30:52,028 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674
2026-01-29 15:30:52,090 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee
2026-01-29 15:30:52,177 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808
2026-01-29 15:30:52,234 - DEBUG - ==>Verifying data for policy with id: fb13d887-9548-4168-89a6-488c55d63dd2, fqn: ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096']
2026-01-29 15:30:52,234 - INFO - VN ctest-vn-41370449 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 15:30:52,234 - DEBUG - Verifying the vn in opserver
2026-01-29 15:30:52,234 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449 virtual network link through opserver 10.0.0.61
2026-01-29 15:30:52,234 - DEBUG - Requesting: https://10.0.0.61:8081/analytics/uves/virtual-networks
2026-01-29 15:30:52,584 - DEBUG - Requesting: https://10.0.0.61:8081/analytics/uves/virtual-networks
2026-01-29 15:30:52,704 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449', 'href': 'https://10.0.0.61:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449?flat'}
2026-01-29 15:30:52,704 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449 is found in opserver
2026-01-29 15:30:52,802 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 15:30:52,852 - DEBUG - VRF ids for VN ctest-vn-41370449: {}
2026-01-29 15:30:52,852 - DEBUG - Requesting: https://10.0.0.61:8082/domains
2026-01-29 15:30:52,908 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674
2026-01-29 15:30:52,969 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee
2026-01-29 15:30:53,049 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:53,106 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:53,165 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c
2026-01-29 15:30:53,225 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c
2026-01-29 15:30:53,281 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/661d9b59-0f80-4115-bd3c-07f3b83ef35a
2026-01-29 15:30:53,333 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 15:30:53,333 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:53,390 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c
2026-01-29 15:30:53,454 - INFO - Verified VN network id 12 for VN 65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:53,454 - INFO - Verifications in API Server for VN ctest-vn-89663719 passed
2026-01-29 15:30:53,454 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:53,510 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c
2026-01-29 15:30:53,565 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c
2026-01-29 15:30:53,621 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/661d9b59-0f80-4115-bd3c-07f3b83ef35a
2026-01-29 15:30:53,729 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43636478', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7319262077403153428', 'uuid-lslong': '11179424341327073496'}, 'enable': 'true', 'created': '2026-01-29T15:30:49', 'last-modified': '2026-01-29T15:30:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.324441'}
2026-01-29 15:30:53,783 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 15:30:53,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89663719 passed
2026-01-29 15:30:53,783 - DEBUG - ====Verifying policy data for ctest-vn-89663719 in API_Server ======
2026-01-29 15:30:53,783 - DEBUG - Requesting: https://10.0.0.61:8082/domains
2026-01-29 15:30:53,836 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674
2026-01-29 15:30:53,893 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee
2026-01-29 15:30:53,969 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8
2026-01-29 15:30:54,026 - DEBUG - ==>Verifying data for policy with id: fb13d887-9548-4168-89a6-488c55d63dd2, fqn: ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096']
2026-01-29 15:30:54,026 - INFO - VN ctest-vn-89663719 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 15:30:54,026 - DEBUG - Verifying the vn in opserver
2026-01-29 15:30:54,026 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719 virtual network link through opserver 10.0.0.61
2026-01-29 15:30:54,026 - DEBUG - Requesting: https://10.0.0.61:8081/analytics/uves/virtual-networks
2026-01-29 15:30:54,084 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719', 'href': 'https://10.0.0.61:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719?flat'}
2026-01-29 15:30:54,084 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719 is found in opserver
2026-01-29 15:30:54,189 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 15:30:54,236 - DEBUG - VRF ids for VN ctest-vn-89663719: {}
2026-01-29 15:30:54,308 - DEBUG - Services list from nova: [