2026-06-19 18:39:32,621 - INFO - Domain Default found not creating
2026-06-19 18:39:32,751 - INFO - Project ctest-TestBasicPolicy-88447155 not found, creating it
2026-06-19 18:39:33,172 - INFO - Created Project:ctest-TestBasicPolicy-88447155, ID : c11a3586-1062-48c3-bfde-5401c1b64246
2026-06-19 18:39:34,700 - INFO - ================================================================================
2026-06-19 18:39:34,700 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 18:39:34,700 - 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-19 18:39:34,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-19 18:39:34,963 - INFO - Initial checks done. Running the testcase now
2026-06-19 18:39:34,963 - INFO -
2026-06-19 18:39:35,504 - DEBUG - Response for create_network : {'network': {'id': '18782b26-2ced-408b-8da1-9062eacf8f5b', 'name': 'ctest-vn-53716905', 'tenant_id': 'c11a3586106248c3bfde5401c1b64246', 'project_id': 'c11a3586106248c3bfde5401c1b64246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-vn-53716905'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:39:35,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '700fa54d-6db5-4c5d-a86e-1fdfb3a029dd', 'name': '', 'tenant_id': 'c11a3586106248c3bfde5401c1b64246', 'network_id': '18782b26-2ced-408b-8da1-9062eacf8f5b', 'ip_version': 4, 'cidr': '91.245.16.0/26', 'allocation_pools': [{'start': '91.245.16.2', 'end': '91.245.16.62'}], 'gateway_ip': '91.245.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.245.16.2', 'tags': [], 'project_id': 'c11a3586106248c3bfde5401c1b64246'}}
2026-06-19 18:39:35,669 - INFO - Created VN ctest-vn-53716905
2026-06-19 18:39:35,718 - DEBUG - VN ctest-vn-53716905 UUID is 18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:36,009 - DEBUG - Response for create_network : {'network': {'id': '0ba06c82-7162-4f91-ab4c-1fdb28c19282', 'name': 'ctest-vn-37291259', 'tenant_id': 'c11a3586106248c3bfde5401c1b64246', 'project_id': 'c11a3586106248c3bfde5401c1b64246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-vn-37291259'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:39:36,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a2cc3e0-2fdc-4e01-b302-4d763dd6da15', 'name': '', 'tenant_id': 'c11a3586106248c3bfde5401c1b64246', 'network_id': '0ba06c82-7162-4f91-ab4c-1fdb28c19282', 'ip_version': 4, 'cidr': '190.215.70.64/26', 'allocation_pools': [{'start': '190.215.70.66', 'end': '190.215.70.126'}], 'gateway_ip': '190.215.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.215.70.66', 'tags': [], 'project_id': 'c11a3586106248c3bfde5401c1b64246'}}
2026-06-19 18:39:36,189 - INFO - Created VN ctest-vn-37291259
2026-06-19 18:39:36,238 - DEBUG - VN ctest-vn-37291259 UUID is 0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:36,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-53716905, 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-88447155:ctest-vn-37291259, 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-19 18:39:36,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18782b26-2ced-408b-8da1-9062eacf8f5b', 'name': 'ctest-vn-53716905', 'tenant_id': 'c11a3586106248c3bfde5401c1b64246', 'project_id': 'c11a3586106248c3bfde5401c1b64246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['700fa54d-6db5-4c5d-a86e-1fdfb3a029dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-vn-53716905'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-policy-allow-all-19138389']], 'subnet_ipam': [{'subnet_cidr': '91.245.16.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:39:36,874 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ba06c82-7162-4f91-ab4c-1fdb28c19282', 'name': 'ctest-vn-37291259', 'tenant_id': 'c11a3586106248c3bfde5401c1b64246', 'project_id': 'c11a3586106248c3bfde5401c1b64246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a2cc3e0-2fdc-4e01-b302-4d763dd6da15'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-vn-37291259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-policy-allow-all-19138389']], 'subnet_ipam': [{'subnet_cidr': '190.215.70.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:39:37,030 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 18:39:37,346 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 18:39:37,370 - DEBUG - Requesting: http://10.0.0.38:8082/domain/59e02c44-3caf-4add-bbe6-4f309eb01408
2026-06-19 18:39:37,381 - DEBUG - Requesting: http://10.0.0.38:8082/project/c11a3586-1062-48c3-bfde-5401c1b64246
2026-06-19 18:39:37,451 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:37,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:37,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/986e6436-fcbe-4228-8ec6-be4e09f49de9
2026-06-19 18:39:37,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/986e6436-fcbe-4228-8ec6-be4e09f49de9
2026-06-19 18:39:37,489 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4fab6d86-a55f-4c5d-ab3e-70afd2a4cd15
2026-06-19 18:39:37,496 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 18:39:37,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:37,505 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/986e6436-fcbe-4228-8ec6-be4e09f49de9
2026-06-19 18:39:37,518 - INFO - Verified VN network id 12 for VN 18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:37,518 - INFO - Verifications in API Server for VN ctest-vn-53716905 passed
2026-06-19 18:39:37,519 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:37,528 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/986e6436-fcbe-4228-8ec6-be4e09f49de9
2026-06-19 18:39:37,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/986e6436-fcbe-4228-8ec6-be4e09f49de9
2026-06-19 18:39:37,542 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4fab6d86-a55f-4c5d-ab3e-70afd2a4cd15
2026-06-19 18:39:37,555 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-53716905', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88447155', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1763206697078046859', 'uuid-lslong': '10205596985118920539'}, 'enable': 'true', 'created': '2026-06-19T18:39:35', 'last-modified': '2026-06-19T18:39:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920774'}
2026-06-19 18:39:37,561 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 18:39:37,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53716905 passed
2026-06-19 18:39:37,561 - DEBUG - ====Verifying policy data for ctest-vn-53716905 in API_Server ======
2026-06-19 18:39:37,561 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 18:39:37,566 - DEBUG - Requesting: http://10.0.0.38:8082/domain/59e02c44-3caf-4add-bbe6-4f309eb01408
2026-06-19 18:39:37,576 - DEBUG - Requesting: http://10.0.0.38:8082/project/c11a3586-1062-48c3-bfde-5401c1b64246
2026-06-19 18:39:37,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18782b26-2ced-408b-8da1-9062eacf8f5b
2026-06-19 18:39:37,656 - DEBUG - ==>Verifying data for policy with id: 8df57938-7d4b-426f-9564-1c519439ab00, fqn: ['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-policy-allow-all-19138389']
2026-06-19 18:39:37,656 - INFO - VN ctest-vn-53716905 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 18:39:37,656 - DEBUG - Verifying the vn in opserver
2026-06-19 18:39:37,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-53716905 virtual network link through opserver 10.0.0.38
2026-06-19 18:39:37,656 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-19 18:39:37,970 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-19 18:39:38,015 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-53716905', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-53716905?flat'}
2026-06-19 18:39:38,015 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-53716905 is found in opserver
2026-06-19 18:39:38,024 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 18:39:38,029 - DEBUG - VRF ids for VN ctest-vn-53716905: {}
2026-06-19 18:39:38,029 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 18:39:38,034 - DEBUG - Requesting: http://10.0.0.38:8082/domain/59e02c44-3caf-4add-bbe6-4f309eb01408
2026-06-19 18:39:38,042 - DEBUG - Requesting: http://10.0.0.38:8082/project/c11a3586-1062-48c3-bfde-5401c1b64246
2026-06-19 18:39:38,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:38,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:38,130 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/15014386-d381-4449-af4d-5f8a9e473021
2026-06-19 18:39:38,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/15014386-d381-4449-af4d-5f8a9e473021
2026-06-19 18:39:38,141 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1151f192-f24e-4ed4-84f6-1ad5cef02a80
2026-06-19 18:39:38,146 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 18:39:38,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:38,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/15014386-d381-4449-af4d-5f8a9e473021
2026-06-19 18:39:38,168 - INFO - Verified VN network id 13 for VN 0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:38,168 - INFO - Verifications in API Server for VN ctest-vn-37291259 passed
2026-06-19 18:39:38,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:38,176 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/15014386-d381-4449-af4d-5f8a9e473021
2026-06-19 18:39:38,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/15014386-d381-4449-af4d-5f8a9e473021
2026-06-19 18:39:38,189 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1151f192-f24e-4ed4-84f6-1ad5cef02a80
2026-06-19 18:39:38,199 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-37291259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88447155', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '837788838194728849', 'uuid-lslong': '12343275704857760386'}, 'enable': 'true', 'created': '2026-06-19T18:39:35', 'last-modified': '2026-06-19T18:39:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353724'}
2026-06-19 18:39:38,204 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 18:39:38,204 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37291259 passed
2026-06-19 18:39:38,204 - DEBUG - ====Verifying policy data for ctest-vn-37291259 in API_Server ======
2026-06-19 18:39:38,205 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 18:39:38,211 - DEBUG - Requesting: http://10.0.0.38:8082/domain/59e02c44-3caf-4add-bbe6-4f309eb01408
2026-06-19 18:39:38,220 - DEBUG - Requesting: http://10.0.0.38:8082/project/c11a3586-1062-48c3-bfde-5401c1b64246
2026-06-19 18:39:38,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ba06c82-7162-4f91-ab4c-1fdb28c19282
2026-06-19 18:39:38,295 - DEBUG - ==>Verifying data for policy with id: 8df57938-7d4b-426f-9564-1c519439ab00, fqn: ['default-domain', 'ctest-TestBasicPolicy-88447155', 'ctest-policy-allow-all-19138389']
2026-06-19 18:39:38,295 - INFO - VN ctest-vn-37291259 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 18:39:38,295 - DEBUG - Verifying the vn in opserver
2026-06-19 18:39:38,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-37291259 virtual network link through opserver 10.0.0.38
2026-06-19 18:39:38,295 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-19 18:39:38,304 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-37291259', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-37291259?flat'}
2026-06-19 18:39:38,304 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88447155:ctest-vn-37291259 is found in opserver
2026-06-19 18:39:38,312 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 18:39:38,315 - DEBUG - VRF ids for VN ctest-vn-37291259: {}
2026-06-19 18:39:38,364 - DEBUG - Services list from nova: [