2026-02-12 09:55:02,952 - INFO - Domain Default found not creating
2026-02-12 09:55:03,114 - INFO - Project ctest-TestBasicPolicy-61973556 not found, creating it
2026-02-12 09:55:03,573 - INFO - Created Project:ctest-TestBasicPolicy-61973556, ID : 866fccea-0d20-4d7d-bc40-a512ffe2c870
2026-02-12 09:55:05,135 - INFO - ================================================================================
2026-02-12 09:55:05,135 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 09:55:05,135 - 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-02-12 09:55:05,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-12 09:55:05,411 - INFO - Initial checks done. Running the testcase now
2026-02-12 09:55:05,411 - INFO -
2026-02-12 09:55:06,024 - DEBUG - Response for create_network : {'network': {'id': '951239bc-2675-4112-af89-5d6ab6740554', 'name': 'ctest-vn-00380983', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-00380983'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 09:55:06,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e5633d2-c758-40c1-8e4a-9ac70a789814', 'name': '', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'network_id': '951239bc-2675-4112-af89-5d6ab6740554', 'ip_version': 4, 'cidr': '147.176.158.128/26', 'allocation_pools': [{'start': '147.176.158.130', 'end': '147.176.158.190'}], 'gateway_ip': '147.176.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.176.158.130', 'tags': [], 'project_id': '866fccea0d204d7dbc40a512ffe2c870'}}
2026-02-12 09:55:06,276 - INFO - Created VN ctest-vn-00380983
2026-02-12 09:55:06,331 - DEBUG - VN ctest-vn-00380983 UUID is 951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:06,650 - DEBUG - Response for create_network : {'network': {'id': 'e308afea-fff6-405a-b129-1224db252a8d', 'name': 'ctest-vn-81544665', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-81544665'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 09:55:06,855 - DEBUG - Response for create_subnet : {'subnet': {'id': '694c3b8d-90b9-483e-ae65-a5329bec83b5', 'name': '', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'network_id': 'e308afea-fff6-405a-b129-1224db252a8d', 'ip_version': 4, 'cidr': '29.218.91.192/26', 'allocation_pools': [{'start': '29.218.91.194', 'end': '29.218.91.254'}], 'gateway_ip': '29.218.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.218.91.194', 'tags': [], 'project_id': '866fccea0d204d7dbc40a512ffe2c870'}}
2026-02-12 09:55:06,876 - INFO - Created VN ctest-vn-81544665
2026-02-12 09:55:06,927 - DEBUG - VN ctest-vn-81544665 UUID is e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:07,083 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983, 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-61973556:ctest-vn-81544665, 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-02-12 09:55:07,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '951239bc-2675-4112-af89-5d6ab6740554', 'name': 'ctest-vn-00380983', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e5633d2-c758-40c1-8e4a-9ac70a789814'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-00380983'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988']], 'subnet_ipam': [{'subnet_cidr': '147.176.158.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 09:55:07,639 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e308afea-fff6-405a-b129-1224db252a8d', 'name': 'ctest-vn-81544665', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['694c3b8d-90b9-483e-ae65-a5329bec83b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-81544665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988']], 'subnet_ipam': [{'subnet_cidr': '29.218.91.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 09:55:07,787 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 09:55:08,087 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 09:55:08,117 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58
2026-02-12 09:55:08,138 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870
2026-02-12 09:55:08,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:08,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:08,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985
2026-02-12 09:55:08,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985
2026-02-12 09:55:08,245 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e37c6d0a-2021-4ee7-b5ad-29817e6396e1
2026-02-12 09:55:08,251 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 09:55:08,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:08,260 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985
2026-02-12 09:55:08,274 - INFO - Verified VN network id 9 for VN 951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:08,274 - INFO - Verifications in API Server for VN ctest-vn-00380983 passed
2026-02-12 09:55:08,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:08,283 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985
2026-02-12 09:55:08,291 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985
2026-02-12 09:55:08,299 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e37c6d0a-2021-4ee7-b5ad-29817e6396e1
2026-02-12 09:55:08,314 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61973556', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10741711541493907730', 'uuid-lslong': '12648743741355722068'}, 'enable': 'true', 'created': '2026-02-12T09:55:05', 'last-modified': '2026-02-12T09:55:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953356'}
2026-02-12 09:55:08,321 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 09:55:08,321 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00380983 passed
2026-02-12 09:55:08,322 - DEBUG - ====Verifying policy data for ctest-vn-00380983 in API_Server ======
2026-02-12 09:55:08,322 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 09:55:08,329 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58
2026-02-12 09:55:08,340 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870
2026-02-12 09:55:08,415 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554
2026-02-12 09:55:08,429 - DEBUG - ==>Verifying data for policy with id: 681b94c8-fb96-4141-9a68-6702b07f573c, fqn: ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988']
2026-02-12 09:55:08,429 - INFO - VN ctest-vn-00380983 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 09:55:08,429 - DEBUG - Verifying the vn in opserver
2026-02-12 09:55:08,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983 virtual network link through opserver 10.0.0.50
2026-02-12 09:55:08,429 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-12 09:55:08,725 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-12 09:55:08,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983?flat'}
2026-02-12 09:55:08,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983 is found in opserver
2026-02-12 09:55:08,799 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 09:55:08,803 - DEBUG - VRF ids for VN ctest-vn-00380983: {}
2026-02-12 09:55:08,803 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 09:55:08,809 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58
2026-02-12 09:55:08,818 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870
2026-02-12 09:55:08,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:08,899 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:08,907 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4
2026-02-12 09:55:08,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4
2026-02-12 09:55:08,921 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e74abcbc-30b8-4c82-9ed9-be8b93949366
2026-02-12 09:55:08,927 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 09:55:08,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:08,937 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4
2026-02-12 09:55:08,952 - INFO - Verified VN network id 10 for VN e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:08,952 - INFO - Verifications in API Server for VN ctest-vn-81544665 passed
2026-02-12 09:55:08,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:08,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4
2026-02-12 09:55:08,967 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4
2026-02-12 09:55:08,974 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e74abcbc-30b8-4c82-9ed9-be8b93949366
2026-02-12 09:55:08,985 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61973556', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16359519070274863194', 'uuid-lslong': '12765754568263150221'}, 'enable': 'true', 'created': '2026-02-12T09:55:06', 'last-modified': '2026-02-12T09:55:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372618'}
2026-02-12 09:55:08,991 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 09:55:08,991 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81544665 passed
2026-02-12 09:55:08,991 - DEBUG - ====Verifying policy data for ctest-vn-81544665 in API_Server ======
2026-02-12 09:55:08,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 09:55:08,997 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58
2026-02-12 09:55:09,006 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870
2026-02-12 09:55:09,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d
2026-02-12 09:55:09,088 - DEBUG - ==>Verifying data for policy with id: 681b94c8-fb96-4141-9a68-6702b07f573c, fqn: ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988']
2026-02-12 09:55:09,088 - INFO - VN ctest-vn-81544665 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 09:55:09,089 - DEBUG - Verifying the vn in opserver
2026-02-12 09:55:09,089 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665 virtual network link through opserver 10.0.0.50
2026-02-12 09:55:09,089 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-12 09:55:09,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665?flat'}
2026-02-12 09:55:09,098 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665 is found in opserver
2026-02-12 09:55:09,109 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 09:55:09,113 - DEBUG - VRF ids for VN ctest-vn-81544665: {}
2026-02-12 09:55:09,172 - DEBUG - Services list from nova: [