2026-09-17 23:17:21,219 - INFO - Domain Default found not creating
2026-09-17 23:17:21,395 - INFO - Project ctest-TestBasicPolicy-73042421 not found, creating it
2026-09-17 23:17:21,865 - INFO - Created Project:ctest-TestBasicPolicy-73042421, ID : 884427ce-4912-4881-870f-ab1fb821c40d
2026-09-17 23:17:23,412 - INFO - ================================================================================
2026-09-17 23:17:23,413 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 23:17:23,413 - 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-09-17 23:17:23,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-09-17 23:17:23,666 - INFO - Initial checks done. Running the testcase now
2026-09-17 23:17:23,666 - INFO -
2026-09-17 23:17:24,234 - DEBUG - Response for create_network : {'network': {'id': '5555da67-ac6d-4635-a968-9b6bf06cc6a8', 'name': 'ctest-vn-18569561', 'tenant_id': '884427ce49124881870fab1fb821c40d', 'project_id': '884427ce49124881870fab1fb821c40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-vn-18569561'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 23:17:24,403 - DEBUG - Response for create_subnet : {'subnet': {'id': '75248008-8d71-4701-a5c7-a979088d5801', 'name': '', 'tenant_id': '884427ce49124881870fab1fb821c40d', 'network_id': '5555da67-ac6d-4635-a968-9b6bf06cc6a8', 'ip_version': 4, 'cidr': '118.13.167.64/26', 'allocation_pools': [{'start': '118.13.167.66', 'end': '118.13.167.126'}], 'gateway_ip': '118.13.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.13.167.66', 'tags': [], 'project_id': '884427ce49124881870fab1fb821c40d'}}
2026-09-17 23:17:24,422 - INFO - Created VN ctest-vn-18569561
2026-09-17 23:17:24,476 - DEBUG - VN ctest-vn-18569561 UUID is 5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:24,816 - DEBUG - Response for create_network : {'network': {'id': 'a2d23c4d-1cfa-4844-b94b-164ce72bcf5d', 'name': 'ctest-vn-12913522', 'tenant_id': '884427ce49124881870fab1fb821c40d', 'project_id': '884427ce49124881870fab1fb821c40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-vn-12913522'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 23:17:25,046 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc43e2c4-7f90-48ec-9af2-134f1061c595', 'name': '', 'tenant_id': '884427ce49124881870fab1fb821c40d', 'network_id': 'a2d23c4d-1cfa-4844-b94b-164ce72bcf5d', 'ip_version': 4, 'cidr': '186.112.190.64/26', 'allocation_pools': [{'start': '186.112.190.66', 'end': '186.112.190.126'}], 'gateway_ip': '186.112.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.112.190.66', 'tags': [], 'project_id': '884427ce49124881870fab1fb821c40d'}}
2026-09-17 23:17:25,063 - INFO - Created VN ctest-vn-12913522
2026-09-17 23:17:25,116 - DEBUG - VN ctest-vn-12913522 UUID is a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:25,260 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-18569561, 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-73042421:ctest-vn-12913522, 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-09-17 23:17:25,553 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5555da67-ac6d-4635-a968-9b6bf06cc6a8', 'name': 'ctest-vn-18569561', 'tenant_id': '884427ce49124881870fab1fb821c40d', 'project_id': '884427ce49124881870fab1fb821c40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['75248008-8d71-4701-a5c7-a979088d5801'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-vn-18569561'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-policy-allow-all-97263651']], 'subnet_ipam': [{'subnet_cidr': '118.13.167.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 23:17:25,782 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2d23c4d-1cfa-4844-b94b-164ce72bcf5d', 'name': 'ctest-vn-12913522', 'tenant_id': '884427ce49124881870fab1fb821c40d', 'project_id': '884427ce49124881870fab1fb821c40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cc43e2c4-7f90-48ec-9af2-134f1061c595'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-vn-12913522'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-policy-allow-all-97263651']], 'subnet_ipam': [{'subnet_cidr': '186.112.190.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 23:17:25,936 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-17 23:17:26,257 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-17 23:17:26,282 - DEBUG - Requesting: http://10.0.0.185:8082/domain/607153cd-a8e2-41b4-8a86-5b653c3b8bb2
2026-09-17 23:17:26,294 - DEBUG - Requesting: http://10.0.0.185:8082/project/884427ce-4912-4881-870f-ab1fb821c40d
2026-09-17 23:17:26,370 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:26,381 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:26,389 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7c935024-d7f3-48be-aa2d-e84784002ac5
2026-09-17 23:17:26,396 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7c935024-d7f3-48be-aa2d-e84784002ac5
2026-09-17 23:17:26,403 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/92d9e297-5218-4d6e-b389-8aaf42c0a0d1
2026-09-17 23:17:26,408 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 23:17:26,408 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:26,416 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7c935024-d7f3-48be-aa2d-e84784002ac5
2026-09-17 23:17:26,427 - INFO - Verified VN network id 12 for VN 5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:26,427 - INFO - Verifications in API Server for VN ctest-vn-18569561 passed
2026-09-17 23:17:26,427 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:26,437 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7c935024-d7f3-48be-aa2d-e84784002ac5
2026-09-17 23:17:26,443 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7c935024-d7f3-48be-aa2d-e84784002ac5
2026-09-17 23:17:26,449 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/92d9e297-5218-4d6e-b389-8aaf42c0a0d1
2026-09-17 23:17:26,459 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-18569561', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73042421', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6149061005053609525', 'uuid-lslong': '12207177677885195944'}, 'enable': 'true', 'created': '2026-09-17T23:17:24', 'last-modified': '2026-09-17T23:17:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927927'}
2026-09-17 23:17:26,466 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 23:17:26,466 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18569561 passed
2026-09-17 23:17:26,466 - DEBUG - ====Verifying policy data for ctest-vn-18569561 in API_Server ======
2026-09-17 23:17:26,466 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-17 23:17:26,473 - DEBUG - Requesting: http://10.0.0.185:8082/domain/607153cd-a8e2-41b4-8a86-5b653c3b8bb2
2026-09-17 23:17:26,483 - DEBUG - Requesting: http://10.0.0.185:8082/project/884427ce-4912-4881-870f-ab1fb821c40d
2026-09-17 23:17:26,561 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5555da67-ac6d-4635-a968-9b6bf06cc6a8
2026-09-17 23:17:26,571 - DEBUG - ==>Verifying data for policy with id: 9e4179d3-ee29-4019-9e5b-59da6a7f0abc, fqn: ['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-policy-allow-all-97263651']
2026-09-17 23:17:26,571 - INFO - VN ctest-vn-18569561 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 23:17:26,571 - DEBUG - Verifying the vn in opserver
2026-09-17 23:17:26,571 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-18569561 virtual network link through opserver 10.0.0.185
2026-09-17 23:17:26,571 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-17 23:17:26,891 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-17 23:17:26,942 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-18569561', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-18569561?flat'}
2026-09-17 23:17:26,942 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-18569561 is found in opserver
2026-09-17 23:17:26,951 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 23:17:26,956 - DEBUG - VRF ids for VN ctest-vn-18569561: {}
2026-09-17 23:17:26,956 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-17 23:17:26,961 - DEBUG - Requesting: http://10.0.0.185:8082/domain/607153cd-a8e2-41b4-8a86-5b653c3b8bb2
2026-09-17 23:17:26,971 - DEBUG - Requesting: http://10.0.0.185:8082/project/884427ce-4912-4881-870f-ab1fb821c40d
2026-09-17 23:17:27,046 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:27,058 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:27,066 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/03dd915c-e427-4d06-96b3-a3ea4264099c
2026-09-17 23:17:27,073 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/03dd915c-e427-4d06-96b3-a3ea4264099c
2026-09-17 23:17:27,079 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/b29ffc5a-bc49-4978-9c9c-0c6a6bc0e4ed
2026-09-17 23:17:27,084 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 23:17:27,084 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:27,093 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/03dd915c-e427-4d06-96b3-a3ea4264099c
2026-09-17 23:17:27,105 - INFO - Verified VN network id 13 for VN a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:27,105 - INFO - Verifications in API Server for VN ctest-vn-12913522 passed
2026-09-17 23:17:27,105 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:27,113 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/03dd915c-e427-4d06-96b3-a3ea4264099c
2026-09-17 23:17:27,119 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/03dd915c-e427-4d06-96b3-a3ea4264099c
2026-09-17 23:17:27,125 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/b29ffc5a-bc49-4978-9c9c-0c6a6bc0e4ed
2026-09-17 23:17:27,136 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-12913522', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73042421', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11732506281149876292', 'uuid-lslong': '13351790039821700957'}, 'enable': 'true', 'created': '2026-09-17T23:17:24', 'last-modified': '2026-09-17T23:17:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375229'}
2026-09-17 23:17:27,142 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 23:17:27,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12913522 passed
2026-09-17 23:17:27,143 - DEBUG - ====Verifying policy data for ctest-vn-12913522 in API_Server ======
2026-09-17 23:17:27,143 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-17 23:17:27,148 - DEBUG - Requesting: http://10.0.0.185:8082/domain/607153cd-a8e2-41b4-8a86-5b653c3b8bb2
2026-09-17 23:17:27,158 - DEBUG - Requesting: http://10.0.0.185:8082/project/884427ce-4912-4881-870f-ab1fb821c40d
2026-09-17 23:17:27,234 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a2d23c4d-1cfa-4844-b94b-164ce72bcf5d
2026-09-17 23:17:27,243 - DEBUG - ==>Verifying data for policy with id: 9e4179d3-ee29-4019-9e5b-59da6a7f0abc, fqn: ['default-domain', 'ctest-TestBasicPolicy-73042421', 'ctest-policy-allow-all-97263651']
2026-09-17 23:17:27,243 - INFO - VN ctest-vn-12913522 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 23:17:27,243 - DEBUG - Verifying the vn in opserver
2026-09-17 23:17:27,243 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-12913522 virtual network link through opserver 10.0.0.185
2026-09-17 23:17:27,243 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-17 23:17:27,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-12913522', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-12913522?flat'}
2026-09-17 23:17:27,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73042421:ctest-vn-12913522 is found in opserver
2026-09-17 23:17:27,264 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 23:17:27,268 - DEBUG - VRF ids for VN ctest-vn-12913522: {}
2026-09-17 23:17:27,324 - DEBUG - Services list from nova: [