2026-01-15 02:14:09,643 - INFO - Domain Default found not creating
2026-01-15 02:14:09,803 - INFO - Project ctest-TestBasicPolicy-71354739 not found, creating it
2026-01-15 02:14:10,234 - INFO - Created Project:ctest-TestBasicPolicy-71354739, ID : b916dacb-136b-4a0f-9f24-b4bcee8d5e6c
2026-01-15 02:14:11,647 - INFO - ================================================================================
2026-01-15 02:14:11,647 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-15 02:14:11,647 - 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-15 02:14:11,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.253': '0'}} with
2026-01-15 02:14:11,903 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:14:11,903 - INFO -
2026-01-15 02:14:12,429 - DEBUG - Response for create_network : {'network': {'id': 'a1842e92-6af5-416f-b10f-fd0bd7f2bc4c', 'name': 'ctest-vn-91164826', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-91164826'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:14:12,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f94e2f5-05c7-437f-8728-a0f61ebe9af5', 'name': '', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'network_id': 'a1842e92-6af5-416f-b10f-fd0bd7f2bc4c', 'ip_version': 4, 'cidr': '138.94.187.128/26', 'allocation_pools': [{'start': '138.94.187.130', 'end': '138.94.187.190'}], 'gateway_ip': '138.94.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.94.187.130', 'tags': [], 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c'}}
2026-01-15 02:14:12,596 - INFO - Created VN ctest-vn-91164826
2026-01-15 02:14:12,646 - DEBUG - VN ctest-vn-91164826 UUID is a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:12,950 - DEBUG - Response for create_network : {'network': {'id': '5d75717a-10b2-4db8-9a18-5fa40197cc28', 'name': 'ctest-vn-54438922', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-54438922'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:14:13,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '559b829c-f61c-404b-9f6f-aace0b80ebd5', 'name': '', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'network_id': '5d75717a-10b2-4db8-9a18-5fa40197cc28', 'ip_version': 4, 'cidr': '148.207.79.192/26', 'allocation_pools': [{'start': '148.207.79.194', 'end': '148.207.79.254'}], 'gateway_ip': '148.207.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.207.79.194', 'tags': [], 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c'}}
2026-01-15 02:14:13,154 - INFO - Created VN ctest-vn-54438922
2026-01-15 02:14:13,206 - DEBUG - VN ctest-vn-54438922 UUID is 5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:13,350 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826, 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-71354739:ctest-vn-54438922, 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-15 02:14:13,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1842e92-6af5-416f-b10f-fd0bd7f2bc4c', 'name': 'ctest-vn-91164826', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f94e2f5-05c7-437f-8728-a0f61ebe9af5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-91164826'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881']], 'subnet_ipam': [{'subnet_cidr': '138.94.187.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:14:13,903 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d75717a-10b2-4db8-9a18-5fa40197cc28', 'name': 'ctest-vn-54438922', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['559b829c-f61c-404b-9f6f-aace0b80ebd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-54438922'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881']], 'subnet_ipam': [{'subnet_cidr': '148.207.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:14:14,042 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-15 02:14:14,332 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-15 02:14:14,361 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0
2026-01-15 02:14:14,371 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c
2026-01-15 02:14:14,439 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:14,448 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:14,455 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad
2026-01-15 02:14:14,461 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad
2026-01-15 02:14:14,466 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/5ac0314f-8785-4786-9498-e3d1ef713652
2026-01-15 02:14:14,471 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-15 02:14:14,471 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:14,477 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad
2026-01-15 02:14:14,488 - INFO - Verified VN network id 9 for VN a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:14,488 - INFO - Verifications in API Server for VN ctest-vn-91164826 passed
2026-01-15 02:14:14,488 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:14,495 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad
2026-01-15 02:14:14,500 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad
2026-01-15 02:14:14,505 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/5ac0314f-8785-4786-9498-e3d1ef713652
2026-01-15 02:14:14,514 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71354739', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11638478543426765167', 'uuid-lslong': '12758694496673381452'}, 'enable': 'true', 'created': '2026-01-15T02:14:12', 'last-modified': '2026-01-15T02:14:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900790'}
2026-01-15 02:14:14,520 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-15 02:14:14,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91164826 passed
2026-01-15 02:14:14,520 - DEBUG - ====Verifying policy data for ctest-vn-91164826 in API_Server ======
2026-01-15 02:14:14,520 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-15 02:14:14,524 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0
2026-01-15 02:14:14,533 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c
2026-01-15 02:14:14,605 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c
2026-01-15 02:14:14,614 - DEBUG - ==>Verifying data for policy with id: 8536dea5-fb7d-4460-9ba5-2ce029a96a78, fqn: ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881']
2026-01-15 02:14:14,614 - INFO - VN ctest-vn-91164826 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-15 02:14:14,614 - DEBUG - Verifying the vn in opserver
2026-01-15 02:14:14,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826 virtual network link through opserver 10.0.0.241
2026-01-15 02:14:14,614 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-15 02:14:14,904 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-15 02:14:14,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826?flat'}
2026-01-15 02:14:14,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826 is found in opserver
2026-01-15 02:14:14,968 - DEBUG - Do not have enough data to verify VN in agent
2026-01-15 02:14:14,972 - DEBUG - VRF ids for VN ctest-vn-91164826: {}
2026-01-15 02:14:14,972 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-15 02:14:14,977 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0
2026-01-15 02:14:14,987 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c
2026-01-15 02:14:15,055 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:15,065 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:15,072 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366
2026-01-15 02:14:15,078 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366
2026-01-15 02:14:15,083 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/e8639f53-43cf-49fa-b76b-59d49470482c
2026-01-15 02:14:15,088 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-15 02:14:15,088 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:15,095 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366
2026-01-15 02:14:15,107 - INFO - Verified VN network id 10 for VN 5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:15,107 - INFO - Verifications in API Server for VN ctest-vn-54438922 passed
2026-01-15 02:14:15,107 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:15,114 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366
2026-01-15 02:14:15,119 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366
2026-01-15 02:14:15,124 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/e8639f53-43cf-49fa-b76b-59d49470482c
2026-01-15 02:14:15,133 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71354739', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6734413586882514360', 'uuid-lslong': '11103730039287958568'}, 'enable': 'true', 'created': '2026-01-15T02:14:12', 'last-modified': '2026-01-15T02:14:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.306609'}
2026-01-15 02:14:15,138 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-15 02:14:15,138 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54438922 passed
2026-01-15 02:14:15,139 - DEBUG - ====Verifying policy data for ctest-vn-54438922 in API_Server ======
2026-01-15 02:14:15,139 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-15 02:14:15,143 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0
2026-01-15 02:14:15,152 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c
2026-01-15 02:14:15,223 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28
2026-01-15 02:14:15,231 - DEBUG - ==>Verifying data for policy with id: 8536dea5-fb7d-4460-9ba5-2ce029a96a78, fqn: ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881']
2026-01-15 02:14:15,232 - INFO - VN ctest-vn-54438922 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-15 02:14:15,232 - DEBUG - Verifying the vn in opserver
2026-01-15 02:14:15,232 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922 virtual network link through opserver 10.0.0.241
2026-01-15 02:14:15,232 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-15 02:14:15,241 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922?flat'}
2026-01-15 02:14:15,241 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922 is found in opserver
2026-01-15 02:14:15,250 - DEBUG - Do not have enough data to verify VN in agent
2026-01-15 02:14:15,254 - DEBUG - VRF ids for VN ctest-vn-54438922: {}
2026-01-15 02:14:15,311 - DEBUG - Services list from nova: [