2026-09-03 11:57:51,409 - INFO - Domain Default found not creating
2026-09-03 11:57:51,614 - INFO - Project ctest-TestBasicPolicy-33288884 not found, creating it
2026-09-03 11:57:52,121 - INFO - Created Project:ctest-TestBasicPolicy-33288884, ID : dbf78b10-c20b-4416-8af1-44f1269df334
2026-09-03 11:57:54,377 - INFO - ================================================================================
2026-09-03 11:57:54,377 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-03 11:57:54,377 - 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-09-03 11:57:54,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with
2026-09-03 11:57:54,642 - INFO - Initial checks done. Running the testcase now
2026-09-03 11:57:54,642 - INFO -
2026-09-03 11:57:55,411 - DEBUG - Response for create_network : {'network': {'id': '80745d92-39bf-43de-b4e3-b600bf193731', 'name': 'ctest-vn-31234671', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-31234671'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:57:55,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '2453b81e-bd42-4dd3-bd21-0bbdf50d3178', 'name': '', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'network_id': '80745d92-39bf-43de-b4e3-b600bf193731', 'ip_version': 4, 'cidr': '184.113.225.192/26', 'allocation_pools': [{'start': '184.113.225.194', 'end': '184.113.225.254'}], 'gateway_ip': '184.113.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.113.225.194', 'tags': [], 'project_id': 'dbf78b10c20b44168af144f1269df334'}}
2026-09-03 11:57:55,745 - INFO - Created VN ctest-vn-31234671
2026-09-03 11:57:55,802 - DEBUG - VN ctest-vn-31234671 UUID is 80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:56,160 - DEBUG - Response for create_network : {'network': {'id': '7773f0a2-3855-4875-8041-3f3d568aad82', 'name': 'ctest-vn-82519230', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-82519230'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:57:56,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4a82032-dc00-4fcb-8c51-81124028e5ed', 'name': '', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'network_id': '7773f0a2-3855-4875-8041-3f3d568aad82', 'ip_version': 4, 'cidr': '50.239.224.128/26', 'allocation_pools': [{'start': '50.239.224.130', 'end': '50.239.224.190'}], 'gateway_ip': '50.239.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.239.224.130', 'tags': [], 'project_id': 'dbf78b10c20b44168af144f1269df334'}}
2026-09-03 11:57:56,397 - INFO - Created VN ctest-vn-82519230
2026-09-03 11:57:56,450 - DEBUG - VN ctest-vn-82519230 UUID is 7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:56,590 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671, 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-33288884:ctest-vn-82519230, 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-09-03 11:57:56,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80745d92-39bf-43de-b4e3-b600bf193731', 'name': 'ctest-vn-31234671', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2453b81e-bd42-4dd3-bd21-0bbdf50d3178'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-31234671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034']], 'subnet_ipam': [{'subnet_cidr': '184.113.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:57:57,221 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7773f0a2-3855-4875-8041-3f3d568aad82', 'name': 'ctest-vn-82519230', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a4a82032-dc00-4fcb-8c51-81124028e5ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-82519230'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034']], 'subnet_ipam': [{'subnet_cidr': '50.239.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:57:57,394 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-03 11:57:57,769 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-03 11:57:57,804 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19
2026-09-03 11:57:57,819 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334
2026-09-03 11:57:57,908 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:57,924 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:57,935 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382
2026-09-03 11:57:57,946 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382
2026-09-03 11:57:57,954 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/92bf4fc9-c1c6-4ec3-9ddd-bf7b8bd9c003
2026-09-03 11:57:57,961 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 11:57:57,961 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:57,971 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382
2026-09-03 11:57:57,991 - INFO - Verified VN network id 10 for VN 80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:57,991 - INFO - Verifications in API Server for VN ctest-vn-31234671 passed
2026-09-03 11:57:57,991 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:58,007 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382
2026-09-03 11:57:58,017 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382
2026-09-03 11:57:58,027 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/92bf4fc9-c1c6-4ec3-9ddd-bf7b8bd9c003
2026-09-03 11:57:58,044 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33288884', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9256126016768656350', 'uuid-lslong': '13034461860862703409'}, 'enable': 'true', 'created': '2026-09-03T11:57:55', 'last-modified': '2026-09-03T11:57:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.115827'}
2026-09-03 11:57:58,054 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 11:57:58,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31234671 passed
2026-09-03 11:57:58,054 - DEBUG - ====Verifying policy data for ctest-vn-31234671 in API_Server ======
2026-09-03 11:57:58,054 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-03 11:57:58,062 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19
2026-09-03 11:57:58,075 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334
2026-09-03 11:57:58,162 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731
2026-09-03 11:57:58,176 - DEBUG - ==>Verifying data for policy with id: 17a0f33e-50f8-4c6a-b32a-f5669646f0d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034']
2026-09-03 11:57:58,176 - INFO - VN ctest-vn-31234671 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 11:57:58,176 - DEBUG - Verifying the vn in opserver
2026-09-03 11:57:58,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671 virtual network link through opserver 10.0.0.248
2026-09-03 11:57:58,177 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-03 11:57:58,554 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-03 11:57:58,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671?flat'}
2026-09-03 11:57:58,616 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671 is found in opserver
2026-09-03 11:57:58,631 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 11:57:58,638 - DEBUG - VRF ids for VN ctest-vn-31234671: {}
2026-09-03 11:57:58,638 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-03 11:57:58,646 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19
2026-09-03 11:57:58,661 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334
2026-09-03 11:57:58,741 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:58,756 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:58,768 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c
2026-09-03 11:57:58,777 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c
2026-09-03 11:57:58,787 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ddc24008-fdf0-408e-a001-afff888bd5c0
2026-09-03 11:57:58,796 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 11:57:58,796 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:58,808 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c
2026-09-03 11:57:58,828 - INFO - Verified VN network id 11 for VN 7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:58,828 - INFO - Verifications in API Server for VN ctest-vn-82519230 passed
2026-09-03 11:57:58,828 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:58,841 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c
2026-09-03 11:57:58,849 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c
2026-09-03 11:57:58,858 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ddc24008-fdf0-408e-a001-afff888bd5c0
2026-09-03 11:57:58,876 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33288884', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8607487892355631221', 'uuid-lslong': '9241737443018452354'}, 'enable': 'true', 'created': '2026-09-03T11:57:56', 'last-modified': '2026-09-03T11:57:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686167'}
2026-09-03 11:57:58,883 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 11:57:58,884 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82519230 passed
2026-09-03 11:57:58,884 - DEBUG - ====Verifying policy data for ctest-vn-82519230 in API_Server ======
2026-09-03 11:57:58,884 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-03 11:57:58,891 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19
2026-09-03 11:57:58,904 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334
2026-09-03 11:57:59,012 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82
2026-09-03 11:57:59,023 - DEBUG - ==>Verifying data for policy with id: 17a0f33e-50f8-4c6a-b32a-f5669646f0d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034']
2026-09-03 11:57:59,023 - INFO - VN ctest-vn-82519230 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 11:57:59,024 - DEBUG - Verifying the vn in opserver
2026-09-03 11:57:59,024 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230 virtual network link through opserver 10.0.0.248
2026-09-03 11:57:59,024 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-03 11:57:59,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230?flat'}
2026-09-03 11:57:59,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230 is found in opserver
2026-09-03 11:57:59,051 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 11:57:59,057 - DEBUG - VRF ids for VN ctest-vn-82519230: {}
2026-09-03 11:57:59,132 - DEBUG - Services list from nova: [