2026-09-29 17:52:38,983 - INFO - Domain Default found not creating
2026-09-29 17:52:39,147 - INFO - Project ctest-TestBasicPolicy-53135221 not found, creating it
2026-09-29 17:52:39,672 - INFO - Created Project:ctest-TestBasicPolicy-53135221, ID : a813a6e7-56ee-4e4b-b14d-e52ebcd65a59
2026-09-29 17:52:41,418 - INFO - ================================================================================
2026-09-29 17:52:41,418 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-29 17:52:41,418 - 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-09-29 17:52:41,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-29 17:52:41,684 - INFO - Initial checks done. Running the testcase now
2026-09-29 17:52:41,684 - INFO -
2026-09-29 17:52:42,327 - DEBUG - Response for create_network : {'network': {'id': 'eae10780-ffbf-4e68-99f5-836fc3dfd5bf', 'name': 'ctest-vn-13035699', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-13035699'], 'port_security_enabled': True, 'description': ''}}
2026-09-29 17:52:42,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '8656d6f1-4b92-4fbb-b495-2d71ab4b9c4d', 'name': '', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'network_id': 'eae10780-ffbf-4e68-99f5-836fc3dfd5bf', 'ip_version': 4, 'cidr': '202.253.19.128/26', 'allocation_pools': [{'start': '202.253.19.130', 'end': '202.253.19.190'}], 'gateway_ip': '202.253.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.253.19.130', 'tags': [], 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59'}}
2026-09-29 17:52:42,519 - INFO - Created VN ctest-vn-13035699
2026-09-29 17:52:42,579 - DEBUG - VN ctest-vn-13035699 UUID is eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:42,918 - DEBUG - Response for create_network : {'network': {'id': 'baa409ad-4f13-4def-8f71-6d7c39329f9a', 'name': 'ctest-vn-44745704', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-44745704'], 'port_security_enabled': True, 'description': ''}}
2026-09-29 17:52:43,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdfc0239-a32a-45ca-b8ce-5a8c3babc442', 'name': '', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'network_id': 'baa409ad-4f13-4def-8f71-6d7c39329f9a', 'ip_version': 4, 'cidr': '165.215.26.128/26', 'allocation_pools': [{'start': '165.215.26.130', 'end': '165.215.26.190'}], 'gateway_ip': '165.215.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.215.26.130', 'tags': [], 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59'}}
2026-09-29 17:52:43,127 - INFO - Created VN ctest-vn-44745704
2026-09-29 17:52:43,183 - DEBUG - VN ctest-vn-44745704 UUID is baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:43,335 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699, 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-53135221:ctest-vn-44745704, 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-09-29 17:52:43,655 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eae10780-ffbf-4e68-99f5-836fc3dfd5bf', 'name': 'ctest-vn-13035699', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8656d6f1-4b92-4fbb-b495-2d71ab4b9c4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-13035699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981']], 'subnet_ipam': [{'subnet_cidr': '202.253.19.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-29 17:52:43,925 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'baa409ad-4f13-4def-8f71-6d7c39329f9a', 'name': 'ctest-vn-44745704', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bdfc0239-a32a-45ca-b8ce-5a8c3babc442'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-44745704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981']], 'subnet_ipam': [{'subnet_cidr': '165.215.26.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-29 17:52:44,095 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-29 17:52:44,502 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-29 17:52:44,536 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86
2026-09-29 17:52:44,548 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59
2026-09-29 17:52:44,630 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:44,641 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:44,650 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636
2026-09-29 17:52:44,657 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636
2026-09-29 17:52:44,663 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/adfd393c-5fc8-44ed-b987-a30562ffa5e1
2026-09-29 17:52:44,669 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-29 17:52:44,669 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:44,677 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636
2026-09-29 17:52:44,690 - INFO - Verified VN network id 12 for VN eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:44,690 - INFO - Verifications in API Server for VN ctest-vn-13035699 passed
2026-09-29 17:52:44,690 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:44,699 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636
2026-09-29 17:52:44,704 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636
2026-09-29 17:52:44,710 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/adfd393c-5fc8-44ed-b987-a30562ffa5e1
2026-09-29 17:52:44,722 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53135221', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16924817125262970472', 'uuid-lslong': '11093917773147919807'}, 'enable': 'true', 'created': '2026-09-29T17:52:42', 'last-modified': '2026-09-29T17:52:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.102364'}
2026-09-29 17:52:44,729 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-29 17:52:44,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13035699 passed
2026-09-29 17:52:44,729 - DEBUG - ====Verifying policy data for ctest-vn-13035699 in API_Server ======
2026-09-29 17:52:44,729 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-29 17:52:44,734 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86
2026-09-29 17:52:44,746 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59
2026-09-29 17:52:44,831 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf
2026-09-29 17:52:44,843 - DEBUG - ==>Verifying data for policy with id: e6b762f7-efa7-40f1-86d4-3fb32ca4c251, fqn: ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981']
2026-09-29 17:52:44,843 - INFO - VN ctest-vn-13035699 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-29 17:52:44,843 - DEBUG - Verifying the vn in opserver
2026-09-29 17:52:44,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699 virtual network link through opserver 10.0.0.189
2026-09-29 17:52:44,843 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-29 17:52:45,279 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-29 17:52:45,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699?flat'}
2026-09-29 17:52:45,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699 is found in opserver
2026-09-29 17:52:45,351 - DEBUG - Do not have enough data to verify VN in agent
2026-09-29 17:52:45,356 - DEBUG - VRF ids for VN ctest-vn-13035699: {}
2026-09-29 17:52:45,356 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-29 17:52:45,361 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86
2026-09-29 17:52:45,372 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59
2026-09-29 17:52:45,441 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:45,453 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:45,463 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e
2026-09-29 17:52:45,471 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e
2026-09-29 17:52:45,479 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a9fe8de9-ee58-4a1b-87a9-890e8c0fd400
2026-09-29 17:52:45,486 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-29 17:52:45,487 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:45,497 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e
2026-09-29 17:52:45,513 - INFO - Verified VN network id 13 for VN baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:45,513 - INFO - Verifications in API Server for VN ctest-vn-44745704 passed
2026-09-29 17:52:45,513 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:45,521 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e
2026-09-29 17:52:45,527 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e
2026-09-29 17:52:45,533 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a9fe8de9-ee58-4a1b-87a9-890e8c0fd400
2026-09-29 17:52:45,546 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53135221', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13448885027195801071', 'uuid-lslong': '10336163000094990234'}, 'enable': 'true', 'created': '2026-09-29T17:52:42', 'last-modified': '2026-09-29T17:52:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.658434'}
2026-09-29 17:52:45,555 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-29 17:52:45,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44745704 passed
2026-09-29 17:52:45,555 - DEBUG - ====Verifying policy data for ctest-vn-44745704 in API_Server ======
2026-09-29 17:52:45,555 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-29 17:52:45,560 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86
2026-09-29 17:52:45,569 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59
2026-09-29 17:52:45,639 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a
2026-09-29 17:52:45,651 - DEBUG - ==>Verifying data for policy with id: e6b762f7-efa7-40f1-86d4-3fb32ca4c251, fqn: ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981']
2026-09-29 17:52:45,651 - INFO - VN ctest-vn-44745704 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-29 17:52:45,651 - DEBUG - Verifying the vn in opserver
2026-09-29 17:52:45,651 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704 virtual network link through opserver 10.0.0.189
2026-09-29 17:52:45,651 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-29 17:52:45,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704?flat'}
2026-09-29 17:52:45,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704 is found in opserver
2026-09-29 17:52:45,672 - DEBUG - Do not have enough data to verify VN in agent
2026-09-29 17:52:45,678 - DEBUG - VRF ids for VN ctest-vn-44745704: {}
2026-09-29 17:52:45,733 - DEBUG - Services list from nova: [