2026-03-30 03:38:03,592 - INFO - Domain Default found not creating
2026-03-30 03:38:03,778 - INFO - Project ctest-TestBasicPolicy-67868026 not found, creating it
2026-03-30 03:38:04,254 - INFO - Created Project:ctest-TestBasicPolicy-67868026, ID : ec0f21fe-95e1-4c93-baee-f68b8affa8cd
2026-03-30 03:38:05,742 - INFO - ================================================================================
2026-03-30 03:38:05,743 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-30 03:38:05,743 - 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-03-30 03:38:06,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with
2026-03-30 03:38:06,003 - INFO - Initial checks done. Running the testcase now
2026-03-30 03:38:06,003 - INFO -
2026-03-30 03:38:06,570 - DEBUG - Response for create_network : {'network': {'id': '83e5ade0-63bb-4344-8c55-962ff60a33ec', 'name': 'ctest-vn-32600148', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-32600148'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:06,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd2ce270-b963-4e97-a665-485ff30723bd', 'name': '', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'network_id': '83e5ade0-63bb-4344-8c55-962ff60a33ec', 'ip_version': 4, 'cidr': '50.141.254.192/26', 'allocation_pools': [{'start': '50.141.254.194', 'end': '50.141.254.254'}], 'gateway_ip': '50.141.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.141.254.194', 'tags': [], 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd'}}
2026-03-30 03:38:06,794 - INFO - Created VN ctest-vn-32600148
2026-03-30 03:38:06,845 - DEBUG - VN ctest-vn-32600148 UUID is 83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:07,132 - DEBUG - Response for create_network : {'network': {'id': 'e2263ec1-78f1-4f78-aac5-8d59d0c8c003', 'name': 'ctest-vn-42743100', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-42743100'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:07,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e11786b-1d4f-43c5-8ae6-f771ae427d74', 'name': '', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'network_id': 'e2263ec1-78f1-4f78-aac5-8d59d0c8c003', 'ip_version': 4, 'cidr': '166.28.114.192/26', 'allocation_pools': [{'start': '166.28.114.194', 'end': '166.28.114.254'}], 'gateway_ip': '166.28.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.28.114.194', 'tags': [], 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd'}}
2026-03-30 03:38:07,319 - INFO - Created VN ctest-vn-42743100
2026-03-30 03:38:07,369 - DEBUG - VN ctest-vn-42743100 UUID is e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:07,487 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148, 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-67868026:ctest-vn-42743100, 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-03-30 03:38:07,784 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83e5ade0-63bb-4344-8c55-962ff60a33ec', 'name': 'ctest-vn-32600148', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd2ce270-b963-4e97-a665-485ff30723bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-32600148'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646']], 'subnet_ipam': [{'subnet_cidr': '50.141.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:08,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2263ec1-78f1-4f78-aac5-8d59d0c8c003', 'name': 'ctest-vn-42743100', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e11786b-1d4f-43c5-8ae6-f771ae427d74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-42743100'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646']], 'subnet_ipam': [{'subnet_cidr': '166.28.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:08,161 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-03-30 03:38:08,458 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-03-30 03:38:08,495 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c
2026-03-30 03:38:08,506 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd
2026-03-30 03:38:08,576 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:08,587 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:08,595 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72
2026-03-30 03:38:08,602 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72
2026-03-30 03:38:08,610 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/317d360f-9302-40fd-9e86-7438ea047c94
2026-03-30 03:38:08,616 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-30 03:38:08,616 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:08,625 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72
2026-03-30 03:38:08,639 - INFO - Verified VN network id 11 for VN 83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:08,639 - INFO - Verifications in API Server for VN ctest-vn-32600148 passed
2026-03-30 03:38:08,639 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:08,649 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72
2026-03-30 03:38:08,656 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72
2026-03-30 03:38:08,662 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/317d360f-9302-40fd-9e86-7438ea047c94
2026-03-30 03:38:08,673 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67868026', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9504193767892796228', 'uuid-lslong': '10112153671065809900'}, 'enable': 'true', 'created': '2026-03-30T03:38:06', 'last-modified': '2026-03-30T03:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914361'}
2026-03-30 03:38:08,679 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-30 03:38:08,679 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32600148 passed
2026-03-30 03:38:08,679 - DEBUG - ====Verifying policy data for ctest-vn-32600148 in API_Server ======
2026-03-30 03:38:08,679 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-03-30 03:38:08,685 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c
2026-03-30 03:38:08,697 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd
2026-03-30 03:38:08,769 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec
2026-03-30 03:38:08,778 - DEBUG - ==>Verifying data for policy with id: aaa59bf5-d55c-452f-8e91-1fb9a96287c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646']
2026-03-30 03:38:08,778 - INFO - VN ctest-vn-32600148 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-30 03:38:08,778 - DEBUG - Verifying the vn in opserver
2026-03-30 03:38:08,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148 virtual network link through opserver 10.0.0.19
2026-03-30 03:38:08,778 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-03-30 03:38:09,071 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-03-30 03:38:09,141 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148?flat'}
2026-03-30 03:38:09,141 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148 is found in opserver
2026-03-30 03:38:09,151 - DEBUG - Do not have enough data to verify VN in agent
2026-03-30 03:38:09,155 - DEBUG - VRF ids for VN ctest-vn-32600148: {}
2026-03-30 03:38:09,155 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-03-30 03:38:09,160 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c
2026-03-30 03:38:09,173 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd
2026-03-30 03:38:09,243 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:09,255 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:09,264 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d
2026-03-30 03:38:09,271 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d
2026-03-30 03:38:09,277 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0c67ae4c-6857-46b9-b12f-b86713b860d6
2026-03-30 03:38:09,283 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-30 03:38:09,283 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:09,291 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d
2026-03-30 03:38:09,305 - INFO - Verified VN network id 12 for VN e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:09,305 - INFO - Verifications in API Server for VN ctest-vn-42743100 passed
2026-03-30 03:38:09,305 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:09,314 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d
2026-03-30 03:38:09,320 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d
2026-03-30 03:38:09,327 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0c67ae4c-6857-46b9-b12f-b86713b860d6
2026-03-30 03:38:09,337 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67868026', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16295781302365409144', 'uuid-lslong': '12305396973754171395'}, 'enable': 'true', 'created': '2026-03-30T03:38:07', 'last-modified': '2026-03-30T03:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337384'}
2026-03-30 03:38:09,344 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-30 03:38:09,344 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42743100 passed
2026-03-30 03:38:09,344 - DEBUG - ====Verifying policy data for ctest-vn-42743100 in API_Server ======
2026-03-30 03:38:09,344 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-03-30 03:38:09,350 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c
2026-03-30 03:38:09,360 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd
2026-03-30 03:38:09,433 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003
2026-03-30 03:38:09,441 - DEBUG - ==>Verifying data for policy with id: aaa59bf5-d55c-452f-8e91-1fb9a96287c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646']
2026-03-30 03:38:09,441 - INFO - VN ctest-vn-42743100 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-30 03:38:09,441 - DEBUG - Verifying the vn in opserver
2026-03-30 03:38:09,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100 virtual network link through opserver 10.0.0.19
2026-03-30 03:38:09,441 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-03-30 03:38:09,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100?flat'}
2026-03-30 03:38:09,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100 is found in opserver
2026-03-30 03:38:09,462 - DEBUG - Do not have enough data to verify VN in agent
2026-03-30 03:38:09,466 - DEBUG - VRF ids for VN ctest-vn-42743100: {}
2026-03-30 03:38:09,533 - DEBUG - Services list from nova: [