2026-03-04 17:59:03,221 - INFO - Domain Default found not creating
2026-03-04 17:59:03,553 - INFO - Project ctest-TestBasicPolicy-78603650 not found, creating it
2026-03-04 17:59:04,286 - INFO - Created Project:ctest-TestBasicPolicy-78603650, ID : 973c73ea-b5a6-4b3d-a04c-52703f42f8ea
2026-03-04 17:59:06,428 - INFO - ================================================================================
2026-03-04 17:59:06,429 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-04 17:59:06,429 - 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-04 17:59:06,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-03-04 17:59:06,755 - INFO - Initial checks done. Running the testcase now
2026-03-04 17:59:06,756 - INFO -
2026-03-04 17:59:07,687 - DEBUG - Response for create_network : {'network': {'id': '3cc9831c-9225-4054-8ac5-a090ce86980e', 'name': 'ctest-vn-37250785', 'tenant_id': '973c73eab5a64b3da04c52703f42f8ea', 'project_id': '973c73eab5a64b3da04c52703f42f8ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-vn-37250785'], 'port_security_enabled': True, 'description': ''}}
2026-03-04 17:59:07,866 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b81d515-4c9c-4c0f-9639-b80ebeecf972', 'name': '', 'tenant_id': '973c73eab5a64b3da04c52703f42f8ea', 'network_id': '3cc9831c-9225-4054-8ac5-a090ce86980e', 'ip_version': 4, 'cidr': '83.5.48.128/26', 'allocation_pools': [{'start': '83.5.48.130', 'end': '83.5.48.190'}], 'gateway_ip': '83.5.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.5.48.130', 'tags': [], 'project_id': '973c73eab5a64b3da04c52703f42f8ea'}}
2026-03-04 17:59:07,885 - INFO - Created VN ctest-vn-37250785
2026-03-04 17:59:07,938 - DEBUG - VN ctest-vn-37250785 UUID is 3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:08,569 - DEBUG - Response for create_network : {'network': {'id': 'eedb621c-5a5d-46c9-aa7b-17ead6d1c855', 'name': 'ctest-vn-06557131', 'tenant_id': '973c73eab5a64b3da04c52703f42f8ea', 'project_id': '973c73eab5a64b3da04c52703f42f8ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-vn-06557131'], 'port_security_enabled': True, 'description': ''}}
2026-03-04 17:59:09,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d81929d-68ea-4901-8d97-742933bd16bf', 'name': '', 'tenant_id': '973c73eab5a64b3da04c52703f42f8ea', 'network_id': 'eedb621c-5a5d-46c9-aa7b-17ead6d1c855', 'ip_version': 4, 'cidr': '208.122.97.64/26', 'allocation_pools': [{'start': '208.122.97.66', 'end': '208.122.97.126'}], 'gateway_ip': '208.122.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.122.97.66', 'tags': [], 'project_id': '973c73eab5a64b3da04c52703f42f8ea'}}
2026-03-04 17:59:09,024 - INFO - Created VN ctest-vn-06557131
2026-03-04 17:59:09,082 - DEBUG - VN ctest-vn-06557131 UUID is eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:09,238 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-37250785, 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-78603650:ctest-vn-06557131, 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-04 17:59:09,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3cc9831c-9225-4054-8ac5-a090ce86980e', 'name': 'ctest-vn-37250785', 'tenant_id': '973c73eab5a64b3da04c52703f42f8ea', 'project_id': '973c73eab5a64b3da04c52703f42f8ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b81d515-4c9c-4c0f-9639-b80ebeecf972'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-vn-37250785'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-policy-allow-all-04986240']], 'subnet_ipam': [{'subnet_cidr': '83.5.48.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-04 17:59:10,008 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eedb621c-5a5d-46c9-aa7b-17ead6d1c855', 'name': 'ctest-vn-06557131', 'tenant_id': '973c73eab5a64b3da04c52703f42f8ea', 'project_id': '973c73eab5a64b3da04c52703f42f8ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d81929d-68ea-4901-8d97-742933bd16bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-vn-06557131'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-policy-allow-all-04986240']], 'subnet_ipam': [{'subnet_cidr': '208.122.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-04 17:59:10,198 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 17:59:10,524 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 17:59:10,568 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c11cb51-7d32-4c13-b931-f6b123b3625a
2026-03-04 17:59:10,592 - DEBUG - Requesting: http://10.0.0.38:8082/project/973c73ea-b5a6-4b3d-a04c-52703f42f8ea
2026-03-04 17:59:10,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:10,735 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:10,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1eadbbe0-f3c6-46cd-9278-c58ec090c767
2026-03-04 17:59:10,780 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1eadbbe0-f3c6-46cd-9278-c58ec090c767
2026-03-04 17:59:10,800 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4f64a4f0-8ee2-4ed7-bc03-498708af26c8
2026-03-04 17:59:10,810 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-04 17:59:10,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:10,829 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1eadbbe0-f3c6-46cd-9278-c58ec090c767
2026-03-04 17:59:10,857 - INFO - Verified VN network id 11 for VN 3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:10,857 - INFO - Verifications in API Server for VN ctest-vn-37250785 passed
2026-03-04 17:59:10,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:10,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1eadbbe0-f3c6-46cd-9278-c58ec090c767
2026-03-04 17:59:10,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1eadbbe0-f3c6-46cd-9278-c58ec090c767
2026-03-04 17:59:10,909 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4f64a4f0-8ee2-4ed7-bc03-498708af26c8
2026-03-04 17:59:10,933 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-37250785', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78603650', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4380176271328755796', 'uuid-lslong': '9999575091446716430'}, 'enable': 'true', 'created': '2026-03-04T17:59:07', 'last-modified': '2026-03-04T17:59:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327466'}
2026-03-04 17:59:10,951 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-04 17:59:10,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37250785 passed
2026-03-04 17:59:10,952 - DEBUG - ====Verifying policy data for ctest-vn-37250785 in API_Server ======
2026-03-04 17:59:10,952 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 17:59:10,966 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c11cb51-7d32-4c13-b931-f6b123b3625a
2026-03-04 17:59:10,994 - DEBUG - Requesting: http://10.0.0.38:8082/project/973c73ea-b5a6-4b3d-a04c-52703f42f8ea
2026-03-04 17:59:11,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cc9831c-9225-4054-8ac5-a090ce86980e
2026-03-04 17:59:11,133 - DEBUG - ==>Verifying data for policy with id: 70151965-2b70-4924-8790-8fca46a1c246, fqn: ['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-policy-allow-all-04986240']
2026-03-04 17:59:11,133 - INFO - VN ctest-vn-37250785 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-04 17:59:11,134 - DEBUG - Verifying the vn in opserver
2026-03-04 17:59:11,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-37250785 virtual network link through opserver 10.0.0.38
2026-03-04 17:59:11,134 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-04 17:59:11,488 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-04 17:59:11,584 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-37250785', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-37250785?flat'}
2026-03-04 17:59:11,584 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-37250785 is found in opserver
2026-03-04 17:59:11,612 - DEBUG - Do not have enough data to verify VN in agent
2026-03-04 17:59:11,625 - DEBUG - VRF ids for VN ctest-vn-37250785: {}
2026-03-04 17:59:11,625 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 17:59:11,634 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c11cb51-7d32-4c13-b931-f6b123b3625a
2026-03-04 17:59:11,651 - DEBUG - Requesting: http://10.0.0.38:8082/project/973c73ea-b5a6-4b3d-a04c-52703f42f8ea
2026-03-04 17:59:11,767 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:11,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:11,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/421f45f6-43e3-4128-a75c-819f07f05a1d
2026-03-04 17:59:11,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/421f45f6-43e3-4128-a75c-819f07f05a1d
2026-03-04 17:59:11,840 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2576ddec-a3d8-446a-bdb3-f8cf673904f8
2026-03-04 17:59:11,853 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-04 17:59:11,853 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:11,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/421f45f6-43e3-4128-a75c-819f07f05a1d
2026-03-04 17:59:11,894 - INFO - Verified VN network id 12 for VN eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:11,895 - INFO - Verifications in API Server for VN ctest-vn-06557131 passed
2026-03-04 17:59:11,895 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:11,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/421f45f6-43e3-4128-a75c-819f07f05a1d
2026-03-04 17:59:11,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/421f45f6-43e3-4128-a75c-819f07f05a1d
2026-03-04 17:59:11,937 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2576ddec-a3d8-446a-bdb3-f8cf673904f8
2026-03-04 17:59:11,962 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-06557131', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78603650', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17211458274841151177', 'uuid-lslong': '12284438705977018453'}, 'enable': 'true', 'created': '2026-03-04T17:59:08', 'last-modified': '2026-03-04T17:59:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.007125'}
2026-03-04 17:59:11,977 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-04 17:59:11,977 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06557131 passed
2026-03-04 17:59:11,978 - DEBUG - ====Verifying policy data for ctest-vn-06557131 in API_Server ======
2026-03-04 17:59:11,978 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 17:59:11,987 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c11cb51-7d32-4c13-b931-f6b123b3625a
2026-03-04 17:59:12,005 - DEBUG - Requesting: http://10.0.0.38:8082/project/973c73ea-b5a6-4b3d-a04c-52703f42f8ea
2026-03-04 17:59:12,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eedb621c-5a5d-46c9-aa7b-17ead6d1c855
2026-03-04 17:59:12,148 - DEBUG - ==>Verifying data for policy with id: 70151965-2b70-4924-8790-8fca46a1c246, fqn: ['default-domain', 'ctest-TestBasicPolicy-78603650', 'ctest-policy-allow-all-04986240']
2026-03-04 17:59:12,148 - INFO - VN ctest-vn-06557131 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-04 17:59:12,148 - DEBUG - Verifying the vn in opserver
2026-03-04 17:59:12,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-06557131 virtual network link through opserver 10.0.0.38
2026-03-04 17:59:12,148 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-04 17:59:12,163 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-06557131', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-06557131?flat'}
2026-03-04 17:59:12,163 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78603650:ctest-vn-06557131 is found in opserver
2026-03-04 17:59:12,178 - DEBUG - Do not have enough data to verify VN in agent
2026-03-04 17:59:12,187 - DEBUG - VRF ids for VN ctest-vn-06557131: {}
2026-03-04 17:59:12,291 - DEBUG - Services list from nova: [