2026-05-15 13:20:46,242 - INFO - Domain Default found not creating
2026-05-15 13:20:46,419 - INFO - Project ctest-TestBasicPolicy-00596464 not found, creating it
2026-05-15 13:20:46,882 - INFO - Created Project:ctest-TestBasicPolicy-00596464, ID : e450810b-b416-4bd7-84c3-d7d383202f4f
2026-05-15 13:20:48,377 - INFO - ================================================================================
2026-05-15 13:20:48,378 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-15 13:20:48,378 - 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-05-15 13:20:48,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-05-15 13:20:48,634 - INFO - Initial checks done. Running the testcase now
2026-05-15 13:20:48,634 - INFO -
2026-05-15 13:20:49,185 - DEBUG - Response for create_network : {'network': {'id': '00d4c720-9dda-4371-be7b-7d5d2718e19f', 'name': 'ctest-vn-12465204', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12465204'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 13:20:49,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '414fefb4-7be4-4818-a20c-501f4003b7c5', 'name': '', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'network_id': '00d4c720-9dda-4371-be7b-7d5d2718e19f', 'ip_version': 4, 'cidr': '36.66.203.0/26', 'allocation_pools': [{'start': '36.66.203.2', 'end': '36.66.203.62'}], 'gateway_ip': '36.66.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.66.203.2', 'tags': [], 'project_id': 'e450810bb4164bd784c3d7d383202f4f'}}
2026-05-15 13:20:49,408 - INFO - Created VN ctest-vn-12465204
2026-05-15 13:20:49,461 - DEBUG - VN ctest-vn-12465204 UUID is 00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:49,757 - DEBUG - Response for create_network : {'network': {'id': '16899242-7fb7-4b04-bb27-e164f5a8148d', 'name': 'ctest-vn-12054068', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12054068'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 13:20:49,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '552a09e9-d53b-4b6c-92dc-c80bc0a3a5a2', 'name': '', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'network_id': '16899242-7fb7-4b04-bb27-e164f5a8148d', 'ip_version': 4, 'cidr': '134.99.219.0/26', 'allocation_pools': [{'start': '134.99.219.2', 'end': '134.99.219.62'}], 'gateway_ip': '134.99.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.99.219.2', 'tags': [], 'project_id': 'e450810bb4164bd784c3d7d383202f4f'}}
2026-05-15 13:20:49,979 - INFO - Created VN ctest-vn-12054068
2026-05-15 13:20:50,032 - DEBUG - VN ctest-vn-12054068 UUID is 16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:50,150 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204, 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-00596464:ctest-vn-12054068, 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-05-15 13:20:50,453 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00d4c720-9dda-4371-be7b-7d5d2718e19f', 'name': 'ctest-vn-12465204', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['414fefb4-7be4-4818-a20c-501f4003b7c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12465204'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051']], 'subnet_ipam': [{'subnet_cidr': '36.66.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-15 13:20:50,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16899242-7fb7-4b04-bb27-e164f5a8148d', 'name': 'ctest-vn-12054068', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['552a09e9-d53b-4b6c-92dc-c80bc0a3a5a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12054068'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051']], 'subnet_ipam': [{'subnet_cidr': '134.99.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-15 13:20:50,872 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-05-15 13:20:51,186 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-05-15 13:20:51,217 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526
2026-05-15 13:20:51,231 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f
2026-05-15 13:20:51,306 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:51,319 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:51,330 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814
2026-05-15 13:20:51,337 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814
2026-05-15 13:20:51,345 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/236382d4-4db8-4cde-b58b-92b6b46c3ca2
2026-05-15 13:20:51,352 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-15 13:20:51,352 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:51,361 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814
2026-05-15 13:20:51,376 - INFO - Verified VN network id 11 for VN 00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:51,376 - INFO - Verifications in API Server for VN ctest-vn-12465204 passed
2026-05-15 13:20:51,376 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:51,386 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814
2026-05-15 13:20:51,393 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814
2026-05-15 13:20:51,403 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/236382d4-4db8-4cde-b58b-92b6b46c3ca2
2026-05-15 13:20:51,416 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00596464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '59891637963866993', 'uuid-lslong': '13725702128383091103'}, 'enable': 'true', 'created': '2026-05-15T13:20:49', 'last-modified': '2026-05-15T13:20:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988483'}
2026-05-15 13:20:51,422 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-15 13:20:51,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12465204 passed
2026-05-15 13:20:51,423 - DEBUG - ====Verifying policy data for ctest-vn-12465204 in API_Server ======
2026-05-15 13:20:51,423 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-05-15 13:20:51,429 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526
2026-05-15 13:20:51,441 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f
2026-05-15 13:20:51,516 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f
2026-05-15 13:20:51,527 - DEBUG - ==>Verifying data for policy with id: 135bc6c0-3bd1-45b5-9e25-caf06a8426ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051']
2026-05-15 13:20:51,527 - INFO - VN ctest-vn-12465204 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-15 13:20:51,527 - DEBUG - Verifying the vn in opserver
2026-05-15 13:20:51,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204 virtual network link through opserver 10.0.0.242
2026-05-15 13:20:51,527 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-05-15 13:20:51,826 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-05-15 13:20:51,892 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204?flat'}
2026-05-15 13:20:51,892 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204 is found in opserver
2026-05-15 13:20:51,902 - DEBUG - Do not have enough data to verify VN in agent
2026-05-15 13:20:51,906 - DEBUG - VRF ids for VN ctest-vn-12465204: {}
2026-05-15 13:20:51,907 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-05-15 13:20:51,913 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526
2026-05-15 13:20:51,923 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f
2026-05-15 13:20:51,996 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:52,007 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:52,017 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b
2026-05-15 13:20:52,025 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b
2026-05-15 13:20:52,033 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a6f554d5-b0d2-4ed6-85ab-fc8ac25d4680
2026-05-15 13:20:52,041 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-15 13:20:52,041 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:52,051 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b
2026-05-15 13:20:52,066 - INFO - Verified VN network id 12 for VN 16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:52,066 - INFO - Verifications in API Server for VN ctest-vn-12054068 passed
2026-05-15 13:20:52,066 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:52,075 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b
2026-05-15 13:20:52,082 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b
2026-05-15 13:20:52,089 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a6f554d5-b0d2-4ed6-85ab-fc8ac25d4680
2026-05-15 13:20:52,102 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00596464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1623989954951990020', 'uuid-lslong': '13485995432918652045'}, 'enable': 'true', 'created': '2026-05-15T13:20:49', 'last-modified': '2026-05-15T13:20:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426112'}
2026-05-15 13:20:52,108 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-15 13:20:52,108 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12054068 passed
2026-05-15 13:20:52,108 - DEBUG - ====Verifying policy data for ctest-vn-12054068 in API_Server ======
2026-05-15 13:20:52,108 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-05-15 13:20:52,115 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526
2026-05-15 13:20:52,129 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f
2026-05-15 13:20:52,199 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d
2026-05-15 13:20:52,208 - DEBUG - ==>Verifying data for policy with id: 135bc6c0-3bd1-45b5-9e25-caf06a8426ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051']
2026-05-15 13:20:52,208 - INFO - VN ctest-vn-12054068 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-15 13:20:52,208 - DEBUG - Verifying the vn in opserver
2026-05-15 13:20:52,209 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068 virtual network link through opserver 10.0.0.242
2026-05-15 13:20:52,209 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-05-15 13:20:52,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068?flat'}
2026-05-15 13:20:52,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068 is found in opserver
2026-05-15 13:20:52,230 - DEBUG - Do not have enough data to verify VN in agent
2026-05-15 13:20:52,234 - DEBUG - VRF ids for VN ctest-vn-12054068: {}
2026-05-15 13:20:52,294 - DEBUG - Services list from nova: [