2026-02-22 10:57:31,939 - INFO - Domain Default found not creating
2026-02-22 10:57:32,111 - INFO - Project ctest-TestBasicPolicy-64005441 not found, creating it
2026-02-22 10:57:32,579 - INFO - Created Project:ctest-TestBasicPolicy-64005441, ID : 59b05d87-4555-4f2c-adf6-2ab0ce4c314d
2026-02-22 10:57:34,071 - INFO - ================================================================================
2026-02-22 10:57:34,071 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-22 10:57:34,072 - 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-22 10:57:34,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-22 10:57:34,324 - INFO - Initial checks done. Running the testcase now
2026-02-22 10:57:34,324 - INFO -
2026-02-22 10:57:34,890 - DEBUG - Response for create_network : {'network': {'id': '88d88fed-9da0-4b66-bf64-d0d32fd78d74', 'name': 'ctest-vn-84032323', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-84032323'], 'port_security_enabled': True, 'description': ''}}
2026-02-22 10:57:35,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b660321-5942-45cc-a3b3-90dbe6c80b96', 'name': '', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'network_id': '88d88fed-9da0-4b66-bf64-d0d32fd78d74', 'ip_version': 4, 'cidr': '194.1.145.64/26', 'allocation_pools': [{'start': '194.1.145.66', 'end': '194.1.145.126'}], 'gateway_ip': '194.1.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.1.145.66', 'tags': [], 'project_id': '59b05d8745554f2cadf62ab0ce4c314d'}}
2026-02-22 10:57:35,067 - INFO - Created VN ctest-vn-84032323
2026-02-22 10:57:35,118 - DEBUG - VN ctest-vn-84032323 UUID is 88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:35,422 - DEBUG - Response for create_network : {'network': {'id': '89117fee-e103-4d6e-bf31-0881ac637bb6', 'name': 'ctest-vn-48233099', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-48233099'], 'port_security_enabled': True, 'description': ''}}
2026-02-22 10:57:35,588 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eefcd782-895c-4713-b50c-3755bf152b7b', 'name': '', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'network_id': '89117fee-e103-4d6e-bf31-0881ac637bb6', 'ip_version': 4, 'cidr': '156.19.86.64/26', 'allocation_pools': [{'start': '156.19.86.66', 'end': '156.19.86.126'}], 'gateway_ip': '156.19.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.19.86.66', 'tags': [], 'project_id': '59b05d8745554f2cadf62ab0ce4c314d'}}
2026-02-22 10:57:35,605 - INFO - Created VN ctest-vn-48233099
2026-02-22 10:57:35,658 - DEBUG - VN ctest-vn-48233099 UUID is 89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:35,776 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323, 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-64005441:ctest-vn-48233099, 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-22 10:57:36,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88d88fed-9da0-4b66-bf64-d0d32fd78d74', 'name': 'ctest-vn-84032323', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b660321-5942-45cc-a3b3-90dbe6c80b96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-84032323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886']], 'subnet_ipam': [{'subnet_cidr': '194.1.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-22 10:57:36,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89117fee-e103-4d6e-bf31-0881ac637bb6', 'name': 'ctest-vn-48233099', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eefcd782-895c-4713-b50c-3755bf152b7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-48233099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886']], 'subnet_ipam': [{'subnet_cidr': '156.19.86.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-22 10:57:36,482 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 10:57:36,805 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 10:57:36,845 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81
2026-02-22 10:57:36,861 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d
2026-02-22 10:57:36,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:36,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:36,967 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614
2026-02-22 10:57:36,974 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614
2026-02-22 10:57:36,981 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e480f367-af23-43a0-9b35-30aaf383f933
2026-02-22 10:57:36,988 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-22 10:57:36,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:36,999 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614
2026-02-22 10:57:37,016 - INFO - Verified VN network id 12 for VN 88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:37,016 - INFO - Verifications in API Server for VN ctest-vn-84032323 passed
2026-02-22 10:57:37,016 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:37,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614
2026-02-22 10:57:37,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614
2026-02-22 10:57:37,046 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e480f367-af23-43a0-9b35-30aaf383f933
2026-02-22 10:57:37,060 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64005441', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9860789634842250086', 'uuid-lslong': '13791377564374633844'}, 'enable': 'true', 'created': '2026-02-22T10:57:34', 'last-modified': '2026-02-22T10:57:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.010755'}
2026-02-22 10:57:37,068 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-22 10:57:37,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84032323 passed
2026-02-22 10:57:37,069 - DEBUG - ====Verifying policy data for ctest-vn-84032323 in API_Server ======
2026-02-22 10:57:37,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 10:57:37,077 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81
2026-02-22 10:57:37,089 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d
2026-02-22 10:57:37,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74
2026-02-22 10:57:37,178 - DEBUG - ==>Verifying data for policy with id: 768a3f9c-dc03-4cea-97db-856c61b19485, fqn: ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886']
2026-02-22 10:57:37,178 - INFO - VN ctest-vn-84032323 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-22 10:57:37,178 - DEBUG - Verifying the vn in opserver
2026-02-22 10:57:37,178 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323 virtual network link through opserver 10.0.0.50
2026-02-22 10:57:37,178 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-22 10:57:37,474 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-22 10:57:37,536 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323?flat'}
2026-02-22 10:57:37,536 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323 is found in opserver
2026-02-22 10:57:37,545 - DEBUG - Do not have enough data to verify VN in agent
2026-02-22 10:57:37,550 - DEBUG - VRF ids for VN ctest-vn-84032323: {}
2026-02-22 10:57:37,550 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 10:57:37,555 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81
2026-02-22 10:57:37,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d
2026-02-22 10:57:37,637 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:37,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:37,660 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24
2026-02-22 10:57:37,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24
2026-02-22 10:57:37,676 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1af61b98-f72a-422c-a68a-febf0adfbb51
2026-02-22 10:57:37,684 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-22 10:57:37,684 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:37,693 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24
2026-02-22 10:57:37,707 - INFO - Verified VN network id 13 for VN 89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:37,707 - INFO - Verifications in API Server for VN ctest-vn-48233099 passed
2026-02-22 10:57:37,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:37,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24
2026-02-22 10:57:37,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24
2026-02-22 10:57:37,731 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1af61b98-f72a-422c-a68a-febf0adfbb51
2026-02-22 10:57:37,743 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64005441', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9876816121754242414', 'uuid-lslong': '13776802088139062198'}, 'enable': 'true', 'created': '2026-02-22T10:57:35', 'last-modified': '2026-02-22T10:57:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.463797'}
2026-02-22 10:57:37,749 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-22 10:57:37,749 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48233099 passed
2026-02-22 10:57:37,749 - DEBUG - ====Verifying policy data for ctest-vn-48233099 in API_Server ======
2026-02-22 10:57:37,749 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 10:57:37,755 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81
2026-02-22 10:57:37,765 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d
2026-02-22 10:57:37,837 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6
2026-02-22 10:57:37,847 - DEBUG - ==>Verifying data for policy with id: 768a3f9c-dc03-4cea-97db-856c61b19485, fqn: ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886']
2026-02-22 10:57:37,847 - INFO - VN ctest-vn-48233099 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-22 10:57:37,847 - DEBUG - Verifying the vn in opserver
2026-02-22 10:57:37,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099 virtual network link through opserver 10.0.0.50
2026-02-22 10:57:37,847 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-22 10:57:37,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099?flat'}
2026-02-22 10:57:37,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099 is found in opserver
2026-02-22 10:57:37,867 - DEBUG - Do not have enough data to verify VN in agent
2026-02-22 10:57:37,872 - DEBUG - VRF ids for VN ctest-vn-48233099: {}
2026-02-22 10:57:37,929 - DEBUG - Services list from nova: [