2026-08-15 15:33:44,314 - INFO - Domain Default found not creating
2026-08-15 15:33:44,477 - INFO - Project ctest-TestBasicPolicy-05539627 not found, creating it
2026-08-15 15:33:44,970 - INFO - Created Project:ctest-TestBasicPolicy-05539627, ID : 84e655c9-fabc-4492-b1a8-d620057cc2ae
2026-08-15 15:33:46,679 - INFO - ================================================================================
2026-08-15 15:33:46,679 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-15 15:33:46,679 - 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-15 15:33:46,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-08-15 15:33:46,954 - INFO - Initial checks done. Running the testcase now
2026-08-15 15:33:46,954 - INFO -
2026-08-15 15:33:47,616 - DEBUG - Response for create_network : {'network': {'id': 'c720c7ae-5982-413e-9385-91b1f667896f', 'name': 'ctest-vn-24626665', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-24626665'], 'port_security_enabled': True, 'description': ''}}
2026-08-15 15:33:47,845 - DEBUG - Response for create_subnet : {'subnet': {'id': '8958b1cb-3c00-403a-9b33-d9dc4b9bf466', 'name': '', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'network_id': 'c720c7ae-5982-413e-9385-91b1f667896f', 'ip_version': 4, 'cidr': '98.74.147.0/26', 'allocation_pools': [{'start': '98.74.147.2', 'end': '98.74.147.62'}], 'gateway_ip': '98.74.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.74.147.2', 'tags': [], 'project_id': '84e655c9fabc4492b1a8d620057cc2ae'}}
2026-08-15 15:33:47,863 - INFO - Created VN ctest-vn-24626665
2026-08-15 15:33:47,916 - DEBUG - VN ctest-vn-24626665 UUID is c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:48,242 - DEBUG - Response for create_network : {'network': {'id': '89f2e2ae-65de-4399-b96a-3e51cbe676cf', 'name': 'ctest-vn-39434286', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-39434286'], 'port_security_enabled': True, 'description': ''}}
2026-08-15 15:33:48,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '87c82418-2ff7-4bd1-9fc4-9bd7d8b5828f', 'name': '', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'network_id': '89f2e2ae-65de-4399-b96a-3e51cbe676cf', 'ip_version': 4, 'cidr': '68.127.173.192/26', 'allocation_pools': [{'start': '68.127.173.194', 'end': '68.127.173.254'}], 'gateway_ip': '68.127.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.127.173.194', 'tags': [], 'project_id': '84e655c9fabc4492b1a8d620057cc2ae'}}
2026-08-15 15:33:48,482 - INFO - Created VN ctest-vn-39434286
2026-08-15 15:33:48,532 - DEBUG - VN ctest-vn-39434286 UUID is 89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:48,684 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665, 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-05539627:ctest-vn-39434286, 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-15 15:33:49,000 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c720c7ae-5982-413e-9385-91b1f667896f', 'name': 'ctest-vn-24626665', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8958b1cb-3c00-403a-9b33-d9dc4b9bf466'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-24626665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144']], 'subnet_ipam': [{'subnet_cidr': '98.74.147.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-15 15:33:49,216 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89f2e2ae-65de-4399-b96a-3e51cbe676cf', 'name': 'ctest-vn-39434286', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87c82418-2ff7-4bd1-9fc4-9bd7d8b5828f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-39434286'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144']], 'subnet_ipam': [{'subnet_cidr': '68.127.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-15 15:33:49,384 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-15 15:33:49,755 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-15 15:33:49,786 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4
2026-08-15 15:33:49,803 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae
2026-08-15 15:33:49,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:49,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:49,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd
2026-08-15 15:33:49,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd
2026-08-15 15:33:49,923 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c26821e2-59f4-41c6-91b6-f6683389f1b4
2026-08-15 15:33:49,930 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-15 15:33:49,930 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:49,939 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd
2026-08-15 15:33:49,952 - INFO - Verified VN network id 12 for VN c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:49,952 - INFO - Verifications in API Server for VN ctest-vn-24626665 passed
2026-08-15 15:33:49,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:49,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd
2026-08-15 15:33:49,968 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd
2026-08-15 15:33:49,975 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c26821e2-59f4-41c6-91b6-f6683389f1b4
2026-08-15 15:33:49,988 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05539627', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14348687964442345790', 'uuid-lslong': '10630062689007143279'}, 'enable': 'true', 'created': '2026-08-15T15:33:47', 'last-modified': '2026-08-15T15:33:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.013533'}
2026-08-15 15:33:49,997 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-15 15:33:49,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24626665 passed
2026-08-15 15:33:49,997 - DEBUG - ====Verifying policy data for ctest-vn-24626665 in API_Server ======
2026-08-15 15:33:49,997 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-15 15:33:50,004 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4
2026-08-15 15:33:50,015 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae
2026-08-15 15:33:50,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f
2026-08-15 15:33:50,104 - DEBUG - ==>Verifying data for policy with id: 0f1e5b6b-b98f-419f-8ba1-7a1dda991c89, fqn: ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144']
2026-08-15 15:33:50,105 - INFO - VN ctest-vn-24626665 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-15 15:33:50,105 - DEBUG - Verifying the vn in opserver
2026-08-15 15:33:50,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665 virtual network link through opserver 10.0.0.50
2026-08-15 15:33:50,105 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-15 15:33:50,472 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-15 15:33:50,528 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665?flat'}
2026-08-15 15:33:50,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665 is found in opserver
2026-08-15 15:33:50,541 - DEBUG - Do not have enough data to verify VN in agent
2026-08-15 15:33:50,546 - DEBUG - VRF ids for VN ctest-vn-24626665: {}
2026-08-15 15:33:50,547 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-15 15:33:50,553 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4
2026-08-15 15:33:50,566 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae
2026-08-15 15:33:50,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:50,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:50,667 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f
2026-08-15 15:33:50,674 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f
2026-08-15 15:33:50,681 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ad8f8ece-750c-4e0a-b39c-7d864afb251f
2026-08-15 15:33:50,688 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-15 15:33:50,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:50,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f
2026-08-15 15:33:50,713 - INFO - Verified VN network id 13 for VN 89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:50,713 - INFO - Verifications in API Server for VN ctest-vn-39434286 passed
2026-08-15 15:33:50,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:50,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f
2026-08-15 15:33:50,732 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f
2026-08-15 15:33:50,741 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ad8f8ece-750c-4e0a-b39c-7d864afb251f
2026-08-15 15:33:50,755 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05539627', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9940256566221357977', 'uuid-lslong': '13360559765582149327'}, 'enable': 'true', 'created': '2026-08-15T15:33:48', 'last-modified': '2026-08-15T15:33:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.564695'}
2026-08-15 15:33:50,764 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-15 15:33:50,764 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39434286 passed
2026-08-15 15:33:50,764 - DEBUG - ====Verifying policy data for ctest-vn-39434286 in API_Server ======
2026-08-15 15:33:50,764 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-15 15:33:50,771 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4
2026-08-15 15:33:50,783 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae
2026-08-15 15:33:50,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf
2026-08-15 15:33:50,869 - DEBUG - ==>Verifying data for policy with id: 0f1e5b6b-b98f-419f-8ba1-7a1dda991c89, fqn: ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144']
2026-08-15 15:33:50,869 - INFO - VN ctest-vn-39434286 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-15 15:33:50,869 - DEBUG - Verifying the vn in opserver
2026-08-15 15:33:50,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286 virtual network link through opserver 10.0.0.50
2026-08-15 15:33:50,869 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-15 15:33:50,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286?flat'}
2026-08-15 15:33:50,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286 is found in opserver
2026-08-15 15:33:50,896 - DEBUG - Do not have enough data to verify VN in agent
2026-08-15 15:33:50,903 - DEBUG - VRF ids for VN ctest-vn-39434286: {}
2026-08-15 15:33:50,968 - DEBUG - Services list from nova: [