2026-06-19 21:15:29,530 - INFO - Domain Default found not creating
2026-06-19 21:15:29,680 - INFO - Project ctest-TestBasicPolicy-74980197 not found, creating it
2026-06-19 21:15:30,247 - INFO - Created Project:ctest-TestBasicPolicy-74980197, ID : 03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8
2026-06-19 21:15:31,904 - INFO - ================================================================================
2026-06-19 21:15:31,904 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 21:15:31,904 - 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-19 21:15:32,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2026-06-19 21:15:32,159 - INFO - Initial checks done. Running the testcase now
2026-06-19 21:15:32,159 - INFO -
2026-06-19 21:15:32,801 - DEBUG - Response for create_network : {'network': {'id': '0401821a-da9e-4244-b736-4f0cb18dd206', 'name': 'ctest-vn-48928794', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-48928794'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 21:15:32,956 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7088d0e-4fd9-4c8e-8d1d-1a2185715b06', 'name': '', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'network_id': '0401821a-da9e-4244-b736-4f0cb18dd206', 'ip_version': 4, 'cidr': '108.217.192.192/26', 'allocation_pools': [{'start': '108.217.192.194', 'end': '108.217.192.254'}], 'gateway_ip': '108.217.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.217.192.194', 'tags': [], 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8'}}
2026-06-19 21:15:32,970 - INFO - Created VN ctest-vn-48928794
2026-06-19 21:15:33,021 - DEBUG - VN ctest-vn-48928794 UUID is 0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:33,327 - DEBUG - Response for create_network : {'network': {'id': '48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01', 'name': 'ctest-vn-19937013', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-19937013'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 21:15:33,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab8a8f31-0102-43ba-91d8-e46948ca8658', 'name': '', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'network_id': '48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01', 'ip_version': 4, 'cidr': '67.200.227.0/26', 'allocation_pools': [{'start': '67.200.227.2', 'end': '67.200.227.62'}], 'gateway_ip': '67.200.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.200.227.2', 'tags': [], 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8'}}
2026-06-19 21:15:33,494 - INFO - Created VN ctest-vn-19937013
2026-06-19 21:15:33,545 - DEBUG - VN ctest-vn-19937013 UUID is 48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:33,689 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794, 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-74980197:ctest-vn-19937013, 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-19 21:15:33,973 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0401821a-da9e-4244-b736-4f0cb18dd206', 'name': 'ctest-vn-48928794', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7088d0e-4fd9-4c8e-8d1d-1a2185715b06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-48928794'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706']], 'subnet_ipam': [{'subnet_cidr': '108.217.192.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 21:15:34,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01', 'name': 'ctest-vn-19937013', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab8a8f31-0102-43ba-91d8-e46948ca8658'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-19937013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706']], 'subnet_ipam': [{'subnet_cidr': '67.200.227.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 21:15:34,353 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 21:15:34,713 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 21:15:35,089 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2
2026-06-19 21:15:35,101 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8
2026-06-19 21:15:35,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:35,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:35,189 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6
2026-06-19 21:15:35,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6
2026-06-19 21:15:35,202 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a29b4548-3b18-4e9c-bdde-882a728e67bc
2026-06-19 21:15:35,208 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 21:15:35,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:35,216 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6
2026-06-19 21:15:35,229 - INFO - Verified VN network id 11 for VN 0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:35,229 - INFO - Verifications in API Server for VN ctest-vn-48928794 passed
2026-06-19 21:15:35,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:35,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6
2026-06-19 21:15:35,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6
2026-06-19 21:15:35,251 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a29b4548-3b18-4e9c-bdde-882a728e67bc
2026-06-19 21:15:35,261 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74980197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '288654902976987716', 'uuid-lslong': '13201826273620251142'}, 'enable': 'true', 'created': '2026-06-19T21:15:32', 'last-modified': '2026-06-19T21:15:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311183'}
2026-06-19 21:15:35,267 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 21:15:35,267 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48928794 passed
2026-06-19 21:15:35,267 - DEBUG - ====Verifying policy data for ctest-vn-48928794 in API_Server ======
2026-06-19 21:15:35,267 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 21:15:35,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2
2026-06-19 21:15:35,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8
2026-06-19 21:15:35,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206
2026-06-19 21:15:35,371 - DEBUG - ==>Verifying data for policy with id: 6913ded4-8949-4932-b67b-36edee0d516e, fqn: ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706']
2026-06-19 21:15:35,371 - INFO - VN ctest-vn-48928794 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 21:15:35,371 - DEBUG - Verifying the vn in opserver
2026-06-19 21:15:35,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794 virtual network link through opserver 10.0.0.38
2026-06-19 21:15:35,371 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-19 21:15:35,844 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-19 21:15:35,907 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794?flat'}
2026-06-19 21:15:35,907 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794 is found in opserver
2026-06-19 21:15:35,919 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 21:15:35,925 - DEBUG - VRF ids for VN ctest-vn-48928794: {}
2026-06-19 21:15:35,925 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 21:15:35,930 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2
2026-06-19 21:15:35,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8
2026-06-19 21:15:36,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:36,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:36,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f
2026-06-19 21:15:36,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f
2026-06-19 21:15:36,044 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/57dc37a0-343f-4a7d-81a6-19005e798ad2
2026-06-19 21:15:36,050 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 21:15:36,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:36,059 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f
2026-06-19 21:15:36,071 - INFO - Verified VN network id 12 for VN 48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:36,071 - INFO - Verifications in API Server for VN ctest-vn-19937013 passed
2026-06-19 21:15:36,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:36,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f
2026-06-19 21:15:36,085 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f
2026-06-19 21:15:36,090 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/57dc37a0-343f-4a7d-81a6-19005e798ad2
2026-06-19 21:15:36,101 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74980197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5249686234665011548', 'uuid-lslong': '11866175003606051585'}, 'enable': 'true', 'created': '2026-06-19T21:15:33', 'last-modified': '2026-06-19T21:15:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.931892'}
2026-06-19 21:15:36,106 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 21:15:36,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19937013 passed
2026-06-19 21:15:36,106 - DEBUG - ====Verifying policy data for ctest-vn-19937013 in API_Server ======
2026-06-19 21:15:36,106 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 21:15:36,112 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2
2026-06-19 21:15:36,121 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8
2026-06-19 21:15:36,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01
2026-06-19 21:15:36,213 - DEBUG - ==>Verifying data for policy with id: 6913ded4-8949-4932-b67b-36edee0d516e, fqn: ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706']
2026-06-19 21:15:36,213 - INFO - VN ctest-vn-19937013 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 21:15:36,213 - DEBUG - Verifying the vn in opserver
2026-06-19 21:15:36,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013 virtual network link through opserver 10.0.0.38
2026-06-19 21:15:36,213 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-19 21:15:36,223 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013?flat'}
2026-06-19 21:15:36,223 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013 is found in opserver
2026-06-19 21:15:36,233 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 21:15:36,240 - DEBUG - VRF ids for VN ctest-vn-19937013: {}
2026-06-19 21:15:36,301 - DEBUG - Services list from nova: [