2026-06-04 02:25:31,371 - INFO - Domain Default found not creating
2026-06-04 02:25:31,539 - INFO - Project ctest-TestBasicPolicy-63626109 not found, creating it
2026-06-04 02:25:32,007 - INFO - Created Project:ctest-TestBasicPolicy-63626109, ID : d07e9b9d-0863-41a8-9599-5e4831bce6d9
2026-06-04 02:25:33,471 - INFO - ================================================================================
2026-06-04 02:25:33,471 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-04 02:25:33,471 - 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-06-04 02:25:33,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-06-04 02:25:33,725 - INFO - Initial checks done. Running the testcase now
2026-06-04 02:25:33,725 - INFO -
2026-06-04 02:25:34,298 - DEBUG - Response for create_network : {'network': {'id': 'f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161', 'name': 'ctest-vn-14527824', 'tenant_id': 'd07e9b9d086341a895995e4831bce6d9', 'project_id': 'd07e9b9d086341a895995e4831bce6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-vn-14527824'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:34,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '89760fe0-8386-444c-ae23-4160ea327f8e', 'name': '', 'tenant_id': 'd07e9b9d086341a895995e4831bce6d9', 'network_id': 'f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161', 'ip_version': 4, 'cidr': '9.35.218.64/26', 'allocation_pools': [{'start': '9.35.218.66', 'end': '9.35.218.126'}], 'gateway_ip': '9.35.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.35.218.66', 'tags': [], 'project_id': 'd07e9b9d086341a895995e4831bce6d9'}}
2026-06-04 02:25:34,508 - INFO - Created VN ctest-vn-14527824
2026-06-04 02:25:34,559 - DEBUG - VN ctest-vn-14527824 UUID is f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:34,822 - DEBUG - Response for create_network : {'network': {'id': 'b84af8a6-6df4-48f9-9bb8-2a70c42a5c14', 'name': 'ctest-vn-78112439', 'tenant_id': 'd07e9b9d086341a895995e4831bce6d9', 'project_id': 'd07e9b9d086341a895995e4831bce6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-vn-78112439'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:34,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '4237bd6b-ec48-4ab8-becc-8249e9e5d067', 'name': '', 'tenant_id': 'd07e9b9d086341a895995e4831bce6d9', 'network_id': 'b84af8a6-6df4-48f9-9bb8-2a70c42a5c14', 'ip_version': 4, 'cidr': '208.145.207.64/26', 'allocation_pools': [{'start': '208.145.207.66', 'end': '208.145.207.126'}], 'gateway_ip': '208.145.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.145.207.66', 'tags': [], 'project_id': 'd07e9b9d086341a895995e4831bce6d9'}}
2026-06-04 02:25:35,005 - INFO - Created VN ctest-vn-78112439
2026-06-04 02:25:35,055 - DEBUG - VN ctest-vn-78112439 UUID is b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:35,199 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-14527824, 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-63626109:ctest-vn-78112439, 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-06-04 02:25:35,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161', 'name': 'ctest-vn-14527824', 'tenant_id': 'd07e9b9d086341a895995e4831bce6d9', 'project_id': 'd07e9b9d086341a895995e4831bce6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89760fe0-8386-444c-ae23-4160ea327f8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-vn-14527824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-policy-allow-all-63032236']], 'subnet_ipam': [{'subnet_cidr': '9.35.218.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:35,719 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b84af8a6-6df4-48f9-9bb8-2a70c42a5c14', 'name': 'ctest-vn-78112439', 'tenant_id': 'd07e9b9d086341a895995e4831bce6d9', 'project_id': 'd07e9b9d086341a895995e4831bce6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4237bd6b-ec48-4ab8-becc-8249e9e5d067'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-vn-78112439'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-policy-allow-all-63032236']], 'subnet_ipam': [{'subnet_cidr': '208.145.207.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:35,879 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-04 02:25:36,173 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-04 02:25:36,204 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ea5879dc-77b6-4f93-9422-21f1c67bb020
2026-06-04 02:25:36,215 - DEBUG - Requesting: http://10.0.0.249:8082/project/d07e9b9d-0863-41a8-9599-5e4831bce6d9
2026-06-04 02:25:36,289 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:36,300 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:36,309 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/45a07c57-5de3-4e4a-9a36-fcb14bec6b3f
2026-06-04 02:25:36,317 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/45a07c57-5de3-4e4a-9a36-fcb14bec6b3f
2026-06-04 02:25:36,324 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/03135603-e976-4bf8-aa2b-8f68b8218b59
2026-06-04 02:25:36,331 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-04 02:25:36,331 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:36,341 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/45a07c57-5de3-4e4a-9a36-fcb14bec6b3f
2026-06-04 02:25:36,357 - INFO - Verified VN network id 11 for VN f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:36,357 - INFO - Verifications in API Server for VN ctest-vn-14527824 passed
2026-06-04 02:25:36,357 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:36,366 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/45a07c57-5de3-4e4a-9a36-fcb14bec6b3f
2026-06-04 02:25:36,374 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/45a07c57-5de3-4e4a-9a36-fcb14bec6b3f
2026-06-04 02:25:36,382 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/03135603-e976-4bf8-aa2b-8f68b8218b59
2026-06-04 02:25:36,392 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-14527824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63626109', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17702110373072555964', 'uuid-lslong': '11509435293017829729'}, 'enable': 'true', 'created': '2026-06-04T02:25:34', 'last-modified': '2026-06-04T02:25:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914281'}
2026-06-04 02:25:36,398 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-04 02:25:36,398 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14527824 passed
2026-06-04 02:25:36,398 - DEBUG - ====Verifying policy data for ctest-vn-14527824 in API_Server ======
2026-06-04 02:25:36,398 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-04 02:25:36,403 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ea5879dc-77b6-4f93-9422-21f1c67bb020
2026-06-04 02:25:36,416 - DEBUG - Requesting: http://10.0.0.249:8082/project/d07e9b9d-0863-41a8-9599-5e4831bce6d9
2026-06-04 02:25:36,485 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f5aa8798-31bf-4fbc-9fb9-ba6b5dabf161
2026-06-04 02:25:36,495 - DEBUG - ==>Verifying data for policy with id: 74e71881-bde4-4abc-b923-974caba2fc0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-policy-allow-all-63032236']
2026-06-04 02:25:36,495 - INFO - VN ctest-vn-14527824 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-04 02:25:36,495 - DEBUG - Verifying the vn in opserver
2026-06-04 02:25:36,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-14527824 virtual network link through opserver 10.0.0.249
2026-06-04 02:25:36,495 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-04 02:25:36,793 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-04 02:25:36,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-14527824', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-14527824?flat'}
2026-06-04 02:25:36,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-14527824 is found in opserver
2026-06-04 02:25:36,859 - DEBUG - Do not have enough data to verify VN in agent
2026-06-04 02:25:36,863 - DEBUG - VRF ids for VN ctest-vn-14527824: {}
2026-06-04 02:25:36,864 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-04 02:25:36,869 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ea5879dc-77b6-4f93-9422-21f1c67bb020
2026-06-04 02:25:36,879 - DEBUG - Requesting: http://10.0.0.249:8082/project/d07e9b9d-0863-41a8-9599-5e4831bce6d9
2026-06-04 02:25:36,948 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:36,959 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:36,967 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b480fea2-49bc-492a-930d-532d15f1f982
2026-06-04 02:25:36,974 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b480fea2-49bc-492a-930d-532d15f1f982
2026-06-04 02:25:36,980 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3be327bc-6ac8-496f-80ce-4c963a8519ff
2026-06-04 02:25:36,985 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-04 02:25:36,985 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:36,993 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b480fea2-49bc-492a-930d-532d15f1f982
2026-06-04 02:25:37,007 - INFO - Verified VN network id 12 for VN b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:37,007 - INFO - Verifications in API Server for VN ctest-vn-78112439 passed
2026-06-04 02:25:37,007 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:37,015 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b480fea2-49bc-492a-930d-532d15f1f982
2026-06-04 02:25:37,021 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b480fea2-49bc-492a-930d-532d15f1f982
2026-06-04 02:25:37,027 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3be327bc-6ac8-496f-80ce-4c963a8519ff
2026-06-04 02:25:37,038 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-78112439', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63626109', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13279699844948314361', 'uuid-lslong': '11220765135409404948'}, 'enable': 'true', 'created': '2026-06-04T02:25:34', 'last-modified': '2026-06-04T02:25:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341055'}
2026-06-04 02:25:37,043 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-04 02:25:37,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78112439 passed
2026-06-04 02:25:37,043 - DEBUG - ====Verifying policy data for ctest-vn-78112439 in API_Server ======
2026-06-04 02:25:37,043 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-04 02:25:37,048 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ea5879dc-77b6-4f93-9422-21f1c67bb020
2026-06-04 02:25:37,057 - DEBUG - Requesting: http://10.0.0.249:8082/project/d07e9b9d-0863-41a8-9599-5e4831bce6d9
2026-06-04 02:25:37,121 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b84af8a6-6df4-48f9-9bb8-2a70c42a5c14
2026-06-04 02:25:37,129 - DEBUG - ==>Verifying data for policy with id: 74e71881-bde4-4abc-b923-974caba2fc0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-63626109', 'ctest-policy-allow-all-63032236']
2026-06-04 02:25:37,129 - INFO - VN ctest-vn-78112439 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-04 02:25:37,129 - DEBUG - Verifying the vn in opserver
2026-06-04 02:25:37,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-78112439 virtual network link through opserver 10.0.0.249
2026-06-04 02:25:37,129 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-04 02:25:37,138 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-78112439', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-78112439?flat'}
2026-06-04 02:25:37,138 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63626109:ctest-vn-78112439 is found in opserver
2026-06-04 02:25:37,146 - DEBUG - Do not have enough data to verify VN in agent
2026-06-04 02:25:37,150 - DEBUG - VRF ids for VN ctest-vn-78112439: {}
2026-06-04 02:25:37,204 - DEBUG - Services list from nova: [