2026-05-18 12:20:36,509 - INFO - Domain Default found not creating
2026-05-18 12:20:36,674 - INFO - Project ctest-TestBasicPolicy-05065871 not found, creating it
2026-05-18 12:20:37,136 - INFO - Created Project:ctest-TestBasicPolicy-05065871, ID : 0add9e27-2f79-457c-afaf-7715999b6c55
2026-05-18 12:20:38,669 - INFO - ================================================================================
2026-05-18 12:20:38,669 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-18 12:20:38,670 - 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-18 12:20:38,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-18 12:20:38,929 - INFO - Initial checks done. Running the testcase now
2026-05-18 12:20:38,929 - INFO -
2026-05-18 12:20:39,482 - DEBUG - Response for create_network : {'network': {'id': '10408c5a-3ff3-44ee-8235-a34ca52f9dd0', 'name': 'ctest-vn-88038956', 'tenant_id': '0add9e272f79457cafaf7715999b6c55', 'project_id': '0add9e272f79457cafaf7715999b6c55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-vn-88038956'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 12:20:39,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2c1bd80-6448-4f76-a5e7-18c30c1b1ca9', 'name': '', 'tenant_id': '0add9e272f79457cafaf7715999b6c55', 'network_id': '10408c5a-3ff3-44ee-8235-a34ca52f9dd0', 'ip_version': 4, 'cidr': '128.247.42.192/26', 'allocation_pools': [{'start': '128.247.42.194', 'end': '128.247.42.254'}], 'gateway_ip': '128.247.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.247.42.194', 'tags': [], 'project_id': '0add9e272f79457cafaf7715999b6c55'}}
2026-05-18 12:20:39,707 - INFO - Created VN ctest-vn-88038956
2026-05-18 12:20:39,759 - DEBUG - VN ctest-vn-88038956 UUID is 10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:40,098 - DEBUG - Response for create_network : {'network': {'id': '501155fe-7220-4c60-b304-bc277c10f0d7', 'name': 'ctest-vn-12061325', 'tenant_id': '0add9e272f79457cafaf7715999b6c55', 'project_id': '0add9e272f79457cafaf7715999b6c55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-vn-12061325'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 12:20:40,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '48c70852-d94c-4a09-915c-fa3663a40778', 'name': '', 'tenant_id': '0add9e272f79457cafaf7715999b6c55', 'network_id': '501155fe-7220-4c60-b304-bc277c10f0d7', 'ip_version': 4, 'cidr': '80.144.234.64/26', 'allocation_pools': [{'start': '80.144.234.66', 'end': '80.144.234.126'}], 'gateway_ip': '80.144.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.144.234.66', 'tags': [], 'project_id': '0add9e272f79457cafaf7715999b6c55'}}
2026-05-18 12:20:40,322 - INFO - Created VN ctest-vn-12061325
2026-05-18 12:20:40,376 - DEBUG - VN ctest-vn-12061325 UUID is 501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:40,497 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-88038956, 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-05065871:ctest-vn-12061325, 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-18 12:20:40,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10408c5a-3ff3-44ee-8235-a34ca52f9dd0', 'name': 'ctest-vn-88038956', 'tenant_id': '0add9e272f79457cafaf7715999b6c55', 'project_id': '0add9e272f79457cafaf7715999b6c55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2c1bd80-6448-4f76-a5e7-18c30c1b1ca9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-vn-88038956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-policy-allow-all-26254796']], 'subnet_ipam': [{'subnet_cidr': '128.247.42.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 12:20:41,034 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '501155fe-7220-4c60-b304-bc277c10f0d7', 'name': 'ctest-vn-12061325', 'tenant_id': '0add9e272f79457cafaf7715999b6c55', 'project_id': '0add9e272f79457cafaf7715999b6c55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48c70852-d94c-4a09-915c-fa3663a40778'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-vn-12061325'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-policy-allow-all-26254796']], 'subnet_ipam': [{'subnet_cidr': '80.144.234.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 12:20:41,203 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-18 12:20:41,497 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-18 12:20:41,532 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7381417e-692c-4f94-8bb1-1f784f242911
2026-05-18 12:20:41,546 - DEBUG - Requesting: http://10.0.0.50:8082/project/0add9e27-2f79-457c-afaf-7715999b6c55
2026-05-18 12:20:41,618 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:41,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:41,643 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cba6b861-ad3f-4d37-afa3-eb84bef51826
2026-05-18 12:20:41,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cba6b861-ad3f-4d37-afa3-eb84bef51826
2026-05-18 12:20:41,661 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2d5cf903-0ba3-443a-ba07-3ad8701a4a56
2026-05-18 12:20:41,669 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 12:20:41,670 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:41,679 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cba6b861-ad3f-4d37-afa3-eb84bef51826
2026-05-18 12:20:41,692 - INFO - Verified VN network id 11 for VN 10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:41,693 - INFO - Verifications in API Server for VN ctest-vn-88038956 passed
2026-05-18 12:20:41,693 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:41,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cba6b861-ad3f-4d37-afa3-eb84bef51826
2026-05-18 12:20:41,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cba6b861-ad3f-4d37-afa3-eb84bef51826
2026-05-18 12:20:41,719 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2d5cf903-0ba3-443a-ba07-3ad8701a4a56
2026-05-18 12:20:41,730 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-88038956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05065871', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1171090222364181742', 'uuid-lslong': '9382584948280499664'}, 'enable': 'true', 'created': '2026-05-18T12:20:39', 'last-modified': '2026-05-18T12:20:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964168'}
2026-05-18 12:20:41,735 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 12:20:41,735 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88038956 passed
2026-05-18 12:20:41,736 - DEBUG - ====Verifying policy data for ctest-vn-88038956 in API_Server ======
2026-05-18 12:20:41,736 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-18 12:20:41,741 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7381417e-692c-4f94-8bb1-1f784f242911
2026-05-18 12:20:41,753 - DEBUG - Requesting: http://10.0.0.50:8082/project/0add9e27-2f79-457c-afaf-7715999b6c55
2026-05-18 12:20:41,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10408c5a-3ff3-44ee-8235-a34ca52f9dd0
2026-05-18 12:20:41,829 - DEBUG - ==>Verifying data for policy with id: b4b0c3cc-932f-481b-82e3-8e4edef0156f, fqn: ['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-policy-allow-all-26254796']
2026-05-18 12:20:41,829 - INFO - VN ctest-vn-88038956 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 12:20:41,829 - DEBUG - Verifying the vn in opserver
2026-05-18 12:20:41,829 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-88038956 virtual network link through opserver 10.0.0.50
2026-05-18 12:20:41,830 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-18 12:20:42,123 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-18 12:20:42,186 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-88038956', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-88038956?flat'}
2026-05-18 12:20:42,186 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-88038956 is found in opserver
2026-05-18 12:20:42,197 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 12:20:42,202 - DEBUG - VRF ids for VN ctest-vn-88038956: {}
2026-05-18 12:20:42,202 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-18 12:20:42,207 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7381417e-692c-4f94-8bb1-1f784f242911
2026-05-18 12:20:42,217 - DEBUG - Requesting: http://10.0.0.50:8082/project/0add9e27-2f79-457c-afaf-7715999b6c55
2026-05-18 12:20:42,293 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:42,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:42,313 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e6b7ddd4-9499-4784-992c-d071ccf1d319
2026-05-18 12:20:42,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e6b7ddd4-9499-4784-992c-d071ccf1d319
2026-05-18 12:20:42,326 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc66893b-d9ba-40f9-92ed-80e5d92c5127
2026-05-18 12:20:42,332 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 12:20:42,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:42,340 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e6b7ddd4-9499-4784-992c-d071ccf1d319
2026-05-18 12:20:42,354 - INFO - Verified VN network id 12 for VN 501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:42,354 - INFO - Verifications in API Server for VN ctest-vn-12061325 passed
2026-05-18 12:20:42,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:42,362 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e6b7ddd4-9499-4784-992c-d071ccf1d319
2026-05-18 12:20:42,368 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e6b7ddd4-9499-4784-992c-d071ccf1d319
2026-05-18 12:20:42,374 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc66893b-d9ba-40f9-92ed-80e5d92c5127
2026-05-18 12:20:42,384 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-12061325', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05065871', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5769487148963089504', 'uuid-lslong': '12899642110467174615'}, 'enable': 'true', 'created': '2026-05-18T12:20:40', 'last-modified': '2026-05-18T12:20:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373240'}
2026-05-18 12:20:42,389 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 12:20:42,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12061325 passed
2026-05-18 12:20:42,389 - DEBUG - ====Verifying policy data for ctest-vn-12061325 in API_Server ======
2026-05-18 12:20:42,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-18 12:20:42,395 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7381417e-692c-4f94-8bb1-1f784f242911
2026-05-18 12:20:42,405 - DEBUG - Requesting: http://10.0.0.50:8082/project/0add9e27-2f79-457c-afaf-7715999b6c55
2026-05-18 12:20:42,478 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/501155fe-7220-4c60-b304-bc277c10f0d7
2026-05-18 12:20:42,487 - DEBUG - ==>Verifying data for policy with id: b4b0c3cc-932f-481b-82e3-8e4edef0156f, fqn: ['default-domain', 'ctest-TestBasicPolicy-05065871', 'ctest-policy-allow-all-26254796']
2026-05-18 12:20:42,487 - INFO - VN ctest-vn-12061325 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 12:20:42,487 - DEBUG - Verifying the vn in opserver
2026-05-18 12:20:42,487 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-12061325 virtual network link through opserver 10.0.0.50
2026-05-18 12:20:42,487 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-18 12:20:42,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-12061325', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-12061325?flat'}
2026-05-18 12:20:42,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05065871:ctest-vn-12061325 is found in opserver
2026-05-18 12:20:42,507 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 12:20:42,511 - DEBUG - VRF ids for VN ctest-vn-12061325: {}
2026-05-18 12:20:42,585 - DEBUG - Services list from nova: [