2026-01-30 10:17:34,616 - INFO - Domain Default found not creating
2026-01-30 10:17:34,778 - INFO - Project ctest-TestBasicPolicy-87383952 not found, creating it
2026-01-30 10:17:35,238 - INFO - Created Project:ctest-TestBasicPolicy-87383952, ID : 910a21a7-2be4-4f0e-aedb-fdaed17e4da4
2026-01-30 10:17:36,736 - INFO - ================================================================================
2026-01-30 10:17:36,736 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-30 10:17:36,736 - 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-30 10:17:36,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-01-30 10:17:36,991 - INFO - Initial checks done. Running the testcase now
2026-01-30 10:17:36,991 - INFO -
2026-01-30 10:17:37,545 - DEBUG - Response for create_network : {'network': {'id': '845abd3a-0c32-48e0-a347-52736ebc2139', 'name': 'ctest-vn-05231430', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-05231430'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 10:17:37,765 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1b26e6e-6c57-4355-932c-519896a3fff4', 'name': '', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'network_id': '845abd3a-0c32-48e0-a347-52736ebc2139', 'ip_version': 4, 'cidr': '104.247.255.0/26', 'allocation_pools': [{'start': '104.247.255.2', 'end': '104.247.255.62'}], 'gateway_ip': '104.247.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.247.255.2', 'tags': [], 'project_id': '910a21a72be44f0eaedbfdaed17e4da4'}}
2026-01-30 10:17:37,786 - INFO - Created VN ctest-vn-05231430
2026-01-30 10:17:37,839 - DEBUG - VN ctest-vn-05231430 UUID is 845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:38,173 - DEBUG - Response for create_network : {'network': {'id': 'c058d7e8-9d6e-44c9-bb5a-1c559a147441', 'name': 'ctest-vn-64855485', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-64855485'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 10:17:38,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d6ecc51-b473-4b2e-995a-f8168e2a3dc1', 'name': '', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'network_id': 'c058d7e8-9d6e-44c9-bb5a-1c559a147441', 'ip_version': 4, 'cidr': '156.100.13.64/26', 'allocation_pools': [{'start': '156.100.13.66', 'end': '156.100.13.126'}], 'gateway_ip': '156.100.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.100.13.66', 'tags': [], 'project_id': '910a21a72be44f0eaedbfdaed17e4da4'}}
2026-01-30 10:17:38,361 - INFO - Created VN ctest-vn-64855485
2026-01-30 10:17:38,415 - DEBUG - VN ctest-vn-64855485 UUID is c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:38,567 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430, 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-87383952:ctest-vn-64855485, 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-30 10:17:38,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '845abd3a-0c32-48e0-a347-52736ebc2139', 'name': 'ctest-vn-05231430', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1b26e6e-6c57-4355-932c-519896a3fff4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-05231430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299']], 'subnet_ipam': [{'subnet_cidr': '104.247.255.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 10:17:39,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c058d7e8-9d6e-44c9-bb5a-1c559a147441', 'name': 'ctest-vn-64855485', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d6ecc51-b473-4b2e-995a-f8168e2a3dc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-64855485'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299']], 'subnet_ipam': [{'subnet_cidr': '156.100.13.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 10:17:39,251 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-30 10:17:39,548 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-30 10:17:39,577 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c
2026-01-30 10:17:39,590 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4
2026-01-30 10:17:39,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:39,670 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:39,679 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45
2026-01-30 10:17:39,686 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45
2026-01-30 10:17:39,693 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a3aa75e0-6a8b-4fe8-a65b-471a6fcb6d95
2026-01-30 10:17:39,699 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 10:17:39,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:39,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45
2026-01-30 10:17:39,724 - INFO - Verified VN network id 11 for VN 845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:39,724 - INFO - Verifications in API Server for VN ctest-vn-05231430 passed
2026-01-30 10:17:39,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:39,734 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45
2026-01-30 10:17:39,740 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45
2026-01-30 10:17:39,747 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a3aa75e0-6a8b-4fe8-a65b-471a6fcb6d95
2026-01-30 10:17:39,761 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87383952', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9537143217920821472', 'uuid-lslong': '11765463207261249849'}, 'enable': 'true', 'created': '2026-01-30T10:17:37', 'last-modified': '2026-01-30T10:17:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927348'}
2026-01-30 10:17:39,767 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 10:17:39,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05231430 passed
2026-01-30 10:17:39,767 - DEBUG - ====Verifying policy data for ctest-vn-05231430 in API_Server ======
2026-01-30 10:17:39,767 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-30 10:17:39,772 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c
2026-01-30 10:17:39,785 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4
2026-01-30 10:17:39,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139
2026-01-30 10:17:39,867 - DEBUG - ==>Verifying data for policy with id: 5f065ac2-89ea-4339-b104-f00801d7587c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299']
2026-01-30 10:17:39,867 - INFO - VN ctest-vn-05231430 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 10:17:39,867 - DEBUG - Verifying the vn in opserver
2026-01-30 10:17:39,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430 virtual network link through opserver 10.0.0.50
2026-01-30 10:17:39,867 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-30 10:17:40,159 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-30 10:17:40,221 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430?flat'}
2026-01-30 10:17:40,221 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430 is found in opserver
2026-01-30 10:17:40,231 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 10:17:40,235 - DEBUG - VRF ids for VN ctest-vn-05231430: {}
2026-01-30 10:17:40,235 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-30 10:17:40,240 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c
2026-01-30 10:17:40,250 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4
2026-01-30 10:17:40,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:40,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:40,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282
2026-01-30 10:17:40,344 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282
2026-01-30 10:17:40,351 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98fa1519-e6c4-4404-aabf-f810a0b13bce
2026-01-30 10:17:40,358 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 10:17:40,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:40,367 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282
2026-01-30 10:17:40,381 - INFO - Verified VN network id 12 for VN c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:40,381 - INFO - Verifications in API Server for VN ctest-vn-64855485 passed
2026-01-30 10:17:40,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:40,390 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282
2026-01-30 10:17:40,397 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282
2026-01-30 10:17:40,403 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98fa1519-e6c4-4404-aabf-f810a0b13bce
2026-01-30 10:17:40,413 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87383952', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13860065247306335433', 'uuid-lslong': '13500133986979312705'}, 'enable': 'true', 'created': '2026-01-30T10:17:38', 'last-modified': '2026-01-30T10:17:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350837'}
2026-01-30 10:17:40,420 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 10:17:40,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64855485 passed
2026-01-30 10:17:40,420 - DEBUG - ====Verifying policy data for ctest-vn-64855485 in API_Server ======
2026-01-30 10:17:40,420 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-30 10:17:40,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c
2026-01-30 10:17:40,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4
2026-01-30 10:17:40,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441
2026-01-30 10:17:40,511 - DEBUG - ==>Verifying data for policy with id: 5f065ac2-89ea-4339-b104-f00801d7587c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299']
2026-01-30 10:17:40,511 - INFO - VN ctest-vn-64855485 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 10:17:40,511 - DEBUG - Verifying the vn in opserver
2026-01-30 10:17:40,511 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485 virtual network link through opserver 10.0.0.50
2026-01-30 10:17:40,511 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-30 10:17:40,520 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485?flat'}
2026-01-30 10:17:40,520 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485 is found in opserver
2026-01-30 10:17:40,530 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 10:17:40,535 - DEBUG - VRF ids for VN ctest-vn-64855485: {}
2026-01-30 10:17:40,589 - DEBUG - Services list from nova: [