2025-12-01 13:22:03,272 - INFO - Domain Default found not creating
2025-12-01 13:22:03,461 - INFO - Project ctest-TestBasicPolicy-79498083 not found, creating it
2025-12-01 13:22:03,955 - INFO - Created Project:ctest-TestBasicPolicy-79498083, ID : 68424bc5-29a3-4bfe-8b64-dc723a7b0f21
2025-12-01 13:22:05,545 - INFO - ================================================================================
2025-12-01 13:22:05,545 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-01 13:22:05,545 - 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
2025-12-01 13:22:05,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-12-01 13:22:05,804 - INFO - Initial checks done. Running the testcase now
2025-12-01 13:22:05,804 - INFO -
2025-12-01 13:22:06,357 - DEBUG - Response for create_network : {'network': {'id': 'd34eed04-c4cf-4de9-8426-4b28a24d779c', 'name': 'ctest-vn-00443884', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-00443884'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 13:22:06,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3a31300-eb89-4f18-a190-3dcb9daceaef', 'name': '', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'network_id': 'd34eed04-c4cf-4de9-8426-4b28a24d779c', 'ip_version': 4, 'cidr': '105.128.124.128/26', 'allocation_pools': [{'start': '105.128.124.130', 'end': '105.128.124.190'}], 'gateway_ip': '105.128.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.128.124.130', 'tags': [], 'project_id': '68424bc529a34bfe8b64dc723a7b0f21'}}
2025-12-01 13:22:06,579 - INFO - Created VN ctest-vn-00443884
2025-12-01 13:22:06,634 - DEBUG - VN ctest-vn-00443884 UUID is d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:06,948 - DEBUG - Response for create_network : {'network': {'id': '897176b3-557d-4d4a-b301-f10b1a25ab75', 'name': 'ctest-vn-17303124', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-17303124'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 13:22:07,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e16b7e-f663-485c-b48c-976ff233653a', 'name': '', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'network_id': '897176b3-557d-4d4a-b301-f10b1a25ab75', 'ip_version': 4, 'cidr': '27.86.119.64/26', 'allocation_pools': [{'start': '27.86.119.66', 'end': '27.86.119.126'}], 'gateway_ip': '27.86.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.86.119.66', 'tags': [], 'project_id': '68424bc529a34bfe8b64dc723a7b0f21'}}
2025-12-01 13:22:07,196 - INFO - Created VN ctest-vn-17303124
2025-12-01 13:22:07,250 - DEBUG - VN ctest-vn-17303124 UUID is 897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:07,365 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884, 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-79498083:ctest-vn-17303124, 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]
2025-12-01 13:22:07,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd34eed04-c4cf-4de9-8426-4b28a24d779c', 'name': 'ctest-vn-00443884', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3a31300-eb89-4f18-a190-3dcb9daceaef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-00443884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460']], 'subnet_ipam': [{'subnet_cidr': '105.128.124.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 13:22:07,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '897176b3-557d-4d4a-b301-f10b1a25ab75', 'name': 'ctest-vn-17303124', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59e16b7e-f663-485c-b48c-976ff233653a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-17303124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460']], 'subnet_ipam': [{'subnet_cidr': '27.86.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 13:22:08,094 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 13:22:08,395 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 13:22:08,426 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09
2025-12-01 13:22:08,440 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21
2025-12-01 13:22:08,515 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:08,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:08,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e
2025-12-01 13:22:08,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e
2025-12-01 13:22:08,549 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25699195-ce96-4356-891b-532c56cd3c10
2025-12-01 13:22:08,555 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 13:22:08,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:08,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e
2025-12-01 13:22:08,579 - INFO - Verified VN network id 11 for VN d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:08,579 - INFO - Verifications in API Server for VN ctest-vn-00443884 passed
2025-12-01 13:22:08,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:08,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e
2025-12-01 13:22:08,598 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e
2025-12-01 13:22:08,606 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25699195-ce96-4356-891b-532c56cd3c10
2025-12-01 13:22:08,621 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79498083', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15226367994923797993', 'uuid-lslong': '9522381100015253404'}, 'enable': 'true', 'created': '2025-12-01T13:22:06', 'last-modified': '2025-12-01T13:22:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947000'}
2025-12-01 13:22:08,628 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 13:22:08,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00443884 passed
2025-12-01 13:22:08,628 - DEBUG - ====Verifying policy data for ctest-vn-00443884 in API_Server ======
2025-12-01 13:22:08,629 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 13:22:08,635 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09
2025-12-01 13:22:08,646 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21
2025-12-01 13:22:08,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c
2025-12-01 13:22:08,724 - DEBUG - ==>Verifying data for policy with id: 63f905ff-9010-4792-847b-353a563b2f13, fqn: ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460']
2025-12-01 13:22:08,724 - INFO - VN ctest-vn-00443884 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 13:22:08,724 - DEBUG - Verifying the vn in opserver
2025-12-01 13:22:08,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884 virtual network link through opserver 10.0.0.50
2025-12-01 13:22:08,724 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-01 13:22:09,019 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-01 13:22:09,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884?flat'}
2025-12-01 13:22:09,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884 is found in opserver
2025-12-01 13:22:09,096 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 13:22:09,101 - DEBUG - VRF ids for VN ctest-vn-00443884: {}
2025-12-01 13:22:09,101 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 13:22:09,106 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09
2025-12-01 13:22:09,117 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21
2025-12-01 13:22:09,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:09,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:09,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865
2025-12-01 13:22:09,215 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865
2025-12-01 13:22:09,221 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bca1c33-277a-4dde-a84e-7e3c23b952e6
2025-12-01 13:22:09,228 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 13:22:09,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:09,236 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865
2025-12-01 13:22:09,250 - INFO - Verified VN network id 12 for VN 897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:09,250 - INFO - Verifications in API Server for VN ctest-vn-17303124 passed
2025-12-01 13:22:09,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:09,259 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865
2025-12-01 13:22:09,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865
2025-12-01 13:22:09,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bca1c33-277a-4dde-a84e-7e3c23b952e6
2025-12-01 13:22:09,286 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79498083', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9903827568169930058', 'uuid-lslong': '12898855837751421813'}, 'enable': 'true', 'created': '2025-12-01T13:22:06', 'last-modified': '2025-12-01T13:22:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378428'}
2025-12-01 13:22:09,292 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 13:22:09,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17303124 passed
2025-12-01 13:22:09,293 - DEBUG - ====Verifying policy data for ctest-vn-17303124 in API_Server ======
2025-12-01 13:22:09,293 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 13:22:09,299 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09
2025-12-01 13:22:09,309 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21
2025-12-01 13:22:09,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75
2025-12-01 13:22:09,389 - DEBUG - ==>Verifying data for policy with id: 63f905ff-9010-4792-847b-353a563b2f13, fqn: ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460']
2025-12-01 13:22:09,389 - INFO - VN ctest-vn-17303124 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 13:22:09,389 - DEBUG - Verifying the vn in opserver
2025-12-01 13:22:09,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124 virtual network link through opserver 10.0.0.50
2025-12-01 13:22:09,389 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-01 13:22:09,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124?flat'}
2025-12-01 13:22:09,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124 is found in opserver
2025-12-01 13:22:09,409 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 13:22:09,414 - DEBUG - VRF ids for VN ctest-vn-17303124: {}
2025-12-01 13:22:09,472 - DEBUG - Services list from nova: [