2026-02-27 10:21:41,347 - INFO - Domain Default found not creating
2026-02-27 10:21:41,509 - INFO - Project ctest-TestBasicPolicy-16023299 not found, creating it
2026-02-27 10:21:41,958 - INFO - Created Project:ctest-TestBasicPolicy-16023299, ID : 385b64e7-4793-4780-a753-19538e0788d4
2026-02-27 10:21:43,400 - INFO - ================================================================================
2026-02-27 10:21:43,400 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-27 10:21:43,400 - 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-02-27 10:21:43,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-27 10:21:43,653 - INFO - Initial checks done. Running the testcase now
2026-02-27 10:21:43,653 - INFO -
2026-02-27 10:21:44,204 - DEBUG - Response for create_network : {'network': {'id': 'f836a9f1-e359-46ef-b976-779402c5dccd', 'name': 'ctest-vn-55167310', 'tenant_id': '385b64e747934780a75319538e0788d4', 'project_id': '385b64e747934780a75319538e0788d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-vn-55167310'], 'port_security_enabled': True, 'description': ''}}
2026-02-27 10:21:44,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ee387c0-b490-4b40-ac6a-0b5b3afcc2ea', 'name': '', 'tenant_id': '385b64e747934780a75319538e0788d4', 'network_id': 'f836a9f1-e359-46ef-b976-779402c5dccd', 'ip_version': 4, 'cidr': '212.181.24.128/26', 'allocation_pools': [{'start': '212.181.24.130', 'end': '212.181.24.190'}], 'gateway_ip': '212.181.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.181.24.130', 'tags': [], 'project_id': '385b64e747934780a75319538e0788d4'}}
2026-02-27 10:21:44,403 - INFO - Created VN ctest-vn-55167310
2026-02-27 10:21:44,456 - DEBUG - VN ctest-vn-55167310 UUID is f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:44,779 - DEBUG - Response for create_network : {'network': {'id': '3ce34da4-d093-4481-a3f4-67e505ce273c', 'name': 'ctest-vn-08348947', 'tenant_id': '385b64e747934780a75319538e0788d4', 'project_id': '385b64e747934780a75319538e0788d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-vn-08348947'], 'port_security_enabled': True, 'description': ''}}
2026-02-27 10:21:44,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f011868-015f-41e9-acae-95cb57f1dfb4', 'name': '', 'tenant_id': '385b64e747934780a75319538e0788d4', 'network_id': '3ce34da4-d093-4481-a3f4-67e505ce273c', 'ip_version': 4, 'cidr': '191.103.55.192/26', 'allocation_pools': [{'start': '191.103.55.194', 'end': '191.103.55.254'}], 'gateway_ip': '191.103.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.103.55.194', 'tags': [], 'project_id': '385b64e747934780a75319538e0788d4'}}
2026-02-27 10:21:44,964 - INFO - Created VN ctest-vn-08348947
2026-02-27 10:21:45,016 - DEBUG - VN ctest-vn-08348947 UUID is 3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:45,127 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-55167310, 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-16023299:ctest-vn-08348947, 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-02-27 10:21:45,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f836a9f1-e359-46ef-b976-779402c5dccd', 'name': 'ctest-vn-55167310', 'tenant_id': '385b64e747934780a75319538e0788d4', 'project_id': '385b64e747934780a75319538e0788d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ee387c0-b490-4b40-ac6a-0b5b3afcc2ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-vn-55167310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-policy-allow-all-86367664']], 'subnet_ipam': [{'subnet_cidr': '212.181.24.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-27 10:21:45,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ce34da4-d093-4481-a3f4-67e505ce273c', 'name': 'ctest-vn-08348947', 'tenant_id': '385b64e747934780a75319538e0788d4', 'project_id': '385b64e747934780a75319538e0788d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f011868-015f-41e9-acae-95cb57f1dfb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-vn-08348947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-policy-allow-all-86367664']], 'subnet_ipam': [{'subnet_cidr': '191.103.55.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-27 10:21:45,832 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 10:21:46,127 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 10:21:46,160 - DEBUG - Requesting: http://10.0.0.38:8082/domain/141435af-8789-4291-b58c-92079d8bb1c4
2026-02-27 10:21:46,171 - DEBUG - Requesting: http://10.0.0.38:8082/project/385b64e7-4793-4780-a753-19538e0788d4
2026-02-27 10:21:46,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:46,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:46,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6f00e1-9161-400b-a2f6-015cfa2ccaca
2026-02-27 10:21:46,272 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6f00e1-9161-400b-a2f6-015cfa2ccaca
2026-02-27 10:21:46,280 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c413354f-aeea-4b69-87b4-2547dc95a58c
2026-02-27 10:21:46,286 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-27 10:21:46,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:46,295 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6f00e1-9161-400b-a2f6-015cfa2ccaca
2026-02-27 10:21:46,310 - INFO - Verified VN network id 11 for VN f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:46,310 - INFO - Verifications in API Server for VN ctest-vn-55167310 passed
2026-02-27 10:21:46,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:46,319 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6f00e1-9161-400b-a2f6-015cfa2ccaca
2026-02-27 10:21:46,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6f00e1-9161-400b-a2f6-015cfa2ccaca
2026-02-27 10:21:46,337 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c413354f-aeea-4b69-87b4-2547dc95a58c
2026-02-27 10:21:46,350 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-55167310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16023299', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17885669826514994927', 'uuid-lslong': '13364000421853912269'}, 'enable': 'true', 'created': '2026-02-27T10:21:44', 'last-modified': '2026-02-27T10:21:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956193'}
2026-02-27 10:21:46,357 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-27 10:21:46,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55167310 passed
2026-02-27 10:21:46,358 - DEBUG - ====Verifying policy data for ctest-vn-55167310 in API_Server ======
2026-02-27 10:21:46,358 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 10:21:46,364 - DEBUG - Requesting: http://10.0.0.38:8082/domain/141435af-8789-4291-b58c-92079d8bb1c4
2026-02-27 10:21:46,375 - DEBUG - Requesting: http://10.0.0.38:8082/project/385b64e7-4793-4780-a753-19538e0788d4
2026-02-27 10:21:46,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f836a9f1-e359-46ef-b976-779402c5dccd
2026-02-27 10:21:46,460 - DEBUG - ==>Verifying data for policy with id: 915e8eac-382e-42fd-b4c2-4313541312d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-policy-allow-all-86367664']
2026-02-27 10:21:46,460 - INFO - VN ctest-vn-55167310 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-27 10:21:46,460 - DEBUG - Verifying the vn in opserver
2026-02-27 10:21:46,460 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-55167310 virtual network link through opserver 10.0.0.38
2026-02-27 10:21:46,460 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-27 10:21:46,774 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-27 10:21:46,833 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-55167310', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-55167310?flat'}
2026-02-27 10:21:46,833 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-55167310 is found in opserver
2026-02-27 10:21:46,842 - DEBUG - Do not have enough data to verify VN in agent
2026-02-27 10:21:46,848 - DEBUG - VRF ids for VN ctest-vn-55167310: {}
2026-02-27 10:21:46,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 10:21:46,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/141435af-8789-4291-b58c-92079d8bb1c4
2026-02-27 10:21:46,868 - DEBUG - Requesting: http://10.0.0.38:8082/project/385b64e7-4793-4780-a753-19538e0788d4
2026-02-27 10:21:46,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:46,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:46,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5626903c-cc07-4f20-a0a4-78dcb4b338de
2026-02-27 10:21:46,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5626903c-cc07-4f20-a0a4-78dcb4b338de
2026-02-27 10:21:46,975 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/713754a9-943d-432b-b9a2-48117b2d8828
2026-02-27 10:21:46,981 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-27 10:21:46,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:46,991 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5626903c-cc07-4f20-a0a4-78dcb4b338de
2026-02-27 10:21:47,008 - INFO - Verified VN network id 12 for VN 3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:47,008 - INFO - Verifications in API Server for VN ctest-vn-08348947 passed
2026-02-27 10:21:47,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:47,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5626903c-cc07-4f20-a0a4-78dcb4b338de
2026-02-27 10:21:47,027 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5626903c-cc07-4f20-a0a4-78dcb4b338de
2026-02-27 10:21:47,035 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/713754a9-943d-432b-b9a2-48117b2d8828
2026-02-27 10:21:47,047 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-08348947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16023299', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4387435832258282625', 'uuid-lslong': '11814181955842221884'}, 'enable': 'true', 'created': '2026-02-27T10:21:44', 'last-modified': '2026-02-27T10:21:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.429914'}
2026-02-27 10:21:47,053 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-27 10:21:47,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08348947 passed
2026-02-27 10:21:47,054 - DEBUG - ====Verifying policy data for ctest-vn-08348947 in API_Server ======
2026-02-27 10:21:47,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 10:21:47,060 - DEBUG - Requesting: http://10.0.0.38:8082/domain/141435af-8789-4291-b58c-92079d8bb1c4
2026-02-27 10:21:47,077 - DEBUG - Requesting: http://10.0.0.38:8082/project/385b64e7-4793-4780-a753-19538e0788d4
2026-02-27 10:21:47,152 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3ce34da4-d093-4481-a3f4-67e505ce273c
2026-02-27 10:21:47,162 - DEBUG - ==>Verifying data for policy with id: 915e8eac-382e-42fd-b4c2-4313541312d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-16023299', 'ctest-policy-allow-all-86367664']
2026-02-27 10:21:47,162 - INFO - VN ctest-vn-08348947 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-27 10:21:47,162 - DEBUG - Verifying the vn in opserver
2026-02-27 10:21:47,162 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-08348947 virtual network link through opserver 10.0.0.38
2026-02-27 10:21:47,162 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-27 10:21:47,172 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-08348947', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-08348947?flat'}
2026-02-27 10:21:47,172 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16023299:ctest-vn-08348947 is found in opserver
2026-02-27 10:21:47,182 - DEBUG - Do not have enough data to verify VN in agent
2026-02-27 10:21:47,186 - DEBUG - VRF ids for VN ctest-vn-08348947: {}
2026-02-27 10:21:47,244 - DEBUG - Services list from nova: [