2026-06-04 02:13:57,243 - INFO - Reading existing Domain with UUID 4bbd272f-f102-4983-a587-c5578191c0aa
2026-06-04 02:13:57,254 - INFO - Using existing domain ['admin_domain'](4bbd272f-f102-4983-a587-c5578191c0aa)
2026-06-04 02:13:57,501 - INFO - Project ctest-TestBasicPolicy-38596169 not found, creating it
2026-06-04 02:13:58,091 - INFO - Created Project:ctest-TestBasicPolicy-38596169, ID : b84e2f1d-dd25-4745-812a-32cfdb5653dc
2026-06-04 02:13:59,803 - INFO - ================================================================================
2026-06-04 02:13:59,804 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-04 02:13:59,804 - 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-04 02:14:00,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-06-04 02:14:00,191 - INFO - Initial checks done. Running the testcase now
2026-06-04 02:14:00,191 - INFO -
2026-06-04 02:14:01,013 - DEBUG - Response for create_network : {'network': {'id': '422c263d-03af-454e-8e72-f0eb983621b7', 'name': 'ctest-vn-87723291', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-87723291'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-06-04 02:14:01,250 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4c055ae-366a-4f39-8ae2-10f6cc772d24', 'name': '', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'network_id': '422c263d-03af-454e-8e72-f0eb983621b7', 'ip_version': 4, 'cidr': '182.179.171.64/26', 'allocation_pools': [{'start': '182.179.171.66', 'end': '182.179.171.126'}], 'gateway_ip': '182.179.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:14:01.155401', 'updated_at': '2026-06-04T02:14:01.155401', 'dns_server_address': '182.179.171.66', 'tags': [], 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc'}}
2026-06-04 02:14:01,315 - INFO - Created VN ctest-vn-87723291
2026-06-04 02:14:01,369 - DEBUG - VN ctest-vn-87723291 UUID is 422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:01,873 - DEBUG - Response for create_network : {'network': {'id': '2b5b4c3d-dab6-4adc-a968-a6fdf10336fe', 'name': 'ctest-vn-81562680', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-81562680'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-06-04 02:14:02,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '69974022-b594-4cc4-b94a-3d951ad19319', 'name': '', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'network_id': '2b5b4c3d-dab6-4adc-a968-a6fdf10336fe', 'ip_version': 4, 'cidr': '3.6.217.64/26', 'allocation_pools': [{'start': '3.6.217.66', 'end': '3.6.217.126'}], 'gateway_ip': '3.6.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:14:02.030114', 'updated_at': '2026-06-04T02:14:02.030114', 'dns_server_address': '3.6.217.66', 'tags': [], 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc'}}
2026-06-04 02:14:02,199 - INFO - Created VN ctest-vn-81562680
2026-06-04 02:14:02,253 - DEBUG - VN ctest-vn-81562680 UUID is 2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:02,470 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680, 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-04 02:14:02,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '422c263d-03af-454e-8e72-f0eb983621b7', 'name': 'ctest-vn-87723291', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4c055ae-366a-4f39-8ae2-10f6cc772d24'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-87723291'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601']], 'subnet_ipam': [{'subnet_cidr': '182.179.171.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:14:00.937276', 'updated_at': '2026-06-04T02:14:01.169010'}}
2026-06-04 02:14:03,201 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b5b4c3d-dab6-4adc-a968-a6fdf10336fe', 'name': 'ctest-vn-81562680', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['69974022-b594-4cc4-b94a-3d951ad19319'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-81562680'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601']], 'subnet_ipam': [{'subnet_cidr': '3.6.217.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:14:01.798633', 'updated_at': '2026-06-04T02:14:02.043344'}}
2026-06-04 02:14:03,377 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-04 02:14:03,715 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-04 02:14:03,793 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa
2026-06-04 02:14:03,850 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc
2026-06-04 02:14:03,935 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:03,994 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:04,051 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95
2026-06-04 02:14:04,106 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95
2026-06-04 02:14:04,158 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/d594dd56-6c3d-405b-bf86-76637f297513
2026-06-04 02:14:04,213 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-04 02:14:04,214 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:04,271 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95
2026-06-04 02:14:04,334 - INFO - Verified VN network id 11 for VN 422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:04,334 - INFO - Verifications in API Server for VN ctest-vn-87723291 passed
2026-06-04 02:14:04,334 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:04,390 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95
2026-06-04 02:14:04,445 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95
2026-06-04 02:14:04,501 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/d594dd56-6c3d-405b-bf86-76637f297513
2026-06-04 02:14:04,602 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38596169', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4768228148975191374', 'uuid-lslong': '10264531395392446903'}, 'enable': 'true', 'created': '2026-06-04T02:14:00', 'last-modified': '2026-06-04T02:14:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.766212'}
2026-06-04 02:14:04,655 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-04 02:14:04,655 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87723291 passed
2026-06-04 02:14:04,656 - DEBUG - ====Verifying policy data for ctest-vn-87723291 in API_Server ======
2026-06-04 02:14:04,656 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-04 02:14:04,713 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa
2026-06-04 02:14:04,770 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc
2026-06-04 02:14:04,850 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7
2026-06-04 02:14:04,906 - DEBUG - ==>Verifying data for policy with id: 5d05a779-3ffc-4789-8a6f-0d97032645ee, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601']
2026-06-04 02:14:04,906 - INFO - VN ctest-vn-87723291 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-04 02:14:04,906 - DEBUG - Verifying the vn in opserver
2026-06-04 02:14:04,906 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291 virtual network link through opserver 10.0.0.129
2026-06-04 02:14:04,907 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-04 02:14:05,254 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-04 02:14:05,373 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291?flat'}
2026-06-04 02:14:05,373 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291 is found in opserver
2026-06-04 02:14:05,469 - DEBUG - Do not have enough data to verify VN in agent
2026-06-04 02:14:05,522 - DEBUG - VRF ids for VN ctest-vn-87723291: {}
2026-06-04 02:14:05,522 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-04 02:14:05,577 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa
2026-06-04 02:14:05,634 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc
2026-06-04 02:14:05,719 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:05,779 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:05,834 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792
2026-06-04 02:14:05,890 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792
2026-06-04 02:14:05,945 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/c985e79c-581c-4d20-adce-da96bb1051c4
2026-06-04 02:14:06,002 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-04 02:14:06,002 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:06,058 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792
2026-06-04 02:14:06,123 - INFO - Verified VN network id 12 for VN 2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:06,123 - INFO - Verifications in API Server for VN ctest-vn-81562680 passed
2026-06-04 02:14:06,123 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:06,178 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792
2026-06-04 02:14:06,233 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792
2026-06-04 02:14:06,286 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/c985e79c-581c-4d20-adce-da96bb1051c4
2026-06-04 02:14:06,398 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38596169', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3124174595057666780', 'uuid-lslong': '12207190399588185854'}, 'enable': 'true', 'created': '2026-06-04T02:14:01', 'last-modified': '2026-06-04T02:14:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.218206'}
2026-06-04 02:14:06,447 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-04 02:14:06,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81562680 passed
2026-06-04 02:14:06,448 - DEBUG - ====Verifying policy data for ctest-vn-81562680 in API_Server ======
2026-06-04 02:14:06,448 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-04 02:14:06,501 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa
2026-06-04 02:14:06,558 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc
2026-06-04 02:14:06,642 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe
2026-06-04 02:14:06,698 - DEBUG - ==>Verifying data for policy with id: 5d05a779-3ffc-4789-8a6f-0d97032645ee, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601']
2026-06-04 02:14:06,698 - INFO - VN ctest-vn-81562680 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-04 02:14:06,698 - DEBUG - Verifying the vn in opserver
2026-06-04 02:14:06,699 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680 virtual network link through opserver 10.0.0.129
2026-06-04 02:14:06,699 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-04 02:14:06,754 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680?flat'}
2026-06-04 02:14:06,754 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680 is found in opserver
2026-06-04 02:14:06,853 - DEBUG - Do not have enough data to verify VN in agent
2026-06-04 02:14:06,901 - DEBUG - VRF ids for VN ctest-vn-81562680: {}
2026-06-04 02:14:07,089 - DEBUG - Services list from nova: [