2026-06-15 17:13:28,429 - INFO - Domain Default found not creating
2026-06-15 17:13:28,557 - INFO - Project ctest-TestBasicPolicy-64444064 not found, creating it
2026-06-15 17:13:28,977 - INFO - Created Project:ctest-TestBasicPolicy-64444064, ID : 79fe87c3-340f-4609-a277-29f507e83af4
2026-06-15 17:13:30,397 - INFO - ================================================================================
2026-06-15 17:13:30,398 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 17:13:30,398 - 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-15 17:13:30,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-15 17:13:30,655 - INFO - Initial checks done. Running the testcase now
2026-06-15 17:13:30,655 - INFO -
2026-06-15 17:13:31,213 - DEBUG - Response for create_network : {'network': {'id': '859ae292-ce7d-49c1-bcc1-62474a0d5baf', 'name': 'ctest-vn-88969630', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-88969630'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:13:31,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cfd4102-32c5-446f-8d4d-f2fca467f373', 'name': '', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'network_id': '859ae292-ce7d-49c1-bcc1-62474a0d5baf', 'ip_version': 4, 'cidr': '107.146.242.0/26', 'allocation_pools': [{'start': '107.146.242.2', 'end': '107.146.242.62'}], 'gateway_ip': '107.146.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.146.242.2', 'tags': [], 'project_id': '79fe87c3340f4609a27729f507e83af4'}}
2026-06-15 17:13:31,432 - INFO - Created VN ctest-vn-88969630
2026-06-15 17:13:31,482 - DEBUG - VN ctest-vn-88969630 UUID is 859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:31,780 - DEBUG - Response for create_network : {'network': {'id': '4b6346f3-3b51-4c2d-87fa-62addbb65efa', 'name': 'ctest-vn-55802790', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-55802790'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:13:31,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d4e5776-bc3b-4122-b7a8-b70f2cdb831b', 'name': '', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'network_id': '4b6346f3-3b51-4c2d-87fa-62addbb65efa', 'ip_version': 4, 'cidr': '174.188.237.128/26', 'allocation_pools': [{'start': '174.188.237.130', 'end': '174.188.237.190'}], 'gateway_ip': '174.188.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.188.237.130', 'tags': [], 'project_id': '79fe87c3340f4609a27729f507e83af4'}}
2026-06-15 17:13:31,943 - INFO - Created VN ctest-vn-55802790
2026-06-15 17:13:31,995 - DEBUG - VN ctest-vn-55802790 UUID is 4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:32,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630, 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-64444064:ctest-vn-55802790, 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-15 17:13:32,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '859ae292-ce7d-49c1-bcc1-62474a0d5baf', 'name': 'ctest-vn-88969630', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8cfd4102-32c5-446f-8d4d-f2fca467f373'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-88969630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699']], 'subnet_ipam': [{'subnet_cidr': '107.146.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:13:32,624 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b6346f3-3b51-4c2d-87fa-62addbb65efa', 'name': 'ctest-vn-55802790', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d4e5776-bc3b-4122-b7a8-b70f2cdb831b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-55802790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699']], 'subnet_ipam': [{'subnet_cidr': '174.188.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:13:32,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 17:13:33,099 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 17:13:33,122 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5
2026-06-15 17:13:33,132 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4
2026-06-15 17:13:33,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:33,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:33,226 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210
2026-06-15 17:13:33,235 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210
2026-06-15 17:13:33,243 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81045676-013d-4bd5-8895-720c3412eb09
2026-06-15 17:13:33,250 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 17:13:33,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:33,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210
2026-06-15 17:13:33,268 - INFO - Verified VN network id 11 for VN 859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:33,268 - INFO - Verifications in API Server for VN ctest-vn-88969630 passed
2026-06-15 17:13:33,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:33,276 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210
2026-06-15 17:13:33,282 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210
2026-06-15 17:13:33,287 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81045676-013d-4bd5-8895-720c3412eb09
2026-06-15 17:13:33,297 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64444064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9627256273615276481', 'uuid-lslong': '13601260407960198063'}, 'enable': 'true', 'created': '2026-06-15T17:13:31', 'last-modified': '2026-06-15T17:13:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905415'}
2026-06-15 17:13:33,302 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 17:13:33,302 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88969630 passed
2026-06-15 17:13:33,302 - DEBUG - ====Verifying policy data for ctest-vn-88969630 in API_Server ======
2026-06-15 17:13:33,302 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 17:13:33,307 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5
2026-06-15 17:13:33,316 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4
2026-06-15 17:13:33,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf
2026-06-15 17:13:33,398 - DEBUG - ==>Verifying data for policy with id: a2aa5298-edfb-4bb6-8267-421012eac57e, fqn: ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699']
2026-06-15 17:13:33,398 - INFO - VN ctest-vn-88969630 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 17:13:33,398 - DEBUG - Verifying the vn in opserver
2026-06-15 17:13:33,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630 virtual network link through opserver 10.0.0.50
2026-06-15 17:13:33,398 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-15 17:13:33,713 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-15 17:13:33,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630?flat'}
2026-06-15 17:13:33,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630 is found in opserver
2026-06-15 17:13:33,765 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 17:13:33,768 - DEBUG - VRF ids for VN ctest-vn-88969630: {}
2026-06-15 17:13:33,768 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 17:13:33,772 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5
2026-06-15 17:13:33,781 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4
2026-06-15 17:13:33,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:33,861 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:33,869 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95
2026-06-15 17:13:33,875 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95
2026-06-15 17:13:33,881 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/86381894-2d7f-44c7-b75b-588197901b5d
2026-06-15 17:13:33,886 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 17:13:33,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:33,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95
2026-06-15 17:13:33,905 - INFO - Verified VN network id 12 for VN 4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:33,905 - INFO - Verifications in API Server for VN ctest-vn-55802790 passed
2026-06-15 17:13:33,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:33,912 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95
2026-06-15 17:13:33,918 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95
2026-06-15 17:13:33,923 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/86381894-2d7f-44c7-b75b-588197901b5d
2026-06-15 17:13:33,933 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64444064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5432263586025131053', 'uuid-lslong': '9798252438152961786'}, 'enable': 'true', 'created': '2026-06-15T17:13:31', 'last-modified': '2026-06-15T17:13:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327796'}
2026-06-15 17:13:33,938 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 17:13:33,938 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55802790 passed
2026-06-15 17:13:33,938 - DEBUG - ====Verifying policy data for ctest-vn-55802790 in API_Server ======
2026-06-15 17:13:33,939 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 17:13:33,943 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5
2026-06-15 17:13:33,953 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4
2026-06-15 17:13:34,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa
2026-06-15 17:13:34,026 - DEBUG - ==>Verifying data for policy with id: a2aa5298-edfb-4bb6-8267-421012eac57e, fqn: ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699']
2026-06-15 17:13:34,026 - INFO - VN ctest-vn-55802790 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 17:13:34,026 - DEBUG - Verifying the vn in opserver
2026-06-15 17:13:34,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790 virtual network link through opserver 10.0.0.50
2026-06-15 17:13:34,026 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-15 17:13:34,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790?flat'}
2026-06-15 17:13:34,035 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790 is found in opserver
2026-06-15 17:13:34,043 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 17:13:34,047 - DEBUG - VRF ids for VN ctest-vn-55802790: {}
2026-06-15 17:13:34,103 - DEBUG - Services list from nova: [