2026-08-22 08:41:27,831 - INFO - Domain Default found not creating
2026-08-22 08:41:28,000 - INFO - Project ctest-TestBasicPolicy-27082682 not found, creating it
2026-08-22 08:41:28,510 - INFO - Created Project:ctest-TestBasicPolicy-27082682, ID : 8ee14a51-da5a-49d4-a228-245052805d9c
2026-08-22 08:41:30,276 - INFO - ================================================================================
2026-08-22 08:41:30,276 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-22 08:41:30,276 - 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-08-22 08:41:30,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-08-22 08:41:30,549 - INFO - Initial checks done. Running the testcase now
2026-08-22 08:41:30,549 - INFO -
2026-08-22 08:41:31,213 - DEBUG - Response for create_network : {'network': {'id': '540d4d11-3685-480b-84ef-32db0bacc08d', 'name': 'ctest-vn-16175026', 'tenant_id': '8ee14a51da5a49d4a228245052805d9c', 'project_id': '8ee14a51da5a49d4a228245052805d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-vn-16175026'], 'port_security_enabled': True, 'description': ''}}
2026-08-22 08:41:31,442 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f79b76ba-e885-40ee-a288-286ce242f437', 'name': '', 'tenant_id': '8ee14a51da5a49d4a228245052805d9c', 'network_id': '540d4d11-3685-480b-84ef-32db0bacc08d', 'ip_version': 4, 'cidr': '33.229.23.192/26', 'allocation_pools': [{'start': '33.229.23.194', 'end': '33.229.23.254'}], 'gateway_ip': '33.229.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.229.23.194', 'tags': [], 'project_id': '8ee14a51da5a49d4a228245052805d9c'}}
2026-08-22 08:41:31,462 - INFO - Created VN ctest-vn-16175026
2026-08-22 08:41:31,516 - DEBUG - VN ctest-vn-16175026 UUID is 540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:31,834 - DEBUG - Response for create_network : {'network': {'id': '144e84c1-2a62-46e7-baa0-27de364816a9', 'name': 'ctest-vn-77151934', 'tenant_id': '8ee14a51da5a49d4a228245052805d9c', 'project_id': '8ee14a51da5a49d4a228245052805d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-vn-77151934'], 'port_security_enabled': True, 'description': ''}}
2026-08-22 08:41:32,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '09394613-2e78-4757-86b2-cd524ebf014a', 'name': '', 'tenant_id': '8ee14a51da5a49d4a228245052805d9c', 'network_id': '144e84c1-2a62-46e7-baa0-27de364816a9', 'ip_version': 4, 'cidr': '122.201.210.0/26', 'allocation_pools': [{'start': '122.201.210.2', 'end': '122.201.210.62'}], 'gateway_ip': '122.201.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.201.210.2', 'tags': [], 'project_id': '8ee14a51da5a49d4a228245052805d9c'}}
2026-08-22 08:41:32,050 - INFO - Created VN ctest-vn-77151934
2026-08-22 08:41:32,104 - DEBUG - VN ctest-vn-77151934 UUID is 144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:32,239 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-16175026, 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-27082682:ctest-vn-77151934, 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-08-22 08:41:32,570 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '540d4d11-3685-480b-84ef-32db0bacc08d', 'name': 'ctest-vn-16175026', 'tenant_id': '8ee14a51da5a49d4a228245052805d9c', 'project_id': '8ee14a51da5a49d4a228245052805d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f79b76ba-e885-40ee-a288-286ce242f437'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-vn-16175026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-policy-allow-all-09502262']], 'subnet_ipam': [{'subnet_cidr': '33.229.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-22 08:41:32,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '144e84c1-2a62-46e7-baa0-27de364816a9', 'name': 'ctest-vn-77151934', 'tenant_id': '8ee14a51da5a49d4a228245052805d9c', 'project_id': '8ee14a51da5a49d4a228245052805d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09394613-2e78-4757-86b2-cd524ebf014a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-vn-77151934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-policy-allow-all-09502262']], 'subnet_ipam': [{'subnet_cidr': '122.201.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-22 08:41:32,996 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 08:41:33,364 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 08:41:33,393 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9107f09d-a1f0-492e-84d3-33f9ceac733a
2026-08-22 08:41:33,406 - DEBUG - Requesting: http://10.0.0.50:8082/project/8ee14a51-da5a-49d4-a228-245052805d9c
2026-08-22 08:41:33,490 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:33,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:33,515 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/49fd0642-2829-4bbe-b100-f377bd7ca1af
2026-08-22 08:41:33,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/49fd0642-2829-4bbe-b100-f377bd7ca1af
2026-08-22 08:41:33,534 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f917312a-fc00-4cc8-8a47-eb67b74e962e
2026-08-22 08:41:33,544 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-22 08:41:33,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:33,557 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/49fd0642-2829-4bbe-b100-f377bd7ca1af
2026-08-22 08:41:33,576 - INFO - Verified VN network id 11 for VN 540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:33,576 - INFO - Verifications in API Server for VN ctest-vn-16175026 passed
2026-08-22 08:41:33,576 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:33,586 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/49fd0642-2829-4bbe-b100-f377bd7ca1af
2026-08-22 08:41:33,594 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/49fd0642-2829-4bbe-b100-f377bd7ca1af
2026-08-22 08:41:33,602 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f917312a-fc00-4cc8-8a47-eb67b74e962e
2026-08-22 08:41:33,616 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-16175026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27082682', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6056581810207672331', 'uuid-lslong': '9578930848815431821'}, 'enable': 'true', 'created': '2026-08-22T08:41:31', 'last-modified': '2026-08-22T08:41:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.072686'}
2026-08-22 08:41:33,624 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-22 08:41:33,624 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16175026 passed
2026-08-22 08:41:33,624 - DEBUG - ====Verifying policy data for ctest-vn-16175026 in API_Server ======
2026-08-22 08:41:33,624 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 08:41:33,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9107f09d-a1f0-492e-84d3-33f9ceac733a
2026-08-22 08:41:33,642 - DEBUG - Requesting: http://10.0.0.50:8082/project/8ee14a51-da5a-49d4-a228-245052805d9c
2026-08-22 08:41:33,718 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/540d4d11-3685-480b-84ef-32db0bacc08d
2026-08-22 08:41:33,729 - DEBUG - ==>Verifying data for policy with id: e2ee16da-c7bb-4a67-a271-f0638f688c53, fqn: ['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-policy-allow-all-09502262']
2026-08-22 08:41:33,729 - INFO - VN ctest-vn-16175026 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-22 08:41:33,729 - DEBUG - Verifying the vn in opserver
2026-08-22 08:41:33,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-16175026 virtual network link through opserver 10.0.0.50
2026-08-22 08:41:33,729 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-22 08:41:34,097 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-22 08:41:34,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-16175026', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-16175026?flat'}
2026-08-22 08:41:34,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-16175026 is found in opserver
2026-08-22 08:41:34,182 - DEBUG - Do not have enough data to verify VN in agent
2026-08-22 08:41:34,190 - DEBUG - VRF ids for VN ctest-vn-16175026: {}
2026-08-22 08:41:34,190 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 08:41:34,197 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9107f09d-a1f0-492e-84d3-33f9ceac733a
2026-08-22 08:41:34,212 - DEBUG - Requesting: http://10.0.0.50:8082/project/8ee14a51-da5a-49d4-a228-245052805d9c
2026-08-22 08:41:34,294 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:34,312 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:34,323 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20ee0b18-6382-4b75-8c51-d02ae920cb95
2026-08-22 08:41:34,332 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20ee0b18-6382-4b75-8c51-d02ae920cb95
2026-08-22 08:41:34,340 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/51048f2e-3618-4e3d-931c-f9d0fd55f945
2026-08-22 08:41:34,348 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-22 08:41:34,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:34,359 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20ee0b18-6382-4b75-8c51-d02ae920cb95
2026-08-22 08:41:34,378 - INFO - Verified VN network id 12 for VN 144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:34,378 - INFO - Verifications in API Server for VN ctest-vn-77151934 passed
2026-08-22 08:41:34,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:34,389 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20ee0b18-6382-4b75-8c51-d02ae920cb95
2026-08-22 08:41:34,399 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20ee0b18-6382-4b75-8c51-d02ae920cb95
2026-08-22 08:41:34,408 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/51048f2e-3618-4e3d-931c-f9d0fd55f945
2026-08-22 08:41:34,421 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-77151934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27082682', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1463252894116628199', 'uuid-lslong': '13447792322675218089'}, 'enable': 'true', 'created': '2026-08-22T08:41:31', 'last-modified': '2026-08-22T08:41:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.627979'}
2026-08-22 08:41:34,430 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-22 08:41:34,430 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77151934 passed
2026-08-22 08:41:34,430 - DEBUG - ====Verifying policy data for ctest-vn-77151934 in API_Server ======
2026-08-22 08:41:34,430 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 08:41:34,436 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9107f09d-a1f0-492e-84d3-33f9ceac733a
2026-08-22 08:41:34,450 - DEBUG - Requesting: http://10.0.0.50:8082/project/8ee14a51-da5a-49d4-a228-245052805d9c
2026-08-22 08:41:34,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/144e84c1-2a62-46e7-baa0-27de364816a9
2026-08-22 08:41:34,558 - DEBUG - ==>Verifying data for policy with id: e2ee16da-c7bb-4a67-a271-f0638f688c53, fqn: ['default-domain', 'ctest-TestBasicPolicy-27082682', 'ctest-policy-allow-all-09502262']
2026-08-22 08:41:34,558 - INFO - VN ctest-vn-77151934 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-22 08:41:34,558 - DEBUG - Verifying the vn in opserver
2026-08-22 08:41:34,558 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-77151934 virtual network link through opserver 10.0.0.50
2026-08-22 08:41:34,558 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-22 08:41:34,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-77151934', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-77151934?flat'}
2026-08-22 08:41:34,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27082682:ctest-vn-77151934 is found in opserver
2026-08-22 08:41:34,582 - DEBUG - Do not have enough data to verify VN in agent
2026-08-22 08:41:34,588 - DEBUG - VRF ids for VN ctest-vn-77151934: {}
2026-08-22 08:41:34,656 - DEBUG - Services list from nova: [