2026-06-17 15:24:23,015 - INFO - Domain Default found not creating
2026-06-17 15:24:23,150 - INFO - Project ctest-TestBasicPolicy-75146738 not found, creating it
2026-06-17 15:24:23,600 - INFO - Created Project:ctest-TestBasicPolicy-75146738, ID : c519e3ea-c0cf-4d92-af73-694f2c5507c4
2026-06-17 15:24:25,198 - INFO - ================================================================================
2026-06-17 15:24:25,199 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-17 15:24:25,199 - 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-17 15:24:25,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-17 15:24:25,457 - INFO - Initial checks done. Running the testcase now
2026-06-17 15:24:25,458 - INFO -
2026-06-17 15:24:26,061 - DEBUG - Response for create_network : {'network': {'id': '71fc23ea-bd52-445c-816d-97e6a651785c', 'name': 'ctest-vn-14021889', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-14021889'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 15:24:26,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '95cd386c-9dac-4633-a7ec-89ed6739813d', 'name': '', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'network_id': '71fc23ea-bd52-445c-816d-97e6a651785c', 'ip_version': 4, 'cidr': '159.31.65.64/26', 'allocation_pools': [{'start': '159.31.65.66', 'end': '159.31.65.126'}], 'gateway_ip': '159.31.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.31.65.66', 'tags': [], 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4'}}
2026-06-17 15:24:26,248 - INFO - Created VN ctest-vn-14021889
2026-06-17 15:24:26,300 - DEBUG - VN ctest-vn-14021889 UUID is 71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:26,610 - DEBUG - Response for create_network : {'network': {'id': 'c1a54e9d-9593-463e-95fe-d4febe423385', 'name': 'ctest-vn-07925787', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-07925787'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 15:24:26,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fea16dfb-2de8-4ad5-9d39-d5a4c60eeb4e', 'name': '', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'network_id': 'c1a54e9d-9593-463e-95fe-d4febe423385', 'ip_version': 4, 'cidr': '79.174.85.192/26', 'allocation_pools': [{'start': '79.174.85.194', 'end': '79.174.85.254'}], 'gateway_ip': '79.174.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.174.85.194', 'tags': [], 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4'}}
2026-06-17 15:24:26,782 - INFO - Created VN ctest-vn-07925787
2026-06-17 15:24:26,832 - DEBUG - VN ctest-vn-07925787 UUID is c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:26,976 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889, 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-75146738:ctest-vn-07925787, 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-17 15:24:27,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71fc23ea-bd52-445c-816d-97e6a651785c', 'name': 'ctest-vn-14021889', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95cd386c-9dac-4633-a7ec-89ed6739813d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-14021889'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822']], 'subnet_ipam': [{'subnet_cidr': '159.31.65.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 15:24:27,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1a54e9d-9593-463e-95fe-d4febe423385', 'name': 'ctest-vn-07925787', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fea16dfb-2de8-4ad5-9d39-d5a4c60eeb4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-07925787'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822']], 'subnet_ipam': [{'subnet_cidr': '79.174.85.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 15:24:27,656 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-17 15:24:28,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-17 15:24:28,053 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c
2026-06-17 15:24:28,065 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4
2026-06-17 15:24:28,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:28,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:28,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd
2026-06-17 15:24:28,173 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd
2026-06-17 15:24:28,179 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a0cc1d26-b398-48bc-ad1d-c14bc0463d2c
2026-06-17 15:24:28,185 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 15:24:28,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:28,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd
2026-06-17 15:24:28,207 - INFO - Verified VN network id 10 for VN 71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:28,207 - INFO - Verifications in API Server for VN ctest-vn-14021889 passed
2026-06-17 15:24:28,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:28,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd
2026-06-17 15:24:28,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd
2026-06-17 15:24:28,227 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a0cc1d26-b398-48bc-ad1d-c14bc0463d2c
2026-06-17 15:24:28,239 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75146738', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8213479311522546780', 'uuid-lslong': '9326277420242794588'}, 'enable': 'true', 'created': '2026-06-17T15:24:26', 'last-modified': '2026-06-17T15:24:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999179'}
2026-06-17 15:24:28,245 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 15:24:28,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14021889 passed
2026-06-17 15:24:28,245 - DEBUG - ====Verifying policy data for ctest-vn-14021889 in API_Server ======
2026-06-17 15:24:28,245 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-17 15:24:28,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c
2026-06-17 15:24:28,260 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4
2026-06-17 15:24:28,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c
2026-06-17 15:24:28,344 - DEBUG - ==>Verifying data for policy with id: f48c1d26-6dbc-4677-9389-41b111ad05c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822']
2026-06-17 15:24:28,344 - INFO - VN ctest-vn-14021889 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 15:24:28,344 - DEBUG - Verifying the vn in opserver
2026-06-17 15:24:28,345 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889 virtual network link through opserver 10.0.0.38
2026-06-17 15:24:28,345 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-17 15:24:28,705 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-17 15:24:28,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889?flat'}
2026-06-17 15:24:28,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889 is found in opserver
2026-06-17 15:24:28,773 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 15:24:28,778 - DEBUG - VRF ids for VN ctest-vn-14021889: {}
2026-06-17 15:24:28,778 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-17 15:24:28,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c
2026-06-17 15:24:28,796 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4
2026-06-17 15:24:28,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:28,880 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:28,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c
2026-06-17 15:24:28,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c
2026-06-17 15:24:28,900 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/afde9fdb-0234-45bc-9530-9e9e5b285327
2026-06-17 15:24:28,905 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 15:24:28,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:28,913 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c
2026-06-17 15:24:28,926 - INFO - Verified VN network id 11 for VN c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:28,926 - INFO - Verifications in API Server for VN ctest-vn-07925787 passed
2026-06-17 15:24:28,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:28,934 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c
2026-06-17 15:24:28,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c
2026-06-17 15:24:28,947 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/afde9fdb-0234-45bc-9530-9e9e5b285327
2026-06-17 15:24:28,958 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75146738', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13953645459203638846', 'uuid-lslong': '10808310346314560389'}, 'enable': 'true', 'created': '2026-06-17T15:24:26', 'last-modified': '2026-06-17T15:24:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492864'}
2026-06-17 15:24:28,971 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 15:24:28,971 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07925787 passed
2026-06-17 15:24:28,971 - DEBUG - ====Verifying policy data for ctest-vn-07925787 in API_Server ======
2026-06-17 15:24:28,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-17 15:24:28,976 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c
2026-06-17 15:24:28,986 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4
2026-06-17 15:24:29,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385
2026-06-17 15:24:29,070 - DEBUG - ==>Verifying data for policy with id: f48c1d26-6dbc-4677-9389-41b111ad05c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822']
2026-06-17 15:24:29,070 - INFO - VN ctest-vn-07925787 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 15:24:29,070 - DEBUG - Verifying the vn in opserver
2026-06-17 15:24:29,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787 virtual network link through opserver 10.0.0.38
2026-06-17 15:24:29,070 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-17 15:24:29,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787?flat'}
2026-06-17 15:24:29,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787 is found in opserver
2026-06-17 15:24:29,088 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 15:24:29,092 - DEBUG - VRF ids for VN ctest-vn-07925787: {}
2026-06-17 15:24:29,153 - DEBUG - Services list from nova: [