2026-01-16 15:25:56,407 - INFO - Domain Default found not creating
2026-01-16 15:25:56,619 - INFO - Project ctest-TestBasicPolicy-99556923 not found, creating it
2026-01-16 15:25:57,135 - INFO - Created Project:ctest-TestBasicPolicy-99556923, ID : bb490361-04b3-46d0-b958-d080aa08cf89
2026-01-16 15:25:58,726 - INFO - ================================================================================
2026-01-16 15:25:58,726 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-16 15:25:58,726 - 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-16 15:25:58,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-16 15:25:58,989 - INFO - Initial checks done. Running the testcase now
2026-01-16 15:25:58,989 - INFO -
2026-01-16 15:25:59,560 - DEBUG - Response for create_network : {'network': {'id': 'fbead019-941c-41f3-b770-9d4a782a5394', 'name': 'ctest-vn-37336103', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-37336103'], 'port_security_enabled': True, 'description': ''}}
2026-01-16 15:25:59,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '33d3d402-86e5-4166-925a-bd1c10ac29b0', 'name': '', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'network_id': 'fbead019-941c-41f3-b770-9d4a782a5394', 'ip_version': 4, 'cidr': '65.141.2.64/26', 'allocation_pools': [{'start': '65.141.2.66', 'end': '65.141.2.126'}], 'gateway_ip': '65.141.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.141.2.66', 'tags': [], 'project_id': 'bb49036104b346d0b958d080aa08cf89'}}
2026-01-16 15:25:59,740 - INFO - Created VN ctest-vn-37336103
2026-01-16 15:25:59,794 - DEBUG - VN ctest-vn-37336103 UUID is fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:00,102 - DEBUG - Response for create_network : {'network': {'id': 'a9937b79-9b67-4f50-b9cc-042bd3ef1aaa', 'name': 'ctest-vn-35837798', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-35837798'], 'port_security_enabled': True, 'description': ''}}
2026-01-16 15:26:00,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '02203ed2-c039-44dc-adb4-6eabfff572c5', 'name': '', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'network_id': 'a9937b79-9b67-4f50-b9cc-042bd3ef1aaa', 'ip_version': 4, 'cidr': '98.139.119.128/26', 'allocation_pools': [{'start': '98.139.119.130', 'end': '98.139.119.190'}], 'gateway_ip': '98.139.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.139.119.130', 'tags': [], 'project_id': 'bb49036104b346d0b958d080aa08cf89'}}
2026-01-16 15:26:00,328 - INFO - Created VN ctest-vn-35837798
2026-01-16 15:26:00,386 - DEBUG - VN ctest-vn-35837798 UUID is a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:00,527 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103, 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-99556923:ctest-vn-35837798, 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-16 15:26:00,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbead019-941c-41f3-b770-9d4a782a5394', 'name': 'ctest-vn-37336103', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33d3d402-86e5-4166-925a-bd1c10ac29b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-37336103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563']], 'subnet_ipam': [{'subnet_cidr': '65.141.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-16 15:26:01,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9937b79-9b67-4f50-b9cc-042bd3ef1aaa', 'name': 'ctest-vn-35837798', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02203ed2-c039-44dc-adb4-6eabfff572c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-35837798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563']], 'subnet_ipam': [{'subnet_cidr': '98.139.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-16 15:26:01,246 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 15:26:01,545 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 15:26:01,579 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304
2026-01-16 15:26:01,593 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89
2026-01-16 15:26:01,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:01,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:01,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1
2026-01-16 15:26:01,702 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1
2026-01-16 15:26:01,712 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9e417ef-0738-4cb0-851b-8b30913be5ce
2026-01-16 15:26:01,722 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-16 15:26:01,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:01,733 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1
2026-01-16 15:26:01,752 - INFO - Verified VN network id 11 for VN fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:01,752 - INFO - Verifications in API Server for VN ctest-vn-37336103 passed
2026-01-16 15:26:01,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:01,763 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1
2026-01-16 15:26:01,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1
2026-01-16 15:26:01,782 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9e417ef-0738-4cb0-851b-8b30913be5ce
2026-01-16 15:26:01,796 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99556923', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18152550056347845107', 'uuid-lslong': '13218237849501586324'}, 'enable': 'true', 'created': '2026-01-16T15:25:59', 'last-modified': '2026-01-16T15:26:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979116'}
2026-01-16 15:26:01,803 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-16 15:26:01,804 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37336103 passed
2026-01-16 15:26:01,804 - DEBUG - ====Verifying policy data for ctest-vn-37336103 in API_Server ======
2026-01-16 15:26:01,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 15:26:01,811 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304
2026-01-16 15:26:01,824 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89
2026-01-16 15:26:01,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394
2026-01-16 15:26:01,911 - DEBUG - ==>Verifying data for policy with id: 5544b675-98a1-41a4-b3d7-49d74f622ffc, fqn: ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563']
2026-01-16 15:26:01,911 - INFO - VN ctest-vn-37336103 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-16 15:26:01,911 - DEBUG - Verifying the vn in opserver
2026-01-16 15:26:01,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103 virtual network link through opserver 10.0.0.38
2026-01-16 15:26:01,911 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-16 15:26:02,222 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-16 15:26:02,302 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103?flat'}
2026-01-16 15:26:02,302 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103 is found in opserver
2026-01-16 15:26:02,315 - DEBUG - Do not have enough data to verify VN in agent
2026-01-16 15:26:02,320 - DEBUG - VRF ids for VN ctest-vn-37336103: {}
2026-01-16 15:26:02,320 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 15:26:02,327 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304
2026-01-16 15:26:02,342 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89
2026-01-16 15:26:02,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:02,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:02,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f
2026-01-16 15:26:02,458 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f
2026-01-16 15:26:02,466 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6b8f3ef9-5340-4f5e-be4d-a24ffd8a7ef0
2026-01-16 15:26:02,475 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-16 15:26:02,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:02,486 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f
2026-01-16 15:26:02,505 - INFO - Verified VN network id 12 for VN a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:02,505 - INFO - Verifications in API Server for VN ctest-vn-35837798 passed
2026-01-16 15:26:02,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:02,518 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f
2026-01-16 15:26:02,527 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f
2026-01-16 15:26:02,536 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6b8f3ef9-5340-4f5e-be4d-a24ffd8a7ef0
2026-01-16 15:26:02,549 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99556923', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12219245976214785872', 'uuid-lslong': '13388080378551409322'}, 'enable': 'true', 'created': '2026-01-16T15:26:00', 'last-modified': '2026-01-16T15:26:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487692'}
2026-01-16 15:26:02,555 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-16 15:26:02,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35837798 passed
2026-01-16 15:26:02,556 - DEBUG - ====Verifying policy data for ctest-vn-35837798 in API_Server ======
2026-01-16 15:26:02,556 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 15:26:02,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304
2026-01-16 15:26:02,579 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89
2026-01-16 15:26:02,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa
2026-01-16 15:26:02,674 - DEBUG - ==>Verifying data for policy with id: 5544b675-98a1-41a4-b3d7-49d74f622ffc, fqn: ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563']
2026-01-16 15:26:02,674 - INFO - VN ctest-vn-35837798 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-16 15:26:02,674 - DEBUG - Verifying the vn in opserver
2026-01-16 15:26:02,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798 virtual network link through opserver 10.0.0.38
2026-01-16 15:26:02,674 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-16 15:26:02,686 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798?flat'}
2026-01-16 15:26:02,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798 is found in opserver
2026-01-16 15:26:02,698 - DEBUG - Do not have enough data to verify VN in agent
2026-01-16 15:26:02,704 - DEBUG - VRF ids for VN ctest-vn-35837798: {}
2026-01-16 15:26:02,778 - DEBUG - Services list from nova: [