2026-11-03 04:08:22,642 - INFO - Domain Default found not creating
2026-11-03 04:08:22,828 - INFO - Project ctest-TestBasicPolicy-35395385 not found, creating it
2026-11-03 04:08:23,334 - INFO - Created Project:ctest-TestBasicPolicy-35395385, ID : dc2bbee6-e4e2-44ad-a037-e321f6f3e179
2026-11-03 04:08:25,080 - INFO - ================================================================================
2026-11-03 04:08:25,080 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-03 04:08:25,080 - 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-03 04:08:25,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.25': '0'}} with
2026-11-03 04:08:25,346 - INFO - Initial checks done. Running the testcase now
2026-11-03 04:08:25,346 - INFO -
2026-11-03 04:08:26,006 - DEBUG - Response for create_network : {'network': {'id': '51934dd0-1289-4175-8683-35527b5cffe9', 'name': 'ctest-vn-17418508', 'tenant_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'project_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-vn-17418508'], 'port_security_enabled': True, 'description': ''}}
2026-11-03 04:08:26,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '845d8394-46c0-4669-8c73-5996a15ff80b', 'name': '', 'tenant_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'network_id': '51934dd0-1289-4175-8683-35527b5cffe9', 'ip_version': 4, 'cidr': '80.250.217.192/26', 'allocation_pools': [{'start': '80.250.217.194', 'end': '80.250.217.254'}], 'gateway_ip': '80.250.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.250.217.194', 'tags': [], 'project_id': 'dc2bbee6e4e244ada037e321f6f3e179'}}
2026-11-03 04:08:26,242 - INFO - Created VN ctest-vn-17418508
2026-11-03 04:08:26,294 - DEBUG - VN ctest-vn-17418508 UUID is 51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:26,618 - DEBUG - Response for create_network : {'network': {'id': '4dab34e9-a5b3-430b-9c49-bea53b7905f0', 'name': 'ctest-vn-93049202', 'tenant_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'project_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-vn-93049202'], 'port_security_enabled': True, 'description': ''}}
2026-11-03 04:08:26,840 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4c45d6c-1836-40c2-996e-bcb96556af31', 'name': '', 'tenant_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'network_id': '4dab34e9-a5b3-430b-9c49-bea53b7905f0', 'ip_version': 4, 'cidr': '221.107.94.0/26', 'allocation_pools': [{'start': '221.107.94.2', 'end': '221.107.94.62'}], 'gateway_ip': '221.107.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.107.94.2', 'tags': [], 'project_id': 'dc2bbee6e4e244ada037e321f6f3e179'}}
2026-11-03 04:08:26,855 - INFO - Created VN ctest-vn-93049202
2026-11-03 04:08:26,906 - DEBUG - VN ctest-vn-93049202 UUID is 4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:27,046 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-17418508, 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-35395385:ctest-vn-93049202, 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-03 04:08:27,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '51934dd0-1289-4175-8683-35527b5cffe9', 'name': 'ctest-vn-17418508', 'tenant_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'project_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['845d8394-46c0-4669-8c73-5996a15ff80b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-vn-17418508'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-policy-allow-all-69582440']], 'subnet_ipam': [{'subnet_cidr': '80.250.217.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-03 04:08:27,535 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4dab34e9-a5b3-430b-9c49-bea53b7905f0', 'name': 'ctest-vn-93049202', 'tenant_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'project_id': 'dc2bbee6e4e244ada037e321f6f3e179', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e4c45d6c-1836-40c2-996e-bcb96556af31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-vn-93049202'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-policy-allow-all-69582440']], 'subnet_ipam': [{'subnet_cidr': '221.107.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-03 04:08:27,702 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 04:08:28,123 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 04:08:28,179 - DEBUG - Requesting: http://10.0.0.251:8082/domain/8923dba9-9ba4-4910-975e-169f955344cd
2026-11-03 04:08:28,205 - DEBUG - Requesting: http://10.0.0.251:8082/project/dc2bbee6-e4e2-44ad-a037-e321f6f3e179
2026-11-03 04:08:28,286 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:28,297 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:28,306 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/a3542012-38a3-460d-a7f6-0472a126509a
2026-11-03 04:08:28,312 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/a3542012-38a3-460d-a7f6-0472a126509a
2026-11-03 04:08:28,319 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/43487c71-127f-4aea-b64a-c0c9eb558475
2026-11-03 04:08:28,324 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-03 04:08:28,324 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:28,332 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/a3542012-38a3-460d-a7f6-0472a126509a
2026-11-03 04:08:28,346 - INFO - Verified VN network id 12 for VN 51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:28,346 - INFO - Verifications in API Server for VN ctest-vn-17418508 passed
2026-11-03 04:08:28,346 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:28,355 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/a3542012-38a3-460d-a7f6-0472a126509a
2026-11-03 04:08:28,362 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/a3542012-38a3-460d-a7f6-0472a126509a
2026-11-03 04:08:28,368 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/43487c71-127f-4aea-b64a-c0c9eb558475
2026-11-03 04:08:28,380 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-17418508', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35395385', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5878127494708150645', 'uuid-lslong': '9692649451404722153'}, 'enable': 'true', 'created': '2026-11-03T04:08:25', 'last-modified': '2026-11-03T04:08:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041887'}
2026-11-03 04:08:28,386 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-03 04:08:28,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17418508 passed
2026-11-03 04:08:28,387 - DEBUG - ====Verifying policy data for ctest-vn-17418508 in API_Server ======
2026-11-03 04:08:28,387 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 04:08:28,392 - DEBUG - Requesting: http://10.0.0.251:8082/domain/8923dba9-9ba4-4910-975e-169f955344cd
2026-11-03 04:08:28,404 - DEBUG - Requesting: http://10.0.0.251:8082/project/dc2bbee6-e4e2-44ad-a037-e321f6f3e179
2026-11-03 04:08:28,482 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/51934dd0-1289-4175-8683-35527b5cffe9
2026-11-03 04:08:28,491 - DEBUG - ==>Verifying data for policy with id: 52132860-cd95-4f2a-b32e-2d65ce5d12b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-policy-allow-all-69582440']
2026-11-03 04:08:28,491 - INFO - VN ctest-vn-17418508 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-03 04:08:28,491 - DEBUG - Verifying the vn in opserver
2026-11-03 04:08:28,491 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-17418508 virtual network link through opserver 10.0.0.251
2026-11-03 04:08:28,492 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-11-03 04:08:28,851 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-11-03 04:08:28,903 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-17418508', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-17418508?flat'}
2026-11-03 04:08:28,903 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-17418508 is found in opserver
2026-11-03 04:08:28,915 - DEBUG - Do not have enough data to verify VN in agent
2026-11-03 04:08:28,921 - DEBUG - VRF ids for VN ctest-vn-17418508: {}
2026-11-03 04:08:28,921 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 04:08:28,926 - DEBUG - Requesting: http://10.0.0.251:8082/domain/8923dba9-9ba4-4910-975e-169f955344cd
2026-11-03 04:08:28,938 - DEBUG - Requesting: http://10.0.0.251:8082/project/dc2bbee6-e4e2-44ad-a037-e321f6f3e179
2026-11-03 04:08:29,009 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:29,022 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:29,034 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2579864d-7394-41bd-b672-bbb215867c9c
2026-11-03 04:08:29,042 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2579864d-7394-41bd-b672-bbb215867c9c
2026-11-03 04:08:29,049 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/4f316f72-e5ce-42bb-a1b8-f11f4838b28a
2026-11-03 04:08:29,056 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-03 04:08:29,056 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:29,066 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2579864d-7394-41bd-b672-bbb215867c9c
2026-11-03 04:08:29,080 - INFO - Verified VN network id 13 for VN 4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:29,080 - INFO - Verifications in API Server for VN ctest-vn-93049202 passed
2026-11-03 04:08:29,080 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:29,091 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2579864d-7394-41bd-b672-bbb215867c9c
2026-11-03 04:08:29,097 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2579864d-7394-41bd-b672-bbb215867c9c
2026-11-03 04:08:29,103 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/4f316f72-e5ce-42bb-a1b8-f11f4838b28a
2026-11-03 04:08:29,115 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-93049202', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35395385', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5596625140049986315', 'uuid-lslong': '11261741960093304304'}, 'enable': 'true', 'created': '2026-11-03T04:08:26', 'last-modified': '2026-11-03T04:08:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.597716'}
2026-11-03 04:08:29,121 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-03 04:08:29,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93049202 passed
2026-11-03 04:08:29,122 - DEBUG - ====Verifying policy data for ctest-vn-93049202 in API_Server ======
2026-11-03 04:08:29,122 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 04:08:29,127 - DEBUG - Requesting: http://10.0.0.251:8082/domain/8923dba9-9ba4-4910-975e-169f955344cd
2026-11-03 04:08:29,136 - DEBUG - Requesting: http://10.0.0.251:8082/project/dc2bbee6-e4e2-44ad-a037-e321f6f3e179
2026-11-03 04:08:29,205 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/4dab34e9-a5b3-430b-9c49-bea53b7905f0
2026-11-03 04:08:29,215 - DEBUG - ==>Verifying data for policy with id: 52132860-cd95-4f2a-b32e-2d65ce5d12b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-35395385', 'ctest-policy-allow-all-69582440']
2026-11-03 04:08:29,215 - INFO - VN ctest-vn-93049202 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-03 04:08:29,215 - DEBUG - Verifying the vn in opserver
2026-11-03 04:08:29,216 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-93049202 virtual network link through opserver 10.0.0.251
2026-11-03 04:08:29,216 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-11-03 04:08:29,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-93049202', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-93049202?flat'}
2026-11-03 04:08:29,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35395385:ctest-vn-93049202 is found in opserver
2026-11-03 04:08:29,238 - DEBUG - Do not have enough data to verify VN in agent
2026-11-03 04:08:29,243 - DEBUG - VRF ids for VN ctest-vn-93049202: {}
2026-11-03 04:08:29,301 - DEBUG - Services list from nova: [