2026-11-30 02:15:17,992 - INFO - Domain Default found not creating
2026-11-30 02:15:18,161 - INFO - Project ctest-TestBasicPolicy-74749750 not found, creating it
2026-11-30 02:15:18,685 - INFO - Created Project:ctest-TestBasicPolicy-74749750, ID : ef70962b-b83c-439d-be54-ac698c1897af
2026-11-30 02:15:20,283 - INFO - ================================================================================
2026-11-30 02:15:20,283 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-30 02:15:20,283 - 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-11-30 02:15:20,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-11-30 02:15:20,539 - INFO - Initial checks done. Running the testcase now
2026-11-30 02:15:20,539 - INFO -
2026-11-30 02:15:21,106 - DEBUG - Response for create_network : {'network': {'id': 'e6851870-0c59-466e-b1ff-c7ad1483980f', 'name': 'ctest-vn-85785355', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-85785355'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-11-30 02:15:21,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '53731b52-5f0a-42ed-9014-a3d2d7866d8b', 'name': '', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'network_id': 'e6851870-0c59-466e-b1ff-c7ad1483980f', 'ip_version': 4, 'cidr': '11.36.170.128/26', 'allocation_pools': [{'start': '11.36.170.130', 'end': '11.36.170.190'}], 'gateway_ip': '11.36.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-30T02:15:21.219307', 'updated_at': '2026-11-30T02:15:21.219307', 'dns_server_address': '11.36.170.130', 'tags': [], 'project_id': 'ef70962bb83c439dbe54ac698c1897af'}}
2026-11-30 02:15:21,279 - INFO - Created VN ctest-vn-85785355
2026-11-30 02:15:21,329 - DEBUG - VN ctest-vn-85785355 UUID is e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:21,625 - DEBUG - Response for create_network : {'network': {'id': '5336c43c-142d-4ce9-87e5-48419749ef7f', 'name': 'ctest-vn-88389329', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-88389329'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-11-30 02:15:21,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '30fcccdf-9b6d-4d08-af0b-84a3979e8f2f', 'name': '', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'network_id': '5336c43c-142d-4ce9-87e5-48419749ef7f', 'ip_version': 4, 'cidr': '100.201.20.192/26', 'allocation_pools': [{'start': '100.201.20.194', 'end': '100.201.20.254'}], 'gateway_ip': '100.201.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-30T02:15:21.748311', 'updated_at': '2026-11-30T02:15:21.748311', 'dns_server_address': '100.201.20.194', 'tags': [], 'project_id': 'ef70962bb83c439dbe54ac698c1897af'}}
2026-11-30 02:15:21,806 - INFO - Created VN ctest-vn-88389329
2026-11-30 02:15:21,857 - DEBUG - VN ctest-vn-88389329 UUID is 5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:21,997 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355, 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-74749750:ctest-vn-88389329, 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-11-30 02:15:22,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6851870-0c59-466e-b1ff-c7ad1483980f', 'name': 'ctest-vn-85785355', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['53731b52-5f0a-42ed-9014-a3d2d7866d8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-85785355'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397']], 'subnet_ipam': [{'subnet_cidr': '11.36.170.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-30T02:15:21.080097', 'updated_at': '2026-11-30T02:15:21.231022'}}
2026-11-30 02:15:22,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5336c43c-142d-4ce9-87e5-48419749ef7f', 'name': 'ctest-vn-88389329', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['30fcccdf-9b6d-4d08-af0b-84a3979e8f2f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-88389329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397']], 'subnet_ipam': [{'subnet_cidr': '100.201.20.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-30T02:15:21.598506', 'updated_at': '2026-11-30T02:15:21.759167'}}
2026-11-30 02:15:22,682 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-30 02:15:23,040 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-30 02:15:23,064 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2
2026-11-30 02:15:23,074 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af
2026-11-30 02:15:23,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:23,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:23,162 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e
2026-11-30 02:15:23,167 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e
2026-11-30 02:15:23,172 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d80fa52f-a59a-40e0-aa63-9acd35bfc3a4
2026-11-30 02:15:23,177 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-30 02:15:23,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:23,184 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e
2026-11-30 02:15:23,195 - INFO - Verified VN network id 12 for VN e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:23,195 - INFO - Verifications in API Server for VN ctest-vn-85785355 passed
2026-11-30 02:15:23,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:23,203 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e
2026-11-30 02:15:23,208 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e
2026-11-30 02:15:23,213 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d80fa52f-a59a-40e0-aa63-9acd35bfc3a4
2026-11-30 02:15:23,223 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74749750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16610709670148523630', 'uuid-lslong': '12826189809961900047'}, 'enable': 'true', 'created': '2026-11-30T02:15:21', 'last-modified': '2026-11-30T02:15:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961296'}
2026-11-30 02:15:23,229 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-30 02:15:23,229 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85785355 passed
2026-11-30 02:15:23,229 - DEBUG - ====Verifying policy data for ctest-vn-85785355 in API_Server ======
2026-11-30 02:15:23,229 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-30 02:15:23,233 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2
2026-11-30 02:15:23,242 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af
2026-11-30 02:15:23,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f
2026-11-30 02:15:23,317 - DEBUG - ==>Verifying data for policy with id: beb1c30e-d20d-46c3-a099-9010367407ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397']
2026-11-30 02:15:23,317 - INFO - VN ctest-vn-85785355 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-30 02:15:23,317 - DEBUG - Verifying the vn in opserver
2026-11-30 02:15:23,317 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355 virtual network link through opserver 10.0.0.38
2026-11-30 02:15:23,317 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-30 02:15:23,675 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-30 02:15:23,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355?flat'}
2026-11-30 02:15:23,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355 is found in opserver
2026-11-30 02:15:23,732 - DEBUG - Do not have enough data to verify VN in agent
2026-11-30 02:15:23,736 - DEBUG - VRF ids for VN ctest-vn-85785355: {}
2026-11-30 02:15:23,736 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-30 02:15:23,741 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2
2026-11-30 02:15:23,751 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af
2026-11-30 02:15:23,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:23,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:23,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04
2026-11-30 02:15:23,847 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04
2026-11-30 02:15:23,852 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08d8dac9-bbfe-4f01-8d29-ee601d14a471
2026-11-30 02:15:23,857 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-30 02:15:23,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:23,864 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04
2026-11-30 02:15:23,875 - INFO - Verified VN network id 13 for VN 5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:23,875 - INFO - Verifications in API Server for VN ctest-vn-88389329 passed
2026-11-30 02:15:23,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:23,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04
2026-11-30 02:15:23,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04
2026-11-30 02:15:23,893 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08d8dac9-bbfe-4f01-8d29-ee601d14a471
2026-11-30 02:15:23,903 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74749750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5996195716205989097', 'uuid-lslong': '9792312411335290751'}, 'enable': 'true', 'created': '2026-11-30T02:15:21', 'last-modified': '2026-11-30T02:15:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399726'}
2026-11-30 02:15:23,909 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-30 02:15:23,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88389329 passed
2026-11-30 02:15:23,909 - DEBUG - ====Verifying policy data for ctest-vn-88389329 in API_Server ======
2026-11-30 02:15:23,909 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-30 02:15:23,913 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2
2026-11-30 02:15:23,921 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af
2026-11-30 02:15:23,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f
2026-11-30 02:15:24,009 - DEBUG - ==>Verifying data for policy with id: beb1c30e-d20d-46c3-a099-9010367407ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397']
2026-11-30 02:15:24,009 - INFO - VN ctest-vn-88389329 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-30 02:15:24,009 - DEBUG - Verifying the vn in opserver
2026-11-30 02:15:24,009 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329 virtual network link through opserver 10.0.0.38
2026-11-30 02:15:24,009 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-30 02:15:24,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329?flat'}
2026-11-30 02:15:24,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329 is found in opserver
2026-11-30 02:15:24,025 - DEBUG - Do not have enough data to verify VN in agent
2026-11-30 02:15:24,029 - DEBUG - VRF ids for VN ctest-vn-88389329: {}
2026-11-30 02:15:24,081 - DEBUG - Services list from nova: [