2026-02-19 10:16:38,953 - INFO - Domain Default found not creating
2026-02-19 10:16:39,398 - INFO - Project ctest-TestBasicPolicy-79520357 not found, creating it
2026-02-19 10:16:40,178 - INFO - Created Project:ctest-TestBasicPolicy-79520357, ID : 3804bc93-cb8e-4395-9056-c9db4dd1021d
2026-02-19 10:16:41,661 - INFO - ================================================================================
2026-02-19 10:16:41,661 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 10:16:41,661 - 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-02-19 10:16:41,914 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-02-19 10:16:41,914 - INFO - Initial checks done. Running the testcase now
2026-02-19 10:16:41,914 - INFO -
2026-02-19 10:16:42,493 - DEBUG - Response for create_network : {'network': {'id': '4324097a-c13e-4fe0-9c2b-02e2657258f2', 'name': 'ctest-vn-50289693', 'tenant_id': '3804bc93cb8e43959056c9db4dd1021d', 'project_id': '3804bc93cb8e43959056c9db4dd1021d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-vn-50289693'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 10:16:42,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '42bd5f08-e4df-4d98-be52-43f05f1bfdc1', 'name': '', 'tenant_id': '3804bc93cb8e43959056c9db4dd1021d', 'network_id': '4324097a-c13e-4fe0-9c2b-02e2657258f2', 'ip_version': 4, 'cidr': '73.135.224.0/26', 'allocation_pools': [{'start': '73.135.224.2', 'end': '73.135.224.62'}], 'gateway_ip': '73.135.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.135.224.2', 'tags': [], 'project_id': '3804bc93cb8e43959056c9db4dd1021d'}}
2026-02-19 10:16:42,727 - INFO - Created VN ctest-vn-50289693
2026-02-19 10:16:42,780 - DEBUG - VN ctest-vn-50289693 UUID is 4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:43,066 - DEBUG - Response for create_network : {'network': {'id': '02365e98-336e-4d9d-80b5-947563c3e2a1', 'name': 'ctest-vn-99713965', 'tenant_id': '3804bc93cb8e43959056c9db4dd1021d', 'project_id': '3804bc93cb8e43959056c9db4dd1021d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-vn-99713965'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 10:16:43,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abeb6ca3-10b4-4bd9-b141-7a88e0168618', 'name': '', 'tenant_id': '3804bc93cb8e43959056c9db4dd1021d', 'network_id': '02365e98-336e-4d9d-80b5-947563c3e2a1', 'ip_version': 4, 'cidr': '159.111.167.0/26', 'allocation_pools': [{'start': '159.111.167.2', 'end': '159.111.167.62'}], 'gateway_ip': '159.111.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.111.167.2', 'tags': [], 'project_id': '3804bc93cb8e43959056c9db4dd1021d'}}
2026-02-19 10:16:43,300 - INFO - Created VN ctest-vn-99713965
2026-02-19 10:16:43,352 - DEBUG - VN ctest-vn-99713965 UUID is 02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:43,469 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-50289693, 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-79520357:ctest-vn-99713965, 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-02-19 10:16:43,775 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4324097a-c13e-4fe0-9c2b-02e2657258f2', 'name': 'ctest-vn-50289693', 'tenant_id': '3804bc93cb8e43959056c9db4dd1021d', 'project_id': '3804bc93cb8e43959056c9db4dd1021d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42bd5f08-e4df-4d98-be52-43f05f1bfdc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-vn-50289693'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-policy-allow-all-28533164']], 'subnet_ipam': [{'subnet_cidr': '73.135.224.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 10:16:44,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02365e98-336e-4d9d-80b5-947563c3e2a1', 'name': 'ctest-vn-99713965', 'tenant_id': '3804bc93cb8e43959056c9db4dd1021d', 'project_id': '3804bc93cb8e43959056c9db4dd1021d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['abeb6ca3-10b4-4bd9-b141-7a88e0168618'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-vn-99713965'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-policy-allow-all-28533164']], 'subnet_ipam': [{'subnet_cidr': '159.111.167.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 10:16:44,180 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-19 10:16:44,479 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-19 10:16:44,518 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b0c3b526-e381-4c94-87da-52f48c067071
2026-02-19 10:16:44,532 - DEBUG - Requesting: http://10.0.0.242:8082/project/3804bc93-cb8e-4395-9056-c9db4dd1021d
2026-02-19 10:16:44,603 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:44,615 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:44,624 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/13b1c976-3ea5-40ac-80e0-87e7375ab80b
2026-02-19 10:16:44,630 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/13b1c976-3ea5-40ac-80e0-87e7375ab80b
2026-02-19 10:16:44,637 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8a7111c5-ce07-4ba0-9425-b8fe23c1caf6
2026-02-19 10:16:44,644 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 10:16:44,644 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:44,654 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/13b1c976-3ea5-40ac-80e0-87e7375ab80b
2026-02-19 10:16:44,672 - INFO - Verified VN network id 10 for VN 4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:44,672 - INFO - Verifications in API Server for VN ctest-vn-50289693 passed
2026-02-19 10:16:44,672 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:44,681 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/13b1c976-3ea5-40ac-80e0-87e7375ab80b
2026-02-19 10:16:44,689 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/13b1c976-3ea5-40ac-80e0-87e7375ab80b
2026-02-19 10:16:44,697 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8a7111c5-ce07-4ba0-9425-b8fe23c1caf6
2026-02-19 10:16:44,711 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-50289693', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79520357', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4838002322535501792', 'uuid-lslong': '11253091265303173362'}, 'enable': 'true', 'created': '2026-02-19T10:16:42', 'last-modified': '2026-02-19T10:16:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961409'}
2026-02-19 10:16:44,717 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 10:16:44,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50289693 passed
2026-02-19 10:16:44,717 - DEBUG - ====Verifying policy data for ctest-vn-50289693 in API_Server ======
2026-02-19 10:16:44,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-19 10:16:44,723 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b0c3b526-e381-4c94-87da-52f48c067071
2026-02-19 10:16:44,734 - DEBUG - Requesting: http://10.0.0.242:8082/project/3804bc93-cb8e-4395-9056-c9db4dd1021d
2026-02-19 10:16:44,807 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4324097a-c13e-4fe0-9c2b-02e2657258f2
2026-02-19 10:16:44,816 - DEBUG - ==>Verifying data for policy with id: d6219b0c-ddde-40ed-b09d-716d632ae0ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-policy-allow-all-28533164']
2026-02-19 10:16:44,816 - INFO - VN ctest-vn-50289693 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 10:16:44,816 - DEBUG - Verifying the vn in opserver
2026-02-19 10:16:44,816 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-50289693 virtual network link through opserver 10.0.0.242
2026-02-19 10:16:44,816 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-19 10:16:45,108 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-19 10:16:45,167 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-50289693', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-50289693?flat'}
2026-02-19 10:16:45,167 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-50289693 is found in opserver
2026-02-19 10:16:45,178 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 10:16:45,184 - DEBUG - VRF ids for VN ctest-vn-50289693: {}
2026-02-19 10:16:45,184 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-19 10:16:45,189 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b0c3b526-e381-4c94-87da-52f48c067071
2026-02-19 10:16:45,202 - DEBUG - Requesting: http://10.0.0.242:8082/project/3804bc93-cb8e-4395-9056-c9db4dd1021d
2026-02-19 10:16:45,274 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:45,285 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:45,294 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/78dc58b6-8152-47e2-8450-65d7a6557bf2
2026-02-19 10:16:45,300 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/78dc58b6-8152-47e2-8450-65d7a6557bf2
2026-02-19 10:16:45,308 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3a06e199-e203-4a87-b8d8-66eea5dc2a06
2026-02-19 10:16:45,316 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 10:16:45,316 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:45,325 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/78dc58b6-8152-47e2-8450-65d7a6557bf2
2026-02-19 10:16:45,339 - INFO - Verified VN network id 11 for VN 02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:45,340 - INFO - Verifications in API Server for VN ctest-vn-99713965 passed
2026-02-19 10:16:45,340 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:45,349 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/78dc58b6-8152-47e2-8450-65d7a6557bf2
2026-02-19 10:16:45,357 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/78dc58b6-8152-47e2-8450-65d7a6557bf2
2026-02-19 10:16:45,363 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3a06e199-e203-4a87-b8d8-66eea5dc2a06
2026-02-19 10:16:45,374 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-99713965', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79520357', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '159418844609138077', 'uuid-lslong': '9274482239545270945'}, 'enable': 'true', 'created': '2026-02-19T10:16:43', 'last-modified': '2026-02-19T10:16:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389429'}
2026-02-19 10:16:45,379 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 10:16:45,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99713965 passed
2026-02-19 10:16:45,380 - DEBUG - ====Verifying policy data for ctest-vn-99713965 in API_Server ======
2026-02-19 10:16:45,380 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-19 10:16:45,385 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b0c3b526-e381-4c94-87da-52f48c067071
2026-02-19 10:16:45,395 - DEBUG - Requesting: http://10.0.0.242:8082/project/3804bc93-cb8e-4395-9056-c9db4dd1021d
2026-02-19 10:16:45,464 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/02365e98-336e-4d9d-80b5-947563c3e2a1
2026-02-19 10:16:45,476 - DEBUG - ==>Verifying data for policy with id: d6219b0c-ddde-40ed-b09d-716d632ae0ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-79520357', 'ctest-policy-allow-all-28533164']
2026-02-19 10:16:45,476 - INFO - VN ctest-vn-99713965 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 10:16:45,476 - DEBUG - Verifying the vn in opserver
2026-02-19 10:16:45,476 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-99713965 virtual network link through opserver 10.0.0.242
2026-02-19 10:16:45,476 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-19 10:16:45,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-99713965', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-99713965?flat'}
2026-02-19 10:16:45,487 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79520357:ctest-vn-99713965 is found in opserver
2026-02-19 10:16:45,495 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 10:16:45,499 - DEBUG - VRF ids for VN ctest-vn-99713965: {}
2026-02-19 10:16:45,556 - DEBUG - Services list from nova: [