2026-01-30 07:56:44,652 - INFO - Domain Default found not creating
2026-01-30 07:56:44,820 - INFO - Project ctest-TestBasicPolicy-65198597 not found, creating it
2026-01-30 07:56:45,287 - INFO - Created Project:ctest-TestBasicPolicy-65198597, ID : 2d0bb675-3e85-4d07-b3d2-423d182b339c
2026-01-30 07:56:46,803 - INFO - ================================================================================
2026-01-30 07:56:46,803 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-30 07:56:46,803 - 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-30 07:56:47,060 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.17': '0'}} with
2026-01-30 07:56:47,060 - INFO - Initial checks done. Running the testcase now
2026-01-30 07:56:47,060 - INFO -
2026-01-30 07:56:47,627 - DEBUG - Response for create_network : {'network': {'id': '15c26600-0609-4044-ac74-318d5d3eb578', 'name': 'ctest-vn-62536762', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-62536762'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 07:56:47,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '727165fb-f28b-467c-b2fe-bc39252b4d61', 'name': '', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'network_id': '15c26600-0609-4044-ac74-318d5d3eb578', 'ip_version': 4, 'cidr': '25.30.180.0/26', 'allocation_pools': [{'start': '25.30.180.2', 'end': '25.30.180.62'}], 'gateway_ip': '25.30.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.30.180.2', 'tags': [], 'project_id': '2d0bb6753e854d07b3d2423d182b339c'}}
2026-01-30 07:56:47,831 - INFO - Created VN ctest-vn-62536762
2026-01-30 07:56:47,884 - DEBUG - VN ctest-vn-62536762 UUID is 15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:48,204 - DEBUG - Response for create_network : {'network': {'id': '3b4aece9-8c56-44db-b801-b9718e901ffc', 'name': 'ctest-vn-67251571', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-67251571'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 07:56:48,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1785b18-3ebc-4409-9ff9-d9f043fdacbc', 'name': '', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'network_id': '3b4aece9-8c56-44db-b801-b9718e901ffc', 'ip_version': 4, 'cidr': '80.41.36.192/26', 'allocation_pools': [{'start': '80.41.36.194', 'end': '80.41.36.254'}], 'gateway_ip': '80.41.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.41.36.194', 'tags': [], 'project_id': '2d0bb6753e854d07b3d2423d182b339c'}}
2026-01-30 07:56:48,429 - INFO - Created VN ctest-vn-67251571
2026-01-30 07:56:48,484 - DEBUG - VN ctest-vn-67251571 UUID is 3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:48,636 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762, 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-65198597:ctest-vn-67251571, 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-30 07:56:48,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15c26600-0609-4044-ac74-318d5d3eb578', 'name': 'ctest-vn-62536762', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['727165fb-f28b-467c-b2fe-bc39252b4d61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-62536762'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566']], 'subnet_ipam': [{'subnet_cidr': '25.30.180.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 07:56:49,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b4aece9-8c56-44db-b801-b9718e901ffc', 'name': 'ctest-vn-67251571', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a1785b18-3ebc-4409-9ff9-d9f043fdacbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-67251571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566']], 'subnet_ipam': [{'subnet_cidr': '80.41.36.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 07:56:49,300 - DEBUG - Requesting: http://10.0.0.42:8082/domains
2026-01-30 07:56:49,596 - DEBUG - Requesting: http://10.0.0.42:8082/domains
2026-01-30 07:56:49,624 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade
2026-01-30 07:56:49,636 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c
2026-01-30 07:56:49,704 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:49,718 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:49,730 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385
2026-01-30 07:56:49,736 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385
2026-01-30 07:56:49,743 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/819134fd-371d-4056-a3c4-2f16d2414081
2026-01-30 07:56:49,749 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 07:56:49,749 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:49,757 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385
2026-01-30 07:56:49,771 - INFO - Verified VN network id 11 for VN 15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:49,771 - INFO - Verifications in API Server for VN ctest-vn-62536762 passed
2026-01-30 07:56:49,771 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:49,780 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385
2026-01-30 07:56:49,787 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385
2026-01-30 07:56:49,793 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/819134fd-371d-4056-a3c4-2f16d2414081
2026-01-30 07:56:49,805 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65198597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1567927770565656644', 'uuid-lslong': '12426611755046581624'}, 'enable': 'true', 'created': '2026-01-30T07:56:47', 'last-modified': '2026-01-30T07:56:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906739'}
2026-01-30 07:56:49,810 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 07:56:49,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62536762 passed
2026-01-30 07:56:49,810 - DEBUG - ====Verifying policy data for ctest-vn-62536762 in API_Server ======
2026-01-30 07:56:49,810 - DEBUG - Requesting: http://10.0.0.42:8082/domains
2026-01-30 07:56:49,816 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade
2026-01-30 07:56:49,824 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c
2026-01-30 07:56:49,901 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578
2026-01-30 07:56:49,909 - DEBUG - ==>Verifying data for policy with id: 17b4006c-e701-47ac-9df3-72fd143ae641, fqn: ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566']
2026-01-30 07:56:49,909 - INFO - VN ctest-vn-62536762 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 07:56:49,909 - DEBUG - Verifying the vn in opserver
2026-01-30 07:56:49,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762 virtual network link through opserver 10.0.0.42
2026-01-30 07:56:49,909 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks
2026-01-30 07:56:50,204 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks
2026-01-30 07:56:50,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762?flat'}
2026-01-30 07:56:50,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762 is found in opserver
2026-01-30 07:56:50,271 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 07:56:50,275 - DEBUG - VRF ids for VN ctest-vn-62536762: {}
2026-01-30 07:56:50,275 - DEBUG - Requesting: http://10.0.0.42:8082/domains
2026-01-30 07:56:50,280 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade
2026-01-30 07:56:50,289 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c
2026-01-30 07:56:50,357 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:50,367 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:50,374 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713
2026-01-30 07:56:50,381 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713
2026-01-30 07:56:50,387 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/7d9af9b3-fd68-41a2-8068-07c04ed05137
2026-01-30 07:56:50,392 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 07:56:50,392 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:50,399 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713
2026-01-30 07:56:50,410 - INFO - Verified VN network id 12 for VN 3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:50,410 - INFO - Verifications in API Server for VN ctest-vn-67251571 passed
2026-01-30 07:56:50,410 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:50,418 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713
2026-01-30 07:56:50,424 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713
2026-01-30 07:56:50,429 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/7d9af9b3-fd68-41a2-8068-07c04ed05137
2026-01-30 07:56:50,438 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65198597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4272487684340335835', 'uuid-lslong': '13259082675329703932'}, 'enable': 'true', 'created': '2026-01-30T07:56:48', 'last-modified': '2026-01-30T07:56:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329024'}
2026-01-30 07:56:50,444 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 07:56:50,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67251571 passed
2026-01-30 07:56:50,444 - DEBUG - ====Verifying policy data for ctest-vn-67251571 in API_Server ======
2026-01-30 07:56:50,444 - DEBUG - Requesting: http://10.0.0.42:8082/domains
2026-01-30 07:56:50,448 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade
2026-01-30 07:56:50,459 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c
2026-01-30 07:56:50,525 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc
2026-01-30 07:56:50,533 - DEBUG - ==>Verifying data for policy with id: 17b4006c-e701-47ac-9df3-72fd143ae641, fqn: ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566']
2026-01-30 07:56:50,533 - INFO - VN ctest-vn-67251571 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 07:56:50,533 - DEBUG - Verifying the vn in opserver
2026-01-30 07:56:50,533 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571 virtual network link through opserver 10.0.0.42
2026-01-30 07:56:50,533 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks
2026-01-30 07:56:50,541 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571?flat'}
2026-01-30 07:56:50,541 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571 is found in opserver
2026-01-30 07:56:50,551 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 07:56:50,555 - DEBUG - VRF ids for VN ctest-vn-67251571: {}
2026-01-30 07:56:50,604 - DEBUG - Services list from nova: [