2026-01-15 02:09:12,500 - INFO - Domain Default found not creating
2026-01-15 02:09:12,693 - INFO - Project ctest-TestBasicPolicy-32570846 not found, creating it
2026-01-15 02:09:13,153 - INFO - Created Project:ctest-TestBasicPolicy-32570846, ID : ba08b6b5-3c0b-4610-b823-355b94e542b8
2026-01-15 02:09:14,678 - INFO - ================================================================================
2026-01-15 02:09:14,678 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-15 02:09:14,678 - 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:09:14,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with
2026-01-15 02:09:14,942 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:09:14,942 - INFO -
2026-01-15 02:09:15,536 - DEBUG - Response for create_network : {'network': {'id': 'cd0ee53b-2762-4202-9bcb-7e8772ab95c3', 'name': 'ctest-vn-75657027', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75657027'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:15,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '57d6eb7f-819c-4d13-b826-538056ab1d73', 'name': '', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'network_id': 'cd0ee53b-2762-4202-9bcb-7e8772ab95c3', 'ip_version': 4, 'cidr': '86.225.54.64/26', 'allocation_pools': [{'start': '86.225.54.66', 'end': '86.225.54.126'}], 'gateway_ip': '86.225.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.225.54.66', 'tags': [], 'project_id': 'ba08b6b53c0b4610b823355b94e542b8'}}
2026-01-15 02:09:15,724 - INFO - Created VN ctest-vn-75657027
2026-01-15 02:09:15,776 - DEBUG - VN ctest-vn-75657027 UUID is cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:16,065 - DEBUG - Response for create_network : {'network': {'id': '58a8e865-fc87-4667-b10a-d597a86af87a', 'name': 'ctest-vn-75673162', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75673162'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:16,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '726e0ad6-4b8e-48dc-a9da-9899dc2876c0', 'name': '', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'network_id': '58a8e865-fc87-4667-b10a-d597a86af87a', 'ip_version': 4, 'cidr': '146.169.71.192/26', 'allocation_pools': [{'start': '146.169.71.194', 'end': '146.169.71.254'}], 'gateway_ip': '146.169.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.169.71.194', 'tags': [], 'project_id': 'ba08b6b53c0b4610b823355b94e542b8'}}
2026-01-15 02:09:16,307 - INFO - Created VN ctest-vn-75673162
2026-01-15 02:09:16,360 - DEBUG - VN ctest-vn-75673162 UUID is 58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:16,477 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027, 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-32570846:ctest-vn-75673162, 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:09:16,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd0ee53b-2762-4202-9bcb-7e8772ab95c3', 'name': 'ctest-vn-75657027', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57d6eb7f-819c-4d13-b826-538056ab1d73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75657027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024']], 'subnet_ipam': [{'subnet_cidr': '86.225.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:16,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58a8e865-fc87-4667-b10a-d597a86af87a', 'name': 'ctest-vn-75673162', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['726e0ad6-4b8e-48dc-a9da-9899dc2876c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75673162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024']], 'subnet_ipam': [{'subnet_cidr': '146.169.71.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:17,136 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-01-15 02:09:17,448 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-01-15 02:09:17,481 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548
2026-01-15 02:09:17,494 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8
2026-01-15 02:09:17,569 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:17,579 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:17,587 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d
2026-01-15 02:09:17,594 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d
2026-01-15 02:09:17,601 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e0682f39-c248-4e71-a6ec-f7ce5e6299a3
2026-01-15 02:09:17,607 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-15 02:09:17,607 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:17,615 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d
2026-01-15 02:09:17,627 - INFO - Verified VN network id 11 for VN cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:17,627 - INFO - Verifications in API Server for VN ctest-vn-75657027 passed
2026-01-15 02:09:17,627 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:17,635 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d
2026-01-15 02:09:17,641 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d
2026-01-15 02:09:17,648 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e0682f39-c248-4e71-a6ec-f7ce5e6299a3
2026-01-15 02:09:17,658 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32570846', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14775999469675758082', 'uuid-lslong': '11226205616360625603'}, 'enable': 'true', 'created': '2026-01-15T02:09:15', 'last-modified': '2026-01-15T02:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907796'}
2026-01-15 02:09:17,665 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-15 02:09:17,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75657027 passed
2026-01-15 02:09:17,666 - DEBUG - ====Verifying policy data for ctest-vn-75657027 in API_Server ======
2026-01-15 02:09:17,666 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-01-15 02:09:17,672 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548
2026-01-15 02:09:17,683 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8
2026-01-15 02:09:17,756 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3
2026-01-15 02:09:17,765 - DEBUG - ==>Verifying data for policy with id: 13524e31-f1ec-4ac9-8a81-ba070d749cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024']
2026-01-15 02:09:17,765 - INFO - VN ctest-vn-75657027 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-15 02:09:17,765 - DEBUG - Verifying the vn in opserver
2026-01-15 02:09:17,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027 virtual network link through opserver 10.0.0.23
2026-01-15 02:09:17,766 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-01-15 02:09:18,072 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-01-15 02:09:18,149 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027?flat'}
2026-01-15 02:09:18,149 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027 is found in opserver
2026-01-15 02:09:18,159 - DEBUG - Do not have enough data to verify VN in agent
2026-01-15 02:09:18,164 - DEBUG - VRF ids for VN ctest-vn-75657027: {}
2026-01-15 02:09:18,164 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-01-15 02:09:18,170 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548
2026-01-15 02:09:18,181 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8
2026-01-15 02:09:18,251 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:18,263 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:18,272 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4
2026-01-15 02:09:18,280 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4
2026-01-15 02:09:18,287 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a802cbdc-6c11-4054-8e50-e4045f94e48b
2026-01-15 02:09:18,294 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-15 02:09:18,294 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:18,305 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4
2026-01-15 02:09:18,318 - INFO - Verified VN network id 12 for VN 58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:18,318 - INFO - Verifications in API Server for VN ctest-vn-75673162 passed
2026-01-15 02:09:18,319 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:18,327 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4
2026-01-15 02:09:18,334 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4
2026-01-15 02:09:18,341 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a802cbdc-6c11-4054-8e50-e4045f94e48b
2026-01-15 02:09:18,356 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32570846', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6388611596151113319', 'uuid-lslong': '12757243741822711930'}, 'enable': 'true', 'created': '2026-01-15T02:09:16', 'last-modified': '2026-01-15T02:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386660'}
2026-01-15 02:09:18,363 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-15 02:09:18,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75673162 passed
2026-01-15 02:09:18,363 - DEBUG - ====Verifying policy data for ctest-vn-75673162 in API_Server ======
2026-01-15 02:09:18,363 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-01-15 02:09:18,374 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548
2026-01-15 02:09:18,388 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8
2026-01-15 02:09:18,464 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a
2026-01-15 02:09:18,473 - DEBUG - ==>Verifying data for policy with id: 13524e31-f1ec-4ac9-8a81-ba070d749cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024']
2026-01-15 02:09:18,473 - INFO - VN ctest-vn-75673162 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-15 02:09:18,473 - DEBUG - Verifying the vn in opserver
2026-01-15 02:09:18,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162 virtual network link through opserver 10.0.0.23
2026-01-15 02:09:18,473 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-01-15 02:09:18,482 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162?flat'}
2026-01-15 02:09:18,483 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162 is found in opserver
2026-01-15 02:09:18,492 - DEBUG - Do not have enough data to verify VN in agent
2026-01-15 02:09:18,496 - DEBUG - VRF ids for VN ctest-vn-75673162: {}
2026-01-15 02:09:18,568 - DEBUG - Services list from nova: [