2026-03-24 19:43:04,720 - INFO - Domain Default found not creating
2026-03-24 19:43:04,877 - INFO - Project ctest-TestBasicPolicy-28781585 not found, creating it
2026-03-24 19:43:05,325 - INFO - Created Project:ctest-TestBasicPolicy-28781585, ID : 083d9008-dd87-48db-9a14-a8a22df62812
2026-03-24 19:43:06,752 - INFO - ================================================================================
2026-03-24 19:43:06,752 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-24 19:43:06,752 - 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-03-24 19:43:07,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-24 19:43:07,007 - INFO - Initial checks done. Running the testcase now
2026-03-24 19:43:07,007 - INFO -
2026-03-24 19:43:07,553 - DEBUG - Response for create_network : {'network': {'id': 'd3aff0c2-2fe3-47fc-9347-5100ad375f8e', 'name': 'ctest-vn-28842090', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-28842090'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 19:43:07,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '5450b1cf-298f-4b87-a0f4-0c5b68f3b826', 'name': '', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'network_id': 'd3aff0c2-2fe3-47fc-9347-5100ad375f8e', 'ip_version': 4, 'cidr': '156.177.82.64/26', 'allocation_pools': [{'start': '156.177.82.66', 'end': '156.177.82.126'}], 'gateway_ip': '156.177.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.177.82.66', 'tags': [], 'project_id': '083d9008dd8748db9a14a8a22df62812'}}
2026-03-24 19:43:07,801 - INFO - Created VN ctest-vn-28842090
2026-03-24 19:43:07,854 - DEBUG - VN ctest-vn-28842090 UUID is d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:08,167 - DEBUG - Response for create_network : {'network': {'id': '636af555-b98d-4841-85b7-3329c76bb912', 'name': 'ctest-vn-33869890', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-33869890'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 19:43:08,328 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a6cbd7-6d35-4e97-8170-f79b69165261', 'name': '', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'network_id': '636af555-b98d-4841-85b7-3329c76bb912', 'ip_version': 4, 'cidr': '85.139.86.128/26', 'allocation_pools': [{'start': '85.139.86.130', 'end': '85.139.86.190'}], 'gateway_ip': '85.139.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.139.86.130', 'tags': [], 'project_id': '083d9008dd8748db9a14a8a22df62812'}}
2026-03-24 19:43:08,345 - INFO - Created VN ctest-vn-33869890
2026-03-24 19:43:08,397 - DEBUG - VN ctest-vn-33869890 UUID is 636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:08,541 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090, 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-28781585:ctest-vn-33869890, 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-03-24 19:43:08,834 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3aff0c2-2fe3-47fc-9347-5100ad375f8e', 'name': 'ctest-vn-28842090', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5450b1cf-298f-4b87-a0f4-0c5b68f3b826'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-28842090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090']], 'subnet_ipam': [{'subnet_cidr': '156.177.82.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-24 19:43:09,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '636af555-b98d-4841-85b7-3329c76bb912', 'name': 'ctest-vn-33869890', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1a6cbd7-6d35-4e97-8170-f79b69165261'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-33869890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090']], 'subnet_ipam': [{'subnet_cidr': '85.139.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-24 19:43:09,238 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-24 19:43:09,535 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-24 19:43:09,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89
2026-03-24 19:43:09,575 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812
2026-03-24 19:43:09,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:09,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:09,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51
2026-03-24 19:43:09,683 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51
2026-03-24 19:43:09,690 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bca588ca-2d3b-4f9d-8cff-2585d90510b9
2026-03-24 19:43:09,695 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-24 19:43:09,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:09,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51
2026-03-24 19:43:09,721 - INFO - Verified VN network id 11 for VN d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:09,721 - INFO - Verifications in API Server for VN ctest-vn-28842090 passed
2026-03-24 19:43:09,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:09,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51
2026-03-24 19:43:09,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51
2026-03-24 19:43:09,744 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bca588ca-2d3b-4f9d-8cff-2585d90510b9
2026-03-24 19:43:09,759 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28781585', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15253675179744905212', 'uuid-lslong': '10612540110269800334'}, 'enable': 'true', 'created': '2026-03-24T19:43:07', 'last-modified': '2026-03-24T19:43:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945815'}
2026-03-24 19:43:09,766 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-24 19:43:09,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28842090 passed
2026-03-24 19:43:09,767 - DEBUG - ====Verifying policy data for ctest-vn-28842090 in API_Server ======
2026-03-24 19:43:09,767 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-24 19:43:09,773 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89
2026-03-24 19:43:09,786 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812
2026-03-24 19:43:09,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e
2026-03-24 19:43:09,870 - DEBUG - ==>Verifying data for policy with id: bb137ac4-151c-4ac0-bd3d-7b82357b1db3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090']
2026-03-24 19:43:09,870 - INFO - VN ctest-vn-28842090 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-24 19:43:09,870 - DEBUG - Verifying the vn in opserver
2026-03-24 19:43:09,870 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090 virtual network link through opserver 10.0.0.38
2026-03-24 19:43:09,870 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-24 19:43:10,167 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-24 19:43:10,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090?flat'}
2026-03-24 19:43:10,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090 is found in opserver
2026-03-24 19:43:10,240 - DEBUG - Do not have enough data to verify VN in agent
2026-03-24 19:43:10,246 - DEBUG - VRF ids for VN ctest-vn-28842090: {}
2026-03-24 19:43:10,246 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-24 19:43:10,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89
2026-03-24 19:43:10,265 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812
2026-03-24 19:43:10,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:10,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:10,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665
2026-03-24 19:43:10,363 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665
2026-03-24 19:43:10,369 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2626f93a-7bfb-48ea-b09e-2352c695f2ac
2026-03-24 19:43:10,376 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-24 19:43:10,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:10,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665
2026-03-24 19:43:10,399 - INFO - Verified VN network id 12 for VN 636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:10,400 - INFO - Verifications in API Server for VN ctest-vn-33869890 passed
2026-03-24 19:43:10,400 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:10,409 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665
2026-03-24 19:43:10,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665
2026-03-24 19:43:10,424 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2626f93a-7bfb-48ea-b09e-2352c695f2ac
2026-03-24 19:43:10,436 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28781585', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7163807905820264513', 'uuid-lslong': '9635226182314866962'}, 'enable': 'true', 'created': '2026-03-24T19:43:08', 'last-modified': '2026-03-24T19:43:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403643'}
2026-03-24 19:43:10,441 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-24 19:43:10,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33869890 passed
2026-03-24 19:43:10,442 - DEBUG - ====Verifying policy data for ctest-vn-33869890 in API_Server ======
2026-03-24 19:43:10,442 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-24 19:43:10,447 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89
2026-03-24 19:43:10,457 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812
2026-03-24 19:43:10,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912
2026-03-24 19:43:10,536 - DEBUG - ==>Verifying data for policy with id: bb137ac4-151c-4ac0-bd3d-7b82357b1db3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090']
2026-03-24 19:43:10,536 - INFO - VN ctest-vn-33869890 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-24 19:43:10,536 - DEBUG - Verifying the vn in opserver
2026-03-24 19:43:10,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890 virtual network link through opserver 10.0.0.38
2026-03-24 19:43:10,536 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-24 19:43:10,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890?flat'}
2026-03-24 19:43:10,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890 is found in opserver
2026-03-24 19:43:10,555 - DEBUG - Do not have enough data to verify VN in agent
2026-03-24 19:43:10,562 - DEBUG - VRF ids for VN ctest-vn-33869890: {}
2026-03-24 19:43:10,618 - DEBUG - Services list from nova: [