2026-06-23 11:27:05,261 - INFO - Domain Default found not creating
2026-06-23 11:27:05,412 - INFO - Project ctest-TestBasicPolicy-17166728 not found, creating it
2026-06-23 11:27:05,863 - INFO - Created Project:ctest-TestBasicPolicy-17166728, ID : 8839ff54-647b-478f-8e42-7f60c8f40856
2026-06-23 11:27:07,447 - INFO - ================================================================================
2026-06-23 11:27:07,447 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-23 11:27:07,447 - 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-23 11:27:07,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-23 11:27:07,702 - INFO - Initial checks done. Running the testcase now
2026-06-23 11:27:07,702 - INFO -
2026-06-23 11:27:08,241 - DEBUG - Response for create_network : {'network': {'id': 'e0f8f1a4-d12a-4a68-8795-5597f2f22d7c', 'name': 'ctest-vn-04719533', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-04719533'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 11:27:08,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '0098e034-7bb1-4467-914e-6507c46f7828', 'name': '', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'network_id': 'e0f8f1a4-d12a-4a68-8795-5597f2f22d7c', 'ip_version': 4, 'cidr': '67.1.185.192/26', 'allocation_pools': [{'start': '67.1.185.194', 'end': '67.1.185.254'}], 'gateway_ip': '67.1.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.1.185.194', 'tags': [], 'project_id': '8839ff54647b478f8e427f60c8f40856'}}
2026-06-23 11:27:08,446 - INFO - Created VN ctest-vn-04719533
2026-06-23 11:27:08,496 - DEBUG - VN ctest-vn-04719533 UUID is e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:08,806 - DEBUG - Response for create_network : {'network': {'id': '2d5406f1-a05c-43ee-80f9-c548f0b763d4', 'name': 'ctest-vn-70102397', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-70102397'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 11:27:08,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '731459f1-698d-4474-a56a-08ebfd8ba811', 'name': '', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'network_id': '2d5406f1-a05c-43ee-80f9-c548f0b763d4', 'ip_version': 4, 'cidr': '148.80.123.128/26', 'allocation_pools': [{'start': '148.80.123.130', 'end': '148.80.123.190'}], 'gateway_ip': '148.80.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.80.123.130', 'tags': [], 'project_id': '8839ff54647b478f8e427f60c8f40856'}}
2026-06-23 11:27:08,969 - INFO - Created VN ctest-vn-70102397
2026-06-23 11:27:09,020 - DEBUG - VN ctest-vn-70102397 UUID is 2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:09,168 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533, 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-17166728:ctest-vn-70102397, 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-23 11:27:09,461 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0f8f1a4-d12a-4a68-8795-5597f2f22d7c', 'name': 'ctest-vn-04719533', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0098e034-7bb1-4467-914e-6507c46f7828'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-04719533'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811']], 'subnet_ipam': [{'subnet_cidr': '67.1.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-23 11:27:09,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d5406f1-a05c-43ee-80f9-c548f0b763d4', 'name': 'ctest-vn-70102397', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['731459f1-698d-4474-a56a-08ebfd8ba811'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-70102397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811']], 'subnet_ipam': [{'subnet_cidr': '148.80.123.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-23 11:27:09,808 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 11:27:10,134 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 11:27:10,157 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc
2026-06-23 11:27:10,169 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856
2026-06-23 11:27:10,240 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:10,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:10,261 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9
2026-06-23 11:27:10,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9
2026-06-23 11:27:10,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/244f9225-4047-44d7-8a60-989138bd7f67
2026-06-23 11:27:10,281 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-23 11:27:10,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:10,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9
2026-06-23 11:27:10,310 - INFO - Verified VN network id 12 for VN e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:10,311 - INFO - Verifications in API Server for VN ctest-vn-04719533 passed
2026-06-23 11:27:10,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:10,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9
2026-06-23 11:27:10,327 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9
2026-06-23 11:27:10,333 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/244f9225-4047-44d7-8a60-989138bd7f67
2026-06-23 11:27:10,344 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17166728', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16210972548906240616', 'uuid-lslong': '9769809077754539388'}, 'enable': 'true', 'created': '2026-06-23T11:27:08', 'last-modified': '2026-06-23T11:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903719'}
2026-06-23 11:27:10,350 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-23 11:27:10,350 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04719533 passed
2026-06-23 11:27:10,350 - DEBUG - ====Verifying policy data for ctest-vn-04719533 in API_Server ======
2026-06-23 11:27:10,350 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 11:27:10,355 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc
2026-06-23 11:27:10,364 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856
2026-06-23 11:27:10,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c
2026-06-23 11:27:10,446 - DEBUG - ==>Verifying data for policy with id: a4cd2eb3-5a3d-460f-8bbf-7c6c77b3db93, fqn: ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811']
2026-06-23 11:27:10,446 - INFO - VN ctest-vn-04719533 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-23 11:27:10,446 - DEBUG - Verifying the vn in opserver
2026-06-23 11:27:10,446 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533 virtual network link through opserver 10.0.0.50
2026-06-23 11:27:10,446 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-23 11:27:10,762 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-23 11:27:10,812 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533?flat'}
2026-06-23 11:27:10,812 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533 is found in opserver
2026-06-23 11:27:10,821 - DEBUG - Do not have enough data to verify VN in agent
2026-06-23 11:27:10,825 - DEBUG - VRF ids for VN ctest-vn-04719533: {}
2026-06-23 11:27:10,826 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 11:27:10,830 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc
2026-06-23 11:27:10,843 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856
2026-06-23 11:27:10,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:10,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:10,929 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786
2026-06-23 11:27:10,934 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786
2026-06-23 11:27:10,940 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4cb2d394-022d-4418-b174-ecb8fed5ccb9
2026-06-23 11:27:10,945 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-23 11:27:10,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:10,952 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786
2026-06-23 11:27:10,967 - INFO - Verified VN network id 13 for VN 2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:10,967 - INFO - Verifications in API Server for VN ctest-vn-70102397 passed
2026-06-23 11:27:10,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:10,975 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786
2026-06-23 11:27:10,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786
2026-06-23 11:27:10,988 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4cb2d394-022d-4418-b174-ecb8fed5ccb9
2026-06-23 11:27:10,997 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17166728', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3266243264597738478', 'uuid-lslong': '9293676223122596820'}, 'enable': 'true', 'created': '2026-06-23T11:27:08', 'last-modified': '2026-06-23T11:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335738'}
2026-06-23 11:27:11,002 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-23 11:27:11,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70102397 passed
2026-06-23 11:27:11,002 - DEBUG - ====Verifying policy data for ctest-vn-70102397 in API_Server ======
2026-06-23 11:27:11,002 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 11:27:11,007 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc
2026-06-23 11:27:11,016 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856
2026-06-23 11:27:11,088 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4
2026-06-23 11:27:11,097 - DEBUG - ==>Verifying data for policy with id: a4cd2eb3-5a3d-460f-8bbf-7c6c77b3db93, fqn: ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811']
2026-06-23 11:27:11,097 - INFO - VN ctest-vn-70102397 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-23 11:27:11,097 - DEBUG - Verifying the vn in opserver
2026-06-23 11:27:11,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397 virtual network link through opserver 10.0.0.50
2026-06-23 11:27:11,097 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-23 11:27:11,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397?flat'}
2026-06-23 11:27:11,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397 is found in opserver
2026-06-23 11:27:11,114 - DEBUG - Do not have enough data to verify VN in agent
2026-06-23 11:27:11,118 - DEBUG - VRF ids for VN ctest-vn-70102397: {}
2026-06-23 11:27:11,169 - DEBUG - Services list from nova: [