2026-03-05 17:17:20,826 - INFO - Domain Default found not creating
2026-03-05 17:17:21,113 - INFO - Project ctest-TestBasicPolicy-27749725 not found, creating it
2026-03-05 17:17:21,587 - INFO - Created Project:ctest-TestBasicPolicy-27749725, ID : 034d213e-e916-4137-b62f-ea97c75021c7
2026-03-05 17:17:23,242 - INFO - ================================================================================
2026-03-05 17:17:23,242 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-05 17:17:23,243 - 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-03-05 17:17:23,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-05 17:17:23,504 - INFO - Initial checks done. Running the testcase now
2026-03-05 17:17:23,505 - INFO -
2026-03-05 17:17:24,137 - DEBUG - Response for create_network : {'network': {'id': '74b67611-1180-4a32-a29a-2c06202e739f', 'name': 'ctest-vn-96956490', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-96956490'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:17:24,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '64514d48-c786-43a7-b7d5-1e8f883163b2', 'name': '', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'network_id': '74b67611-1180-4a32-a29a-2c06202e739f', 'ip_version': 4, 'cidr': '135.90.101.192/26', 'allocation_pools': [{'start': '135.90.101.194', 'end': '135.90.101.254'}], 'gateway_ip': '135.90.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.90.101.194', 'tags': [], 'project_id': '034d213ee9164137b62fea97c75021c7'}}
2026-03-05 17:17:24,349 - INFO - Created VN ctest-vn-96956490
2026-03-05 17:17:24,402 - DEBUG - VN ctest-vn-96956490 UUID is 74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:24,732 - DEBUG - Response for create_network : {'network': {'id': 'f014258a-5558-49e8-ac6e-d3be79eaaab0', 'name': 'ctest-vn-25802789', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-25802789'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:17:24,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2574e4d-74c2-4774-8a67-acece035300f', 'name': '', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'network_id': 'f014258a-5558-49e8-ac6e-d3be79eaaab0', 'ip_version': 4, 'cidr': '220.102.202.0/26', 'allocation_pools': [{'start': '220.102.202.2', 'end': '220.102.202.62'}], 'gateway_ip': '220.102.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.102.202.2', 'tags': [], 'project_id': '034d213ee9164137b62fea97c75021c7'}}
2026-03-05 17:17:24,943 - INFO - Created VN ctest-vn-25802789
2026-03-05 17:17:24,994 - DEBUG - VN ctest-vn-25802789 UUID is f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:25,119 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490, 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-27749725:ctest-vn-25802789, 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-03-05 17:17:25,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74b67611-1180-4a32-a29a-2c06202e739f', 'name': 'ctest-vn-96956490', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64514d48-c786-43a7-b7d5-1e8f883163b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-96956490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629']], 'subnet_ipam': [{'subnet_cidr': '135.90.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:17:25,669 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f014258a-5558-49e8-ac6e-d3be79eaaab0', 'name': 'ctest-vn-25802789', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2574e4d-74c2-4774-8a67-acece035300f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-25802789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629']], 'subnet_ipam': [{'subnet_cidr': '220.102.202.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:17:25,838 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-05 17:17:26,148 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-05 17:17:26,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13
2026-03-05 17:17:26,195 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7
2026-03-05 17:17:26,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:26,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:26,295 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480
2026-03-05 17:17:26,302 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480
2026-03-05 17:17:26,311 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fe57613a-4ea1-4320-89a2-49f86544807a
2026-03-05 17:17:26,319 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 17:17:26,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:26,329 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480
2026-03-05 17:17:26,345 - INFO - Verified VN network id 11 for VN 74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:26,346 - INFO - Verifications in API Server for VN ctest-vn-96956490 passed
2026-03-05 17:17:26,346 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:26,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480
2026-03-05 17:17:26,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480
2026-03-05 17:17:26,374 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fe57613a-4ea1-4320-89a2-49f86544807a
2026-03-05 17:17:26,387 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27749725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8410039169841121842', 'uuid-lslong': '11716725785379107743'}, 'enable': 'true', 'created': '2026-03-05T17:17:24', 'last-modified': '2026-03-05T17:17:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983059'}
2026-03-05 17:17:26,393 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 17:17:26,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96956490 passed
2026-03-05 17:17:26,393 - DEBUG - ====Verifying policy data for ctest-vn-96956490 in API_Server ======
2026-03-05 17:17:26,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-05 17:17:26,400 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13
2026-03-05 17:17:26,413 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7
2026-03-05 17:17:26,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f
2026-03-05 17:17:26,505 - DEBUG - ==>Verifying data for policy with id: ea2374c0-036b-47ef-a592-80f167bd3e31, fqn: ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629']
2026-03-05 17:17:26,506 - INFO - VN ctest-vn-96956490 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 17:17:26,506 - DEBUG - Verifying the vn in opserver
2026-03-05 17:17:26,506 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490 virtual network link through opserver 10.0.0.38
2026-03-05 17:17:26,506 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-05 17:17:26,809 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-05 17:17:26,950 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490?flat'}
2026-03-05 17:17:26,950 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490 is found in opserver
2026-03-05 17:17:26,960 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 17:17:26,966 - DEBUG - VRF ids for VN ctest-vn-96956490: {}
2026-03-05 17:17:26,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-05 17:17:26,976 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13
2026-03-05 17:17:27,053 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7
2026-03-05 17:17:27,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:27,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:27,214 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3
2026-03-05 17:17:27,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3
2026-03-05 17:17:27,241 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ab79d641-a15d-4443-87a9-6eaa4bce9216
2026-03-05 17:17:27,249 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 17:17:27,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:27,269 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3
2026-03-05 17:17:27,309 - INFO - Verified VN network id 12 for VN f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:27,309 - INFO - Verifications in API Server for VN ctest-vn-25802789 passed
2026-03-05 17:17:27,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:27,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3
2026-03-05 17:17:27,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3
2026-03-05 17:17:27,370 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ab79d641-a15d-4443-87a9-6eaa4bce9216
2026-03-05 17:17:27,391 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27749725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17299493344704481768', 'uuid-lslong': '12425101237004446384'}, 'enable': 'true', 'created': '2026-03-05T17:17:24', 'last-modified': '2026-03-05T17:17:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.748098'}
2026-03-05 17:17:27,405 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 17:17:27,405 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25802789 passed
2026-03-05 17:17:27,406 - DEBUG - ====Verifying policy data for ctest-vn-25802789 in API_Server ======
2026-03-05 17:17:27,406 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-05 17:17:27,426 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13
2026-03-05 17:17:27,469 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7
2026-03-05 17:17:27,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0
2026-03-05 17:17:27,656 - DEBUG - ==>Verifying data for policy with id: ea2374c0-036b-47ef-a592-80f167bd3e31, fqn: ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629']
2026-03-05 17:17:27,656 - INFO - VN ctest-vn-25802789 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 17:17:27,656 - DEBUG - Verifying the vn in opserver
2026-03-05 17:17:27,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789 virtual network link through opserver 10.0.0.38
2026-03-05 17:17:27,656 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-05 17:17:27,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789?flat'}
2026-03-05 17:17:27,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789 is found in opserver
2026-03-05 17:17:27,704 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 17:17:27,719 - DEBUG - VRF ids for VN ctest-vn-25802789: {}
2026-03-05 17:17:27,827 - DEBUG - Services list from nova: [