2025-12-30 18:08:10,784 - INFO - Domain Default found not creating
2025-12-30 18:08:10,940 - INFO - Project ctest-TestBasicPolicy-22392498 not found, creating it
2025-12-30 18:08:11,402 - INFO - Created Project:ctest-TestBasicPolicy-22392498, ID : a2962798-a135-4d6d-b536-8e30c882b4bb
2025-12-30 18:08:12,852 - INFO - ================================================================================
2025-12-30 18:08:12,852 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-30 18:08:12,852 - 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
2025-12-30 18:08:13,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-12-30 18:08:13,105 - INFO - Initial checks done. Running the testcase now
2025-12-30 18:08:13,105 - INFO -
2025-12-30 18:08:13,649 - DEBUG - Response for create_network : {'network': {'id': '996fc35d-cfc2-4a58-9114-a465cc2fa59a', 'name': 'ctest-vn-17767059', 'tenant_id': 'a2962798a1354d6db5368e30c882b4bb', 'project_id': 'a2962798a1354d6db5368e30c882b4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-vn-17767059'], 'port_security_enabled': True, 'description': ''}}
2025-12-30 18:08:13,797 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a18df472-e039-49a6-9a3a-aef01038a35e', 'name': '', 'tenant_id': 'a2962798a1354d6db5368e30c882b4bb', 'network_id': '996fc35d-cfc2-4a58-9114-a465cc2fa59a', 'ip_version': 4, 'cidr': '213.52.71.64/26', 'allocation_pools': [{'start': '213.52.71.66', 'end': '213.52.71.126'}], 'gateway_ip': '213.52.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.52.71.66', 'tags': [], 'project_id': 'a2962798a1354d6db5368e30c882b4bb'}}
2025-12-30 18:08:13,815 - INFO - Created VN ctest-vn-17767059
2025-12-30 18:08:13,864 - DEBUG - VN ctest-vn-17767059 UUID is 996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:14,177 - DEBUG - Response for create_network : {'network': {'id': '2d02feb3-cf05-476f-8a18-5a7688ac2e03', 'name': 'ctest-vn-38254735', 'tenant_id': 'a2962798a1354d6db5368e30c882b4bb', 'project_id': 'a2962798a1354d6db5368e30c882b4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-vn-38254735'], 'port_security_enabled': True, 'description': ''}}
2025-12-30 18:08:14,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '156b033d-538a-4ee3-8515-c31a86c02fd5', 'name': '', 'tenant_id': 'a2962798a1354d6db5368e30c882b4bb', 'network_id': '2d02feb3-cf05-476f-8a18-5a7688ac2e03', 'ip_version': 4, 'cidr': '195.86.254.128/26', 'allocation_pools': [{'start': '195.86.254.130', 'end': '195.86.254.190'}], 'gateway_ip': '195.86.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.86.254.130', 'tags': [], 'project_id': 'a2962798a1354d6db5368e30c882b4bb'}}
2025-12-30 18:08:14,383 - INFO - Created VN ctest-vn-38254735
2025-12-30 18:08:14,440 - DEBUG - VN ctest-vn-38254735 UUID is 2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:14,596 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-17767059, 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-22392498:ctest-vn-38254735, 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]
2025-12-30 18:08:14,900 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '996fc35d-cfc2-4a58-9114-a465cc2fa59a', 'name': 'ctest-vn-17767059', 'tenant_id': 'a2962798a1354d6db5368e30c882b4bb', 'project_id': 'a2962798a1354d6db5368e30c882b4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a18df472-e039-49a6-9a3a-aef01038a35e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-vn-17767059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-policy-allow-all-55835939']], 'subnet_ipam': [{'subnet_cidr': '213.52.71.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-30 18:08:15,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d02feb3-cf05-476f-8a18-5a7688ac2e03', 'name': 'ctest-vn-38254735', 'tenant_id': 'a2962798a1354d6db5368e30c882b4bb', 'project_id': 'a2962798a1354d6db5368e30c882b4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['156b033d-538a-4ee3-8515-c31a86c02fd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-vn-38254735'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-policy-allow-all-55835939']], 'subnet_ipam': [{'subnet_cidr': '195.86.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-30 18:08:15,292 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 18:08:15,598 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 18:08:15,631 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b47b6e67-7303-4965-878d-9c79e93fffc2
2025-12-30 18:08:15,644 - DEBUG - Requesting: http://10.0.0.33:8082/project/a2962798-a135-4d6d-b536-8e30c882b4bb
2025-12-30 18:08:15,715 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:15,725 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:15,738 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d5c2eb1-9aef-447a-b153-770fb6ade132
2025-12-30 18:08:15,745 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d5c2eb1-9aef-447a-b153-770fb6ade132
2025-12-30 18:08:15,751 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4b030cdb-2722-4f23-9635-6fafd223e6c5
2025-12-30 18:08:15,756 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-30 18:08:15,756 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:15,764 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d5c2eb1-9aef-447a-b153-770fb6ade132
2025-12-30 18:08:15,778 - INFO - Verified VN network id 11 for VN 996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:15,778 - INFO - Verifications in API Server for VN ctest-vn-17767059 passed
2025-12-30 18:08:15,778 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:15,786 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d5c2eb1-9aef-447a-b153-770fb6ade132
2025-12-30 18:08:15,792 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d5c2eb1-9aef-447a-b153-770fb6ade132
2025-12-30 18:08:15,798 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4b030cdb-2722-4f23-9635-6fafd223e6c5
2025-12-30 18:08:15,808 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-17767059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22392498', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11056270417902848600', 'uuid-lslong': '10454161392158090650'}, 'enable': 'true', 'created': '2025-12-30T18:08:13', 'last-modified': '2025-12-30T18:08:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927859'}
2025-12-30 18:08:15,814 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-30 18:08:15,814 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17767059 passed
2025-12-30 18:08:15,814 - DEBUG - ====Verifying policy data for ctest-vn-17767059 in API_Server ======
2025-12-30 18:08:15,814 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 18:08:15,821 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b47b6e67-7303-4965-878d-9c79e93fffc2
2025-12-30 18:08:15,834 - DEBUG - Requesting: http://10.0.0.33:8082/project/a2962798-a135-4d6d-b536-8e30c882b4bb
2025-12-30 18:08:15,906 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/996fc35d-cfc2-4a58-9114-a465cc2fa59a
2025-12-30 18:08:15,914 - DEBUG - ==>Verifying data for policy with id: 5dd3423b-669c-420b-ae96-977baba04e97, fqn: ['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-policy-allow-all-55835939']
2025-12-30 18:08:15,914 - INFO - VN ctest-vn-17767059 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-30 18:08:15,914 - DEBUG - Verifying the vn in opserver
2025-12-30 18:08:15,914 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-17767059 virtual network link through opserver 10.0.0.33
2025-12-30 18:08:15,914 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-30 18:08:16,208 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-30 18:08:16,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-17767059', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-17767059?flat'}
2025-12-30 18:08:16,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-17767059 is found in opserver
2025-12-30 18:08:16,275 - DEBUG - Do not have enough data to verify VN in agent
2025-12-30 18:08:16,279 - DEBUG - VRF ids for VN ctest-vn-17767059: {}
2025-12-30 18:08:16,279 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 18:08:16,284 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b47b6e67-7303-4965-878d-9c79e93fffc2
2025-12-30 18:08:16,297 - DEBUG - Requesting: http://10.0.0.33:8082/project/a2962798-a135-4d6d-b536-8e30c882b4bb
2025-12-30 18:08:16,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:16,385 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:16,394 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7db1244b-8e0d-4898-8080-c22800d2450d
2025-12-30 18:08:16,400 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7db1244b-8e0d-4898-8080-c22800d2450d
2025-12-30 18:08:16,406 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/98ee3ab7-e55c-4c23-96b6-27419e972976
2025-12-30 18:08:16,412 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-30 18:08:16,412 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:16,420 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7db1244b-8e0d-4898-8080-c22800d2450d
2025-12-30 18:08:16,433 - INFO - Verified VN network id 12 for VN 2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:16,433 - INFO - Verifications in API Server for VN ctest-vn-38254735 passed
2025-12-30 18:08:16,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:16,440 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7db1244b-8e0d-4898-8080-c22800d2450d
2025-12-30 18:08:16,447 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7db1244b-8e0d-4898-8080-c22800d2450d
2025-12-30 18:08:16,453 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/98ee3ab7-e55c-4c23-96b6-27419e972976
2025-12-30 18:08:16,464 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-38254735', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22392498', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3243434729886009199', 'uuid-lslong': '9950802841820737027'}, 'enable': 'true', 'created': '2025-12-30T18:08:14', 'last-modified': '2025-12-30T18:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353792'}
2025-12-30 18:08:16,469 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-30 18:08:16,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38254735 passed
2025-12-30 18:08:16,469 - DEBUG - ====Verifying policy data for ctest-vn-38254735 in API_Server ======
2025-12-30 18:08:16,469 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 18:08:16,475 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b47b6e67-7303-4965-878d-9c79e93fffc2
2025-12-30 18:08:16,484 - DEBUG - Requesting: http://10.0.0.33:8082/project/a2962798-a135-4d6d-b536-8e30c882b4bb
2025-12-30 18:08:16,552 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d02feb3-cf05-476f-8a18-5a7688ac2e03
2025-12-30 18:08:16,561 - DEBUG - ==>Verifying data for policy with id: 5dd3423b-669c-420b-ae96-977baba04e97, fqn: ['default-domain', 'ctest-TestBasicPolicy-22392498', 'ctest-policy-allow-all-55835939']
2025-12-30 18:08:16,561 - INFO - VN ctest-vn-38254735 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-30 18:08:16,561 - DEBUG - Verifying the vn in opserver
2025-12-30 18:08:16,561 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-38254735 virtual network link through opserver 10.0.0.33
2025-12-30 18:08:16,561 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-30 18:08:16,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-38254735', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-38254735?flat'}
2025-12-30 18:08:16,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22392498:ctest-vn-38254735 is found in opserver
2025-12-30 18:08:16,579 - DEBUG - Do not have enough data to verify VN in agent
2025-12-30 18:08:16,584 - DEBUG - VRF ids for VN ctest-vn-38254735: {}
2025-12-30 18:08:16,645 - DEBUG - Services list from nova: [