2026-01-26 02:07:59,968 - INFO - Domain Default found not creating
2026-01-26 02:08:00,144 - INFO - Project ctest-TestBasicPolicy-66346458 not found, creating it
2026-01-26 02:08:00,612 - INFO - Created Project:ctest-TestBasicPolicy-66346458, ID : 536fcdea-58af-4605-977c-f7664dd46def
2026-01-26 02:08:02,196 - INFO - ================================================================================
2026-01-26 02:08:02,197 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-26 02:08:02,197 - 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-01-26 02:08:02,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-01-26 02:08:02,464 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:08:02,464 - INFO -
2026-01-26 02:08:03,039 - DEBUG - Response for create_network : {'network': {'id': 'b39f116a-9b4e-4ed1-89d1-06a6772e547f', 'name': 'ctest-vn-77687459', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-77687459'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:08:03,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '84ad82e6-107b-40d1-bac3-026889bb7a1b', 'name': '', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'network_id': 'b39f116a-9b4e-4ed1-89d1-06a6772e547f', 'ip_version': 4, 'cidr': '184.69.212.192/26', 'allocation_pools': [{'start': '184.69.212.194', 'end': '184.69.212.254'}], 'gateway_ip': '184.69.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.69.212.194', 'tags': [], 'project_id': '536fcdea58af4605977cf7664dd46def'}}
2026-01-26 02:08:03,271 - INFO - Created VN ctest-vn-77687459
2026-01-26 02:08:03,322 - DEBUG - VN ctest-vn-77687459 UUID is b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:03,616 - DEBUG - Response for create_network : {'network': {'id': '16f23feb-2acf-433c-9d14-40cd73f07b43', 'name': 'ctest-vn-19142144', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-19142144'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:08:03,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '184c93b7-6f10-4215-a92f-7b79483bc825', 'name': '', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'network_id': '16f23feb-2acf-433c-9d14-40cd73f07b43', 'ip_version': 4, 'cidr': '112.46.56.0/26', 'allocation_pools': [{'start': '112.46.56.2', 'end': '112.46.56.62'}], 'gateway_ip': '112.46.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.46.56.2', 'tags': [], 'project_id': '536fcdea58af4605977cf7664dd46def'}}
2026-01-26 02:08:03,803 - INFO - Created VN ctest-vn-19142144
2026-01-26 02:08:03,854 - DEBUG - VN ctest-vn-19142144 UUID is 16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:04,010 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459, 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-66346458:ctest-vn-19142144, 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-01-26 02:08:04,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b39f116a-9b4e-4ed1-89d1-06a6772e547f', 'name': 'ctest-vn-77687459', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84ad82e6-107b-40d1-bac3-026889bb7a1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-77687459'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750']], 'subnet_ipam': [{'subnet_cidr': '184.69.212.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:08:04,513 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16f23feb-2acf-433c-9d14-40cd73f07b43', 'name': 'ctest-vn-19142144', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['184c93b7-6f10-4215-a92f-7b79483bc825'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-19142144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750']], 'subnet_ipam': [{'subnet_cidr': '112.46.56.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:08:04,666 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-26 02:08:04,975 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-26 02:08:05,010 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04
2026-01-26 02:08:05,023 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def
2026-01-26 02:08:05,118 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:05,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:05,138 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f
2026-01-26 02:08:05,145 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f
2026-01-26 02:08:05,151 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1e552185-23c3-431c-b121-8b974a8634a3
2026-01-26 02:08:05,157 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 02:08:05,157 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:05,164 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f
2026-01-26 02:08:05,179 - INFO - Verified VN network id 11 for VN b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:05,179 - INFO - Verifications in API Server for VN ctest-vn-77687459 passed
2026-01-26 02:08:05,179 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:05,188 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f
2026-01-26 02:08:05,194 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f
2026-01-26 02:08:05,200 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1e552185-23c3-431c-b121-8b974a8634a3
2026-01-26 02:08:05,210 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66346458', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12943083003655900881', 'uuid-lslong': '9930725965362517119'}, 'enable': 'true', 'created': '2026-01-26T02:08:03', 'last-modified': '2026-01-26T02:08:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933289'}
2026-01-26 02:08:05,218 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 02:08:05,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77687459 passed
2026-01-26 02:08:05,218 - DEBUG - ====Verifying policy data for ctest-vn-77687459 in API_Server ======
2026-01-26 02:08:05,218 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-26 02:08:05,224 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04
2026-01-26 02:08:05,234 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def
2026-01-26 02:08:05,307 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f
2026-01-26 02:08:05,316 - DEBUG - ==>Verifying data for policy with id: ab1c27fa-3f75-4d41-ac95-3151394b9107, fqn: ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750']
2026-01-26 02:08:05,316 - INFO - VN ctest-vn-77687459 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 02:08:05,316 - DEBUG - Verifying the vn in opserver
2026-01-26 02:08:05,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459 virtual network link through opserver 10.0.0.249
2026-01-26 02:08:05,316 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-26 02:08:05,618 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-26 02:08:05,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459?flat'}
2026-01-26 02:08:05,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459 is found in opserver
2026-01-26 02:08:05,692 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 02:08:05,697 - DEBUG - VRF ids for VN ctest-vn-77687459: {}
2026-01-26 02:08:05,697 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-26 02:08:05,702 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04
2026-01-26 02:08:05,713 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def
2026-01-26 02:08:05,785 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:05,797 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:05,806 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6
2026-01-26 02:08:05,813 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6
2026-01-26 02:08:05,820 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/afb289d7-f258-4dfb-9243-74dc7766155e
2026-01-26 02:08:05,828 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 02:08:05,828 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:05,837 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6
2026-01-26 02:08:05,851 - INFO - Verified VN network id 12 for VN 16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:05,851 - INFO - Verifications in API Server for VN ctest-vn-19142144 passed
2026-01-26 02:08:05,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:05,860 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6
2026-01-26 02:08:05,867 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6
2026-01-26 02:08:05,873 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/afb289d7-f258-4dfb-9243-74dc7766155e
2026-01-26 02:08:05,884 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66346458', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1653454292466484028', 'uuid-lslong': '11318743014646512451'}, 'enable': 'true', 'created': '2026-01-26T02:08:03', 'last-modified': '2026-01-26T02:08:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391598'}
2026-01-26 02:08:05,890 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 02:08:05,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19142144 passed
2026-01-26 02:08:05,890 - DEBUG - ====Verifying policy data for ctest-vn-19142144 in API_Server ======
2026-01-26 02:08:05,890 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-26 02:08:05,896 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04
2026-01-26 02:08:05,908 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def
2026-01-26 02:08:05,978 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43
2026-01-26 02:08:05,986 - DEBUG - ==>Verifying data for policy with id: ab1c27fa-3f75-4d41-ac95-3151394b9107, fqn: ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750']
2026-01-26 02:08:05,987 - INFO - VN ctest-vn-19142144 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 02:08:05,987 - DEBUG - Verifying the vn in opserver
2026-01-26 02:08:05,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144 virtual network link through opserver 10.0.0.249
2026-01-26 02:08:05,987 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-26 02:08:05,996 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144?flat'}
2026-01-26 02:08:05,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144 is found in opserver
2026-01-26 02:08:06,005 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 02:08:06,009 - DEBUG - VRF ids for VN ctest-vn-19142144: {}
2026-01-26 02:08:06,073 - DEBUG - Services list from nova: [