2026-02-04 12:26:22,003 - INFO - Domain Default found not creating
2026-02-04 12:26:22,188 - INFO - Project ctest-TestBasicPolicy-68671973 not found, creating it
2026-02-04 12:26:22,655 - INFO - Created Project:ctest-TestBasicPolicy-68671973, ID : 24cfe65e-bb1c-428d-90a0-79c55a81fecf
2026-02-04 12:26:24,221 - INFO - ================================================================================
2026-02-04 12:26:24,222 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 12:26:24,222 - 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-02-04 12:26:24,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-02-04 12:26:24,475 - INFO - Initial checks done. Running the testcase now
2026-02-04 12:26:24,475 - INFO -
2026-02-04 12:26:25,035 - DEBUG - Response for create_network : {'network': {'id': '5b7b923b-6eb8-4e33-ba68-36edaf10b38e', 'name': 'ctest-vn-94084653', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-94084653'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:26:25,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7b1f7d9-e40a-4f93-9ef4-83b1139955b1', 'name': '', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'network_id': '5b7b923b-6eb8-4e33-ba68-36edaf10b38e', 'ip_version': 4, 'cidr': '188.176.45.192/26', 'allocation_pools': [{'start': '188.176.45.194', 'end': '188.176.45.254'}], 'gateway_ip': '188.176.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.176.45.194', 'tags': [], 'project_id': '24cfe65ebb1c428d90a079c55a81fecf'}}
2026-02-04 12:26:25,249 - INFO - Created VN ctest-vn-94084653
2026-02-04 12:26:25,302 - DEBUG - VN ctest-vn-94084653 UUID is 5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:25,586 - DEBUG - Response for create_network : {'network': {'id': '7aac3975-f5e1-4a8b-9f3a-c809900f9f51', 'name': 'ctest-vn-11882858', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-11882858'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:26:25,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '0536d028-25fd-4277-8c3a-dd5576d10806', 'name': '', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'network_id': '7aac3975-f5e1-4a8b-9f3a-c809900f9f51', 'ip_version': 4, 'cidr': '103.56.146.192/26', 'allocation_pools': [{'start': '103.56.146.194', 'end': '103.56.146.254'}], 'gateway_ip': '103.56.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.56.146.194', 'tags': [], 'project_id': '24cfe65ebb1c428d90a079c55a81fecf'}}
2026-02-04 12:26:25,753 - INFO - Created VN ctest-vn-11882858
2026-02-04 12:26:25,806 - DEBUG - VN ctest-vn-11882858 UUID is 7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:25,922 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653, 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-68671973:ctest-vn-11882858, 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-02-04 12:26:26,209 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b7b923b-6eb8-4e33-ba68-36edaf10b38e', 'name': 'ctest-vn-94084653', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c7b1f7d9-e40a-4f93-9ef4-83b1139955b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-94084653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604']], 'subnet_ipam': [{'subnet_cidr': '188.176.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:26:26,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aac3975-f5e1-4a8b-9f3a-c809900f9f51', 'name': 'ctest-vn-11882858', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0536d028-25fd-4277-8c3a-dd5576d10806'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-11882858'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604']], 'subnet_ipam': [{'subnet_cidr': '103.56.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:26:26,622 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 12:26:26,918 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 12:26:26,950 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb
2026-02-04 12:26:26,963 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf
2026-02-04 12:26:27,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:27,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:27,060 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919
2026-02-04 12:26:27,067 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919
2026-02-04 12:26:27,074 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28144879-ad00-4b47-9e0f-3115f9f5b1c9
2026-02-04 12:26:27,080 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 12:26:27,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:27,089 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919
2026-02-04 12:26:27,104 - INFO - Verified VN network id 11 for VN 5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:27,104 - INFO - Verifications in API Server for VN ctest-vn-94084653 passed
2026-02-04 12:26:27,104 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:27,115 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919
2026-02-04 12:26:27,123 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919
2026-02-04 12:26:27,130 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28144879-ad00-4b47-9e0f-3115f9f5b1c9
2026-02-04 12:26:27,143 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68671973', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6592023263545151027', 'uuid-lslong': '13432046283104760718'}, 'enable': 'true', 'created': '2026-02-04T12:26:25', 'last-modified': '2026-02-04T12:26:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958120'}
2026-02-04 12:26:27,149 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 12:26:27,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94084653 passed
2026-02-04 12:26:27,149 - DEBUG - ====Verifying policy data for ctest-vn-94084653 in API_Server ======
2026-02-04 12:26:27,149 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 12:26:27,155 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb
2026-02-04 12:26:27,166 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf
2026-02-04 12:26:27,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e
2026-02-04 12:26:27,244 - DEBUG - ==>Verifying data for policy with id: 9d13dd36-fe26-48d1-8415-1a3806c11c30, fqn: ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604']
2026-02-04 12:26:27,244 - INFO - VN ctest-vn-94084653 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 12:26:27,244 - DEBUG - Verifying the vn in opserver
2026-02-04 12:26:27,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653 virtual network link through opserver 10.0.0.50
2026-02-04 12:26:27,244 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-04 12:26:27,541 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-04 12:26:27,623 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653?flat'}
2026-02-04 12:26:27,623 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653 is found in opserver
2026-02-04 12:26:27,633 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 12:26:27,638 - DEBUG - VRF ids for VN ctest-vn-94084653: {}
2026-02-04 12:26:27,638 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 12:26:27,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb
2026-02-04 12:26:27,659 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf
2026-02-04 12:26:27,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:27,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:27,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0
2026-02-04 12:26:27,755 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0
2026-02-04 12:26:27,763 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be7eb4ff-0ed2-4b2e-8baf-dbf697a606c6
2026-02-04 12:26:27,770 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 12:26:27,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:27,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0
2026-02-04 12:26:27,797 - INFO - Verified VN network id 12 for VN 7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:27,797 - INFO - Verifications in API Server for VN ctest-vn-11882858 passed
2026-02-04 12:26:27,797 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:27,807 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0
2026-02-04 12:26:27,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0
2026-02-04 12:26:27,821 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be7eb4ff-0ed2-4b2e-8baf-dbf697a606c6
2026-02-04 12:26:27,834 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68671973', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8839503347420580491', 'uuid-lslong': '11473702944076963665'}, 'enable': 'true', 'created': '2026-02-04T12:26:25', 'last-modified': '2026-02-04T12:26:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409702'}
2026-02-04 12:26:27,839 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 12:26:27,839 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11882858 passed
2026-02-04 12:26:27,840 - DEBUG - ====Verifying policy data for ctest-vn-11882858 in API_Server ======
2026-02-04 12:26:27,840 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 12:26:27,845 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb
2026-02-04 12:26:27,856 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf
2026-02-04 12:26:27,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51
2026-02-04 12:26:27,928 - DEBUG - ==>Verifying data for policy with id: 9d13dd36-fe26-48d1-8415-1a3806c11c30, fqn: ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604']
2026-02-04 12:26:27,928 - INFO - VN ctest-vn-11882858 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 12:26:27,928 - DEBUG - Verifying the vn in opserver
2026-02-04 12:26:27,928 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858 virtual network link through opserver 10.0.0.50
2026-02-04 12:26:27,928 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-04 12:26:27,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858?flat'}
2026-02-04 12:26:27,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858 is found in opserver
2026-02-04 12:26:27,947 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 12:26:27,952 - DEBUG - VRF ids for VN ctest-vn-11882858: {}
2026-02-04 12:26:28,010 - DEBUG - Services list from nova: [