2026-06-22 15:55:36,510 - INFO - Domain Default found not creating
2026-06-22 15:55:36,671 - INFO - Project ctest-TestBasicPolicy-98408438 not found, creating it
2026-06-22 15:55:37,122 - INFO - Created Project:ctest-TestBasicPolicy-98408438, ID : 3c789e13-7f69-4764-a3b0-b1371c9c409a
2026-06-22 15:55:38,605 - INFO - ================================================================================
2026-06-22 15:55:38,605 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-22 15:55:38,605 - 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-06-22 15:55:38,858 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-22 15:55:38,858 - INFO - Initial checks done. Running the testcase now
2026-06-22 15:55:38,859 - INFO -
2026-06-22 15:55:39,435 - DEBUG - Response for create_network : {'network': {'id': '856b3b04-fe89-4040-b227-2859a201504a', 'name': 'ctest-vn-37381564', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-37381564'], 'port_security_enabled': True, 'description': ''}}
2026-06-22 15:55:39,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b8373e6-7250-43b6-be2b-4da55aedd394', 'name': '', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'network_id': '856b3b04-fe89-4040-b227-2859a201504a', 'ip_version': 4, 'cidr': '131.224.164.0/26', 'allocation_pools': [{'start': '131.224.164.2', 'end': '131.224.164.62'}], 'gateway_ip': '131.224.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.224.164.2', 'tags': [], 'project_id': '3c789e137f694764a3b0b1371c9c409a'}}
2026-06-22 15:55:39,602 - INFO - Created VN ctest-vn-37381564
2026-06-22 15:55:39,656 - DEBUG - VN ctest-vn-37381564 UUID is 856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:39,947 - DEBUG - Response for create_network : {'network': {'id': '44f15161-488e-4d20-a57f-48a7c729dad0', 'name': 'ctest-vn-44563840', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-44563840'], 'port_security_enabled': True, 'description': ''}}
2026-06-22 15:55:40,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a459963e-f5db-4559-805d-4121c7454604', 'name': '', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'network_id': '44f15161-488e-4d20-a57f-48a7c729dad0', 'ip_version': 4, 'cidr': '119.109.60.192/26', 'allocation_pools': [{'start': '119.109.60.194', 'end': '119.109.60.254'}], 'gateway_ip': '119.109.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.109.60.194', 'tags': [], 'project_id': '3c789e137f694764a3b0b1371c9c409a'}}
2026-06-22 15:55:40,171 - INFO - Created VN ctest-vn-44563840
2026-06-22 15:55:40,224 - DEBUG - VN ctest-vn-44563840 UUID is 44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:40,376 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564, 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-98408438:ctest-vn-44563840, 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-06-22 15:55:40,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '856b3b04-fe89-4040-b227-2859a201504a', 'name': 'ctest-vn-37381564', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b8373e6-7250-43b6-be2b-4da55aedd394'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-37381564'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425']], 'subnet_ipam': [{'subnet_cidr': '131.224.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-22 15:55:40,931 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44f15161-488e-4d20-a57f-48a7c729dad0', 'name': 'ctest-vn-44563840', 'tenant_id': '3c789e137f694764a3b0b1371c9c409a', 'project_id': '3c789e137f694764a3b0b1371c9c409a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a459963e-f5db-4559-805d-4121c7454604'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-vn-44563840'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425']], 'subnet_ipam': [{'subnet_cidr': '119.109.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-22 15:55:41,100 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 15:55:41,422 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 15:55:41,449 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26
2026-06-22 15:55:41,461 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a
2026-06-22 15:55:41,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:41,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:41,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669
2026-06-22 15:55:41,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669
2026-06-22 15:55:41,563 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/334bf497-f115-4025-99bf-0d0b61be8d46
2026-06-22 15:55:41,569 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 15:55:41,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:41,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669
2026-06-22 15:55:41,591 - INFO - Verified VN network id 11 for VN 856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:41,591 - INFO - Verifications in API Server for VN ctest-vn-37381564 passed
2026-06-22 15:55:41,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:41,599 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669
2026-06-22 15:55:41,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/742e8c35-4346-4015-8e62-935ec3f62669
2026-06-22 15:55:41,613 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/334bf497-f115-4025-99bf-0d0b61be8d46
2026-06-22 15:55:41,625 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98408438', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9613842722188771392', 'uuid-lslong': '12837273628278083658'}, 'enable': 'true', 'created': '2026-06-22T15:55:39', 'last-modified': '2026-06-22T15:55:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973938'}
2026-06-22 15:55:41,631 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 15:55:41,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37381564 passed
2026-06-22 15:55:41,632 - DEBUG - ====Verifying policy data for ctest-vn-37381564 in API_Server ======
2026-06-22 15:55:41,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 15:55:41,638 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26
2026-06-22 15:55:41,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a
2026-06-22 15:55:41,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/856b3b04-fe89-4040-b227-2859a201504a
2026-06-22 15:55:41,723 - DEBUG - ==>Verifying data for policy with id: 0067410e-1d46-452a-99b9-629c6cb5b76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425']
2026-06-22 15:55:41,723 - INFO - VN ctest-vn-37381564 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 15:55:41,724 - DEBUG - Verifying the vn in opserver
2026-06-22 15:55:41,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564 virtual network link through opserver 10.0.0.38
2026-06-22 15:55:41,724 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-22 15:55:42,043 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-22 15:55:42,093 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564?flat'}
2026-06-22 15:55:42,093 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-37381564 is found in opserver
2026-06-22 15:55:42,103 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 15:55:42,108 - DEBUG - VRF ids for VN ctest-vn-37381564: {}
2026-06-22 15:55:42,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 15:55:42,114 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26
2026-06-22 15:55:42,126 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a
2026-06-22 15:55:42,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:42,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:42,219 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf
2026-06-22 15:55:42,227 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf
2026-06-22 15:55:42,233 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1e5ebae3-bdc4-4300-8700-3d59e749a612
2026-06-22 15:55:42,240 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 15:55:42,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:42,249 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf
2026-06-22 15:55:42,269 - INFO - Verified VN network id 12 for VN 44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:42,270 - INFO - Verifications in API Server for VN ctest-vn-44563840 passed
2026-06-22 15:55:42,270 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:42,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf
2026-06-22 15:55:42,287 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d038f04-ca59-4939-87f3-3b6709fb76cf
2026-06-22 15:55:42,294 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1e5ebae3-bdc4-4300-8700-3d59e749a612
2026-06-22 15:55:42,307 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98408438', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4967841342237330720', 'uuid-lslong': '11925330223738510032'}, 'enable': 'true', 'created': '2026-06-22T15:55:39', 'last-modified': '2026-06-22T15:55:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404723'}
2026-06-22 15:55:42,313 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 15:55:42,313 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44563840 passed
2026-06-22 15:55:42,314 - DEBUG - ====Verifying policy data for ctest-vn-44563840 in API_Server ======
2026-06-22 15:55:42,314 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 15:55:42,320 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9049b04-a46e-46e0-8dc5-f4e71fd58b26
2026-06-22 15:55:42,331 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c789e13-7f69-4764-a3b0-b1371c9c409a
2026-06-22 15:55:42,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f15161-488e-4d20-a57f-48a7c729dad0
2026-06-22 15:55:42,408 - DEBUG - ==>Verifying data for policy with id: 0067410e-1d46-452a-99b9-629c6cb5b76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-98408438', 'ctest-policy-allow-all-21447425']
2026-06-22 15:55:42,408 - INFO - VN ctest-vn-44563840 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 15:55:42,408 - DEBUG - Verifying the vn in opserver
2026-06-22 15:55:42,408 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840 virtual network link through opserver 10.0.0.38
2026-06-22 15:55:42,408 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-22 15:55:42,419 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840?flat'}
2026-06-22 15:55:42,419 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98408438:ctest-vn-44563840 is found in opserver
2026-06-22 15:55:42,428 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 15:55:42,432 - DEBUG - VRF ids for VN ctest-vn-44563840: {}
2026-06-22 15:55:42,489 - DEBUG - Services list from nova: [