2026-09-02 06:10:16,573 - INFO - Domain Default found not creating
2026-09-02 06:10:16,762 - INFO - Project ctest-TestBasicPolicy-90300854 not found, creating it
2026-09-02 06:10:17,316 - INFO - Created Project:ctest-TestBasicPolicy-90300854, ID : 07b84a80-bfb5-481b-8119-f8a3485da082
2026-09-02 06:10:18,984 - INFO - ================================================================================
2026-09-02 06:10:18,984 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-02 06:10:18,984 - 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-02 06:10:19,261 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with
2026-09-02 06:10:19,261 - INFO - Initial checks done. Running the testcase now
2026-09-02 06:10:19,261 - INFO -
2026-09-02 06:10:19,885 - DEBUG - Response for create_network : {'network': {'id': '87577810-c441-4acf-9765-4d7afa60cfbc', 'name': 'ctest-vn-79712130', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-79712130'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 06:10:20,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '65520d91-2b94-4e94-a1eb-eeeb708f5519', 'name': '', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'network_id': '87577810-c441-4acf-9765-4d7afa60cfbc', 'ip_version': 4, 'cidr': '192.108.88.192/26', 'allocation_pools': [{'start': '192.108.88.194', 'end': '192.108.88.254'}], 'gateway_ip': '192.108.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.108.88.194', 'tags': [], 'project_id': '07b84a80bfb5481b8119f8a3485da082'}}
2026-09-02 06:10:20,173 - INFO - Created VN ctest-vn-79712130
2026-09-02 06:10:20,231 - DEBUG - VN ctest-vn-79712130 UUID is 87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:20,622 - DEBUG - Response for create_network : {'network': {'id': 'a0f0c634-f94e-4f00-b38d-d4556752c580', 'name': 'ctest-vn-92925985', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-92925985'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 06:10:20,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3cde340-1e7a-4b38-aa95-c0278b9dd483', 'name': '', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'network_id': 'a0f0c634-f94e-4f00-b38d-d4556752c580', 'ip_version': 4, 'cidr': '188.31.36.192/26', 'allocation_pools': [{'start': '188.31.36.194', 'end': '188.31.36.254'}], 'gateway_ip': '188.31.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.31.36.194', 'tags': [], 'project_id': '07b84a80bfb5481b8119f8a3485da082'}}
2026-09-02 06:10:20,869 - INFO - Created VN ctest-vn-92925985
2026-09-02 06:10:20,926 - DEBUG - VN ctest-vn-92925985 UUID is a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:21,041 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130, 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-90300854:ctest-vn-92925985, 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-02 06:10:21,383 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87577810-c441-4acf-9765-4d7afa60cfbc', 'name': 'ctest-vn-79712130', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['65520d91-2b94-4e94-a1eb-eeeb708f5519'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-79712130'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987']], 'subnet_ipam': [{'subnet_cidr': '192.108.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 06:10:21,665 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0f0c634-f94e-4f00-b38d-d4556752c580', 'name': 'ctest-vn-92925985', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b3cde340-1e7a-4b38-aa95-c0278b9dd483'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-92925985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987']], 'subnet_ipam': [{'subnet_cidr': '188.31.36.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 06:10:21,846 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-09-02 06:10:22,172 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-09-02 06:10:22,201 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c
2026-09-02 06:10:22,219 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082
2026-09-02 06:10:22,305 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:22,319 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:22,332 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd
2026-09-02 06:10:22,344 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd
2026-09-02 06:10:22,355 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/8d76c407-9478-49ac-af2c-8311c1190e50
2026-09-02 06:10:22,365 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 06:10:22,365 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:22,379 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd
2026-09-02 06:10:22,400 - INFO - Verified VN network id 12 for VN 87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:22,401 - INFO - Verifications in API Server for VN ctest-vn-79712130 passed
2026-09-02 06:10:22,401 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:22,415 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd
2026-09-02 06:10:22,426 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd
2026-09-02 06:10:22,436 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/8d76c407-9478-49ac-af2c-8311c1190e50
2026-09-02 06:10:22,451 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90300854', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9752395531501521615', 'uuid-lslong': '10909210862956892092'}, 'enable': 'true', 'created': '2026-09-02T06:10:19', 'last-modified': '2026-09-02T06:10:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.105318'}
2026-09-02 06:10:22,460 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 06:10:22,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79712130 passed
2026-09-02 06:10:22,460 - DEBUG - ====Verifying policy data for ctest-vn-79712130 in API_Server ======
2026-09-02 06:10:22,461 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-09-02 06:10:22,469 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c
2026-09-02 06:10:22,484 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082
2026-09-02 06:10:22,576 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc
2026-09-02 06:10:22,589 - DEBUG - ==>Verifying data for policy with id: c48eba7f-0c5c-4291-b80e-290db4db68d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987']
2026-09-02 06:10:22,589 - INFO - VN ctest-vn-79712130 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 06:10:22,589 - DEBUG - Verifying the vn in opserver
2026-09-02 06:10:22,589 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130 virtual network link through opserver 10.0.0.163
2026-09-02 06:10:22,590 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-09-02 06:10:22,930 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-09-02 06:10:23,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130?flat'}
2026-09-02 06:10:23,001 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130 is found in opserver
2026-09-02 06:10:23,017 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 06:10:23,023 - DEBUG - VRF ids for VN ctest-vn-79712130: {}
2026-09-02 06:10:23,023 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-09-02 06:10:23,030 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c
2026-09-02 06:10:23,047 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082
2026-09-02 06:10:23,134 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:23,160 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:23,171 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869
2026-09-02 06:10:23,182 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869
2026-09-02 06:10:23,191 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/2afef909-8644-4ed4-be0d-854efd868077
2026-09-02 06:10:23,201 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 06:10:23,201 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:23,212 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869
2026-09-02 06:10:23,230 - INFO - Verified VN network id 13 for VN a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:23,230 - INFO - Verifications in API Server for VN ctest-vn-92925985 passed
2026-09-02 06:10:23,230 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:23,242 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869
2026-09-02 06:10:23,250 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869
2026-09-02 06:10:23,260 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/2afef909-8644-4ed4-be0d-854efd868077
2026-09-02 06:10:23,274 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90300854', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11596986971302285056', 'uuid-lslong': '12938230767776089472'}, 'enable': 'true', 'created': '2026-09-02T06:10:20', 'last-modified': '2026-09-02T06:10:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.639012'}
2026-09-02 06:10:23,283 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 06:10:23,283 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92925985 passed
2026-09-02 06:10:23,283 - DEBUG - ====Verifying policy data for ctest-vn-92925985 in API_Server ======
2026-09-02 06:10:23,283 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-09-02 06:10:23,291 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c
2026-09-02 06:10:23,305 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082
2026-09-02 06:10:23,411 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580
2026-09-02 06:10:23,424 - DEBUG - ==>Verifying data for policy with id: c48eba7f-0c5c-4291-b80e-290db4db68d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987']
2026-09-02 06:10:23,424 - INFO - VN ctest-vn-92925985 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 06:10:23,424 - DEBUG - Verifying the vn in opserver
2026-09-02 06:10:23,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985 virtual network link through opserver 10.0.0.163
2026-09-02 06:10:23,424 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-09-02 06:10:23,436 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985?flat'}
2026-09-02 06:10:23,436 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985 is found in opserver
2026-09-02 06:10:23,449 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 06:10:23,458 - DEBUG - VRF ids for VN ctest-vn-92925985: {}
2026-09-02 06:10:23,545 - DEBUG - Services list from nova: [