2026-06-20 01:23:58,558 - INFO - Domain Default found not creating
2026-06-20 01:23:58,688 - INFO - Project ctest-TestBasicPolicy-72114084 not found, creating it
2026-06-20 01:23:59,151 - INFO - Created Project:ctest-TestBasicPolicy-72114084, ID : d2af5210-44b6-4372-8799-477ac65caf80
2026-06-20 01:24:00,558 - INFO - ================================================================================
2026-06-20 01:24:00,558 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-20 01:24:00,558 - 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-06-20 01:24:00,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-06-20 01:24:00,811 - INFO - Initial checks done. Running the testcase now
2026-06-20 01:24:00,811 - INFO -
2026-06-20 01:24:01,345 - DEBUG - Response for create_network : {'network': {'id': 'e3f06510-62a2-4ce7-9d50-7fcc88d3f6af', 'name': 'ctest-vn-81361611', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-81361611'], 'port_security_enabled': True, 'description': ''}}
2026-06-20 01:24:01,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8b8df8a-7bf5-456d-88f8-66d24456eafe', 'name': '', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'network_id': 'e3f06510-62a2-4ce7-9d50-7fcc88d3f6af', 'ip_version': 4, 'cidr': '121.159.47.128/26', 'allocation_pools': [{'start': '121.159.47.130', 'end': '121.159.47.190'}], 'gateway_ip': '121.159.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.159.47.130', 'tags': [], 'project_id': 'd2af521044b643728799477ac65caf80'}}
2026-06-20 01:24:01,504 - INFO - Created VN ctest-vn-81361611
2026-06-20 01:24:01,553 - DEBUG - VN ctest-vn-81361611 UUID is e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:01,857 - DEBUG - Response for create_network : {'network': {'id': 'd0deff0e-b718-4a6d-8b62-21ffea5b9a3b', 'name': 'ctest-vn-35186344', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-35186344'], 'port_security_enabled': True, 'description': ''}}
2026-06-20 01:24:02,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '341267b8-bdad-480f-a1c4-3ccb480b4ebf', 'name': '', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'network_id': 'd0deff0e-b718-4a6d-8b62-21ffea5b9a3b', 'ip_version': 4, 'cidr': '222.44.231.0/26', 'allocation_pools': [{'start': '222.44.231.2', 'end': '222.44.231.62'}], 'gateway_ip': '222.44.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.44.231.2', 'tags': [], 'project_id': 'd2af521044b643728799477ac65caf80'}}
2026-06-20 01:24:02,080 - INFO - Created VN ctest-vn-35186344
2026-06-20 01:24:02,129 - DEBUG - VN ctest-vn-35186344 UUID is d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:02,265 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611, 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-72114084:ctest-vn-35186344, 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-06-20 01:24:02,541 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3f06510-62a2-4ce7-9d50-7fcc88d3f6af', 'name': 'ctest-vn-81361611', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8b8df8a-7bf5-456d-88f8-66d24456eafe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-81361611'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777']], 'subnet_ipam': [{'subnet_cidr': '121.159.47.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-20 01:24:02,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0deff0e-b718-4a6d-8b62-21ffea5b9a3b', 'name': 'ctest-vn-35186344', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['341267b8-bdad-480f-a1c4-3ccb480b4ebf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-35186344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777']], 'subnet_ipam': [{'subnet_cidr': '222.44.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-20 01:24:02,909 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-20 01:24:03,225 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-20 01:24:03,247 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2
2026-06-20 01:24:03,258 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80
2026-06-20 01:24:03,327 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:03,338 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:03,347 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0
2026-06-20 01:24:03,353 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0
2026-06-20 01:24:03,359 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/647fad0b-fedb-4311-9825-8bc27f2611b2
2026-06-20 01:24:03,365 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-20 01:24:03,365 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:03,372 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0
2026-06-20 01:24:03,383 - INFO - Verified VN network id 11 for VN e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:03,383 - INFO - Verifications in API Server for VN ctest-vn-81361611 passed
2026-06-20 01:24:03,383 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:03,390 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0
2026-06-20 01:24:03,395 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0
2026-06-20 01:24:03,401 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/647fad0b-fedb-4311-9825-8bc27f2611b2
2026-06-20 01:24:03,410 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72114084', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16424738962068884711', 'uuid-lslong': '11335700778537186991'}, 'enable': 'true', 'created': '2026-06-20T01:24:01', 'last-modified': '2026-06-20T01:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885351'}
2026-06-20 01:24:03,415 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-20 01:24:03,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81361611 passed
2026-06-20 01:24:03,415 - DEBUG - ====Verifying policy data for ctest-vn-81361611 in API_Server ======
2026-06-20 01:24:03,415 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-20 01:24:03,419 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2
2026-06-20 01:24:03,428 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80
2026-06-20 01:24:03,494 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af
2026-06-20 01:24:03,503 - DEBUG - ==>Verifying data for policy with id: d350f1c8-43ba-4204-ad6b-4e7031e1ba36, fqn: ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777']
2026-06-20 01:24:03,503 - INFO - VN ctest-vn-81361611 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-20 01:24:03,503 - DEBUG - Verifying the vn in opserver
2026-06-20 01:24:03,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611 virtual network link through opserver 10.0.0.19
2026-06-20 01:24:03,503 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-20 01:24:03,823 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-20 01:24:03,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611?flat'}
2026-06-20 01:24:03,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611 is found in opserver
2026-06-20 01:24:03,882 - DEBUG - Do not have enough data to verify VN in agent
2026-06-20 01:24:03,885 - DEBUG - VRF ids for VN ctest-vn-81361611: {}
2026-06-20 01:24:03,885 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-20 01:24:03,890 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2
2026-06-20 01:24:03,900 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80
2026-06-20 01:24:03,968 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:03,978 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:03,986 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0
2026-06-20 01:24:03,992 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0
2026-06-20 01:24:03,999 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9f678df5-c0c6-4944-b66e-d984b743274d
2026-06-20 01:24:04,005 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-20 01:24:04,005 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:04,014 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0
2026-06-20 01:24:04,027 - INFO - Verified VN network id 12 for VN d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:04,027 - INFO - Verifications in API Server for VN ctest-vn-35186344 passed
2026-06-20 01:24:04,027 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:04,035 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0
2026-06-20 01:24:04,042 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0
2026-06-20 01:24:04,049 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9f678df5-c0c6-4944-b66e-d984b743274d
2026-06-20 01:24:04,058 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72114084', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15050747443385223789', 'uuid-lslong': '10043627502021876283'}, 'enable': 'true', 'created': '2026-06-20T01:24:01', 'last-modified': '2026-06-20T01:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331660'}
2026-06-20 01:24:04,065 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-20 01:24:04,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35186344 passed
2026-06-20 01:24:04,065 - DEBUG - ====Verifying policy data for ctest-vn-35186344 in API_Server ======
2026-06-20 01:24:04,065 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-20 01:24:04,070 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2
2026-06-20 01:24:04,080 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80
2026-06-20 01:24:04,148 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b
2026-06-20 01:24:04,156 - DEBUG - ==>Verifying data for policy with id: d350f1c8-43ba-4204-ad6b-4e7031e1ba36, fqn: ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777']
2026-06-20 01:24:04,156 - INFO - VN ctest-vn-35186344 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-20 01:24:04,156 - DEBUG - Verifying the vn in opserver
2026-06-20 01:24:04,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344 virtual network link through opserver 10.0.0.19
2026-06-20 01:24:04,156 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-20 01:24:04,164 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344?flat'}
2026-06-20 01:24:04,164 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344 is found in opserver
2026-06-20 01:24:04,172 - DEBUG - Do not have enough data to verify VN in agent
2026-06-20 01:24:04,175 - DEBUG - VRF ids for VN ctest-vn-35186344: {}
2026-06-20 01:24:04,222 - DEBUG - Services list from nova: [