2026-08-14 11:41:52,479 - INFO - Domain Default found not creating
2026-08-14 11:41:52,651 - INFO - Project ctest-TestBasicPolicy-69452430 not found, creating it
2026-08-14 11:41:53,251 - INFO - Created Project:ctest-TestBasicPolicy-69452430, ID : eed29908-8aa2-48da-a3b2-e427d98c8538
2026-08-14 11:41:54,807 - INFO - ================================================================================
2026-08-14 11:41:54,807 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-14 11:41:54,807 - 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-08-14 11:41:55,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-08-14 11:41:55,072 - INFO - Initial checks done. Running the testcase now
2026-08-14 11:41:55,073 - INFO -
2026-08-14 11:41:55,648 - DEBUG - Response for create_network : {'network': {'id': 'e08fac3e-877e-4ef1-ad3c-152ba1f72a80', 'name': 'ctest-vn-32071653', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-32071653'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:41:55,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '6588311c-9568-453c-94e2-24142f9b0e72', 'name': '', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'network_id': 'e08fac3e-877e-4ef1-ad3c-152ba1f72a80', 'ip_version': 4, 'cidr': '132.215.6.0/26', 'allocation_pools': [{'start': '132.215.6.2', 'end': '132.215.6.62'}], 'gateway_ip': '132.215.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.215.6.2', 'tags': [], 'project_id': 'eed299088aa248daa3b2e427d98c8538'}}
2026-08-14 11:41:55,864 - INFO - Created VN ctest-vn-32071653
2026-08-14 11:41:55,917 - DEBUG - VN ctest-vn-32071653 UUID is e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:56,226 - DEBUG - Response for create_network : {'network': {'id': '2071c42a-30c3-4217-bac3-2f0de701c1b9', 'name': 'ctest-vn-91794436', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-91794436'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:41:56,442 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04deeb0-fb3e-4dfa-9f6c-489afef6ce59', 'name': '', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'network_id': '2071c42a-30c3-4217-bac3-2f0de701c1b9', 'ip_version': 4, 'cidr': '27.65.111.128/26', 'allocation_pools': [{'start': '27.65.111.130', 'end': '27.65.111.190'}], 'gateway_ip': '27.65.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.65.111.130', 'tags': [], 'project_id': 'eed299088aa248daa3b2e427d98c8538'}}
2026-08-14 11:41:56,460 - INFO - Created VN ctest-vn-91794436
2026-08-14 11:41:56,513 - DEBUG - VN ctest-vn-91794436 UUID is 2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:56,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653, 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-69452430:ctest-vn-91794436, 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-08-14 11:41:56,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e08fac3e-877e-4ef1-ad3c-152ba1f72a80', 'name': 'ctest-vn-32071653', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6588311c-9568-453c-94e2-24142f9b0e72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-32071653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597']], 'subnet_ipam': [{'subnet_cidr': '132.215.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:41:57,233 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2071c42a-30c3-4217-bac3-2f0de701c1b9', 'name': 'ctest-vn-91794436', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d04deeb0-fb3e-4dfa-9f6c-489afef6ce59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-91794436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597']], 'subnet_ipam': [{'subnet_cidr': '27.65.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:41:57,409 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-14 11:41:57,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-14 11:41:57,767 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace
2026-08-14 11:41:57,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538
2026-08-14 11:41:57,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:57,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:57,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52
2026-08-14 11:41:57,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52
2026-08-14 11:41:57,901 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1120f396-923c-4d21-af67-f2bcafc1eda5
2026-08-14 11:41:57,909 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 11:41:57,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:57,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52
2026-08-14 11:41:57,934 - INFO - Verified VN network id 11 for VN e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:57,934 - INFO - Verifications in API Server for VN ctest-vn-32071653 passed
2026-08-14 11:41:57,935 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:57,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52
2026-08-14 11:41:57,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52
2026-08-14 11:41:57,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1120f396-923c-4d21-af67-f2bcafc1eda5
2026-08-14 11:41:57,975 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69452430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16181341370726633201', 'uuid-lslong': '12482875544309279360'}, 'enable': 'true', 'created': '2026-08-14T11:41:55', 'last-modified': '2026-08-14T11:41:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019937'}
2026-08-14 11:41:57,983 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 11:41:57,983 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32071653 passed
2026-08-14 11:41:57,983 - DEBUG - ====Verifying policy data for ctest-vn-32071653 in API_Server ======
2026-08-14 11:41:57,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-14 11:41:57,990 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace
2026-08-14 11:41:58,002 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538
2026-08-14 11:41:58,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80
2026-08-14 11:41:58,095 - DEBUG - ==>Verifying data for policy with id: 7a4d6477-f5f7-4184-9b57-46e2d0cc4a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597']
2026-08-14 11:41:58,096 - INFO - VN ctest-vn-32071653 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 11:41:58,096 - DEBUG - Verifying the vn in opserver
2026-08-14 11:41:58,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653 virtual network link through opserver 10.0.0.38
2026-08-14 11:41:58,096 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-14 11:41:58,427 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-14 11:41:58,480 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653?flat'}
2026-08-14 11:41:58,480 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653 is found in opserver
2026-08-14 11:41:58,494 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 11:41:58,500 - DEBUG - VRF ids for VN ctest-vn-32071653: {}
2026-08-14 11:41:58,500 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-14 11:41:58,506 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace
2026-08-14 11:41:58,520 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538
2026-08-14 11:41:58,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:58,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:58,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a
2026-08-14 11:41:58,625 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a
2026-08-14 11:41:58,632 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d5b280d-7319-48f3-8517-f979c08c373f
2026-08-14 11:41:58,639 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 11:41:58,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:58,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a
2026-08-14 11:41:58,663 - INFO - Verified VN network id 12 for VN 2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:58,664 - INFO - Verifications in API Server for VN ctest-vn-91794436 passed
2026-08-14 11:41:58,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:58,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a
2026-08-14 11:41:58,685 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a
2026-08-14 11:41:58,693 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d5b280d-7319-48f3-8517-f979c08c373f
2026-08-14 11:41:58,705 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69452430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2337865367067771415', 'uuid-lslong': '13457651848269906361'}, 'enable': 'true', 'created': '2026-08-14T11:41:56', 'last-modified': '2026-08-14T11:41:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497062'}
2026-08-14 11:41:58,712 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 11:41:58,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91794436 passed
2026-08-14 11:41:58,712 - DEBUG - ====Verifying policy data for ctest-vn-91794436 in API_Server ======
2026-08-14 11:41:58,712 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-14 11:41:58,718 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace
2026-08-14 11:41:58,730 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538
2026-08-14 11:41:58,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9
2026-08-14 11:41:58,815 - DEBUG - ==>Verifying data for policy with id: 7a4d6477-f5f7-4184-9b57-46e2d0cc4a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597']
2026-08-14 11:41:58,815 - INFO - VN ctest-vn-91794436 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 11:41:58,815 - DEBUG - Verifying the vn in opserver
2026-08-14 11:41:58,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436 virtual network link through opserver 10.0.0.38
2026-08-14 11:41:58,815 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-14 11:41:58,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436?flat'}
2026-08-14 11:41:58,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436 is found in opserver
2026-08-14 11:41:58,838 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 11:41:58,844 - DEBUG - VRF ids for VN ctest-vn-91794436: {}
2026-08-14 11:41:58,908 - DEBUG - Services list from nova: [