2026-10-29 22:19:13,526 - INFO - Domain Default found not creating
2026-10-29 22:19:13,738 - INFO - Project ctest-TestBasicPolicy-83820715 not found, creating it
2026-10-29 22:19:14,254 - INFO - Created Project:ctest-TestBasicPolicy-83820715, ID : d67e4080-4afe-423b-9da2-941bb7a64a52
2026-10-29 22:19:16,225 - INFO - ================================================================================
2026-10-29 22:19:16,225 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-29 22:19:16,226 - 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-10-29 22:19:16,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.29': '0'}} with
2026-10-29 22:19:16,497 - INFO - Initial checks done. Running the testcase now
2026-10-29 22:19:16,497 - INFO -
2026-10-29 22:19:17,259 - DEBUG - Response for create_network : {'network': {'id': '3583225c-6562-4ac7-87da-8072204cccf8', 'name': 'ctest-vn-85975658', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-85975658'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:19:17,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8f9bf9a-c69a-4cb0-8014-06982e822a7a', 'name': '', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'network_id': '3583225c-6562-4ac7-87da-8072204cccf8', 'ip_version': 4, 'cidr': '118.62.103.0/26', 'allocation_pools': [{'start': '118.62.103.2', 'end': '118.62.103.62'}], 'gateway_ip': '118.62.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.62.103.2', 'tags': [], 'project_id': 'd67e40804afe423b9da2941bb7a64a52'}}
2026-10-29 22:19:17,499 - INFO - Created VN ctest-vn-85975658
2026-10-29 22:19:17,558 - DEBUG - VN ctest-vn-85975658 UUID is 3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:17,908 - DEBUG - Response for create_network : {'network': {'id': 'f980b4f2-3716-43e0-9dab-baf552806876', 'name': 'ctest-vn-09795329', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-09795329'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:19:18,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '1571f7a5-861b-4d20-81a9-3883a16e05b2', 'name': '', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'network_id': 'f980b4f2-3716-43e0-9dab-baf552806876', 'ip_version': 4, 'cidr': '117.23.123.128/26', 'allocation_pools': [{'start': '117.23.123.130', 'end': '117.23.123.190'}], 'gateway_ip': '117.23.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.23.123.130', 'tags': [], 'project_id': 'd67e40804afe423b9da2941bb7a64a52'}}
2026-10-29 22:19:18,131 - INFO - Created VN ctest-vn-09795329
2026-10-29 22:19:18,198 - DEBUG - VN ctest-vn-09795329 UUID is f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:18,353 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658, 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-83820715:ctest-vn-09795329, 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-10-29 22:19:18,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3583225c-6562-4ac7-87da-8072204cccf8', 'name': 'ctest-vn-85975658', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d8f9bf9a-c69a-4cb0-8014-06982e822a7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-85975658'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629']], 'subnet_ipam': [{'subnet_cidr': '118.62.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:19:19,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f980b4f2-3716-43e0-9dab-baf552806876', 'name': 'ctest-vn-09795329', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1571f7a5-861b-4d20-81a9-3883a16e05b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-09795329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629']], 'subnet_ipam': [{'subnet_cidr': '117.23.123.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:19:19,194 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-10-29 22:19:19,579 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-10-29 22:19:19,616 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b
2026-10-29 22:19:19,635 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52
2026-10-29 22:19:19,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:19,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:19,752 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6
2026-10-29 22:19:19,761 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6
2026-10-29 22:19:19,770 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6bc3e9b1-6061-4f67-84a1-a1d707c1b56c
2026-10-29 22:19:19,779 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 22:19:19,779 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:19,792 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6
2026-10-29 22:19:19,814 - INFO - Verified VN network id 12 for VN 3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:19,814 - INFO - Verifications in API Server for VN ctest-vn-85975658 passed
2026-10-29 22:19:19,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:19,828 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6
2026-10-29 22:19:19,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6
2026-10-29 22:19:19,850 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6bc3e9b1-6061-4f67-84a1-a1d707c1b56c
2026-10-29 22:19:19,866 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83820715', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3855963486192552647', 'uuid-lslong': '9789277967699725560'}, 'enable': 'true', 'created': '2026-10-29T22:19:17', 'last-modified': '2026-10-29T22:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.181650'}
2026-10-29 22:19:19,873 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 22:19:19,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85975658 passed
2026-10-29 22:19:19,874 - DEBUG - ====Verifying policy data for ctest-vn-85975658 in API_Server ======
2026-10-29 22:19:19,874 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-10-29 22:19:19,882 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b
2026-10-29 22:19:19,895 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52
2026-10-29 22:19:19,974 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8
2026-10-29 22:19:19,985 - DEBUG - ==>Verifying data for policy with id: 41ae546b-2609-4d80-8a93-86340d369aa4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629']
2026-10-29 22:19:19,985 - INFO - VN ctest-vn-85975658 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 22:19:19,985 - DEBUG - Verifying the vn in opserver
2026-10-29 22:19:19,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658 virtual network link through opserver 10.0.0.33
2026-10-29 22:19:19,985 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-10-29 22:19:20,375 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-10-29 22:19:20,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658?flat'}
2026-10-29 22:19:20,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658 is found in opserver
2026-10-29 22:19:20,465 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 22:19:20,470 - DEBUG - VRF ids for VN ctest-vn-85975658: {}
2026-10-29 22:19:20,470 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-10-29 22:19:20,477 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b
2026-10-29 22:19:20,489 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52
2026-10-29 22:19:20,573 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:20,589 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:20,601 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7
2026-10-29 22:19:20,614 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7
2026-10-29 22:19:20,625 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cc6a1421-b4eb-4f17-b950-18d2e8d1a2fb
2026-10-29 22:19:20,635 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 22:19:20,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:20,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7
2026-10-29 22:19:20,664 - INFO - Verified VN network id 13 for VN f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:20,664 - INFO - Verifications in API Server for VN ctest-vn-09795329 passed
2026-10-29 22:19:20,664 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:20,675 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7
2026-10-29 22:19:20,684 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7
2026-10-29 22:19:20,693 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cc6a1421-b4eb-4f17-b950-18d2e8d1a2fb
2026-10-29 22:19:20,714 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83820715', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17978568664862311392', 'uuid-lslong': '11361380047786109046'}, 'enable': 'true', 'created': '2026-10-29T22:19:17', 'last-modified': '2026-10-29T22:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.742975'}
2026-10-29 22:19:20,726 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 22:19:20,727 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09795329 passed
2026-10-29 22:19:20,727 - DEBUG - ====Verifying policy data for ctest-vn-09795329 in API_Server ======
2026-10-29 22:19:20,727 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-10-29 22:19:20,737 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b
2026-10-29 22:19:20,753 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52
2026-10-29 22:19:20,840 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876
2026-10-29 22:19:20,854 - DEBUG - ==>Verifying data for policy with id: 41ae546b-2609-4d80-8a93-86340d369aa4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629']
2026-10-29 22:19:20,854 - INFO - VN ctest-vn-09795329 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 22:19:20,854 - DEBUG - Verifying the vn in opserver
2026-10-29 22:19:20,854 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329 virtual network link through opserver 10.0.0.33
2026-10-29 22:19:20,854 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-10-29 22:19:20,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329?flat'}
2026-10-29 22:19:20,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329 is found in opserver
2026-10-29 22:19:20,879 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 22:19:20,885 - DEBUG - VRF ids for VN ctest-vn-09795329: {}
2026-10-29 22:19:20,969 - DEBUG - Services list from nova: [