2026-10-22 22:11:07,375 - INFO - Domain Default found not creating
2026-10-22 22:11:07,717 - INFO - Project ctest-TestBasicPolicy-43295675 not found, creating it
2026-10-22 22:11:08,356 - INFO - Created Project:ctest-TestBasicPolicy-43295675, ID : 62f684f1-3545-49d4-b98e-723faed5577a
2026-10-22 22:11:10,638 - INFO - ================================================================================
2026-10-22 22:11:10,638 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-22 22:11:10,638 - 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-10-22 22:11:10,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.254': '0'}} with
2026-10-22 22:11:10,931 - INFO - Initial checks done. Running the testcase now
2026-10-22 22:11:10,931 - INFO -
2026-10-22 22:11:12,523 - DEBUG - Response for create_network : {'network': {'id': '17167f02-fcef-4a0e-ab79-9d7783be1212', 'name': 'ctest-vn-38842225', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38842225'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 22:11:12,769 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47cef0c-03e5-4533-8621-b9b48fbe28ed', 'name': '', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'network_id': '17167f02-fcef-4a0e-ab79-9d7783be1212', 'ip_version': 4, 'cidr': '12.77.79.192/26', 'allocation_pools': [{'start': '12.77.79.194', 'end': '12.77.79.254'}], 'gateway_ip': '12.77.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.77.79.194', 'tags': [], 'project_id': '62f684f1354549d4b98e723faed5577a'}}
2026-10-22 22:11:12,801 - INFO - Created VN ctest-vn-38842225
2026-10-22 22:11:12,864 - DEBUG - VN ctest-vn-38842225 UUID is 17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:13,288 - DEBUG - Response for create_network : {'network': {'id': 'e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8', 'name': 'ctest-vn-38966095', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38966095'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 22:11:13,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a211b784-3897-4df6-925c-e366a4d9cd14', 'name': '', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'network_id': 'e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8', 'ip_version': 4, 'cidr': '214.215.177.128/26', 'allocation_pools': [{'start': '214.215.177.130', 'end': '214.215.177.190'}], 'gateway_ip': '214.215.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.215.177.130', 'tags': [], 'project_id': '62f684f1354549d4b98e723faed5577a'}}
2026-10-22 22:11:13,564 - INFO - Created VN ctest-vn-38966095
2026-10-22 22:11:13,628 - DEBUG - VN ctest-vn-38966095 UUID is e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:13,778 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225, 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-43295675:ctest-vn-38966095, 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-10-22 22:11:14,152 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17167f02-fcef-4a0e-ab79-9d7783be1212', 'name': 'ctest-vn-38842225', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e47cef0c-03e5-4533-8621-b9b48fbe28ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38842225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503']], 'subnet_ipam': [{'subnet_cidr': '12.77.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-22 22:11:14,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8', 'name': 'ctest-vn-38966095', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a211b784-3897-4df6-925c-e366a4d9cd14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38966095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503']], 'subnet_ipam': [{'subnet_cidr': '214.215.177.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-22 22:11:14,591 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-10-22 22:11:15,011 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-10-22 22:11:15,069 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855
2026-10-22 22:11:15,093 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a
2026-10-22 22:11:15,185 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:15,202 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:15,214 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe
2026-10-22 22:11:15,224 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe
2026-10-22 22:11:15,234 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/d495a3ee-7096-430c-979a-7725755b9163
2026-10-22 22:11:15,244 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-22 22:11:15,244 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:15,259 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe
2026-10-22 22:11:15,283 - INFO - Verified VN network id 11 for VN 17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:15,284 - INFO - Verifications in API Server for VN ctest-vn-38842225 passed
2026-10-22 22:11:15,284 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:15,299 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe
2026-10-22 22:11:15,310 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe
2026-10-22 22:11:15,322 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/d495a3ee-7096-430c-979a-7725755b9163
2026-10-22 22:11:15,346 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43295675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1663656763170179598', 'uuid-lslong': '12356080189304607250'}, 'enable': 'true', 'created': '2026-10-22T22:11:12', 'last-modified': '2026-10-22T22:11:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.237907'}
2026-10-22 22:11:15,358 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-22 22:11:15,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38842225 passed
2026-10-22 22:11:15,359 - DEBUG - ====Verifying policy data for ctest-vn-38842225 in API_Server ======
2026-10-22 22:11:15,359 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-10-22 22:11:15,369 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855
2026-10-22 22:11:15,387 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a
2026-10-22 22:11:15,481 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212
2026-10-22 22:11:15,497 - DEBUG - ==>Verifying data for policy with id: 93fd11f8-9327-4eee-95d4-1ae9bc2f03f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503']
2026-10-22 22:11:15,497 - INFO - VN ctest-vn-38842225 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-22 22:11:15,498 - DEBUG - Verifying the vn in opserver
2026-10-22 22:11:15,498 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225 virtual network link through opserver 10.0.0.191
2026-10-22 22:11:15,498 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-10-22 22:11:15,909 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-10-22 22:11:15,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225?flat'}
2026-10-22 22:11:15,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225 is found in opserver
2026-10-22 22:11:16,008 - DEBUG - Do not have enough data to verify VN in agent
2026-10-22 22:11:16,018 - DEBUG - VRF ids for VN ctest-vn-38842225: {}
2026-10-22 22:11:16,018 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-10-22 22:11:16,028 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855
2026-10-22 22:11:16,047 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a
2026-10-22 22:11:16,145 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:16,170 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:16,192 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5
2026-10-22 22:11:16,206 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5
2026-10-22 22:11:16,219 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/53fae910-4b72-4b0d-ae2e-017dcb1b6f2e
2026-10-22 22:11:16,230 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-22 22:11:16,231 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:16,246 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5
2026-10-22 22:11:16,273 - INFO - Verified VN network id 12 for VN e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:16,273 - INFO - Verifications in API Server for VN ctest-vn-38966095 passed
2026-10-22 22:11:16,273 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:16,295 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5
2026-10-22 22:11:16,308 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5
2026-10-22 22:11:16,321 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/53fae910-4b72-4b0d-ae2e-017dcb1b6f2e
2026-10-22 22:11:16,344 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43295675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16570717303839673608', 'uuid-lslong': '11078550993805812952'}, 'enable': 'true', 'created': '2026-10-22T22:11:13', 'last-modified': '2026-10-22T22:11:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.968292'}
2026-10-22 22:11:16,355 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-22 22:11:16,356 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38966095 passed
2026-10-22 22:11:16,356 - DEBUG - ====Verifying policy data for ctest-vn-38966095 in API_Server ======
2026-10-22 22:11:16,356 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-10-22 22:11:16,366 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855
2026-10-22 22:11:16,384 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a
2026-10-22 22:11:16,478 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8
2026-10-22 22:11:16,495 - DEBUG - ==>Verifying data for policy with id: 93fd11f8-9327-4eee-95d4-1ae9bc2f03f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503']
2026-10-22 22:11:16,495 - INFO - VN ctest-vn-38966095 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-22 22:11:16,495 - DEBUG - Verifying the vn in opserver
2026-10-22 22:11:16,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095 virtual network link through opserver 10.0.0.191
2026-10-22 22:11:16,495 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-10-22 22:11:16,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095?flat'}
2026-10-22 22:11:16,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095 is found in opserver
2026-10-22 22:11:16,530 - DEBUG - Do not have enough data to verify VN in agent
2026-10-22 22:11:16,537 - DEBUG - VRF ids for VN ctest-vn-38966095: {}
2026-10-22 22:11:16,642 - DEBUG - Services list from nova: [