2026-09-17 11:28:07,514 - INFO - Domain Default found not creating
2026-09-17 11:28:07,721 - INFO - Project ctest-TestBasicPolicy-81535436 not found, creating it
2026-09-17 11:28:08,241 - INFO - Created Project:ctest-TestBasicPolicy-81535436, ID : ebf60bc0-e951-40bc-a0e0-11e1e58f9153
2026-09-17 11:28:09,949 - INFO - ================================================================================
2026-09-17 11:28:09,950 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 11:28:09,950 - 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-17 11:28:10,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.25': '0'}} with
2026-09-17 11:28:10,211 - INFO - Initial checks done. Running the testcase now
2026-09-17 11:28:10,211 - INFO -
2026-09-17 11:28:10,855 - DEBUG - Response for create_network : {'network': {'id': '1db81247-5061-4197-8c45-0681e181bcb4', 'name': 'ctest-vn-88231475', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-88231475'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 11:28:11,043 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feebd34a-e3e0-48b9-862a-d6aee7ad28c0', 'name': '', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'network_id': '1db81247-5061-4197-8c45-0681e181bcb4', 'ip_version': 4, 'cidr': '129.23.253.192/26', 'allocation_pools': [{'start': '129.23.253.194', 'end': '129.23.253.254'}], 'gateway_ip': '129.23.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.23.253.194', 'tags': [], 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153'}}
2026-09-17 11:28:11,066 - INFO - Created VN ctest-vn-88231475
2026-09-17 11:28:11,122 - DEBUG - VN ctest-vn-88231475 UUID is 1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:11,455 - DEBUG - Response for create_network : {'network': {'id': 'd874d3eb-b9b6-4005-9a06-9a3f45707200', 'name': 'ctest-vn-55897897', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-55897897'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 11:28:11,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '781ab807-e6ce-4ec1-b787-fe76ba90fba3', 'name': '', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'network_id': 'd874d3eb-b9b6-4005-9a06-9a3f45707200', 'ip_version': 4, 'cidr': '212.185.161.128/26', 'allocation_pools': [{'start': '212.185.161.130', 'end': '212.185.161.190'}], 'gateway_ip': '212.185.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.185.161.130', 'tags': [], 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153'}}
2026-09-17 11:28:11,681 - INFO - Created VN ctest-vn-55897897
2026-09-17 11:28:11,734 - DEBUG - VN ctest-vn-55897897 UUID is d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:11,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475, 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-81535436:ctest-vn-55897897, 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-17 11:28:12,206 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1db81247-5061-4197-8c45-0681e181bcb4', 'name': 'ctest-vn-88231475', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['feebd34a-e3e0-48b9-862a-d6aee7ad28c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-88231475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539']], 'subnet_ipam': [{'subnet_cidr': '129.23.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 11:28:12,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd874d3eb-b9b6-4005-9a06-9a3f45707200', 'name': 'ctest-vn-55897897', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['781ab807-e6ce-4ec1-b787-fe76ba90fba3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-55897897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539']], 'subnet_ipam': [{'subnet_cidr': '212.185.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 11:28:12,634 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-17 11:28:12,971 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-17 11:28:13,012 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3
2026-09-17 11:28:13,030 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153
2026-09-17 11:28:13,125 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:13,142 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:13,154 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298
2026-09-17 11:28:13,164 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298
2026-09-17 11:28:13,174 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/907c8b0f-86ea-4529-9791-4179a6095143
2026-09-17 11:28:13,184 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 11:28:13,184 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:13,196 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298
2026-09-17 11:28:13,215 - INFO - Verified VN network id 12 for VN 1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:13,215 - INFO - Verifications in API Server for VN ctest-vn-88231475 passed
2026-09-17 11:28:13,215 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:13,226 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298
2026-09-17 11:28:13,234 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298
2026-09-17 11:28:13,242 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/907c8b0f-86ea-4529-9791-4179a6095143
2026-09-17 11:28:13,255 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81535436', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2141481720315199895', 'uuid-lslong': '10107492093606870196'}, 'enable': 'true', 'created': '2026-09-17T11:28:10', 'last-modified': '2026-09-17T11:28:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084000'}
2026-09-17 11:28:13,265 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 11:28:13,265 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88231475 passed
2026-09-17 11:28:13,265 - DEBUG - ====Verifying policy data for ctest-vn-88231475 in API_Server ======
2026-09-17 11:28:13,265 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-17 11:28:13,271 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3
2026-09-17 11:28:13,283 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153
2026-09-17 11:28:13,363 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4
2026-09-17 11:28:13,377 - DEBUG - ==>Verifying data for policy with id: bbfb5819-a35e-42ec-a0fb-0c57b22da177, fqn: ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539']
2026-09-17 11:28:13,377 - INFO - VN ctest-vn-88231475 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 11:28:13,377 - DEBUG - Verifying the vn in opserver
2026-09-17 11:28:13,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475 virtual network link through opserver 10.0.0.188
2026-09-17 11:28:13,378 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-09-17 11:28:13,710 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-09-17 11:28:13,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475?flat'}
2026-09-17 11:28:13,771 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475 is found in opserver
2026-09-17 11:28:13,783 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 11:28:13,790 - DEBUG - VRF ids for VN ctest-vn-88231475: {}
2026-09-17 11:28:13,790 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-17 11:28:13,797 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3
2026-09-17 11:28:13,808 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153
2026-09-17 11:28:13,886 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:13,902 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:13,915 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7
2026-09-17 11:28:13,923 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7
2026-09-17 11:28:13,933 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/2201b916-1fb3-4c6f-a969-b7d7c7ed2800
2026-09-17 11:28:13,944 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 11:28:13,944 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:13,956 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7
2026-09-17 11:28:13,976 - INFO - Verified VN network id 13 for VN d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:13,976 - INFO - Verifications in API Server for VN ctest-vn-55897897 passed
2026-09-17 11:28:13,976 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:13,987 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7
2026-09-17 11:28:13,997 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7
2026-09-17 11:28:14,007 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/2201b916-1fb3-4c6f-a969-b7d7c7ed2800
2026-09-17 11:28:14,023 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81535436', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15597324418877374469', 'uuid-lslong': '11098727928239780352'}, 'enable': 'true', 'created': '2026-09-17T11:28:11', 'last-modified': '2026-09-17T11:28:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.593788'}
2026-09-17 11:28:14,030 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 11:28:14,030 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55897897 passed
2026-09-17 11:28:14,030 - DEBUG - ====Verifying policy data for ctest-vn-55897897 in API_Server ======
2026-09-17 11:28:14,031 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-17 11:28:14,038 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3
2026-09-17 11:28:14,051 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153
2026-09-17 11:28:14,145 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200
2026-09-17 11:28:14,159 - DEBUG - ==>Verifying data for policy with id: bbfb5819-a35e-42ec-a0fb-0c57b22da177, fqn: ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539']
2026-09-17 11:28:14,159 - INFO - VN ctest-vn-55897897 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 11:28:14,159 - DEBUG - Verifying the vn in opserver
2026-09-17 11:28:14,159 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897 virtual network link through opserver 10.0.0.188
2026-09-17 11:28:14,159 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-09-17 11:28:14,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897?flat'}
2026-09-17 11:28:14,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897 is found in opserver
2026-09-17 11:28:14,183 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 11:28:14,189 - DEBUG - VRF ids for VN ctest-vn-55897897: {}
2026-09-17 11:28:14,250 - DEBUG - Services list from nova: [