2026-01-28 21:07:58,494 - INFO - Domain Default found not creating
2026-01-28 21:07:58,948 - INFO - Project ctest-TestBasicPolicy-63234082 not found, creating it
2026-01-28 21:07:59,698 - INFO - Created Project:ctest-TestBasicPolicy-63234082, ID : 4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f
2026-01-28 21:08:01,096 - INFO - ================================================================================
2026-01-28 21:08:01,096 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-28 21:08:01,096 - 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-28 21:08:01,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with
2026-01-28 21:08:01,349 - INFO - Initial checks done. Running the testcase now
2026-01-28 21:08:01,349 - INFO -
2026-01-28 21:08:01,867 - DEBUG - Response for create_network : {'network': {'id': '5d4ea065-8ebe-496f-877a-5861b4ce5903', 'name': 'ctest-vn-55310090', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-55310090'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 21:08:02,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '57e429db-46cc-4ceb-a58a-b0da8653daa7', 'name': '', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'network_id': '5d4ea065-8ebe-496f-877a-5861b4ce5903', 'ip_version': 4, 'cidr': '142.78.107.128/26', 'allocation_pools': [{'start': '142.78.107.130', 'end': '142.78.107.190'}], 'gateway_ip': '142.78.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.78.107.130', 'tags': [], 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f'}}
2026-01-28 21:08:02,066 - INFO - Created VN ctest-vn-55310090
2026-01-28 21:08:02,115 - DEBUG - VN ctest-vn-55310090 UUID is 5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:02,414 - DEBUG - Response for create_network : {'network': {'id': '48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8', 'name': 'ctest-vn-34419633', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-34419633'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 21:08:02,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e75d9b44-e3f3-4336-ae20-a1909c3d2940', 'name': '', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'network_id': '48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8', 'ip_version': 4, 'cidr': '138.23.124.192/26', 'allocation_pools': [{'start': '138.23.124.194', 'end': '138.23.124.254'}], 'gateway_ip': '138.23.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.23.124.194', 'tags': [], 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f'}}
2026-01-28 21:08:02,645 - INFO - Created VN ctest-vn-34419633
2026-01-28 21:08:02,695 - DEBUG - VN ctest-vn-34419633 UUID is 48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:02,839 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090, 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-63234082:ctest-vn-34419633, 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-28 21:08:03,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d4ea065-8ebe-496f-877a-5861b4ce5903', 'name': 'ctest-vn-55310090', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57e429db-46cc-4ceb-a58a-b0da8653daa7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-55310090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796']], 'subnet_ipam': [{'subnet_cidr': '142.78.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 21:08:03,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8', 'name': 'ctest-vn-34419633', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e75d9b44-e3f3-4336-ae20-a1909c3d2940'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-34419633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796']], 'subnet_ipam': [{'subnet_cidr': '138.23.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 21:08:03,504 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-28 21:08:03,803 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-28 21:08:03,837 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc
2026-01-28 21:08:03,848 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f
2026-01-28 21:08:03,918 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:03,928 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:03,936 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709
2026-01-28 21:08:03,943 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709
2026-01-28 21:08:03,948 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/b45a2cc5-ebf0-4237-b5f3-3ed266c30c3f
2026-01-28 21:08:03,953 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 21:08:03,954 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:03,961 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709
2026-01-28 21:08:03,971 - INFO - Verified VN network id 11 for VN 5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:03,971 - INFO - Verifications in API Server for VN ctest-vn-55310090 passed
2026-01-28 21:08:03,971 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:03,979 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709
2026-01-28 21:08:03,985 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709
2026-01-28 21:08:03,990 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/b45a2cc5-ebf0-4237-b5f3-3ed266c30c3f
2026-01-28 21:08:03,999 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63234082', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6723487651757705583', 'uuid-lslong': '9762212318947465475'}, 'enable': 'true', 'created': '2026-01-28T21:08:01', 'last-modified': '2026-01-28T21:08:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893173'}
2026-01-28 21:08:04,004 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 21:08:04,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55310090 passed
2026-01-28 21:08:04,005 - DEBUG - ====Verifying policy data for ctest-vn-55310090 in API_Server ======
2026-01-28 21:08:04,005 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-28 21:08:04,009 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc
2026-01-28 21:08:04,019 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f
2026-01-28 21:08:04,091 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903
2026-01-28 21:08:04,099 - DEBUG - ==>Verifying data for policy with id: 1098fd63-aff0-4cc9-ac56-e5da5596892a, fqn: ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796']
2026-01-28 21:08:04,099 - INFO - VN ctest-vn-55310090 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 21:08:04,099 - DEBUG - Verifying the vn in opserver
2026-01-28 21:08:04,099 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090 virtual network link through opserver 10.0.0.241
2026-01-28 21:08:04,099 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-28 21:08:04,392 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-28 21:08:04,448 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090?flat'}
2026-01-28 21:08:04,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090 is found in opserver
2026-01-28 21:08:04,457 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 21:08:04,461 - DEBUG - VRF ids for VN ctest-vn-55310090: {}
2026-01-28 21:08:04,461 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-28 21:08:04,466 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc
2026-01-28 21:08:04,476 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f
2026-01-28 21:08:04,548 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:04,558 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:04,566 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4
2026-01-28 21:08:04,571 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4
2026-01-28 21:08:04,577 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9cae9c06-7820-43ef-840d-83ba36d66ac2
2026-01-28 21:08:04,582 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 21:08:04,582 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:04,589 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4
2026-01-28 21:08:04,600 - INFO - Verified VN network id 12 for VN 48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:04,600 - INFO - Verifications in API Server for VN ctest-vn-34419633 passed
2026-01-28 21:08:04,600 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:04,608 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4
2026-01-28 21:08:04,613 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4
2026-01-28 21:08:04,618 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9cae9c06-7820-43ef-840d-83ba36d66ac2
2026-01-28 21:08:04,628 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63234082', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5246507701055735096', 'uuid-lslong': '13177582189502651640'}, 'enable': 'true', 'created': '2026-01-28T21:08:02', 'last-modified': '2026-01-28T21:08:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296956'}
2026-01-28 21:08:04,633 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 21:08:04,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34419633 passed
2026-01-28 21:08:04,633 - DEBUG - ====Verifying policy data for ctest-vn-34419633 in API_Server ======
2026-01-28 21:08:04,633 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-28 21:08:04,638 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc
2026-01-28 21:08:04,647 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f
2026-01-28 21:08:04,720 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8
2026-01-28 21:08:04,729 - DEBUG - ==>Verifying data for policy with id: 1098fd63-aff0-4cc9-ac56-e5da5596892a, fqn: ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796']
2026-01-28 21:08:04,729 - INFO - VN ctest-vn-34419633 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 21:08:04,729 - DEBUG - Verifying the vn in opserver
2026-01-28 21:08:04,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633 virtual network link through opserver 10.0.0.241
2026-01-28 21:08:04,729 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-28 21:08:04,738 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633?flat'}
2026-01-28 21:08:04,738 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633 is found in opserver
2026-01-28 21:08:04,749 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 21:08:04,754 - DEBUG - VRF ids for VN ctest-vn-34419633: {}
2026-01-28 21:08:04,809 - DEBUG - Services list from nova: [