2026-02-16 15:34:05,329 - INFO - Domain Default found not creating
2026-02-16 15:34:05,497 - INFO - Project ctest-TestBasicPolicy-54048843 not found, creating it
2026-02-16 15:34:05,933 - INFO - Created Project:ctest-TestBasicPolicy-54048843, ID : a3aededd-ebba-471a-9b6d-eb7feadf8f26
2026-02-16 15:34:07,374 - INFO - ================================================================================
2026-02-16 15:34:07,374 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 15:34:07,374 - 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-16 15:34:07,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-02-16 15:34:07,631 - INFO - Initial checks done. Running the testcase now
2026-02-16 15:34:07,631 - INFO -
2026-02-16 15:34:08,173 - DEBUG - Response for create_network : {'network': {'id': '188faf21-3637-40be-b6b9-4d2ef50c5ecb', 'name': 'ctest-vn-65847794', 'tenant_id': 'a3aededdebba471a9b6deb7feadf8f26', 'project_id': 'a3aededdebba471a9b6deb7feadf8f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-vn-65847794'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 15:34:08,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf68384e-37fd-49dc-8ee3-2fc797165a5d', 'name': '', 'tenant_id': 'a3aededdebba471a9b6deb7feadf8f26', 'network_id': '188faf21-3637-40be-b6b9-4d2ef50c5ecb', 'ip_version': 4, 'cidr': '177.149.229.128/26', 'allocation_pools': [{'start': '177.149.229.130', 'end': '177.149.229.190'}], 'gateway_ip': '177.149.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.149.229.130', 'tags': [], 'project_id': 'a3aededdebba471a9b6deb7feadf8f26'}}
2026-02-16 15:34:08,373 - INFO - Created VN ctest-vn-65847794
2026-02-16 15:34:08,425 - DEBUG - VN ctest-vn-65847794 UUID is 188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:08,753 - DEBUG - Response for create_network : {'network': {'id': 'f6bf9b00-7b06-4b72-86cc-fe85f5c477ee', 'name': 'ctest-vn-50019889', 'tenant_id': 'a3aededdebba471a9b6deb7feadf8f26', 'project_id': 'a3aededdebba471a9b6deb7feadf8f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-vn-50019889'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 15:34:08,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '79784e12-2cba-4f4b-a10a-0e92c734aedc', 'name': '', 'tenant_id': 'a3aededdebba471a9b6deb7feadf8f26', 'network_id': 'f6bf9b00-7b06-4b72-86cc-fe85f5c477ee', 'ip_version': 4, 'cidr': '83.29.86.192/26', 'allocation_pools': [{'start': '83.29.86.194', 'end': '83.29.86.254'}], 'gateway_ip': '83.29.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.29.86.194', 'tags': [], 'project_id': 'a3aededdebba471a9b6deb7feadf8f26'}}
2026-02-16 15:34:08,960 - INFO - Created VN ctest-vn-50019889
2026-02-16 15:34:09,013 - DEBUG - VN ctest-vn-50019889 UUID is f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:09,128 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-65847794, 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-54048843:ctest-vn-50019889, 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-16 15:34:09,429 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '188faf21-3637-40be-b6b9-4d2ef50c5ecb', 'name': 'ctest-vn-65847794', 'tenant_id': 'a3aededdebba471a9b6deb7feadf8f26', 'project_id': 'a3aededdebba471a9b6deb7feadf8f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf68384e-37fd-49dc-8ee3-2fc797165a5d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-vn-65847794'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-policy-allow-all-28679836']], 'subnet_ipam': [{'subnet_cidr': '177.149.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 15:34:09,656 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6bf9b00-7b06-4b72-86cc-fe85f5c477ee', 'name': 'ctest-vn-50019889', 'tenant_id': 'a3aededdebba471a9b6deb7feadf8f26', 'project_id': 'a3aededdebba471a9b6deb7feadf8f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79784e12-2cba-4f4b-a10a-0e92c734aedc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-vn-50019889'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-policy-allow-all-28679836']], 'subnet_ipam': [{'subnet_cidr': '83.29.86.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 15:34:09,813 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-16 15:34:10,110 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-16 15:34:10,145 - DEBUG - Requesting: http://10.0.0.129:8082/domain/edb46c6f-e96c-40af-9e3c-6a94f50fcc8a
2026-02-16 15:34:10,156 - DEBUG - Requesting: http://10.0.0.129:8082/project/a3aededd-ebba-471a-9b6d-eb7feadf8f26
2026-02-16 15:34:10,229 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:10,240 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:10,251 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ae96cdf-3b1b-4f74-a818-f9e904d87036
2026-02-16 15:34:10,260 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ae96cdf-3b1b-4f74-a818-f9e904d87036
2026-02-16 15:34:10,267 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/a569ef92-f2fe-49d1-9482-6345b56abcf7
2026-02-16 15:34:10,274 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 15:34:10,274 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:10,282 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ae96cdf-3b1b-4f74-a818-f9e904d87036
2026-02-16 15:34:10,296 - INFO - Verified VN network id 11 for VN 188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:10,296 - INFO - Verifications in API Server for VN ctest-vn-65847794 passed
2026-02-16 15:34:10,296 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:10,304 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ae96cdf-3b1b-4f74-a818-f9e904d87036
2026-02-16 15:34:10,311 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ae96cdf-3b1b-4f74-a818-f9e904d87036
2026-02-16 15:34:10,318 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/a569ef92-f2fe-49d1-9482-6345b56abcf7
2026-02-16 15:34:10,332 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-65847794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54048843', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1769825735758266558', 'uuid-lslong': '13166639849669418699'}, 'enable': 'true', 'created': '2026-02-16T15:34:08', 'last-modified': '2026-02-16T15:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932151'}
2026-02-16 15:34:10,339 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 15:34:10,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65847794 passed
2026-02-16 15:34:10,339 - DEBUG - ====Verifying policy data for ctest-vn-65847794 in API_Server ======
2026-02-16 15:34:10,339 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-16 15:34:10,344 - DEBUG - Requesting: http://10.0.0.129:8082/domain/edb46c6f-e96c-40af-9e3c-6a94f50fcc8a
2026-02-16 15:34:10,355 - DEBUG - Requesting: http://10.0.0.129:8082/project/a3aededd-ebba-471a-9b6d-eb7feadf8f26
2026-02-16 15:34:10,427 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/188faf21-3637-40be-b6b9-4d2ef50c5ecb
2026-02-16 15:34:10,435 - DEBUG - ==>Verifying data for policy with id: 14f66681-f6cb-4e51-8f0c-5407adf5dfc5, fqn: ['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-policy-allow-all-28679836']
2026-02-16 15:34:10,435 - INFO - VN ctest-vn-65847794 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 15:34:10,436 - DEBUG - Verifying the vn in opserver
2026-02-16 15:34:10,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-65847794 virtual network link through opserver 10.0.0.129
2026-02-16 15:34:10,436 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-16 15:34:10,727 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-16 15:34:10,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-65847794', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-65847794?flat'}
2026-02-16 15:34:10,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-65847794 is found in opserver
2026-02-16 15:34:10,796 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 15:34:10,800 - DEBUG - VRF ids for VN ctest-vn-65847794: {}
2026-02-16 15:34:10,800 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-16 15:34:10,806 - DEBUG - Requesting: http://10.0.0.129:8082/domain/edb46c6f-e96c-40af-9e3c-6a94f50fcc8a
2026-02-16 15:34:10,819 - DEBUG - Requesting: http://10.0.0.129:8082/project/a3aededd-ebba-471a-9b6d-eb7feadf8f26
2026-02-16 15:34:10,890 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:10,900 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:10,908 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/716409d7-abf9-4884-9009-255b33dd84a6
2026-02-16 15:34:10,915 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/716409d7-abf9-4884-9009-255b33dd84a6
2026-02-16 15:34:10,921 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/d7c97fe8-df40-4c87-aac4-d3dd84f0b30f
2026-02-16 15:34:10,928 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 15:34:10,928 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:10,936 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/716409d7-abf9-4884-9009-255b33dd84a6
2026-02-16 15:34:10,950 - INFO - Verified VN network id 12 for VN f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:10,950 - INFO - Verifications in API Server for VN ctest-vn-50019889 passed
2026-02-16 15:34:10,950 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:10,959 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/716409d7-abf9-4884-9009-255b33dd84a6
2026-02-16 15:34:10,966 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/716409d7-abf9-4884-9009-255b33dd84a6
2026-02-16 15:34:10,974 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/d7c97fe8-df40-4c87-aac4-d3dd84f0b30f
2026-02-16 15:34:10,987 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-50019889', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54048843', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17780100280248322930', 'uuid-lslong': '9713418347638716398'}, 'enable': 'true', 'created': '2026-02-16T15:34:08', 'last-modified': '2026-02-16T15:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355814'}
2026-02-16 15:34:10,994 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 15:34:10,994 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50019889 passed
2026-02-16 15:34:10,995 - DEBUG - ====Verifying policy data for ctest-vn-50019889 in API_Server ======
2026-02-16 15:34:10,995 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-16 15:34:11,001 - DEBUG - Requesting: http://10.0.0.129:8082/domain/edb46c6f-e96c-40af-9e3c-6a94f50fcc8a
2026-02-16 15:34:11,013 - DEBUG - Requesting: http://10.0.0.129:8082/project/a3aededd-ebba-471a-9b6d-eb7feadf8f26
2026-02-16 15:34:11,082 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f6bf9b00-7b06-4b72-86cc-fe85f5c477ee
2026-02-16 15:34:11,092 - DEBUG - ==>Verifying data for policy with id: 14f66681-f6cb-4e51-8f0c-5407adf5dfc5, fqn: ['default-domain', 'ctest-TestBasicPolicy-54048843', 'ctest-policy-allow-all-28679836']
2026-02-16 15:34:11,092 - INFO - VN ctest-vn-50019889 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 15:34:11,092 - DEBUG - Verifying the vn in opserver
2026-02-16 15:34:11,092 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-50019889 virtual network link through opserver 10.0.0.129
2026-02-16 15:34:11,092 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-16 15:34:11,102 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-50019889', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-50019889?flat'}
2026-02-16 15:34:11,102 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54048843:ctest-vn-50019889 is found in opserver
2026-02-16 15:34:11,111 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 15:34:11,116 - DEBUG - VRF ids for VN ctest-vn-50019889: {}
2026-02-16 15:34:11,173 - DEBUG - Services list from nova: [