2026-08-25 23:27:04,716 - INFO - Domain Default found not creating
2026-08-25 23:27:04,881 - INFO - Project ctest-TestBasicPolicy-88807424 not found, creating it
2026-08-25 23:27:05,384 - INFO - Created Project:ctest-TestBasicPolicy-88807424, ID : 9201b5f6-5627-4ada-8b33-ff765d8e7f6c
2026-08-25 23:27:07,039 - INFO - ================================================================================
2026-08-25 23:27:07,039 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-25 23:27:07,039 - 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-08-25 23:27:07,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-08-25 23:27:07,324 - INFO - Initial checks done. Running the testcase now
2026-08-25 23:27:07,324 - INFO -
2026-08-25 23:27:07,948 - DEBUG - Response for create_network : {'network': {'id': '97857def-599e-4412-b0f1-eb0f9b02d785', 'name': 'ctest-vn-06991537', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-06991537'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 23:27:08,152 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4141c4b-9916-46e6-95b2-bad623c70e5e', 'name': '', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'network_id': '97857def-599e-4412-b0f1-eb0f9b02d785', 'ip_version': 4, 'cidr': '168.80.49.128/26', 'allocation_pools': [{'start': '168.80.49.130', 'end': '168.80.49.190'}], 'gateway_ip': '168.80.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.80.49.130', 'tags': [], 'project_id': '9201b5f656274ada8b33ff765d8e7f6c'}}
2026-08-25 23:27:08,172 - INFO - Created VN ctest-vn-06991537
2026-08-25 23:27:08,225 - DEBUG - VN ctest-vn-06991537 UUID is 97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:08,567 - DEBUG - Response for create_network : {'network': {'id': '5833c9b4-045d-46e4-bdaf-3f0595557c96', 'name': 'ctest-vn-22613139', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-22613139'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 23:27:08,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b64953c-f833-4fa7-9346-41843be05eb1', 'name': '', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'network_id': '5833c9b4-045d-46e4-bdaf-3f0595557c96', 'ip_version': 4, 'cidr': '92.189.62.192/26', 'allocation_pools': [{'start': '92.189.62.194', 'end': '92.189.62.254'}], 'gateway_ip': '92.189.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.189.62.194', 'tags': [], 'project_id': '9201b5f656274ada8b33ff765d8e7f6c'}}
2026-08-25 23:27:08,827 - INFO - Created VN ctest-vn-22613139
2026-08-25 23:27:08,881 - DEBUG - VN ctest-vn-22613139 UUID is 5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:09,006 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537, 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-88807424:ctest-vn-22613139, 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-08-25 23:27:09,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97857def-599e-4412-b0f1-eb0f9b02d785', 'name': 'ctest-vn-06991537', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c4141c4b-9916-46e6-95b2-bad623c70e5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-06991537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666']], 'subnet_ipam': [{'subnet_cidr': '168.80.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 23:27:09,595 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5833c9b4-045d-46e4-bdaf-3f0595557c96', 'name': 'ctest-vn-22613139', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2b64953c-f833-4fa7-9346-41843be05eb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-22613139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666']], 'subnet_ipam': [{'subnet_cidr': '92.189.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 23:27:09,765 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-08-25 23:27:10,100 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-08-25 23:27:10,136 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06
2026-08-25 23:27:10,152 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c
2026-08-25 23:27:10,236 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:10,251 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:10,268 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601
2026-08-25 23:27:10,278 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601
2026-08-25 23:27:10,287 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3fe80732-0ad7-4681-816c-513f7307433d
2026-08-25 23:27:10,296 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 23:27:10,297 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:10,310 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601
2026-08-25 23:27:10,330 - INFO - Verified VN network id 11 for VN 97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:10,330 - INFO - Verifications in API Server for VN ctest-vn-06991537 passed
2026-08-25 23:27:10,330 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:10,343 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601
2026-08-25 23:27:10,353 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601
2026-08-25 23:27:10,366 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3fe80732-0ad7-4681-816c-513f7307433d
2026-08-25 23:27:10,384 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88807424', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10918271338583835666', 'uuid-lslong': '12750230472320276357'}, 'enable': 'true', 'created': '2026-08-25T23:27:07', 'last-modified': '2026-08-25T23:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.069166'}
2026-08-25 23:27:10,392 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 23:27:10,392 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06991537 passed
2026-08-25 23:27:10,392 - DEBUG - ====Verifying policy data for ctest-vn-06991537 in API_Server ======
2026-08-25 23:27:10,392 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-08-25 23:27:10,400 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06
2026-08-25 23:27:10,412 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c
2026-08-25 23:27:10,492 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785
2026-08-25 23:27:10,503 - DEBUG - ==>Verifying data for policy with id: 3d483f93-cb06-4d30-8661-0fa8d1fb805b, fqn: ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666']
2026-08-25 23:27:10,503 - INFO - VN ctest-vn-06991537 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 23:27:10,503 - DEBUG - Verifying the vn in opserver
2026-08-25 23:27:10,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537 virtual network link through opserver 10.0.0.189
2026-08-25 23:27:10,503 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-08-25 23:27:10,837 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-08-25 23:27:10,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537?flat'}
2026-08-25 23:27:10,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537 is found in opserver
2026-08-25 23:27:10,908 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 23:27:10,914 - DEBUG - VRF ids for VN ctest-vn-06991537: {}
2026-08-25 23:27:10,914 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-08-25 23:27:10,920 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06
2026-08-25 23:27:10,931 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c
2026-08-25 23:27:11,010 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:11,027 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:11,039 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f
2026-08-25 23:27:11,048 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f
2026-08-25 23:27:11,056 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/978c7069-153b-4f72-87fb-b61f5b81ef60
2026-08-25 23:27:11,064 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 23:27:11,064 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:11,075 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f
2026-08-25 23:27:11,092 - INFO - Verified VN network id 12 for VN 5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:11,092 - INFO - Verifications in API Server for VN ctest-vn-22613139 passed
2026-08-25 23:27:11,092 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:11,103 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f
2026-08-25 23:27:11,114 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f
2026-08-25 23:27:11,122 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/978c7069-153b-4f72-87fb-b61f5b81ef60
2026-08-25 23:27:11,136 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88807424', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6355645274154419940', 'uuid-lslong': '13668212687305538710'}, 'enable': 'true', 'created': '2026-08-25T23:27:08', 'last-modified': '2026-08-25T23:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.567294'}
2026-08-25 23:27:11,143 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 23:27:11,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22613139 passed
2026-08-25 23:27:11,143 - DEBUG - ====Verifying policy data for ctest-vn-22613139 in API_Server ======
2026-08-25 23:27:11,143 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-08-25 23:27:11,150 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06
2026-08-25 23:27:11,162 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c
2026-08-25 23:27:11,238 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96
2026-08-25 23:27:11,248 - DEBUG - ==>Verifying data for policy with id: 3d483f93-cb06-4d30-8661-0fa8d1fb805b, fqn: ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666']
2026-08-25 23:27:11,248 - INFO - VN ctest-vn-22613139 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 23:27:11,248 - DEBUG - Verifying the vn in opserver
2026-08-25 23:27:11,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139 virtual network link through opserver 10.0.0.189
2026-08-25 23:27:11,249 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-08-25 23:27:11,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139?flat'}
2026-08-25 23:27:11,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139 is found in opserver
2026-08-25 23:27:11,271 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 23:27:11,277 - DEBUG - VRF ids for VN ctest-vn-22613139: {}
2026-08-25 23:27:11,343 - DEBUG - Services list from nova: [