2026-05-20 08:11:24,830 - INFO - Domain Default found not creating
2026-05-20 08:11:25,002 - INFO - Project ctest-TestBasicPolicy-35023775 not found, creating it
2026-05-20 08:11:25,443 - INFO - Created Project:ctest-TestBasicPolicy-35023775, ID : d9255b1a-1bab-40d4-bcbb-b55f2dcb4a60
2026-05-20 08:11:26,921 - INFO - ================================================================================
2026-05-20 08:11:26,921 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-20 08:11:26,921 - 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-05-20 08:11:27,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-05-20 08:11:27,174 - INFO - Initial checks done. Running the testcase now
2026-05-20 08:11:27,174 - INFO -
2026-05-20 08:11:27,728 - DEBUG - Response for create_network : {'network': {'id': 'e470f8a3-89ab-4121-ac1b-1053e425e579', 'name': 'ctest-vn-44472548', 'tenant_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'project_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-vn-44472548'], 'port_security_enabled': True, 'description': ''}}
2026-05-20 08:11:27,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd281dcd-ff6e-49cd-9fd4-487574a74c43', 'name': '', 'tenant_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'network_id': 'e470f8a3-89ab-4121-ac1b-1053e425e579', 'ip_version': 4, 'cidr': '57.103.88.64/26', 'allocation_pools': [{'start': '57.103.88.66', 'end': '57.103.88.126'}], 'gateway_ip': '57.103.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.103.88.66', 'tags': [], 'project_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60'}}
2026-05-20 08:11:27,956 - INFO - Created VN ctest-vn-44472548
2026-05-20 08:11:28,009 - DEBUG - VN ctest-vn-44472548 UUID is e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:28,309 - DEBUG - Response for create_network : {'network': {'id': '23db3752-349c-404c-9339-e786b570e56b', 'name': 'ctest-vn-09237398', 'tenant_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'project_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-vn-09237398'], 'port_security_enabled': True, 'description': ''}}
2026-05-20 08:11:28,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '5da01267-414a-4d9d-89c7-8a9159d552de', 'name': '', 'tenant_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'network_id': '23db3752-349c-404c-9339-e786b570e56b', 'ip_version': 4, 'cidr': '65.37.92.0/26', 'allocation_pools': [{'start': '65.37.92.2', 'end': '65.37.92.62'}], 'gateway_ip': '65.37.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.37.92.2', 'tags': [], 'project_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60'}}
2026-05-20 08:11:28,496 - INFO - Created VN ctest-vn-09237398
2026-05-20 08:11:28,553 - DEBUG - VN ctest-vn-09237398 UUID is 23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:28,704 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-44472548, 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-35023775:ctest-vn-09237398, 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-05-20 08:11:28,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e470f8a3-89ab-4121-ac1b-1053e425e579', 'name': 'ctest-vn-44472548', 'tenant_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'project_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd281dcd-ff6e-49cd-9fd4-487574a74c43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-vn-44472548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-policy-allow-all-41838198']], 'subnet_ipam': [{'subnet_cidr': '57.103.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-20 08:11:29,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23db3752-349c-404c-9339-e786b570e56b', 'name': 'ctest-vn-09237398', 'tenant_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'project_id': 'd9255b1a1bab40d4bcbbb55f2dcb4a60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5da01267-414a-4d9d-89c7-8a9159d552de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-vn-09237398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-policy-allow-all-41838198']], 'subnet_ipam': [{'subnet_cidr': '65.37.92.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-20 08:11:29,393 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-05-20 08:11:29,686 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-05-20 08:11:29,717 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e3ce85a5-f5d1-4737-8cdd-53bfbfa75820
2026-05-20 08:11:29,729 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9255b1a-1bab-40d4-bcbb-b55f2dcb4a60
2026-05-20 08:11:29,801 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:29,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:29,827 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4f00728b-aded-4d77-ae2d-948822722d46
2026-05-20 08:11:29,835 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4f00728b-aded-4d77-ae2d-948822722d46
2026-05-20 08:11:29,843 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/49a5eca0-7e52-4861-81c3-8eee074ad3b0
2026-05-20 08:11:29,851 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-20 08:11:29,851 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:29,861 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4f00728b-aded-4d77-ae2d-948822722d46
2026-05-20 08:11:29,875 - INFO - Verified VN network id 10 for VN e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:29,875 - INFO - Verifications in API Server for VN ctest-vn-44472548 passed
2026-05-20 08:11:29,875 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:29,883 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4f00728b-aded-4d77-ae2d-948822722d46
2026-05-20 08:11:29,890 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4f00728b-aded-4d77-ae2d-948822722d46
2026-05-20 08:11:29,899 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/49a5eca0-7e52-4861-81c3-8eee074ad3b0
2026-05-20 08:11:29,911 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-44472548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35023775', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16460930019312222497', 'uuid-lslong': '12401523951390811513'}, 'enable': 'true', 'created': '2026-05-20T08:11:27', 'last-modified': '2026-05-20T08:11:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936011'}
2026-05-20 08:11:29,917 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-20 08:11:29,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44472548 passed
2026-05-20 08:11:29,918 - DEBUG - ====Verifying policy data for ctest-vn-44472548 in API_Server ======
2026-05-20 08:11:29,918 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-05-20 08:11:29,923 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e3ce85a5-f5d1-4737-8cdd-53bfbfa75820
2026-05-20 08:11:29,933 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9255b1a-1bab-40d4-bcbb-b55f2dcb4a60
2026-05-20 08:11:30,002 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e470f8a3-89ab-4121-ac1b-1053e425e579
2026-05-20 08:11:30,011 - DEBUG - ==>Verifying data for policy with id: fba3ec16-aa2f-46e8-8628-3a4544401a9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-policy-allow-all-41838198']
2026-05-20 08:11:30,011 - INFO - VN ctest-vn-44472548 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-20 08:11:30,011 - DEBUG - Verifying the vn in opserver
2026-05-20 08:11:30,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-44472548 virtual network link through opserver 10.0.0.22
2026-05-20 08:11:30,011 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-05-20 08:11:30,304 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-05-20 08:11:30,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-44472548', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-44472548?flat'}
2026-05-20 08:11:30,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-44472548 is found in opserver
2026-05-20 08:11:30,374 - DEBUG - Do not have enough data to verify VN in agent
2026-05-20 08:11:30,379 - DEBUG - VRF ids for VN ctest-vn-44472548: {}
2026-05-20 08:11:30,379 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-05-20 08:11:30,385 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e3ce85a5-f5d1-4737-8cdd-53bfbfa75820
2026-05-20 08:11:30,395 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9255b1a-1bab-40d4-bcbb-b55f2dcb4a60
2026-05-20 08:11:30,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:30,478 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:30,488 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef26ff85-45d4-45c6-a58e-6457d2b7e85f
2026-05-20 08:11:30,496 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef26ff85-45d4-45c6-a58e-6457d2b7e85f
2026-05-20 08:11:30,503 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/05c86dac-238f-4747-967d-027853946f3b
2026-05-20 08:11:30,509 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-20 08:11:30,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:30,517 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef26ff85-45d4-45c6-a58e-6457d2b7e85f
2026-05-20 08:11:30,532 - INFO - Verified VN network id 11 for VN 23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:30,533 - INFO - Verifications in API Server for VN ctest-vn-09237398 passed
2026-05-20 08:11:30,533 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:30,542 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef26ff85-45d4-45c6-a58e-6457d2b7e85f
2026-05-20 08:11:30,549 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef26ff85-45d4-45c6-a58e-6457d2b7e85f
2026-05-20 08:11:30,556 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/05c86dac-238f-4747-967d-027853946f3b
2026-05-20 08:11:30,569 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-09237398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35023775', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2583719637436612684', 'uuid-lslong': '10608764963003622763'}, 'enable': 'true', 'created': '2026-05-20T08:11:28', 'last-modified': '2026-05-20T08:11:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362025'}
2026-05-20 08:11:30,577 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-20 08:11:30,577 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09237398 passed
2026-05-20 08:11:30,577 - DEBUG - ====Verifying policy data for ctest-vn-09237398 in API_Server ======
2026-05-20 08:11:30,577 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-05-20 08:11:30,583 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e3ce85a5-f5d1-4737-8cdd-53bfbfa75820
2026-05-20 08:11:30,596 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9255b1a-1bab-40d4-bcbb-b55f2dcb4a60
2026-05-20 08:11:30,665 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23db3752-349c-404c-9339-e786b570e56b
2026-05-20 08:11:30,674 - DEBUG - ==>Verifying data for policy with id: fba3ec16-aa2f-46e8-8628-3a4544401a9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-35023775', 'ctest-policy-allow-all-41838198']
2026-05-20 08:11:30,674 - INFO - VN ctest-vn-09237398 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-20 08:11:30,674 - DEBUG - Verifying the vn in opserver
2026-05-20 08:11:30,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-09237398 virtual network link through opserver 10.0.0.22
2026-05-20 08:11:30,674 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-05-20 08:11:30,684 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-09237398', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-09237398?flat'}
2026-05-20 08:11:30,684 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35023775:ctest-vn-09237398 is found in opserver
2026-05-20 08:11:30,694 - DEBUG - Do not have enough data to verify VN in agent
2026-05-20 08:11:30,698 - DEBUG - VRF ids for VN ctest-vn-09237398: {}
2026-05-20 08:11:30,757 - DEBUG - Services list from nova: [