2026-04-30 13:12:31,521 - INFO - Domain Default found not creating
2026-04-30 13:12:31,680 - INFO - Project ctest-TestBasicPolicy-20279267 not found, creating it
2026-04-30 13:12:32,136 - INFO - Created Project:ctest-TestBasicPolicy-20279267, ID : 93ae7a36-9440-4551-bd08-07c99b6d50c2
2026-04-30 13:12:33,629 - INFO - ================================================================================
2026-04-30 13:12:33,629 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-30 13:12:33,629 - 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-04-30 13:12:33,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-30 13:12:33,885 - INFO - Initial checks done. Running the testcase now
2026-04-30 13:12:33,885 - INFO -
2026-04-30 13:12:34,443 - DEBUG - Response for create_network : {'network': {'id': '2ddbcc87-93e7-4301-b162-6f8ee74ffe9e', 'name': 'ctest-vn-63904002', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-63904002'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 13:12:34,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '571fe480-8edb-4781-8b22-26907334e74b', 'name': '', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'network_id': '2ddbcc87-93e7-4301-b162-6f8ee74ffe9e', 'ip_version': 4, 'cidr': '168.96.60.192/26', 'allocation_pools': [{'start': '168.96.60.194', 'end': '168.96.60.254'}], 'gateway_ip': '168.96.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.96.60.194', 'tags': [], 'project_id': '93ae7a3694404551bd0807c99b6d50c2'}}
2026-04-30 13:12:34,637 - INFO - Created VN ctest-vn-63904002
2026-04-30 13:12:34,687 - DEBUG - VN ctest-vn-63904002 UUID is 2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:34,974 - DEBUG - Response for create_network : {'network': {'id': 'd5b712f3-e768-4e27-aa56-ccc9b76f8f86', 'name': 'ctest-vn-77229230', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-77229230'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 13:12:35,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b15b5fc-01e0-4d43-ab64-76851441cf28', 'name': '', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'network_id': 'd5b712f3-e768-4e27-aa56-ccc9b76f8f86', 'ip_version': 4, 'cidr': '114.22.58.128/26', 'allocation_pools': [{'start': '114.22.58.130', 'end': '114.22.58.190'}], 'gateway_ip': '114.22.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.22.58.130', 'tags': [], 'project_id': '93ae7a3694404551bd0807c99b6d50c2'}}
2026-04-30 13:12:35,187 - INFO - Created VN ctest-vn-77229230
2026-04-30 13:12:35,239 - DEBUG - VN ctest-vn-77229230 UUID is d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:35,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002, 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-20279267:ctest-vn-77229230, 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-04-30 13:12:35,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ddbcc87-93e7-4301-b162-6f8ee74ffe9e', 'name': 'ctest-vn-63904002', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['571fe480-8edb-4781-8b22-26907334e74b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-63904002'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157']], 'subnet_ipam': [{'subnet_cidr': '168.96.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-30 13:12:35,894 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5b712f3-e768-4e27-aa56-ccc9b76f8f86', 'name': 'ctest-vn-77229230', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b15b5fc-01e0-4d43-ab64-76851441cf28'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-77229230'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157']], 'subnet_ipam': [{'subnet_cidr': '114.22.58.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-30 13:12:36,067 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-30 13:12:36,368 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-30 13:12:36,398 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15
2026-04-30 13:12:36,410 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2
2026-04-30 13:12:36,481 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:36,492 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:36,500 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383
2026-04-30 13:12:36,507 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383
2026-04-30 13:12:36,518 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a67630f9-d1b3-462a-8f54-e62e7e1eacde
2026-04-30 13:12:36,524 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-30 13:12:36,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:36,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383
2026-04-30 13:12:36,552 - INFO - Verified VN network id 11 for VN 2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:36,553 - INFO - Verifications in API Server for VN ctest-vn-63904002 passed
2026-04-30 13:12:36,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:36,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383
2026-04-30 13:12:36,568 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383
2026-04-30 13:12:36,574 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a67630f9-d1b3-462a-8f54-e62e7e1eacde
2026-04-30 13:12:36,587 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20279267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3304459634280448769', 'uuid-lslong': '12781901351987707550'}, 'enable': 'true', 'created': '2026-04-30T13:12:34', 'last-modified': '2026-04-30T13:12:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927442'}
2026-04-30 13:12:36,592 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-30 13:12:36,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63904002 passed
2026-04-30 13:12:36,592 - DEBUG - ====Verifying policy data for ctest-vn-63904002 in API_Server ======
2026-04-30 13:12:36,593 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-30 13:12:36,599 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15
2026-04-30 13:12:36,610 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2
2026-04-30 13:12:36,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e
2026-04-30 13:12:36,693 - DEBUG - ==>Verifying data for policy with id: 247c1ac4-3d8d-4320-9faa-01a098a7d76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157']
2026-04-30 13:12:36,693 - INFO - VN ctest-vn-63904002 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-30 13:12:36,694 - DEBUG - Verifying the vn in opserver
2026-04-30 13:12:36,694 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002 virtual network link through opserver 10.0.0.38
2026-04-30 13:12:36,694 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-30 13:12:36,989 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-30 13:12:37,045 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002?flat'}
2026-04-30 13:12:37,045 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002 is found in opserver
2026-04-30 13:12:37,054 - DEBUG - Do not have enough data to verify VN in agent
2026-04-30 13:12:37,058 - DEBUG - VRF ids for VN ctest-vn-63904002: {}
2026-04-30 13:12:37,058 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-30 13:12:37,064 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15
2026-04-30 13:12:37,082 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2
2026-04-30 13:12:37,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:37,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:37,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf
2026-04-30 13:12:37,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf
2026-04-30 13:12:37,183 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08ac36f6-c2df-4dce-854c-d73aa289918e
2026-04-30 13:12:37,190 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-30 13:12:37,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:37,199 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf
2026-04-30 13:12:37,212 - INFO - Verified VN network id 12 for VN d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:37,212 - INFO - Verifications in API Server for VN ctest-vn-77229230 passed
2026-04-30 13:12:37,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:37,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf
2026-04-30 13:12:37,227 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf
2026-04-30 13:12:37,234 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08ac36f6-c2df-4dce-854c-d73aa289918e
2026-04-30 13:12:37,246 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20279267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15399798289585425959', 'uuid-lslong': '12274223001182900102'}, 'enable': 'true', 'created': '2026-04-30T13:12:34', 'last-modified': '2026-04-30T13:12:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369558'}
2026-04-30 13:12:37,255 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-30 13:12:37,255 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77229230 passed
2026-04-30 13:12:37,255 - DEBUG - ====Verifying policy data for ctest-vn-77229230 in API_Server ======
2026-04-30 13:12:37,255 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-30 13:12:37,260 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15
2026-04-30 13:12:37,270 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2
2026-04-30 13:12:37,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86
2026-04-30 13:12:37,352 - DEBUG - ==>Verifying data for policy with id: 247c1ac4-3d8d-4320-9faa-01a098a7d76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157']
2026-04-30 13:12:37,352 - INFO - VN ctest-vn-77229230 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-30 13:12:37,352 - DEBUG - Verifying the vn in opserver
2026-04-30 13:12:37,352 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230 virtual network link through opserver 10.0.0.38
2026-04-30 13:12:37,352 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-30 13:12:37,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230?flat'}
2026-04-30 13:12:37,361 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230 is found in opserver
2026-04-30 13:12:37,369 - DEBUG - Do not have enough data to verify VN in agent
2026-04-30 13:12:37,373 - DEBUG - VRF ids for VN ctest-vn-77229230: {}
2026-04-30 13:12:37,436 - DEBUG - Services list from nova: [