2025-12-15 02:17:42,723 - INFO - Domain Default found not creating
2025-12-15 02:17:42,899 - INFO - Project ctest-TestBasicPolicy-16085619 not found, creating it
2025-12-15 02:17:43,396 - INFO - Created Project:ctest-TestBasicPolicy-16085619, ID : 46cefb4e-fedf-4dd3-8643-d97dbf72e90f
2025-12-15 02:17:44,941 - INFO - ================================================================================
2025-12-15 02:17:44,941 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-15 02:17:44,942 - 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
2025-12-15 02:17:45,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-12-15 02:17:45,196 - INFO - Initial checks done. Running the testcase now
2025-12-15 02:17:45,196 - INFO -
2025-12-15 02:17:45,767 - DEBUG - Response for create_network : {'network': {'id': '18de5c77-be21-4f88-abe1-697d07adc9f6', 'name': 'ctest-vn-24002668', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-24002668'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:17:45,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce188b85-8b6a-465f-98c6-e62cc63cf5e0', 'name': '', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'network_id': '18de5c77-be21-4f88-abe1-697d07adc9f6', 'ip_version': 4, 'cidr': '96.141.226.128/26', 'allocation_pools': [{'start': '96.141.226.130', 'end': '96.141.226.190'}], 'gateway_ip': '96.141.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.141.226.130', 'tags': [], 'project_id': '46cefb4efedf4dd38643d97dbf72e90f'}}
2025-12-15 02:17:45,968 - INFO - Created VN ctest-vn-24002668
2025-12-15 02:17:46,023 - DEBUG - VN ctest-vn-24002668 UUID is 18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:46,335 - DEBUG - Response for create_network : {'network': {'id': '28025b0e-cbf5-464d-9a32-3e7f27ccbeda', 'name': 'ctest-vn-82393224', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-82393224'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:17:46,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0f20a3f-2171-4486-aa34-3fe288389368', 'name': '', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'network_id': '28025b0e-cbf5-464d-9a32-3e7f27ccbeda', 'ip_version': 4, 'cidr': '142.36.51.128/26', 'allocation_pools': [{'start': '142.36.51.130', 'end': '142.36.51.190'}], 'gateway_ip': '142.36.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.36.51.130', 'tags': [], 'project_id': '46cefb4efedf4dd38643d97dbf72e90f'}}
2025-12-15 02:17:46,552 - INFO - Created VN ctest-vn-82393224
2025-12-15 02:17:46,606 - DEBUG - VN ctest-vn-82393224 UUID is 28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:46,724 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668, 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-16085619:ctest-vn-82393224, 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]
2025-12-15 02:17:47,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18de5c77-be21-4f88-abe1-697d07adc9f6', 'name': 'ctest-vn-24002668', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce188b85-8b6a-465f-98c6-e62cc63cf5e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-24002668'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950']], 'subnet_ipam': [{'subnet_cidr': '96.141.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:17:47,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28025b0e-cbf5-464d-9a32-3e7f27ccbeda', 'name': 'ctest-vn-82393224', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0f20a3f-2171-4486-aa34-3fe288389368'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-82393224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950']], 'subnet_ipam': [{'subnet_cidr': '142.36.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:17:47,419 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-15 02:17:47,723 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-15 02:17:47,764 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f
2025-12-15 02:17:47,776 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f
2025-12-15 02:17:47,850 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:47,861 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:47,871 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334
2025-12-15 02:17:47,879 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334
2025-12-15 02:17:47,887 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ee112c1e-b6aa-4d19-bd74-d567e200e58f
2025-12-15 02:17:47,894 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 02:17:47,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:47,904 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334
2025-12-15 02:17:47,934 - INFO - Verified VN network id 11 for VN 18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:47,934 - INFO - Verifications in API Server for VN ctest-vn-24002668 passed
2025-12-15 02:17:47,934 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:47,947 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334
2025-12-15 02:17:47,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334
2025-12-15 02:17:47,962 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ee112c1e-b6aa-4d19-bd74-d567e200e58f
2025-12-15 02:17:47,974 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16085619', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1791971371100753800', 'uuid-lslong': '12385296435966233078'}, 'enable': 'true', 'created': '2025-12-15T02:17:45', 'last-modified': '2025-12-15T02:17:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975292'}
2025-12-15 02:17:47,981 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 02:17:47,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24002668 passed
2025-12-15 02:17:47,981 - DEBUG - ====Verifying policy data for ctest-vn-24002668 in API_Server ======
2025-12-15 02:17:47,981 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-15 02:17:47,989 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f
2025-12-15 02:17:48,004 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f
2025-12-15 02:17:48,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6
2025-12-15 02:17:48,086 - DEBUG - ==>Verifying data for policy with id: 83b63e21-c859-4bbb-bfed-b60f7b077162, fqn: ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950']
2025-12-15 02:17:48,087 - INFO - VN ctest-vn-24002668 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-15 02:17:48,087 - DEBUG - Verifying the vn in opserver
2025-12-15 02:17:48,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668 virtual network link through opserver 10.0.0.249
2025-12-15 02:17:48,087 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-15 02:17:48,381 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-15 02:17:48,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668?flat'}
2025-12-15 02:17:48,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668 is found in opserver
2025-12-15 02:17:48,475 - DEBUG - Do not have enough data to verify VN in agent
2025-12-15 02:17:48,479 - DEBUG - VRF ids for VN ctest-vn-24002668: {}
2025-12-15 02:17:48,479 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-15 02:17:48,485 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f
2025-12-15 02:17:48,497 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f
2025-12-15 02:17:48,568 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:48,579 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:48,588 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141
2025-12-15 02:17:48,595 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141
2025-12-15 02:17:48,602 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ada98fd-fad2-4fa0-97d0-de59ed51e316
2025-12-15 02:17:48,609 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-15 02:17:48,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:48,620 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141
2025-12-15 02:17:48,636 - INFO - Verified VN network id 12 for VN 28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:48,636 - INFO - Verifications in API Server for VN ctest-vn-82393224 passed
2025-12-15 02:17:48,636 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:48,645 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141
2025-12-15 02:17:48,653 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141
2025-12-15 02:17:48,659 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ada98fd-fad2-4fa0-97d0-de59ed51e316
2025-12-15 02:17:48,671 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16085619', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2882966830580057677', 'uuid-lslong': '11111011946525933274'}, 'enable': 'true', 'created': '2025-12-15T02:17:46', 'last-modified': '2025-12-15T02:17:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438626'}
2025-12-15 02:17:48,677 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-15 02:17:48,677 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82393224 passed
2025-12-15 02:17:48,678 - DEBUG - ====Verifying policy data for ctest-vn-82393224 in API_Server ======
2025-12-15 02:17:48,678 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-15 02:17:48,685 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f
2025-12-15 02:17:48,697 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f
2025-12-15 02:17:48,768 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda
2025-12-15 02:17:48,778 - DEBUG - ==>Verifying data for policy with id: 83b63e21-c859-4bbb-bfed-b60f7b077162, fqn: ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950']
2025-12-15 02:17:48,778 - INFO - VN ctest-vn-82393224 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-15 02:17:48,779 - DEBUG - Verifying the vn in opserver
2025-12-15 02:17:48,779 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224 virtual network link through opserver 10.0.0.249
2025-12-15 02:17:48,779 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-15 02:17:48,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224?flat'}
2025-12-15 02:17:48,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224 is found in opserver
2025-12-15 02:17:48,799 - DEBUG - Do not have enough data to verify VN in agent
2025-12-15 02:17:48,804 - DEBUG - VRF ids for VN ctest-vn-82393224: {}
2025-12-15 02:17:48,865 - DEBUG - Services list from nova: [