2026-04-24 17:08:26,999 - INFO - Domain Default found not creating
2026-04-24 17:08:27,195 - INFO - Project ctest-TestBasicPolicy-18676881 not found, creating it
2026-04-24 17:08:27,696 - INFO - Created Project:ctest-TestBasicPolicy-18676881, ID : c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4
2026-04-24 17:08:29,202 - INFO - ================================================================================
2026-04-24 17:08:29,202 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-24 17:08:29,202 - 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-04-24 17:08:29,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-24 17:08:29,458 - INFO - Initial checks done. Running the testcase now
2026-04-24 17:08:29,458 - INFO -
2026-04-24 17:08:30,086 - DEBUG - Response for create_network : {'network': {'id': '1c01d085-c004-4d18-8189-497aabd3dd4a', 'name': 'ctest-vn-43217130', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-43217130'], 'port_security_enabled': True, 'description': ''}}
2026-04-24 17:08:30,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c812978-f051-4ebd-b4e5-14763d70ac1a', 'name': '', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'network_id': '1c01d085-c004-4d18-8189-497aabd3dd4a', 'ip_version': 4, 'cidr': '97.162.182.128/26', 'allocation_pools': [{'start': '97.162.182.130', 'end': '97.162.182.190'}], 'gateway_ip': '97.162.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.162.182.130', 'tags': [], 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4'}}
2026-04-24 17:08:30,298 - INFO - Created VN ctest-vn-43217130
2026-04-24 17:08:30,352 - DEBUG - VN ctest-vn-43217130 UUID is 1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:30,657 - DEBUG - Response for create_network : {'network': {'id': 'c11ff46d-0ddb-404d-b231-d5bb499cfa5a', 'name': 'ctest-vn-71388231', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-71388231'], 'port_security_enabled': True, 'description': ''}}
2026-04-24 17:08:30,857 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cff48d98-7cea-4875-9200-bc9e2fad487c', 'name': '', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'network_id': 'c11ff46d-0ddb-404d-b231-d5bb499cfa5a', 'ip_version': 4, 'cidr': '36.247.79.64/26', 'allocation_pools': [{'start': '36.247.79.66', 'end': '36.247.79.126'}], 'gateway_ip': '36.247.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.247.79.66', 'tags': [], 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4'}}
2026-04-24 17:08:30,877 - INFO - Created VN ctest-vn-71388231
2026-04-24 17:08:30,932 - DEBUG - VN ctest-vn-71388231 UUID is c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:31,051 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130, 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-18676881:ctest-vn-71388231, 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-04-24 17:08:31,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c01d085-c004-4d18-8189-497aabd3dd4a', 'name': 'ctest-vn-43217130', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c812978-f051-4ebd-b4e5-14763d70ac1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-43217130'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253']], 'subnet_ipam': [{'subnet_cidr': '97.162.182.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-24 17:08:31,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c11ff46d-0ddb-404d-b231-d5bb499cfa5a', 'name': 'ctest-vn-71388231', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cff48d98-7cea-4875-9200-bc9e2fad487c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-71388231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253']], 'subnet_ipam': [{'subnet_cidr': '36.247.79.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-24 17:08:31,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-24 17:08:32,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-24 17:08:32,148 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e
2026-04-24 17:08:32,163 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4
2026-04-24 17:08:32,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:32,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:32,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258
2026-04-24 17:08:32,268 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258
2026-04-24 17:08:32,276 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a9ebf3e-5964-4ea9-954b-f4bc8711b4bd
2026-04-24 17:08:32,285 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-24 17:08:32,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:32,297 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258
2026-04-24 17:08:32,313 - INFO - Verified VN network id 11 for VN 1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:32,314 - INFO - Verifications in API Server for VN ctest-vn-43217130 passed
2026-04-24 17:08:32,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:32,324 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258
2026-04-24 17:08:32,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258
2026-04-24 17:08:32,342 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a9ebf3e-5964-4ea9-954b-f4bc8711b4bd
2026-04-24 17:08:32,356 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18676881', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2018123380909427992', 'uuid-lslong': '9334072493919690058'}, 'enable': 'true', 'created': '2026-04-24T17:08:30', 'last-modified': '2026-04-24T17:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012026'}
2026-04-24 17:08:32,363 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-24 17:08:32,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43217130 passed
2026-04-24 17:08:32,364 - DEBUG - ====Verifying policy data for ctest-vn-43217130 in API_Server ======
2026-04-24 17:08:32,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-24 17:08:32,371 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e
2026-04-24 17:08:32,385 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4
2026-04-24 17:08:32,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a
2026-04-24 17:08:32,465 - DEBUG - ==>Verifying data for policy with id: 937e66fc-84bf-4e00-9b44-3e5f2d42bdd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253']
2026-04-24 17:08:32,465 - INFO - VN ctest-vn-43217130 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-24 17:08:32,465 - DEBUG - Verifying the vn in opserver
2026-04-24 17:08:32,465 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130 virtual network link through opserver 10.0.0.38
2026-04-24 17:08:32,465 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-24 17:08:32,758 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-24 17:08:32,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130?flat'}
2026-04-24 17:08:32,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130 is found in opserver
2026-04-24 17:08:32,837 - DEBUG - Do not have enough data to verify VN in agent
2026-04-24 17:08:32,842 - DEBUG - VRF ids for VN ctest-vn-43217130: {}
2026-04-24 17:08:32,842 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-24 17:08:32,847 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e
2026-04-24 17:08:32,859 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4
2026-04-24 17:08:32,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:32,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:32,959 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90
2026-04-24 17:08:32,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90
2026-04-24 17:08:32,974 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d102d908-9b7a-4930-86aa-4c75694f4695
2026-04-24 17:08:32,982 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-24 17:08:32,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:32,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90
2026-04-24 17:08:33,012 - INFO - Verified VN network id 12 for VN c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:33,013 - INFO - Verifications in API Server for VN ctest-vn-71388231 passed
2026-04-24 17:08:33,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:33,026 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90
2026-04-24 17:08:33,035 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90
2026-04-24 17:08:33,043 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d102d908-9b7a-4930-86aa-4c75694f4695
2026-04-24 17:08:33,056 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18676881', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13916110122819207245', 'uuid-lslong': '12840279012980619866'}, 'enable': 'true', 'created': '2026-04-24T17:08:30', 'last-modified': '2026-04-24T17:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448443'}
2026-04-24 17:08:33,061 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-24 17:08:33,061 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71388231 passed
2026-04-24 17:08:33,061 - DEBUG - ====Verifying policy data for ctest-vn-71388231 in API_Server ======
2026-04-24 17:08:33,061 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-24 17:08:33,067 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e
2026-04-24 17:08:33,080 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4
2026-04-24 17:08:33,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a
2026-04-24 17:08:33,163 - DEBUG - ==>Verifying data for policy with id: 937e66fc-84bf-4e00-9b44-3e5f2d42bdd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253']
2026-04-24 17:08:33,163 - INFO - VN ctest-vn-71388231 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-24 17:08:33,163 - DEBUG - Verifying the vn in opserver
2026-04-24 17:08:33,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231 virtual network link through opserver 10.0.0.38
2026-04-24 17:08:33,163 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-24 17:08:33,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231?flat'}
2026-04-24 17:08:33,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231 is found in opserver
2026-04-24 17:08:33,188 - DEBUG - Do not have enough data to verify VN in agent
2026-04-24 17:08:33,193 - DEBUG - VRF ids for VN ctest-vn-71388231: {}
2026-04-24 17:08:33,259 - DEBUG - Services list from nova: [