2026-03-30 03:38:52,896 - INFO - Domain Default found not creating
2026-03-30 03:38:53,061 - INFO - Project ctest-TestBasicPolicy-35900549 not found, creating it
2026-03-30 03:38:53,534 - INFO - Created Project:ctest-TestBasicPolicy-35900549, ID : 248fff32-160a-4424-8302-ade9baf61886
2026-03-30 03:38:55,001 - INFO - ================================================================================
2026-03-30 03:38:55,001 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-30 03:38:55,001 - 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-03-30 03:38:55,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2026-03-30 03:38:55,254 - INFO - Initial checks done. Running the testcase now
2026-03-30 03:38:55,254 - INFO -
2026-03-30 03:38:55,817 - DEBUG - Response for create_network : {'network': {'id': '29639df5-f476-4f46-b2ae-e651560ced37', 'name': 'ctest-vn-55310871', 'tenant_id': '248fff32160a44248302ade9baf61886', 'project_id': '248fff32160a44248302ade9baf61886', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-vn-55310871'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:55,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d8d18a9-373f-4574-99bd-2b211e58f2d1', 'name': '', 'tenant_id': '248fff32160a44248302ade9baf61886', 'network_id': '29639df5-f476-4f46-b2ae-e651560ced37', 'ip_version': 4, 'cidr': '91.108.57.0/26', 'allocation_pools': [{'start': '91.108.57.2', 'end': '91.108.57.62'}], 'gateway_ip': '91.108.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.108.57.2', 'tags': [], 'project_id': '248fff32160a44248302ade9baf61886'}}
2026-03-30 03:38:56,017 - INFO - Created VN ctest-vn-55310871
2026-03-30 03:38:56,072 - DEBUG - VN ctest-vn-55310871 UUID is 29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:56,358 - DEBUG - Response for create_network : {'network': {'id': '9b5e110e-9cb5-498f-a45b-3152a7c33359', 'name': 'ctest-vn-63716594', 'tenant_id': '248fff32160a44248302ade9baf61886', 'project_id': '248fff32160a44248302ade9baf61886', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-vn-63716594'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:56,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd5b4e91-aefb-4466-b3f6-9fa0482742be', 'name': '', 'tenant_id': '248fff32160a44248302ade9baf61886', 'network_id': '9b5e110e-9cb5-498f-a45b-3152a7c33359', 'ip_version': 4, 'cidr': '143.60.151.128/26', 'allocation_pools': [{'start': '143.60.151.130', 'end': '143.60.151.190'}], 'gateway_ip': '143.60.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.60.151.130', 'tags': [], 'project_id': '248fff32160a44248302ade9baf61886'}}
2026-03-30 03:38:56,577 - INFO - Created VN ctest-vn-63716594
2026-03-30 03:38:56,629 - DEBUG - VN ctest-vn-63716594 UUID is 9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:56,742 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-55310871, 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-35900549:ctest-vn-63716594, 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-03-30 03:38:57,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29639df5-f476-4f46-b2ae-e651560ced37', 'name': 'ctest-vn-55310871', 'tenant_id': '248fff32160a44248302ade9baf61886', 'project_id': '248fff32160a44248302ade9baf61886', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d8d18a9-373f-4574-99bd-2b211e58f2d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-vn-55310871'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-policy-allow-all-05365525']], 'subnet_ipam': [{'subnet_cidr': '91.108.57.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:57,244 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b5e110e-9cb5-498f-a45b-3152a7c33359', 'name': 'ctest-vn-63716594', 'tenant_id': '248fff32160a44248302ade9baf61886', 'project_id': '248fff32160a44248302ade9baf61886', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd5b4e91-aefb-4466-b3f6-9fa0482742be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-vn-63716594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-policy-allow-all-05365525']], 'subnet_ipam': [{'subnet_cidr': '143.60.151.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-30 03:38:57,408 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 03:38:57,702 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 03:38:57,734 - DEBUG - Requesting: http://10.0.0.22:8082/domain/394e0c40-28be-4c2a-8d75-4cbce0547c16
2026-03-30 03:38:57,748 - DEBUG - Requesting: http://10.0.0.22:8082/project/248fff32-160a-4424-8302-ade9baf61886
2026-03-30 03:38:57,818 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:57,828 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:57,838 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b74880b6-3419-4ed7-8022-b993f2ef890e
2026-03-30 03:38:57,845 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b74880b6-3419-4ed7-8022-b993f2ef890e
2026-03-30 03:38:57,852 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e6ababa0-b37d-4a0d-9c05-466c50ff0d89
2026-03-30 03:38:57,859 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-30 03:38:57,859 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:57,867 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b74880b6-3419-4ed7-8022-b993f2ef890e
2026-03-30 03:38:57,882 - INFO - Verified VN network id 11 for VN 29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:57,882 - INFO - Verifications in API Server for VN ctest-vn-55310871 passed
2026-03-30 03:38:57,882 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:57,892 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b74880b6-3419-4ed7-8022-b993f2ef890e
2026-03-30 03:38:57,899 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b74880b6-3419-4ed7-8022-b993f2ef890e
2026-03-30 03:38:57,905 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e6ababa0-b37d-4a0d-9c05-466c50ff0d89
2026-03-30 03:38:57,917 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-55310871', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35900549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2982401057943342918', 'uuid-lslong': '12875481621709253943'}, 'enable': 'true', 'created': '2026-03-30T03:38:55', 'last-modified': '2026-03-30T03:38:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909081'}
2026-03-30 03:38:57,922 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-30 03:38:57,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55310871 passed
2026-03-30 03:38:57,922 - DEBUG - ====Verifying policy data for ctest-vn-55310871 in API_Server ======
2026-03-30 03:38:57,922 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 03:38:57,927 - DEBUG - Requesting: http://10.0.0.22:8082/domain/394e0c40-28be-4c2a-8d75-4cbce0547c16
2026-03-30 03:38:57,940 - DEBUG - Requesting: http://10.0.0.22:8082/project/248fff32-160a-4424-8302-ade9baf61886
2026-03-30 03:38:58,011 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/29639df5-f476-4f46-b2ae-e651560ced37
2026-03-30 03:38:58,021 - DEBUG - ==>Verifying data for policy with id: 13692b82-aa41-49c1-91bd-7f6cea15282a, fqn: ['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-policy-allow-all-05365525']
2026-03-30 03:38:58,021 - INFO - VN ctest-vn-55310871 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-30 03:38:58,021 - DEBUG - Verifying the vn in opserver
2026-03-30 03:38:58,021 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-55310871 virtual network link through opserver 10.0.0.22
2026-03-30 03:38:58,021 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-30 03:38:58,312 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-30 03:38:58,372 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-55310871', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-55310871?flat'}
2026-03-30 03:38:58,372 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-55310871 is found in opserver
2026-03-30 03:38:58,385 - DEBUG - Do not have enough data to verify VN in agent
2026-03-30 03:38:58,389 - DEBUG - VRF ids for VN ctest-vn-55310871: {}
2026-03-30 03:38:58,389 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 03:38:58,394 - DEBUG - Requesting: http://10.0.0.22:8082/domain/394e0c40-28be-4c2a-8d75-4cbce0547c16
2026-03-30 03:38:58,409 - DEBUG - Requesting: http://10.0.0.22:8082/project/248fff32-160a-4424-8302-ade9baf61886
2026-03-30 03:38:58,488 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:58,501 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:58,511 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c80563e2-3349-40b9-83b8-b18c10ac5320
2026-03-30 03:38:58,519 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c80563e2-3349-40b9-83b8-b18c10ac5320
2026-03-30 03:38:58,527 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/88bc8b2e-b4ad-48dd-9cab-8e62d3608e60
2026-03-30 03:38:58,536 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-30 03:38:58,536 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:58,547 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c80563e2-3349-40b9-83b8-b18c10ac5320
2026-03-30 03:38:58,564 - INFO - Verified VN network id 12 for VN 9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:58,564 - INFO - Verifications in API Server for VN ctest-vn-63716594 passed
2026-03-30 03:38:58,564 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:58,574 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c80563e2-3349-40b9-83b8-b18c10ac5320
2026-03-30 03:38:58,582 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c80563e2-3349-40b9-83b8-b18c10ac5320
2026-03-30 03:38:58,589 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/88bc8b2e-b4ad-48dd-9cab-8e62d3608e60
2026-03-30 03:38:58,602 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-63716594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35900549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11195404478145972623', 'uuid-lslong': '11843113876172518233'}, 'enable': 'true', 'created': '2026-03-30T03:38:56', 'last-modified': '2026-03-30T03:38:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376104'}
2026-03-30 03:38:58,607 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-30 03:38:58,608 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63716594 passed
2026-03-30 03:38:58,608 - DEBUG - ====Verifying policy data for ctest-vn-63716594 in API_Server ======
2026-03-30 03:38:58,608 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 03:38:58,613 - DEBUG - Requesting: http://10.0.0.22:8082/domain/394e0c40-28be-4c2a-8d75-4cbce0547c16
2026-03-30 03:38:58,625 - DEBUG - Requesting: http://10.0.0.22:8082/project/248fff32-160a-4424-8302-ade9baf61886
2026-03-30 03:38:58,699 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9b5e110e-9cb5-498f-a45b-3152a7c33359
2026-03-30 03:38:58,713 - DEBUG - ==>Verifying data for policy with id: 13692b82-aa41-49c1-91bd-7f6cea15282a, fqn: ['default-domain', 'ctest-TestBasicPolicy-35900549', 'ctest-policy-allow-all-05365525']
2026-03-30 03:38:58,713 - INFO - VN ctest-vn-63716594 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-30 03:38:58,713 - DEBUG - Verifying the vn in opserver
2026-03-30 03:38:58,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-63716594 virtual network link through opserver 10.0.0.22
2026-03-30 03:38:58,713 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-30 03:38:58,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-63716594', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-63716594?flat'}
2026-03-30 03:38:58,724 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35900549:ctest-vn-63716594 is found in opserver
2026-03-30 03:38:58,735 - DEBUG - Do not have enough data to verify VN in agent
2026-03-30 03:38:58,741 - DEBUG - VRF ids for VN ctest-vn-63716594: {}
2026-03-30 03:38:58,800 - DEBUG - Services list from nova: [