2026-02-26 01:50:00,435 - INFO - Reading existing Domain with UUID f6868889-8458-4392-b4ae-21dc8466dc91
2026-02-26 01:50:00,449 - INFO - Using existing domain ['admin_domain'](f6868889-8458-4392-b4ae-21dc8466dc91)
2026-02-26 01:50:00,702 - INFO - Project ctest-TestBasicPolicy-48516442 not found, creating it
2026-02-26 01:50:01,302 - INFO - Created Project:ctest-TestBasicPolicy-48516442, ID : 5d194f5a-d6d1-4d94-b9fe-a4848ff2c933
2026-02-26 01:50:03,444 - INFO - ================================================================================
2026-02-26 01:50:03,444 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-26 01:50:03,444 - 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-02-26 01:50:03,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with
2026-02-26 01:50:03,844 - INFO - Initial checks done. Running the testcase now
2026-02-26 01:50:03,845 - INFO -
2026-02-26 01:50:04,659 - DEBUG - Response for create_network : {'network': {'id': '5db7c23b-9889-44d8-b344-fb3366112478', 'name': 'ctest-vn-48278400', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-48278400'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-26 01:50:04,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '4891cdda-3aa6-4928-b4ba-528fff79ac03', 'name': '', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'network_id': '5db7c23b-9889-44d8-b344-fb3366112478', 'ip_version': 4, 'cidr': '203.24.155.192/26', 'allocation_pools': [{'start': '203.24.155.194', 'end': '203.24.155.254'}], 'gateway_ip': '203.24.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-26T01:50:04.814246', 'updated_at': '2026-02-26T01:50:04.814246', 'dns_server_address': '203.24.155.194', 'tags': [], 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933'}}
2026-02-26 01:50:04,993 - INFO - Created VN ctest-vn-48278400
2026-02-26 01:50:05,051 - DEBUG - VN ctest-vn-48278400 UUID is 5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:05,615 - DEBUG - Response for create_network : {'network': {'id': '8a72e86f-cc80-4da7-b2dc-0f0947a31e2f', 'name': 'ctest-vn-31559103', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-31559103'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-26 01:50:05,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f6653b5-7774-4901-bfff-a47e9b757ad5', 'name': '', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'network_id': '8a72e86f-cc80-4da7-b2dc-0f0947a31e2f', 'ip_version': 4, 'cidr': '145.224.10.0/26', 'allocation_pools': [{'start': '145.224.10.2', 'end': '145.224.10.62'}], 'gateway_ip': '145.224.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-26T01:50:05.738342', 'updated_at': '2026-02-26T01:50:05.738342', 'dns_server_address': '145.224.10.2', 'tags': [], 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933'}}
2026-02-26 01:50:05,917 - INFO - Created VN ctest-vn-31559103
2026-02-26 01:50:05,971 - DEBUG - VN ctest-vn-31559103 UUID is 8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:06,239 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400, 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-48516442:ctest-vn-31559103, 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-02-26 01:50:06,678 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5db7c23b-9889-44d8-b344-fb3366112478', 'name': 'ctest-vn-48278400', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4891cdda-3aa6-4928-b4ba-528fff79ac03'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-48278400'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616']], 'subnet_ipam': [{'subnet_cidr': '203.24.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-26T01:50:04.579745', 'updated_at': '2026-02-26T01:50:04.831556'}}
2026-02-26 01:50:07,064 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a72e86f-cc80-4da7-b2dc-0f0947a31e2f', 'name': 'ctest-vn-31559103', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f6653b5-7774-4901-bfff-a47e9b757ad5'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-31559103'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616']], 'subnet_ipam': [{'subnet_cidr': '145.224.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-26T01:50:05.536159', 'updated_at': '2026-02-26T01:50:05.753148'}}
2026-02-26 01:50:07,288 - DEBUG - Requesting: https://10.0.0.141:8082/domains
2026-02-26 01:50:07,647 - DEBUG - Requesting: https://10.0.0.141:8082/domains
2026-02-26 01:50:07,739 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91
2026-02-26 01:50:07,799 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933
2026-02-26 01:50:07,892 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:07,957 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:08,024 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163
2026-02-26 01:50:08,085 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163
2026-02-26 01:50:08,147 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/d7c040e0-af26-4d51-bebd-13a440c5704d
2026-02-26 01:50:08,203 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 01:50:08,203 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:08,261 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163
2026-02-26 01:50:08,324 - INFO - Verified VN network id 11 for VN 5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:08,324 - INFO - Verifications in API Server for VN ctest-vn-48278400 passed
2026-02-26 01:50:08,325 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:08,380 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163
2026-02-26 01:50:08,435 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163
2026-02-26 01:50:08,491 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/d7c040e0-af26-4d51-bebd-13a440c5704d
2026-02-26 01:50:08,603 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48516442', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6753079727483339992', 'uuid-lslong': '12917725829379728504'}, 'enable': 'true', 'created': '2026-02-26T01:50:04', 'last-modified': '2026-02-26T01:50:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.961211'}
2026-02-26 01:50:08,665 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 01:50:08,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48278400 passed
2026-02-26 01:50:08,666 - DEBUG - ====Verifying policy data for ctest-vn-48278400 in API_Server ======
2026-02-26 01:50:08,666 - DEBUG - Requesting: https://10.0.0.141:8082/domains
2026-02-26 01:50:08,723 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91
2026-02-26 01:50:08,783 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933
2026-02-26 01:50:08,864 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478
2026-02-26 01:50:08,921 - DEBUG - ==>Verifying data for policy with id: 39f8e330-3cb3-4587-abc0-8409f15b7627, fqn: ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616']
2026-02-26 01:50:08,921 - INFO - VN ctest-vn-48278400 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 01:50:08,921 - DEBUG - Verifying the vn in opserver
2026-02-26 01:50:08,921 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400 virtual network link through opserver 10.0.0.141
2026-02-26 01:50:08,922 - DEBUG - Requesting: https://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-26 01:50:09,293 - DEBUG - Requesting: https://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-26 01:50:09,452 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400', 'href': 'https://10.0.0.141:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400?flat'}
2026-02-26 01:50:09,452 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400 is found in opserver
2026-02-26 01:50:09,563 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 01:50:09,615 - DEBUG - VRF ids for VN ctest-vn-48278400: {}
2026-02-26 01:50:09,615 - DEBUG - Requesting: https://10.0.0.141:8082/domains
2026-02-26 01:50:09,671 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91
2026-02-26 01:50:09,735 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933
2026-02-26 01:50:09,815 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:09,876 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:09,932 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11
2026-02-26 01:50:09,988 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11
2026-02-26 01:50:10,047 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/b8eeb9dd-39ea-4977-a967-d05e251a4a37
2026-02-26 01:50:10,103 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 01:50:10,103 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:10,160 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11
2026-02-26 01:50:10,232 - INFO - Verified VN network id 12 for VN 8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:10,232 - INFO - Verifications in API Server for VN ctest-vn-31559103 passed
2026-02-26 01:50:10,232 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:10,288 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11
2026-02-26 01:50:10,347 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11
2026-02-26 01:50:10,411 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/b8eeb9dd-39ea-4977-a967-d05e251a4a37
2026-02-26 01:50:10,520 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48516442', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9976291691449044391', 'uuid-lslong': '12888192766158511663'}, 'enable': 'true', 'created': '2026-02-26T01:50:05', 'last-modified': '2026-02-26T01:50:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.506767'}
2026-02-26 01:50:10,572 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 01:50:10,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31559103 passed
2026-02-26 01:50:10,572 - DEBUG - ====Verifying policy data for ctest-vn-31559103 in API_Server ======
2026-02-26 01:50:10,572 - DEBUG - Requesting: https://10.0.0.141:8082/domains
2026-02-26 01:50:10,627 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91
2026-02-26 01:50:10,688 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933
2026-02-26 01:50:10,780 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f
2026-02-26 01:50:10,836 - DEBUG - ==>Verifying data for policy with id: 39f8e330-3cb3-4587-abc0-8409f15b7627, fqn: ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616']
2026-02-26 01:50:10,836 - INFO - VN ctest-vn-31559103 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 01:50:10,836 - DEBUG - Verifying the vn in opserver
2026-02-26 01:50:10,836 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103 virtual network link through opserver 10.0.0.141
2026-02-26 01:50:10,836 - DEBUG - Requesting: https://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-26 01:50:10,895 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103', 'href': 'https://10.0.0.141:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103?flat'}
2026-02-26 01:50:10,895 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103 is found in opserver
2026-02-26 01:50:10,999 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 01:50:11,047 - DEBUG - VRF ids for VN ctest-vn-31559103: {}
2026-02-26 01:50:11,121 - DEBUG - Services list from nova: [