2026-11-06 21:11:44,067 - INFO - Domain Default found not creating
2026-11-06 21:11:44,273 - INFO - Project ctest-TestBasicPolicy-90987190 not found, creating it
2026-11-06 21:11:44,811 - INFO - Created Project:ctest-TestBasicPolicy-90987190, ID : ac4281f5-6372-4541-83f0-7aee0efd4dac
2026-11-06 21:11:47,049 - INFO - ================================================================================
2026-11-06 21:11:47,049 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-06 21:11:47,049 - 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-11-06 21:11:47,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-11-06 21:11:47,320 - INFO - Initial checks done. Running the testcase now
2026-11-06 21:11:47,320 - INFO -
2026-11-06 21:11:48,004 - DEBUG - Response for create_network : {'network': {'id': '3a6a75c7-8e62-4afb-a537-78bad3bee723', 'name': 'ctest-vn-99242627', 'tenant_id': 'ac4281f56372454183f07aee0efd4dac', 'project_id': 'ac4281f56372454183f07aee0efd4dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-vn-99242627'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 21:11:48,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f4f01f0-dff2-4299-abe6-fd2a12c199d0', 'name': '', 'tenant_id': 'ac4281f56372454183f07aee0efd4dac', 'network_id': '3a6a75c7-8e62-4afb-a537-78bad3bee723', 'ip_version': 4, 'cidr': '123.30.77.192/26', 'allocation_pools': [{'start': '123.30.77.194', 'end': '123.30.77.254'}], 'gateway_ip': '123.30.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.30.77.194', 'tags': [], 'project_id': 'ac4281f56372454183f07aee0efd4dac'}}
2026-11-06 21:11:48,232 - INFO - Created VN ctest-vn-99242627
2026-11-06 21:11:48,284 - DEBUG - VN ctest-vn-99242627 UUID is 3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:48,608 - DEBUG - Response for create_network : {'network': {'id': '8bb6d2c9-e89c-4830-9432-54984293dc18', 'name': 'ctest-vn-55259740', 'tenant_id': 'ac4281f56372454183f07aee0efd4dac', 'project_id': 'ac4281f56372454183f07aee0efd4dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-vn-55259740'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 21:11:48,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '61192a14-1087-4160-9590-810605f0a7f6', 'name': '', 'tenant_id': 'ac4281f56372454183f07aee0efd4dac', 'network_id': '8bb6d2c9-e89c-4830-9432-54984293dc18', 'ip_version': 4, 'cidr': '130.110.187.64/26', 'allocation_pools': [{'start': '130.110.187.66', 'end': '130.110.187.126'}], 'gateway_ip': '130.110.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.110.187.66', 'tags': [], 'project_id': 'ac4281f56372454183f07aee0efd4dac'}}
2026-11-06 21:11:48,843 - INFO - Created VN ctest-vn-55259740
2026-11-06 21:11:48,896 - DEBUG - VN ctest-vn-55259740 UUID is 8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:49,017 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-99242627, 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-90987190:ctest-vn-55259740, 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-11-06 21:11:49,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a6a75c7-8e62-4afb-a537-78bad3bee723', 'name': 'ctest-vn-99242627', 'tenant_id': 'ac4281f56372454183f07aee0efd4dac', 'project_id': 'ac4281f56372454183f07aee0efd4dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1f4f01f0-dff2-4299-abe6-fd2a12c199d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-vn-99242627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-policy-allow-all-15181985']], 'subnet_ipam': [{'subnet_cidr': '123.30.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 21:11:49,570 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8bb6d2c9-e89c-4830-9432-54984293dc18', 'name': 'ctest-vn-55259740', 'tenant_id': 'ac4281f56372454183f07aee0efd4dac', 'project_id': 'ac4281f56372454183f07aee0efd4dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['61192a14-1087-4160-9590-810605f0a7f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-vn-55259740'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-policy-allow-all-15181985']], 'subnet_ipam': [{'subnet_cidr': '130.110.187.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 21:11:49,740 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-11-06 21:11:50,108 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-11-06 21:11:50,144 - DEBUG - Requesting: http://10.0.0.189:8082/domain/c4e2925e-8785-416d-a2da-d7b41e7ebad6
2026-11-06 21:11:50,157 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac4281f5-6372-4541-83f0-7aee0efd4dac
2026-11-06 21:11:50,237 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:50,249 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:50,259 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0804c883-eade-4e00-a32d-283612f2e7dc
2026-11-06 21:11:50,267 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0804c883-eade-4e00-a32d-283612f2e7dc
2026-11-06 21:11:50,275 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/2073382f-8ce0-4c32-8e06-5f3e4d4d74fa
2026-11-06 21:11:50,282 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 21:11:50,282 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:50,291 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0804c883-eade-4e00-a32d-283612f2e7dc
2026-11-06 21:11:50,304 - INFO - Verified VN network id 12 for VN 3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:50,304 - INFO - Verifications in API Server for VN ctest-vn-99242627 passed
2026-11-06 21:11:50,304 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:50,313 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0804c883-eade-4e00-a32d-283612f2e7dc
2026-11-06 21:11:50,320 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0804c883-eade-4e00-a32d-283612f2e7dc
2026-11-06 21:11:50,326 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/2073382f-8ce0-4c32-8e06-5f3e4d4d74fa
2026-11-06 21:11:50,338 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-99242627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90987190', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4209306301678897915', 'uuid-lslong': '11905116883788949283'}, 'enable': 'true', 'created': '2026-11-06T21:11:47', 'last-modified': '2026-11-06T21:11:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041884'}
2026-11-06 21:11:50,345 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 21:11:50,345 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99242627 passed
2026-11-06 21:11:50,345 - DEBUG - ====Verifying policy data for ctest-vn-99242627 in API_Server ======
2026-11-06 21:11:50,345 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-11-06 21:11:50,351 - DEBUG - Requesting: http://10.0.0.189:8082/domain/c4e2925e-8785-416d-a2da-d7b41e7ebad6
2026-11-06 21:11:50,361 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac4281f5-6372-4541-83f0-7aee0efd4dac
2026-11-06 21:11:50,437 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3a6a75c7-8e62-4afb-a537-78bad3bee723
2026-11-06 21:11:50,447 - DEBUG - ==>Verifying data for policy with id: b1f05fab-176a-4fe1-ad2f-17269aca29db, fqn: ['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-policy-allow-all-15181985']
2026-11-06 21:11:50,447 - INFO - VN ctest-vn-99242627 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 21:11:50,447 - DEBUG - Verifying the vn in opserver
2026-11-06 21:11:50,447 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-99242627 virtual network link through opserver 10.0.0.189
2026-11-06 21:11:50,447 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-11-06 21:11:50,810 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-11-06 21:11:50,872 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-99242627', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-99242627?flat'}
2026-11-06 21:11:50,872 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-99242627 is found in opserver
2026-11-06 21:11:50,885 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 21:11:50,892 - DEBUG - VRF ids for VN ctest-vn-99242627: {}
2026-11-06 21:11:50,893 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-11-06 21:11:50,899 - DEBUG - Requesting: http://10.0.0.189:8082/domain/c4e2925e-8785-416d-a2da-d7b41e7ebad6
2026-11-06 21:11:50,912 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac4281f5-6372-4541-83f0-7aee0efd4dac
2026-11-06 21:11:50,992 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:51,004 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:51,013 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/380a7094-4276-4b72-af81-264c06bdab66
2026-11-06 21:11:51,021 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/380a7094-4276-4b72-af81-264c06bdab66
2026-11-06 21:11:51,028 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/25da3d8d-6ce2-431f-ae5d-38dd2014771a
2026-11-06 21:11:51,034 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 21:11:51,034 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:51,043 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/380a7094-4276-4b72-af81-264c06bdab66
2026-11-06 21:11:51,057 - INFO - Verified VN network id 13 for VN 8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:51,057 - INFO - Verifications in API Server for VN ctest-vn-55259740 passed
2026-11-06 21:11:51,057 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:51,067 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/380a7094-4276-4b72-af81-264c06bdab66
2026-11-06 21:11:51,074 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/380a7094-4276-4b72-af81-264c06bdab66
2026-11-06 21:11:51,081 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/25da3d8d-6ce2-431f-ae5d-38dd2014771a
2026-11-06 21:11:51,094 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-55259740', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90987190', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10067465781666138160', 'uuid-lslong': '10678690679377615896'}, 'enable': 'true', 'created': '2026-11-06T21:11:48', 'last-modified': '2026-11-06T21:11:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.546011'}
2026-11-06 21:11:51,101 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 21:11:51,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55259740 passed
2026-11-06 21:11:51,101 - DEBUG - ====Verifying policy data for ctest-vn-55259740 in API_Server ======
2026-11-06 21:11:51,101 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-11-06 21:11:51,107 - DEBUG - Requesting: http://10.0.0.189:8082/domain/c4e2925e-8785-416d-a2da-d7b41e7ebad6
2026-11-06 21:11:51,118 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac4281f5-6372-4541-83f0-7aee0efd4dac
2026-11-06 21:11:51,196 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8bb6d2c9-e89c-4830-9432-54984293dc18
2026-11-06 21:11:51,207 - DEBUG - ==>Verifying data for policy with id: b1f05fab-176a-4fe1-ad2f-17269aca29db, fqn: ['default-domain', 'ctest-TestBasicPolicy-90987190', 'ctest-policy-allow-all-15181985']
2026-11-06 21:11:51,207 - INFO - VN ctest-vn-55259740 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 21:11:51,207 - DEBUG - Verifying the vn in opserver
2026-11-06 21:11:51,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-55259740 virtual network link through opserver 10.0.0.189
2026-11-06 21:11:51,207 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-11-06 21:11:51,217 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-55259740', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-55259740?flat'}
2026-11-06 21:11:51,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90987190:ctest-vn-55259740 is found in opserver
2026-11-06 21:11:51,227 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 21:11:51,232 - DEBUG - VRF ids for VN ctest-vn-55259740: {}
2026-11-06 21:11:51,298 - DEBUG - Services list from nova: [