2026-02-17 11:10:49,290 - INFO - Domain Default found not creating
2026-02-17 11:10:49,541 - INFO - Project ctest-TestBasicPolicy-89053783 not found, creating it
2026-02-17 11:10:50,109 - INFO - Created Project:ctest-TestBasicPolicy-89053783, ID : 9eb65f19-50bb-4dec-937f-1df2e6a4abe9
2026-02-17 11:10:52,030 - INFO - ================================================================================
2026-02-17 11:10:52,030 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-17 11:10:52,030 - 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-17 11:10:52,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-17 11:10:52,312 - INFO - Initial checks done. Running the testcase now
2026-02-17 11:10:52,313 - INFO -
2026-02-17 11:10:53,008 - DEBUG - Response for create_network : {'network': {'id': 'f2defa18-3c7f-4496-baa9-cb1d1a0c544e', 'name': 'ctest-vn-78780767', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-78780767'], 'port_security_enabled': True, 'description': ''}}
2026-02-17 11:10:53,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee708fb0-de6b-4ace-97d6-ed9a7b4703b0', 'name': '', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'network_id': 'f2defa18-3c7f-4496-baa9-cb1d1a0c544e', 'ip_version': 4, 'cidr': '214.2.156.192/26', 'allocation_pools': [{'start': '214.2.156.194', 'end': '214.2.156.254'}], 'gateway_ip': '214.2.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.2.156.194', 'tags': [], 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9'}}
2026-02-17 11:10:53,206 - INFO - Created VN ctest-vn-78780767
2026-02-17 11:10:53,264 - DEBUG - VN ctest-vn-78780767 UUID is f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:53,708 - DEBUG - Response for create_network : {'network': {'id': '1a4445fc-7a7a-4eaf-a87e-ba945c9d757e', 'name': 'ctest-vn-11024748', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-11024748'], 'port_security_enabled': True, 'description': ''}}
2026-02-17 11:10:53,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '93a7c269-f842-40c4-9515-24003f38a4ef', 'name': '', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'network_id': '1a4445fc-7a7a-4eaf-a87e-ba945c9d757e', 'ip_version': 4, 'cidr': '108.177.37.128/26', 'allocation_pools': [{'start': '108.177.37.130', 'end': '108.177.37.190'}], 'gateway_ip': '108.177.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.177.37.130', 'tags': [], 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9'}}
2026-02-17 11:10:54,002 - INFO - Created VN ctest-vn-11024748
2026-02-17 11:10:54,060 - DEBUG - VN ctest-vn-11024748 UUID is 1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:54,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767, 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-89053783:ctest-vn-11024748, 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-17 11:10:54,551 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2defa18-3c7f-4496-baa9-cb1d1a0c544e', 'name': 'ctest-vn-78780767', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee708fb0-de6b-4ace-97d6-ed9a7b4703b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-78780767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115']], 'subnet_ipam': [{'subnet_cidr': '214.2.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-17 11:10:54,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a4445fc-7a7a-4eaf-a87e-ba945c9d757e', 'name': 'ctest-vn-11024748', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93a7c269-f842-40c4-9515-24003f38a4ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-11024748'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115']], 'subnet_ipam': [{'subnet_cidr': '108.177.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-17 11:10:54,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 11:10:55,283 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 11:10:55,334 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00
2026-02-17 11:10:55,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9
2026-02-17 11:10:55,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:55,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:55,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c
2026-02-17 11:10:55,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c
2026-02-17 11:10:55,505 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2dd91d05-fdca-4671-acc3-26eae7e6d430
2026-02-17 11:10:55,513 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-17 11:10:55,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:55,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c
2026-02-17 11:10:55,541 - INFO - Verified VN network id 11 for VN f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:55,541 - INFO - Verifications in API Server for VN ctest-vn-78780767 passed
2026-02-17 11:10:55,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:55,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c
2026-02-17 11:10:55,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c
2026-02-17 11:10:55,570 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2dd91d05-fdca-4671-acc3-26eae7e6d430
2026-02-17 11:10:55,585 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89053783', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17500700184009458838', 'uuid-lslong': '13450505087970202702'}, 'enable': 'true', 'created': '2026-02-17T11:10:52', 'last-modified': '2026-02-17T11:10:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061799'}
2026-02-17 11:10:55,593 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-17 11:10:55,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78780767 passed
2026-02-17 11:10:55,594 - DEBUG - ====Verifying policy data for ctest-vn-78780767 in API_Server ======
2026-02-17 11:10:55,594 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 11:10:55,600 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00
2026-02-17 11:10:55,619 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9
2026-02-17 11:10:55,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e
2026-02-17 11:10:55,718 - DEBUG - ==>Verifying data for policy with id: e46cfefa-48f8-4345-bcb9-67ee873489db, fqn: ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115']
2026-02-17 11:10:55,718 - INFO - VN ctest-vn-78780767 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-17 11:10:55,718 - DEBUG - Verifying the vn in opserver
2026-02-17 11:10:55,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767 virtual network link through opserver 10.0.0.38
2026-02-17 11:10:55,718 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-17 11:10:56,024 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-17 11:10:56,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767?flat'}
2026-02-17 11:10:56,096 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767 is found in opserver
2026-02-17 11:10:56,108 - DEBUG - Do not have enough data to verify VN in agent
2026-02-17 11:10:56,117 - DEBUG - VRF ids for VN ctest-vn-78780767: {}
2026-02-17 11:10:56,117 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 11:10:56,124 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00
2026-02-17 11:10:56,138 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9
2026-02-17 11:10:56,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:56,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:56,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad
2026-02-17 11:10:56,252 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad
2026-02-17 11:10:56,259 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a528b7d-4303-481e-b465-07e7d7700e62
2026-02-17 11:10:56,266 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-17 11:10:56,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:56,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad
2026-02-17 11:10:56,294 - INFO - Verified VN network id 12 for VN 1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:56,294 - INFO - Verifications in API Server for VN ctest-vn-11024748 passed
2026-02-17 11:10:56,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:56,303 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad
2026-02-17 11:10:56,313 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad
2026-02-17 11:10:56,322 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a528b7d-4303-481e-b465-07e7d7700e62
2026-02-17 11:10:56,338 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89053783', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1892714694091361967', 'uuid-lslong': '12141346791809185150'}, 'enable': 'true', 'created': '2026-02-17T11:10:53', 'last-modified': '2026-02-17T11:10:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547746'}
2026-02-17 11:10:56,346 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-17 11:10:56,346 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11024748 passed
2026-02-17 11:10:56,346 - DEBUG - ====Verifying policy data for ctest-vn-11024748 in API_Server ======
2026-02-17 11:10:56,346 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 11:10:56,355 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00
2026-02-17 11:10:56,372 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9
2026-02-17 11:10:56,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e
2026-02-17 11:10:56,482 - DEBUG - ==>Verifying data for policy with id: e46cfefa-48f8-4345-bcb9-67ee873489db, fqn: ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115']
2026-02-17 11:10:56,482 - INFO - VN ctest-vn-11024748 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-17 11:10:56,482 - DEBUG - Verifying the vn in opserver
2026-02-17 11:10:56,482 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748 virtual network link through opserver 10.0.0.38
2026-02-17 11:10:56,482 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-17 11:10:56,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748?flat'}
2026-02-17 11:10:56,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748 is found in opserver
2026-02-17 11:10:56,511 - DEBUG - Do not have enough data to verify VN in agent
2026-02-17 11:10:56,518 - DEBUG - VRF ids for VN ctest-vn-11024748: {}
2026-02-17 11:10:56,601 - DEBUG - Services list from nova: [