2026-02-03 17:18:08,058 - INFO - Domain Default found not creating
2026-02-03 17:18:08,276 - INFO - Project ctest-TestBasicPolicy-65710555 not found, creating it
2026-02-03 17:18:08,803 - INFO - Created Project:ctest-TestBasicPolicy-65710555, ID : 24682219-1441-45d0-af3d-2400fefbec48
2026-02-03 17:18:10,447 - INFO - ================================================================================
2026-02-03 17:18:10,448 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 17:18:10,448 - 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-03 17:18:10,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-02-03 17:18:10,714 - INFO - Initial checks done. Running the testcase now
2026-02-03 17:18:10,714 - INFO -
2026-02-03 17:18:11,306 - DEBUG - Response for create_network : {'network': {'id': 'a6e8e7e6-c4b9-4e35-86bf-0c409627ad77', 'name': 'ctest-vn-29923247', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-29923247'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 17:18:11,525 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c35dfb72-23b6-4b88-978e-0bbff6dad2d6', 'name': '', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'network_id': 'a6e8e7e6-c4b9-4e35-86bf-0c409627ad77', 'ip_version': 4, 'cidr': '137.144.225.64/26', 'allocation_pools': [{'start': '137.144.225.66', 'end': '137.144.225.126'}], 'gateway_ip': '137.144.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.144.225.66', 'tags': [], 'project_id': '24682219144145d0af3d2400fefbec48'}}
2026-02-03 17:18:11,548 - INFO - Created VN ctest-vn-29923247
2026-02-03 17:18:11,601 - DEBUG - VN ctest-vn-29923247 UUID is a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:11,915 - DEBUG - Response for create_network : {'network': {'id': '33ef13d3-7e09-4bef-b1a8-e697e0a852e2', 'name': 'ctest-vn-68386437', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-68386437'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 17:18:12,082 - DEBUG - Response for create_subnet : {'subnet': {'id': '02f77b7e-a4c5-4b60-b59a-06e6cf30d2f1', 'name': '', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'network_id': '33ef13d3-7e09-4bef-b1a8-e697e0a852e2', 'ip_version': 4, 'cidr': '75.70.66.128/26', 'allocation_pools': [{'start': '75.70.66.130', 'end': '75.70.66.190'}], 'gateway_ip': '75.70.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.70.66.130', 'tags': [], 'project_id': '24682219144145d0af3d2400fefbec48'}}
2026-02-03 17:18:12,104 - INFO - Created VN ctest-vn-68386437
2026-02-03 17:18:12,157 - DEBUG - VN ctest-vn-68386437 UUID is 33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:12,291 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247, 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-65710555:ctest-vn-68386437, 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-03 17:18:12,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6e8e7e6-c4b9-4e35-86bf-0c409627ad77', 'name': 'ctest-vn-29923247', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c35dfb72-23b6-4b88-978e-0bbff6dad2d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-29923247'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756']], 'subnet_ipam': [{'subnet_cidr': '137.144.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 17:18:12,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33ef13d3-7e09-4bef-b1a8-e697e0a852e2', 'name': 'ctest-vn-68386437', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02f77b7e-a4c5-4b60-b59a-06e6cf30d2f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-68386437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756']], 'subnet_ipam': [{'subnet_cidr': '75.70.66.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 17:18:13,065 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 17:18:13,389 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 17:18:13,429 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3
2026-02-03 17:18:13,443 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48
2026-02-03 17:18:13,521 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:13,532 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:13,542 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2
2026-02-03 17:18:13,549 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2
2026-02-03 17:18:13,557 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eefcc355-ac42-4847-b57c-cc944326628f
2026-02-03 17:18:13,564 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 17:18:13,564 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:13,574 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2
2026-02-03 17:18:13,589 - INFO - Verified VN network id 11 for VN a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:13,589 - INFO - Verifications in API Server for VN ctest-vn-29923247 passed
2026-02-03 17:18:13,590 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:13,599 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2
2026-02-03 17:18:13,607 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2
2026-02-03 17:18:13,614 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eefcc355-ac42-4847-b57c-cc944326628f
2026-02-03 17:18:13,627 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65710555', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12027117783221882421', 'uuid-lslong': '9709492793170701687'}, 'enable': 'true', 'created': '2026-02-03T17:18:11', 'last-modified': '2026-02-03T17:18:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029885'}
2026-02-03 17:18:13,633 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 17:18:13,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29923247 passed
2026-02-03 17:18:13,634 - DEBUG - ====Verifying policy data for ctest-vn-29923247 in API_Server ======
2026-02-03 17:18:13,634 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 17:18:13,640 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3
2026-02-03 17:18:13,654 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48
2026-02-03 17:18:13,726 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77
2026-02-03 17:18:13,736 - DEBUG - ==>Verifying data for policy with id: 7993c403-f033-4a68-a647-4e1065b91c59, fqn: ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756']
2026-02-03 17:18:13,736 - INFO - VN ctest-vn-29923247 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 17:18:13,736 - DEBUG - Verifying the vn in opserver
2026-02-03 17:18:13,736 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247 virtual network link through opserver 10.0.0.19
2026-02-03 17:18:13,736 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 17:18:14,036 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 17:18:14,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247?flat'}
2026-02-03 17:18:14,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247 is found in opserver
2026-02-03 17:18:14,121 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 17:18:14,125 - DEBUG - VRF ids for VN ctest-vn-29923247: {}
2026-02-03 17:18:14,126 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 17:18:14,133 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3
2026-02-03 17:18:14,145 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48
2026-02-03 17:18:14,218 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:14,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:14,241 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b
2026-02-03 17:18:14,249 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b
2026-02-03 17:18:14,256 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/603a7870-d45b-4ff3-b03f-cb69eb75e23b
2026-02-03 17:18:14,264 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 17:18:14,264 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:14,275 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b
2026-02-03 17:18:14,293 - INFO - Verified VN network id 12 for VN 33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:14,294 - INFO - Verifications in API Server for VN ctest-vn-68386437 passed
2026-02-03 17:18:14,294 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:14,304 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b
2026-02-03 17:18:14,311 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b
2026-02-03 17:18:14,321 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/603a7870-d45b-4ff3-b03f-cb69eb75e23b
2026-02-03 17:18:14,334 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65710555', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3742231614441737199', 'uuid-lslong': '12801735480784212706'}, 'enable': 'true', 'created': '2026-02-03T17:18:11', 'last-modified': '2026-02-03T17:18:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479248'}
2026-02-03 17:18:14,340 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 17:18:14,340 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68386437 passed
2026-02-03 17:18:14,341 - DEBUG - ====Verifying policy data for ctest-vn-68386437 in API_Server ======
2026-02-03 17:18:14,341 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 17:18:14,348 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3
2026-02-03 17:18:14,362 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48
2026-02-03 17:18:14,443 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2
2026-02-03 17:18:14,452 - DEBUG - ==>Verifying data for policy with id: 7993c403-f033-4a68-a647-4e1065b91c59, fqn: ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756']
2026-02-03 17:18:14,452 - INFO - VN ctest-vn-68386437 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 17:18:14,453 - DEBUG - Verifying the vn in opserver
2026-02-03 17:18:14,453 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437 virtual network link through opserver 10.0.0.19
2026-02-03 17:18:14,453 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 17:18:14,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437?flat'}
2026-02-03 17:18:14,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437 is found in opserver
2026-02-03 17:18:14,479 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 17:18:14,486 - DEBUG - VRF ids for VN ctest-vn-68386437: {}
2026-02-03 17:18:14,551 - DEBUG - Services list from nova: [