2026-02-17 12:12:38,894 - INFO - Domain Default found not creating
2026-02-17 12:12:39,050 - INFO - Project ctest-TestBasicPolicy-64377550 not found, creating it
2026-02-17 12:12:39,508 - INFO - Created Project:ctest-TestBasicPolicy-64377550, ID : 09cb1fb3-c281-411c-82ea-d079e3785835
2026-02-17 12:12:40,926 - INFO - ================================================================================
2026-02-17 12:12:40,926 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-17 12:12:40,926 - 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-17 12:12:41,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-17 12:12:41,178 - INFO - Initial checks done. Running the testcase now
2026-02-17 12:12:41,178 - INFO -
2026-02-17 12:12:41,709 - DEBUG - Response for create_network : {'network': {'id': 'ca9cf20a-987a-4778-93f9-7dcfa28cf621', 'name': 'ctest-vn-19916863', 'tenant_id': '09cb1fb3c281411c82ead079e3785835', 'project_id': '09cb1fb3c281411c82ead079e3785835', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-vn-19916863'], 'port_security_enabled': True, 'description': ''}}
2026-02-17 12:12:41,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '425fddfe-3d87-49d8-926d-c533c0bd1e0d', 'name': '', 'tenant_id': '09cb1fb3c281411c82ead079e3785835', 'network_id': 'ca9cf20a-987a-4778-93f9-7dcfa28cf621', 'ip_version': 4, 'cidr': '70.127.225.64/26', 'allocation_pools': [{'start': '70.127.225.66', 'end': '70.127.225.126'}], 'gateway_ip': '70.127.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.127.225.66', 'tags': [], 'project_id': '09cb1fb3c281411c82ead079e3785835'}}
2026-02-17 12:12:41,915 - INFO - Created VN ctest-vn-19916863
2026-02-17 12:12:41,965 - DEBUG - VN ctest-vn-19916863 UUID is ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:42,275 - DEBUG - Response for create_network : {'network': {'id': 'b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15', 'name': 'ctest-vn-27746816', 'tenant_id': '09cb1fb3c281411c82ead079e3785835', 'project_id': '09cb1fb3c281411c82ead079e3785835', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-vn-27746816'], 'port_security_enabled': True, 'description': ''}}
2026-02-17 12:12:42,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '144f499f-ad0c-4f33-82e6-63f8debef886', 'name': '', 'tenant_id': '09cb1fb3c281411c82ead079e3785835', 'network_id': 'b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15', 'ip_version': 4, 'cidr': '94.160.129.192/26', 'allocation_pools': [{'start': '94.160.129.194', 'end': '94.160.129.254'}], 'gateway_ip': '94.160.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.160.129.194', 'tags': [], 'project_id': '09cb1fb3c281411c82ead079e3785835'}}
2026-02-17 12:12:42,509 - INFO - Created VN ctest-vn-27746816
2026-02-17 12:12:42,561 - DEBUG - VN ctest-vn-27746816 UUID is b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:42,709 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-19916863, 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-64377550:ctest-vn-27746816, 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-17 12:12:43,000 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca9cf20a-987a-4778-93f9-7dcfa28cf621', 'name': 'ctest-vn-19916863', 'tenant_id': '09cb1fb3c281411c82ead079e3785835', 'project_id': '09cb1fb3c281411c82ead079e3785835', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['425fddfe-3d87-49d8-926d-c533c0bd1e0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-vn-19916863'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-policy-allow-all-07032444']], 'subnet_ipam': [{'subnet_cidr': '70.127.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-17 12:12:43,268 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15', 'name': 'ctest-vn-27746816', 'tenant_id': '09cb1fb3c281411c82ead079e3785835', 'project_id': '09cb1fb3c281411c82ead079e3785835', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['144f499f-ad0c-4f33-82e6-63f8debef886'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-vn-27746816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-policy-allow-all-07032444']], 'subnet_ipam': [{'subnet_cidr': '94.160.129.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-17 12:12:43,421 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 12:12:43,723 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 12:12:43,756 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885b06fd-0b6d-4f2d-b8d1-62410e882fae
2026-02-17 12:12:43,767 - DEBUG - Requesting: http://10.0.0.38:8082/project/09cb1fb3-c281-411c-82ea-d079e3785835
2026-02-17 12:12:43,834 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:43,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:43,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17cde33a-9083-456a-b5d8-2d51b03aa5e0
2026-02-17 12:12:43,859 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17cde33a-9083-456a-b5d8-2d51b03aa5e0
2026-02-17 12:12:43,865 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e78cddd1-6e17-418d-9d67-76ae42920c21
2026-02-17 12:12:43,871 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-17 12:12:43,871 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:43,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17cde33a-9083-456a-b5d8-2d51b03aa5e0
2026-02-17 12:12:43,892 - INFO - Verified VN network id 11 for VN ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:43,892 - INFO - Verifications in API Server for VN ctest-vn-19916863 passed
2026-02-17 12:12:43,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:43,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17cde33a-9083-456a-b5d8-2d51b03aa5e0
2026-02-17 12:12:43,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17cde33a-9083-456a-b5d8-2d51b03aa5e0
2026-02-17 12:12:43,914 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e78cddd1-6e17-418d-9d67-76ae42920c21
2026-02-17 12:12:43,926 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-19916863', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64377550', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14599810219350050680', 'uuid-lslong': '10662691923515209249'}, 'enable': 'true', 'created': '2026-02-17T12:12:41', 'last-modified': '2026-02-17T12:12:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945031'}
2026-02-17 12:12:43,931 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-17 12:12:43,931 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19916863 passed
2026-02-17 12:12:43,931 - DEBUG - ====Verifying policy data for ctest-vn-19916863 in API_Server ======
2026-02-17 12:12:43,931 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 12:12:43,936 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885b06fd-0b6d-4f2d-b8d1-62410e882fae
2026-02-17 12:12:43,946 - DEBUG - Requesting: http://10.0.0.38:8082/project/09cb1fb3-c281-411c-82ea-d079e3785835
2026-02-17 12:12:44,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca9cf20a-987a-4778-93f9-7dcfa28cf621
2026-02-17 12:12:44,026 - DEBUG - ==>Verifying data for policy with id: 662421f6-12bb-4feb-b52f-fd9bf2ca6a59, fqn: ['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-policy-allow-all-07032444']
2026-02-17 12:12:44,026 - INFO - VN ctest-vn-19916863 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-17 12:12:44,026 - DEBUG - Verifying the vn in opserver
2026-02-17 12:12:44,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-19916863 virtual network link through opserver 10.0.0.38
2026-02-17 12:12:44,027 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-17 12:12:44,319 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-17 12:12:44,379 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-19916863', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-19916863?flat'}
2026-02-17 12:12:44,379 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-19916863 is found in opserver
2026-02-17 12:12:44,389 - DEBUG - Do not have enough data to verify VN in agent
2026-02-17 12:12:44,393 - DEBUG - VRF ids for VN ctest-vn-19916863: {}
2026-02-17 12:12:44,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 12:12:44,398 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885b06fd-0b6d-4f2d-b8d1-62410e882fae
2026-02-17 12:12:44,409 - DEBUG - Requesting: http://10.0.0.38:8082/project/09cb1fb3-c281-411c-82ea-d079e3785835
2026-02-17 12:12:44,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:44,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:44,504 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb17ff9b-590b-4c63-90dd-077c26933e36
2026-02-17 12:12:44,512 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb17ff9b-590b-4c63-90dd-077c26933e36
2026-02-17 12:12:44,520 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ba5d965-7da2-4085-a598-824ed469c9e7
2026-02-17 12:12:44,527 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-17 12:12:44,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:44,536 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb17ff9b-590b-4c63-90dd-077c26933e36
2026-02-17 12:12:44,553 - INFO - Verified VN network id 12 for VN b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:44,553 - INFO - Verifications in API Server for VN ctest-vn-27746816 passed
2026-02-17 12:12:44,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:44,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb17ff9b-590b-4c63-90dd-077c26933e36
2026-02-17 12:12:44,570 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb17ff9b-590b-4c63-90dd-077c26933e36
2026-02-17 12:12:44,579 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ba5d965-7da2-4085-a598-824ed469c9e7
2026-02-17 12:12:44,590 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-27746816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64377550', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13293955215897870799', 'uuid-lslong': '10153614875224772373'}, 'enable': 'true', 'created': '2026-02-17T12:12:42', 'last-modified': '2026-02-17T12:12:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389529'}
2026-02-17 12:12:44,596 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-17 12:12:44,596 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27746816 passed
2026-02-17 12:12:44,596 - DEBUG - ====Verifying policy data for ctest-vn-27746816 in API_Server ======
2026-02-17 12:12:44,596 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-17 12:12:44,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/885b06fd-0b6d-4f2d-b8d1-62410e882fae
2026-02-17 12:12:44,611 - DEBUG - Requesting: http://10.0.0.38:8082/project/09cb1fb3-c281-411c-82ea-d079e3785835
2026-02-17 12:12:44,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b87d9dd5-9f8b-41cf-8ce8-e2eecfe50f15
2026-02-17 12:12:44,695 - DEBUG - ==>Verifying data for policy with id: 662421f6-12bb-4feb-b52f-fd9bf2ca6a59, fqn: ['default-domain', 'ctest-TestBasicPolicy-64377550', 'ctest-policy-allow-all-07032444']
2026-02-17 12:12:44,695 - INFO - VN ctest-vn-27746816 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-17 12:12:44,695 - DEBUG - Verifying the vn in opserver
2026-02-17 12:12:44,695 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-27746816 virtual network link through opserver 10.0.0.38
2026-02-17 12:12:44,695 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-17 12:12:44,705 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-27746816', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-27746816?flat'}
2026-02-17 12:12:44,705 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64377550:ctest-vn-27746816 is found in opserver
2026-02-17 12:12:44,715 - DEBUG - Do not have enough data to verify VN in agent
2026-02-17 12:12:44,719 - DEBUG - VRF ids for VN ctest-vn-27746816: {}
2026-02-17 12:12:44,782 - DEBUG - Services list from nova: [