2026-02-20 16:37:05,374 - INFO - Domain Default found not creating
2026-02-20 16:37:05,564 - INFO - Project ctest-TestBasicPolicy-99525717 not found, creating it
2026-02-20 16:37:06,061 - INFO - Created Project:ctest-TestBasicPolicy-99525717, ID : 3dc10e4e-12f5-4458-b39b-401e8d1cb768
2026-02-20 16:37:08,336 - INFO - ================================================================================
2026-02-20 16:37:08,337 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 16:37:08,337 - 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-02-20 16:37:08,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2026-02-20 16:37:08,592 - INFO - Initial checks done. Running the testcase now
2026-02-20 16:37:08,592 - INFO -
2026-02-20 16:37:09,192 - DEBUG - Response for create_network : {'network': {'id': '2e0ab8f4-d66c-492a-a323-0c07ff6e1edd', 'name': 'ctest-vn-82021764', 'tenant_id': '3dc10e4e12f54458b39b401e8d1cb768', 'project_id': '3dc10e4e12f54458b39b401e8d1cb768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-vn-82021764'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:37:09,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a52523c-f832-47d4-a298-ec0fb4b2d9dc', 'name': '', 'tenant_id': '3dc10e4e12f54458b39b401e8d1cb768', 'network_id': '2e0ab8f4-d66c-492a-a323-0c07ff6e1edd', 'ip_version': 4, 'cidr': '75.150.67.192/26', 'allocation_pools': [{'start': '75.150.67.194', 'end': '75.150.67.254'}], 'gateway_ip': '75.150.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.150.67.194', 'tags': [], 'project_id': '3dc10e4e12f54458b39b401e8d1cb768'}}
2026-02-20 16:37:09,371 - INFO - Created VN ctest-vn-82021764
2026-02-20 16:37:09,426 - DEBUG - VN ctest-vn-82021764 UUID is 2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:09,755 - DEBUG - Response for create_network : {'network': {'id': '869c1df9-36bd-4046-9093-ee7491eb7e1c', 'name': 'ctest-vn-82236598', 'tenant_id': '3dc10e4e12f54458b39b401e8d1cb768', 'project_id': '3dc10e4e12f54458b39b401e8d1cb768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-vn-82236598'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:37:09,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '456f54e0-be25-44ca-850e-5e30c48328fd', 'name': '', 'tenant_id': '3dc10e4e12f54458b39b401e8d1cb768', 'network_id': '869c1df9-36bd-4046-9093-ee7491eb7e1c', 'ip_version': 4, 'cidr': '211.97.238.192/26', 'allocation_pools': [{'start': '211.97.238.194', 'end': '211.97.238.254'}], 'gateway_ip': '211.97.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.97.238.194', 'tags': [], 'project_id': '3dc10e4e12f54458b39b401e8d1cb768'}}
2026-02-20 16:37:10,013 - INFO - Created VN ctest-vn-82236598
2026-02-20 16:37:10,070 - DEBUG - VN ctest-vn-82236598 UUID is 869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:10,205 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82021764, 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-99525717:ctest-vn-82236598, 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-02-20 16:37:10,517 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e0ab8f4-d66c-492a-a323-0c07ff6e1edd', 'name': 'ctest-vn-82021764', 'tenant_id': '3dc10e4e12f54458b39b401e8d1cb768', 'project_id': '3dc10e4e12f54458b39b401e8d1cb768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a52523c-f832-47d4-a298-ec0fb4b2d9dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-vn-82021764'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-policy-allow-all-87418286']], 'subnet_ipam': [{'subnet_cidr': '75.150.67.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:37:10,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '869c1df9-36bd-4046-9093-ee7491eb7e1c', 'name': 'ctest-vn-82236598', 'tenant_id': '3dc10e4e12f54458b39b401e8d1cb768', 'project_id': '3dc10e4e12f54458b39b401e8d1cb768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['456f54e0-be25-44ca-850e-5e30c48328fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-vn-82236598'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-policy-allow-all-87418286']], 'subnet_ipam': [{'subnet_cidr': '211.97.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:37:10,938 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 16:37:11,237 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 16:37:11,273 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3c3e4f8e-a7d8-4313-b79c-7898a952a7f8
2026-02-20 16:37:11,287 - DEBUG - Requesting: http://10.0.0.50:8082/project/3dc10e4e-12f5-4458-b39b-401e8d1cb768
2026-02-20 16:37:11,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:11,374 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:11,385 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20b10169-dca3-4871-a80e-87a9b218c8a5
2026-02-20 16:37:11,395 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20b10169-dca3-4871-a80e-87a9b218c8a5
2026-02-20 16:37:11,403 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/30b9aeb0-8be5-4e97-a270-17fe9cf4db2a
2026-02-20 16:37:11,411 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 16:37:11,411 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:11,420 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20b10169-dca3-4871-a80e-87a9b218c8a5
2026-02-20 16:37:11,439 - INFO - Verified VN network id 12 for VN 2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:11,439 - INFO - Verifications in API Server for VN ctest-vn-82021764 passed
2026-02-20 16:37:11,439 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:11,449 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20b10169-dca3-4871-a80e-87a9b218c8a5
2026-02-20 16:37:11,459 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20b10169-dca3-4871-a80e-87a9b218c8a5
2026-02-20 16:37:11,468 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/30b9aeb0-8be5-4e97-a270-17fe9cf4db2a
2026-02-20 16:37:11,483 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82021764', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99525717', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3317667437220743466', 'uuid-lslong': '11755252680856837853'}, 'enable': 'true', 'created': '2026-02-20T16:37:09', 'last-modified': '2026-02-20T16:37:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986587'}
2026-02-20 16:37:11,489 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 16:37:11,490 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82021764 passed
2026-02-20 16:37:11,490 - DEBUG - ====Verifying policy data for ctest-vn-82021764 in API_Server ======
2026-02-20 16:37:11,490 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 16:37:11,497 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3c3e4f8e-a7d8-4313-b79c-7898a952a7f8
2026-02-20 16:37:11,509 - DEBUG - Requesting: http://10.0.0.50:8082/project/3dc10e4e-12f5-4458-b39b-401e8d1cb768
2026-02-20 16:37:11,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e0ab8f4-d66c-492a-a323-0c07ff6e1edd
2026-02-20 16:37:11,596 - DEBUG - ==>Verifying data for policy with id: 19e2e43b-5bd7-4c69-8d1f-b838a2cbf420, fqn: ['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-policy-allow-all-87418286']
2026-02-20 16:37:11,596 - INFO - VN ctest-vn-82021764 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 16:37:11,596 - DEBUG - Verifying the vn in opserver
2026-02-20 16:37:11,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82021764 virtual network link through opserver 10.0.0.50
2026-02-20 16:37:11,596 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-20 16:37:11,897 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-20 16:37:11,974 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82021764', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82021764?flat'}
2026-02-20 16:37:11,974 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82021764 is found in opserver
2026-02-20 16:37:11,986 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 16:37:11,991 - DEBUG - VRF ids for VN ctest-vn-82021764: {}
2026-02-20 16:37:11,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 16:37:11,998 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3c3e4f8e-a7d8-4313-b79c-7898a952a7f8
2026-02-20 16:37:12,010 - DEBUG - Requesting: http://10.0.0.50:8082/project/3dc10e4e-12f5-4458-b39b-401e8d1cb768
2026-02-20 16:37:12,081 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:12,093 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:12,103 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/64b38001-1cd8-42c0-9ccb-ffa5cfc7ac60
2026-02-20 16:37:12,111 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/64b38001-1cd8-42c0-9ccb-ffa5cfc7ac60
2026-02-20 16:37:12,119 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eb1b0b76-66fc-490c-947a-02b89b24ebd0
2026-02-20 16:37:12,127 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 16:37:12,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:12,137 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/64b38001-1cd8-42c0-9ccb-ffa5cfc7ac60
2026-02-20 16:37:12,152 - INFO - Verified VN network id 13 for VN 869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:12,152 - INFO - Verifications in API Server for VN ctest-vn-82236598 passed
2026-02-20 16:37:12,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:12,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/64b38001-1cd8-42c0-9ccb-ffa5cfc7ac60
2026-02-20 16:37:12,171 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/64b38001-1cd8-42c0-9ccb-ffa5cfc7ac60
2026-02-20 16:37:12,179 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eb1b0b76-66fc-490c-947a-02b89b24ebd0
2026-02-20 16:37:12,193 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82236598', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99525717', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9699660653651640390', 'uuid-lslong': '10417932547469835804'}, 'enable': 'true', 'created': '2026-02-20T16:37:09', 'last-modified': '2026-02-20T16:37:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453659'}
2026-02-20 16:37:12,199 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 16:37:12,199 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82236598 passed
2026-02-20 16:37:12,199 - DEBUG - ====Verifying policy data for ctest-vn-82236598 in API_Server ======
2026-02-20 16:37:12,199 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 16:37:12,206 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3c3e4f8e-a7d8-4313-b79c-7898a952a7f8
2026-02-20 16:37:12,216 - DEBUG - Requesting: http://10.0.0.50:8082/project/3dc10e4e-12f5-4458-b39b-401e8d1cb768
2026-02-20 16:37:12,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/869c1df9-36bd-4046-9093-ee7491eb7e1c
2026-02-20 16:37:12,300 - DEBUG - ==>Verifying data for policy with id: 19e2e43b-5bd7-4c69-8d1f-b838a2cbf420, fqn: ['default-domain', 'ctest-TestBasicPolicy-99525717', 'ctest-policy-allow-all-87418286']
2026-02-20 16:37:12,300 - INFO - VN ctest-vn-82236598 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 16:37:12,300 - DEBUG - Verifying the vn in opserver
2026-02-20 16:37:12,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82236598 virtual network link through opserver 10.0.0.50
2026-02-20 16:37:12,300 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-20 16:37:12,311 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82236598', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82236598?flat'}
2026-02-20 16:37:12,311 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99525717:ctest-vn-82236598 is found in opserver
2026-02-20 16:37:12,323 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 16:37:12,328 - DEBUG - VRF ids for VN ctest-vn-82236598: {}
2026-02-20 16:37:12,394 - DEBUG - Services list from nova: [