2026-11-29 11:42:35,033 - INFO - Domain Default found not creating
2026-11-29 11:42:35,215 - INFO - Project ctest-TestBasicPolicy-21866886 not found, creating it
2026-11-29 11:42:35,712 - INFO - Created Project:ctest-TestBasicPolicy-21866886, ID : ac1d4638-eed3-4715-b89f-31462758a215
2026-11-29 11:42:37,463 - INFO - ================================================================================
2026-11-29 11:42:37,463 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-29 11:42:37,463 - 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-11-29 11:42:37,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-11-29 11:42:37,720 - INFO - Initial checks done. Running the testcase now
2026-11-29 11:42:37,720 - INFO -
2026-11-29 11:42:38,336 - DEBUG - Response for create_network : {'network': {'id': '345f328f-3a10-47fb-a4db-312b74270ee6', 'name': 'ctest-vn-45785638', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-45785638'], 'port_security_enabled': True, 'description': ''}}
2026-11-29 11:42:38,553 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e398785c-8b16-4444-96ad-5ba00b7dd870', 'name': '', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'network_id': '345f328f-3a10-47fb-a4db-312b74270ee6', 'ip_version': 4, 'cidr': '199.90.238.128/26', 'allocation_pools': [{'start': '199.90.238.130', 'end': '199.90.238.190'}], 'gateway_ip': '199.90.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.90.238.130', 'tags': [], 'project_id': 'ac1d4638eed34715b89f31462758a215'}}
2026-11-29 11:42:38,570 - INFO - Created VN ctest-vn-45785638
2026-11-29 11:42:38,626 - DEBUG - VN ctest-vn-45785638 UUID is 345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:38,929 - DEBUG - Response for create_network : {'network': {'id': 'a93bc81f-675b-43bc-9df9-e60a887b1950', 'name': 'ctest-vn-48621935', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-48621935'], 'port_security_enabled': True, 'description': ''}}
2026-11-29 11:42:39,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '934f742b-818c-4874-9776-6beae77680a0', 'name': '', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'network_id': 'a93bc81f-675b-43bc-9df9-e60a887b1950', 'ip_version': 4, 'cidr': '14.237.82.192/26', 'allocation_pools': [{'start': '14.237.82.194', 'end': '14.237.82.254'}], 'gateway_ip': '14.237.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.237.82.194', 'tags': [], 'project_id': 'ac1d4638eed34715b89f31462758a215'}}
2026-11-29 11:42:39,146 - INFO - Created VN ctest-vn-48621935
2026-11-29 11:42:39,198 - DEBUG - VN ctest-vn-48621935 UUID is a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:39,310 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638, 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-21866886:ctest-vn-48621935, 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-11-29 11:42:39,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '345f328f-3a10-47fb-a4db-312b74270ee6', 'name': 'ctest-vn-45785638', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e398785c-8b16-4444-96ad-5ba00b7dd870'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-45785638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302']], 'subnet_ipam': [{'subnet_cidr': '199.90.238.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-29 11:42:39,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a93bc81f-675b-43bc-9df9-e60a887b1950', 'name': 'ctest-vn-48621935', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['934f742b-818c-4874-9776-6beae77680a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-48621935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302']], 'subnet_ipam': [{'subnet_cidr': '14.237.82.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-29 11:42:40,014 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-29 11:42:40,390 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-29 11:42:40,418 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7
2026-11-29 11:42:40,429 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215
2026-11-29 11:42:40,509 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:40,529 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:40,538 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485
2026-11-29 11:42:40,546 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485
2026-11-29 11:42:40,553 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e5c113e5-ed4e-41b4-a5ce-f0922d9da350
2026-11-29 11:42:40,559 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-29 11:42:40,559 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:40,569 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485
2026-11-29 11:42:40,584 - INFO - Verified VN network id 12 for VN 345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:40,584 - INFO - Verifications in API Server for VN ctest-vn-45785638 passed
2026-11-29 11:42:40,584 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:40,593 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485
2026-11-29 11:42:40,600 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485
2026-11-29 11:42:40,607 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e5c113e5-ed4e-41b4-a5ce-f0922d9da350
2026-11-29 11:42:40,622 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21866886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3773790603495622651', 'uuid-lslong': '11879142504821886694'}, 'enable': 'true', 'created': '2026-11-29T11:42:38', 'last-modified': '2026-11-29T11:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031662'}
2026-11-29 11:42:40,630 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-29 11:42:40,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45785638 passed
2026-11-29 11:42:40,630 - DEBUG - ====Verifying policy data for ctest-vn-45785638 in API_Server ======
2026-11-29 11:42:40,630 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-29 11:42:40,636 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7
2026-11-29 11:42:40,648 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215
2026-11-29 11:42:40,720 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6
2026-11-29 11:42:40,729 - DEBUG - ==>Verifying data for policy with id: 732354b7-c237-4f9b-8c14-982273156065, fqn: ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302']
2026-11-29 11:42:40,729 - INFO - VN ctest-vn-45785638 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-29 11:42:40,730 - DEBUG - Verifying the vn in opserver
2026-11-29 11:42:40,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638 virtual network link through opserver 10.0.0.161
2026-11-29 11:42:40,730 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-29 11:42:41,103 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-29 11:42:41,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638?flat'}
2026-11-29 11:42:41,156 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638 is found in opserver
2026-11-29 11:42:41,165 - DEBUG - Do not have enough data to verify VN in agent
2026-11-29 11:42:41,170 - DEBUG - VRF ids for VN ctest-vn-45785638: {}
2026-11-29 11:42:41,170 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-29 11:42:41,175 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7
2026-11-29 11:42:41,185 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215
2026-11-29 11:42:41,261 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:41,273 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:41,284 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf
2026-11-29 11:42:41,291 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf
2026-11-29 11:42:41,299 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e6e978e0-03b7-4a2c-bade-f9930bdb3868
2026-11-29 11:42:41,306 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-29 11:42:41,306 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:41,315 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf
2026-11-29 11:42:41,331 - INFO - Verified VN network id 13 for VN a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:41,331 - INFO - Verifications in API Server for VN ctest-vn-48621935 passed
2026-11-29 11:42:41,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:41,342 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf
2026-11-29 11:42:41,358 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf
2026-11-29 11:42:41,365 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e6e978e0-03b7-4a2c-bade-f9930bdb3868
2026-11-29 11:42:41,379 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21866886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12194560453239325628', 'uuid-lslong': '11383382466069469520'}, 'enable': 'true', 'created': '2026-11-29T11:42:38', 'last-modified': '2026-11-29T11:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.558411'}
2026-11-29 11:42:41,386 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-29 11:42:41,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48621935 passed
2026-11-29 11:42:41,387 - DEBUG - ====Verifying policy data for ctest-vn-48621935 in API_Server ======
2026-11-29 11:42:41,387 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-29 11:42:41,393 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7
2026-11-29 11:42:41,404 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215
2026-11-29 11:42:41,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950
2026-11-29 11:42:41,491 - DEBUG - ==>Verifying data for policy with id: 732354b7-c237-4f9b-8c14-982273156065, fqn: ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302']
2026-11-29 11:42:41,491 - INFO - VN ctest-vn-48621935 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-29 11:42:41,491 - DEBUG - Verifying the vn in opserver
2026-11-29 11:42:41,491 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935 virtual network link through opserver 10.0.0.161
2026-11-29 11:42:41,491 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-29 11:42:41,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935?flat'}
2026-11-29 11:42:41,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935 is found in opserver
2026-11-29 11:42:41,511 - DEBUG - Do not have enough data to verify VN in agent
2026-11-29 11:42:41,515 - DEBUG - VRF ids for VN ctest-vn-48621935: {}
2026-11-29 11:42:41,584 - DEBUG - Services list from nova: [