2026-06-19 23:19:20,946 - INFO - Domain Default found not creating
2026-06-19 23:19:21,075 - INFO - Project ctest-TestBasicPolicy-28997268 not found, creating it
2026-06-19 23:19:21,514 - INFO - Created Project:ctest-TestBasicPolicy-28997268, ID : 3b60425f-b649-488d-bd0f-1c9ed4a17a5c
2026-06-19 23:19:22,910 - INFO - ================================================================================
2026-06-19 23:19:22,910 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 23:19:22,910 - 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-06-19 23:19:23,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2026-06-19 23:19:23,172 - INFO - Initial checks done. Running the testcase now
2026-06-19 23:19:23,172 - INFO -
2026-06-19 23:19:23,707 - DEBUG - Response for create_network : {'network': {'id': '65a5b245-e058-4af2-912d-bf73fbfecc1d', 'name': 'ctest-vn-16638190', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-16638190'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 23:19:23,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '140dd1a7-95e1-43ed-ab0b-c9b9a927fa27', 'name': '', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'network_id': '65a5b245-e058-4af2-912d-bf73fbfecc1d', 'ip_version': 4, 'cidr': '90.12.112.128/26', 'allocation_pools': [{'start': '90.12.112.130', 'end': '90.12.112.190'}], 'gateway_ip': '90.12.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.12.112.130', 'tags': [], 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c'}}
2026-06-19 23:19:23,857 - INFO - Created VN ctest-vn-16638190
2026-06-19 23:19:23,907 - DEBUG - VN ctest-vn-16638190 UUID is 65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:24,201 - DEBUG - Response for create_network : {'network': {'id': '07733fa9-b1ed-4c3f-ad02-4ec6d90c244d', 'name': 'ctest-vn-56744852', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-56744852'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 23:19:24,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1f0eb31-5633-457a-926a-a6d6eebbf756', 'name': '', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'network_id': '07733fa9-b1ed-4c3f-ad02-4ec6d90c244d', 'ip_version': 4, 'cidr': '8.175.99.128/26', 'allocation_pools': [{'start': '8.175.99.130', 'end': '8.175.99.190'}], 'gateway_ip': '8.175.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.175.99.130', 'tags': [], 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c'}}
2026-06-19 23:19:24,424 - INFO - Created VN ctest-vn-56744852
2026-06-19 23:19:24,475 - DEBUG - VN ctest-vn-56744852 UUID is 07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:24,615 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190, 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-28997268:ctest-vn-56744852, 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-06-19 23:19:24,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65a5b245-e058-4af2-912d-bf73fbfecc1d', 'name': 'ctest-vn-16638190', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['140dd1a7-95e1-43ed-ab0b-c9b9a927fa27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-16638190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289']], 'subnet_ipam': [{'subnet_cidr': '90.12.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 23:19:25,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07733fa9-b1ed-4c3f-ad02-4ec6d90c244d', 'name': 'ctest-vn-56744852', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b1f0eb31-5633-457a-926a-a6d6eebbf756'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-56744852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289']], 'subnet_ipam': [{'subnet_cidr': '8.175.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 23:19:25,271 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 23:19:25,595 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 23:19:25,623 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97
2026-06-19 23:19:25,634 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c
2026-06-19 23:19:25,706 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:25,717 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:25,724 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8
2026-06-19 23:19:25,731 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8
2026-06-19 23:19:25,736 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/454503a2-af4e-43a0-b764-d7de8e61c46f
2026-06-19 23:19:25,742 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 23:19:25,742 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:25,749 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8
2026-06-19 23:19:25,760 - INFO - Verified VN network id 11 for VN 65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:25,761 - INFO - Verifications in API Server for VN ctest-vn-16638190 passed
2026-06-19 23:19:25,761 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:25,768 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8
2026-06-19 23:19:25,773 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8
2026-06-19 23:19:25,780 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/454503a2-af4e-43a0-b764-d7de8e61c46f
2026-06-19 23:19:25,789 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28997268', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7324456382174350066', 'uuid-lslong': '10461228014321454109'}, 'enable': 'true', 'created': '2026-06-19T23:19:23', 'last-modified': '2026-06-19T23:19:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918277'}
2026-06-19 23:19:25,795 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 23:19:25,795 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16638190 passed
2026-06-19 23:19:25,795 - DEBUG - ====Verifying policy data for ctest-vn-16638190 in API_Server ======
2026-06-19 23:19:25,795 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 23:19:25,801 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97
2026-06-19 23:19:25,810 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c
2026-06-19 23:19:25,876 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d
2026-06-19 23:19:25,883 - DEBUG - ==>Verifying data for policy with id: f778ac43-67d4-4cd3-be49-75aabfc1b020, fqn: ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289']
2026-06-19 23:19:25,883 - INFO - VN ctest-vn-16638190 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 23:19:25,883 - DEBUG - Verifying the vn in opserver
2026-06-19 23:19:25,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190 virtual network link through opserver 10.0.0.19
2026-06-19 23:19:25,883 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 23:19:26,219 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 23:19:26,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190?flat'}
2026-06-19 23:19:26,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190 is found in opserver
2026-06-19 23:19:26,270 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 23:19:26,274 - DEBUG - VRF ids for VN ctest-vn-16638190: {}
2026-06-19 23:19:26,274 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 23:19:26,278 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97
2026-06-19 23:19:26,287 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c
2026-06-19 23:19:26,354 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:26,363 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:26,370 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a
2026-06-19 23:19:26,376 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a
2026-06-19 23:19:26,381 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/46750b90-6bc9-471b-9d3c-2174c95ff9a3
2026-06-19 23:19:26,386 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 23:19:26,386 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:26,393 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a
2026-06-19 23:19:26,411 - INFO - Verified VN network id 12 for VN 07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:26,411 - INFO - Verifications in API Server for VN ctest-vn-56744852 passed
2026-06-19 23:19:26,411 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:26,422 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a
2026-06-19 23:19:26,428 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a
2026-06-19 23:19:26,434 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/46750b90-6bc9-471b-9d3c-2174c95ff9a3
2026-06-19 23:19:26,445 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28997268', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '536842778654362687', 'uuid-lslong': '12466613334466896973'}, 'enable': 'true', 'created': '2026-06-19T23:19:24', 'last-modified': '2026-06-19T23:19:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358728'}
2026-06-19 23:19:26,451 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 23:19:26,451 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56744852 passed
2026-06-19 23:19:26,451 - DEBUG - ====Verifying policy data for ctest-vn-56744852 in API_Server ======
2026-06-19 23:19:26,451 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 23:19:26,456 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97
2026-06-19 23:19:26,466 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c
2026-06-19 23:19:26,529 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d
2026-06-19 23:19:26,538 - DEBUG - ==>Verifying data for policy with id: f778ac43-67d4-4cd3-be49-75aabfc1b020, fqn: ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289']
2026-06-19 23:19:26,538 - INFO - VN ctest-vn-56744852 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 23:19:26,538 - DEBUG - Verifying the vn in opserver
2026-06-19 23:19:26,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852 virtual network link through opserver 10.0.0.19
2026-06-19 23:19:26,538 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 23:19:26,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852?flat'}
2026-06-19 23:19:26,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852 is found in opserver
2026-06-19 23:19:26,557 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 23:19:26,561 - DEBUG - VRF ids for VN ctest-vn-56744852: {}
2026-06-19 23:19:26,609 - DEBUG - Services list from nova: [