2026-06-18 02:01:25,315 - INFO - Domain Default found not creating
2026-06-18 02:01:25,487 - INFO - Project ctest-TestBasicPolicy-26641615 not found, creating it
2026-06-18 02:01:25,990 - INFO - Created Project:ctest-TestBasicPolicy-26641615, ID : d8e38d6a-2667-4d2e-937f-69d7d840af6b
2026-06-18 02:01:27,622 - INFO - ================================================================================
2026-06-18 02:01:27,622 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 02:01:27,622 - 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-18 02:01:27,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-18 02:01:27,879 - INFO - Initial checks done. Running the testcase now
2026-06-18 02:01:27,880 - INFO -
2026-06-18 02:01:28,497 - DEBUG - Response for create_network : {'network': {'id': 'd5302fd8-2c6f-4a4e-ab97-02e7c55d8289', 'name': 'ctest-vn-42422319', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-42422319'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:01:28,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '4586d422-1251-48e3-a5c0-f81be8fe93d2', 'name': '', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'network_id': 'd5302fd8-2c6f-4a4e-ab97-02e7c55d8289', 'ip_version': 4, 'cidr': '181.41.45.192/26', 'allocation_pools': [{'start': '181.41.45.194', 'end': '181.41.45.254'}], 'gateway_ip': '181.41.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.41.45.194', 'tags': [], 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b'}}
2026-06-18 02:01:28,720 - INFO - Created VN ctest-vn-42422319
2026-06-18 02:01:28,773 - DEBUG - VN ctest-vn-42422319 UUID is d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:29,093 - DEBUG - Response for create_network : {'network': {'id': 'f172ae1a-d72e-4a32-ba00-248a63fc1788', 'name': 'ctest-vn-26976962', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-26976962'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:01:29,272 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e8879bc-5847-4122-9c52-f523dba44040', 'name': '', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'network_id': 'f172ae1a-d72e-4a32-ba00-248a63fc1788', 'ip_version': 4, 'cidr': '48.122.38.0/26', 'allocation_pools': [{'start': '48.122.38.2', 'end': '48.122.38.62'}], 'gateway_ip': '48.122.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.122.38.2', 'tags': [], 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b'}}
2026-06-18 02:01:29,294 - INFO - Created VN ctest-vn-26976962
2026-06-18 02:01:29,349 - DEBUG - VN ctest-vn-26976962 UUID is f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:29,481 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319, 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-26641615:ctest-vn-26976962, 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-18 02:01:29,839 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5302fd8-2c6f-4a4e-ab97-02e7c55d8289', 'name': 'ctest-vn-42422319', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4586d422-1251-48e3-a5c0-f81be8fe93d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-42422319'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446']], 'subnet_ipam': [{'subnet_cidr': '181.41.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:01:30,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f172ae1a-d72e-4a32-ba00-248a63fc1788', 'name': 'ctest-vn-26976962', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e8879bc-5847-4122-9c52-f523dba44040'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-26976962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446']], 'subnet_ipam': [{'subnet_cidr': '48.122.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:01:30,281 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 02:01:30,615 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 02:01:30,649 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b
2026-06-18 02:01:30,663 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b
2026-06-18 02:01:30,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:30,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:30,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3
2026-06-18 02:01:30,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3
2026-06-18 02:01:30,791 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/904224aa-8cc2-4e6f-a2fe-f83e258ebe48
2026-06-18 02:01:30,799 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 02:01:30,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:30,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3
2026-06-18 02:01:30,827 - INFO - Verified VN network id 11 for VN d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:30,827 - INFO - Verifications in API Server for VN ctest-vn-42422319 passed
2026-06-18 02:01:30,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:30,839 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3
2026-06-18 02:01:30,848 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3
2026-06-18 02:01:30,857 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/904224aa-8cc2-4e6f-a2fe-f83e258ebe48
2026-06-18 02:01:30,873 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26641615', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15361830934465694286', 'uuid-lslong': '12364354496440926857'}, 'enable': 'true', 'created': '2026-06-18T02:01:28', 'last-modified': '2026-06-18T02:01:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076837'}
2026-06-18 02:01:30,882 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 02:01:30,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42422319 passed
2026-06-18 02:01:30,883 - DEBUG - ====Verifying policy data for ctest-vn-42422319 in API_Server ======
2026-06-18 02:01:30,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 02:01:30,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b
2026-06-18 02:01:30,903 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b
2026-06-18 02:01:30,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289
2026-06-18 02:01:30,998 - DEBUG - ==>Verifying data for policy with id: 33162e66-87f1-4531-bba8-568ae9cfcef7, fqn: ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446']
2026-06-18 02:01:30,998 - INFO - VN ctest-vn-42422319 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 02:01:30,998 - DEBUG - Verifying the vn in opserver
2026-06-18 02:01:30,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319 virtual network link through opserver 10.0.0.38
2026-06-18 02:01:30,998 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-18 02:01:31,334 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-18 02:01:31,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319?flat'}
2026-06-18 02:01:31,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319 is found in opserver
2026-06-18 02:01:31,405 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 02:01:31,410 - DEBUG - VRF ids for VN ctest-vn-42422319: {}
2026-06-18 02:01:31,410 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 02:01:31,416 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b
2026-06-18 02:01:31,430 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b
2026-06-18 02:01:31,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:31,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:31,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497
2026-06-18 02:01:31,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497
2026-06-18 02:01:31,559 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b596ace7-1209-4c2e-b1b3-775ed8baff58
2026-06-18 02:01:31,567 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 02:01:31,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:31,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497
2026-06-18 02:01:31,602 - INFO - Verified VN network id 12 for VN f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:31,602 - INFO - Verifications in API Server for VN ctest-vn-26976962 passed
2026-06-18 02:01:31,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:31,613 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497
2026-06-18 02:01:31,622 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497
2026-06-18 02:01:31,630 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b596ace7-1209-4c2e-b1b3-775ed8baff58
2026-06-18 02:01:31,645 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26641615', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17398159740788165170', 'uuid-lslong': '13402752667856148360'}, 'enable': 'true', 'created': '2026-06-18T02:01:29', 'last-modified': '2026-06-18T02:01:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.579377'}
2026-06-18 02:01:31,652 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 02:01:31,652 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26976962 passed
2026-06-18 02:01:31,652 - DEBUG - ====Verifying policy data for ctest-vn-26976962 in API_Server ======
2026-06-18 02:01:31,653 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 02:01:31,660 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b
2026-06-18 02:01:31,676 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b
2026-06-18 02:01:31,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788
2026-06-18 02:01:31,767 - DEBUG - ==>Verifying data for policy with id: 33162e66-87f1-4531-bba8-568ae9cfcef7, fqn: ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446']
2026-06-18 02:01:31,767 - INFO - VN ctest-vn-26976962 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 02:01:31,767 - DEBUG - Verifying the vn in opserver
2026-06-18 02:01:31,767 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962 virtual network link through opserver 10.0.0.38
2026-06-18 02:01:31,767 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-18 02:01:31,781 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962?flat'}
2026-06-18 02:01:31,781 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962 is found in opserver
2026-06-18 02:01:31,793 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 02:01:31,800 - DEBUG - VRF ids for VN ctest-vn-26976962: {}
2026-06-18 02:01:31,876 - DEBUG - Services list from nova: [