2026-09-17 13:16:28,506 - INFO - Domain Default found not creating
2026-09-17 13:16:28,714 - INFO - Project ctest-TestBasicPolicy-96021242 not found, creating it
2026-09-17 13:16:29,260 - INFO - Created Project:ctest-TestBasicPolicy-96021242, ID : 4de5a41e-4dba-4145-a39a-ba0dbbf5d7d6
2026-09-17 13:16:31,134 - INFO - ================================================================================
2026-09-17 13:16:31,135 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 13:16:31,135 - 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-17 13:16:31,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-17 13:16:31,409 - INFO - Initial checks done. Running the testcase now
2026-09-17 13:16:31,409 - INFO -
2026-09-17 13:16:32,102 - DEBUG - Response for create_network : {'network': {'id': 'cf591de0-529f-43eb-882a-70bc011f1512', 'name': 'ctest-vn-59335128', 'tenant_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'project_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-vn-59335128'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 13:16:32,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '41216a45-3d2f-41da-b426-f24247046356', 'name': '', 'tenant_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'network_id': 'cf591de0-529f-43eb-882a-70bc011f1512', 'ip_version': 4, 'cidr': '165.177.99.192/26', 'allocation_pools': [{'start': '165.177.99.194', 'end': '165.177.99.254'}], 'gateway_ip': '165.177.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.177.99.194', 'tags': [], 'project_id': '4de5a41e4dba4145a39aba0dbbf5d7d6'}}
2026-09-17 13:16:32,374 - INFO - Created VN ctest-vn-59335128
2026-09-17 13:16:32,428 - DEBUG - VN ctest-vn-59335128 UUID is cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:32,801 - DEBUG - Response for create_network : {'network': {'id': '9f70d69c-6e36-4837-aca6-f12977fa9afb', 'name': 'ctest-vn-82834572', 'tenant_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'project_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-vn-82834572'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 13:16:33,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a68ae45d-3ead-4159-9b64-0cfd30d5de9f', 'name': '', 'tenant_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'network_id': '9f70d69c-6e36-4837-aca6-f12977fa9afb', 'ip_version': 4, 'cidr': '117.201.194.0/26', 'allocation_pools': [{'start': '117.201.194.2', 'end': '117.201.194.62'}], 'gateway_ip': '117.201.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.201.194.2', 'tags': [], 'project_id': '4de5a41e4dba4145a39aba0dbbf5d7d6'}}
2026-09-17 13:16:33,087 - INFO - Created VN ctest-vn-82834572
2026-09-17 13:16:33,144 - DEBUG - VN ctest-vn-82834572 UUID is 9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:33,277 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-59335128, 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-96021242:ctest-vn-82834572, 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-17 13:16:33,646 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf591de0-529f-43eb-882a-70bc011f1512', 'name': 'ctest-vn-59335128', 'tenant_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'project_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['41216a45-3d2f-41da-b426-f24247046356'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-vn-59335128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-policy-allow-all-46256493']], 'subnet_ipam': [{'subnet_cidr': '165.177.99.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 13:16:33,920 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f70d69c-6e36-4837-aca6-f12977fa9afb', 'name': 'ctest-vn-82834572', 'tenant_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'project_id': '4de5a41e4dba4145a39aba0dbbf5d7d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a68ae45d-3ead-4159-9b64-0cfd30d5de9f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-vn-82834572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-policy-allow-all-46256493']], 'subnet_ipam': [{'subnet_cidr': '117.201.194.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 13:16:34,116 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-17 13:16:34,503 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-17 13:16:34,544 - DEBUG - Requesting: http://10.0.0.189:8082/domain/f7642baa-681c-45ce-a03f-8275518f8166
2026-09-17 13:16:34,560 - DEBUG - Requesting: http://10.0.0.189:8082/project/4de5a41e-4dba-4145-a39a-ba0dbbf5d7d6
2026-09-17 13:16:34,654 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:34,673 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:34,686 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8afe5766-3f04-4639-8baf-f6657b634aa8
2026-09-17 13:16:34,697 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8afe5766-3f04-4639-8baf-f6657b634aa8
2026-09-17 13:16:34,708 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/e5cc5663-a50f-4e98-9f00-06741f6a66a3
2026-09-17 13:16:34,719 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 13:16:34,720 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:34,733 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8afe5766-3f04-4639-8baf-f6657b634aa8
2026-09-17 13:16:34,753 - INFO - Verified VN network id 11 for VN cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:34,753 - INFO - Verifications in API Server for VN ctest-vn-59335128 passed
2026-09-17 13:16:34,753 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:34,766 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8afe5766-3f04-4639-8baf-f6657b634aa8
2026-09-17 13:16:34,775 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8afe5766-3f04-4639-8baf-f6657b634aa8
2026-09-17 13:16:34,793 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/e5cc5663-a50f-4e98-9f00-06741f6a66a3
2026-09-17 13:16:34,811 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-59335128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96021242', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14941006088074380267', 'uuid-lslong': '9811778690955023634'}, 'enable': 'true', 'created': '2026-09-17T13:16:32', 'last-modified': '2026-09-17T13:16:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.204377'}
2026-09-17 13:16:34,818 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 13:16:34,819 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59335128 passed
2026-09-17 13:16:34,819 - DEBUG - ====Verifying policy data for ctest-vn-59335128 in API_Server ======
2026-09-17 13:16:34,819 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-17 13:16:34,827 - DEBUG - Requesting: http://10.0.0.189:8082/domain/f7642baa-681c-45ce-a03f-8275518f8166
2026-09-17 13:16:34,843 - DEBUG - Requesting: http://10.0.0.189:8082/project/4de5a41e-4dba-4145-a39a-ba0dbbf5d7d6
2026-09-17 13:16:34,928 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/cf591de0-529f-43eb-882a-70bc011f1512
2026-09-17 13:16:34,941 - DEBUG - ==>Verifying data for policy with id: aeedaaa7-44d1-48ac-8ce1-1772d53002a0, fqn: ['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-policy-allow-all-46256493']
2026-09-17 13:16:34,941 - INFO - VN ctest-vn-59335128 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 13:16:34,941 - DEBUG - Verifying the vn in opserver
2026-09-17 13:16:34,942 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-59335128 virtual network link through opserver 10.0.0.189
2026-09-17 13:16:34,942 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-17 13:16:35,328 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-17 13:16:35,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-59335128', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-59335128?flat'}
2026-09-17 13:16:35,405 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-59335128 is found in opserver
2026-09-17 13:16:35,418 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 13:16:35,424 - DEBUG - VRF ids for VN ctest-vn-59335128: {}
2026-09-17 13:16:35,424 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-17 13:16:35,432 - DEBUG - Requesting: http://10.0.0.189:8082/domain/f7642baa-681c-45ce-a03f-8275518f8166
2026-09-17 13:16:35,444 - DEBUG - Requesting: http://10.0.0.189:8082/project/4de5a41e-4dba-4145-a39a-ba0dbbf5d7d6
2026-09-17 13:16:35,529 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:35,547 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:35,560 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/065a191c-1051-4721-9043-257b90dc8b8f
2026-09-17 13:16:35,570 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/065a191c-1051-4721-9043-257b90dc8b8f
2026-09-17 13:16:35,579 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/8e74092b-cca5-4634-896a-74b1520c0f80
2026-09-17 13:16:35,588 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 13:16:35,589 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:35,602 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/065a191c-1051-4721-9043-257b90dc8b8f
2026-09-17 13:16:35,627 - INFO - Verified VN network id 12 for VN 9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:35,629 - INFO - Verifications in API Server for VN ctest-vn-82834572 passed
2026-09-17 13:16:35,629 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:35,645 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/065a191c-1051-4721-9043-257b90dc8b8f
2026-09-17 13:16:35,659 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/065a191c-1051-4721-9043-257b90dc8b8f
2026-09-17 13:16:35,670 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/8e74092b-cca5-4634-896a-74b1520c0f80
2026-09-17 13:16:35,689 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-82834572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96021242', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11488918616774428727', 'uuid-lslong': '12440896181066439419'}, 'enable': 'true', 'created': '2026-09-17T13:16:32', 'last-modified': '2026-09-17T13:16:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813542'}
2026-09-17 13:16:35,698 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 13:16:35,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82834572 passed
2026-09-17 13:16:35,699 - DEBUG - ====Verifying policy data for ctest-vn-82834572 in API_Server ======
2026-09-17 13:16:35,699 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-17 13:16:35,707 - DEBUG - Requesting: http://10.0.0.189:8082/domain/f7642baa-681c-45ce-a03f-8275518f8166
2026-09-17 13:16:35,729 - DEBUG - Requesting: http://10.0.0.189:8082/project/4de5a41e-4dba-4145-a39a-ba0dbbf5d7d6
2026-09-17 13:16:35,825 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9f70d69c-6e36-4837-aca6-f12977fa9afb
2026-09-17 13:16:35,839 - DEBUG - ==>Verifying data for policy with id: aeedaaa7-44d1-48ac-8ce1-1772d53002a0, fqn: ['default-domain', 'ctest-TestBasicPolicy-96021242', 'ctest-policy-allow-all-46256493']
2026-09-17 13:16:35,840 - INFO - VN ctest-vn-82834572 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 13:16:35,840 - DEBUG - Verifying the vn in opserver
2026-09-17 13:16:35,840 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-82834572 virtual network link through opserver 10.0.0.189
2026-09-17 13:16:35,840 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-17 13:16:35,856 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-82834572', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-82834572?flat'}
2026-09-17 13:16:35,856 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96021242:ctest-vn-82834572 is found in opserver
2026-09-17 13:16:35,871 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 13:16:35,876 - DEBUG - VRF ids for VN ctest-vn-82834572: {}
2026-09-17 13:16:35,953 - DEBUG - Services list from nova: [