2026-06-15 01:42:56,911 - INFO - Reading existing Domain with UUID 21359ce1-50e9-4d69-b64c-799df2e42682
2026-06-15 01:42:56,921 - INFO - Using existing domain ['admin_domain'](21359ce1-50e9-4d69-b64c-799df2e42682)
2026-06-15 01:42:57,114 - INFO - Project ctest-TestBasicPolicy-90511333 not found, creating it
2026-06-15 01:42:57,631 - INFO - Created Project:ctest-TestBasicPolicy-90511333, ID : 3735cc75-c609-4516-9a0f-2af64db45c29
2026-06-15 01:42:59,306 - INFO - ================================================================================
2026-06-15 01:42:59,306 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 01:42:59,306 - 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-15 01:42:59,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.0.0.19': '0'}} with
2026-06-15 01:42:59,686 - INFO - Initial checks done. Running the testcase now
2026-06-15 01:42:59,686 - INFO -
2026-06-15 01:43:00,446 - DEBUG - Response for create_network : {'network': {'id': 'a9898ef1-7ae8-48dd-bd7c-46501a21bbc0', 'name': 'ctest-vn-12524512', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12524512'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-06-15 01:43:00,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '970e006e-06a1-42bf-b59e-0e8fffd7873a', 'name': '', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'network_id': 'a9898ef1-7ae8-48dd-bd7c-46501a21bbc0', 'ip_version': 4, 'cidr': '223.58.172.64/26', 'allocation_pools': [{'start': '223.58.172.66', 'end': '223.58.172.126'}], 'gateway_ip': '223.58.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-15T01:43:00.612944', 'updated_at': '2026-06-15T01:43:00.612944', 'dns_server_address': '223.58.172.66', 'tags': [], 'project_id': '3735cc75c60945169a0f2af64db45c29'}}
2026-06-15 01:43:00,767 - INFO - Created VN ctest-vn-12524512
2026-06-15 01:43:00,821 - DEBUG - VN ctest-vn-12524512 UUID is a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:01,311 - DEBUG - Response for create_network : {'network': {'id': '5879b353-6958-47b0-bfc6-c84d9a3a6b87', 'name': 'ctest-vn-12615455', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12615455'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-06-15 01:43:01,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a6ed9e0-0c78-49f2-9cca-55888e9dd5dc', 'name': '', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'network_id': '5879b353-6958-47b0-bfc6-c84d9a3a6b87', 'ip_version': 4, 'cidr': '141.253.10.64/26', 'allocation_pools': [{'start': '141.253.10.66', 'end': '141.253.10.126'}], 'gateway_ip': '141.253.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-15T01:43:01.441850', 'updated_at': '2026-06-15T01:43:01.441850', 'dns_server_address': '141.253.10.66', 'tags': [], 'project_id': '3735cc75c60945169a0f2af64db45c29'}}
2026-06-15 01:43:01,604 - INFO - Created VN ctest-vn-12615455
2026-06-15 01:43:01,657 - DEBUG - VN ctest-vn-12615455 UUID is 5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:01,874 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512, 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-90511333:ctest-vn-12615455, 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-15 01:43:02,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9898ef1-7ae8-48dd-bd7c-46501a21bbc0', 'name': 'ctest-vn-12524512', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['970e006e-06a1-42bf-b59e-0e8fffd7873a'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12524512'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119']], 'subnet_ipam': [{'subnet_cidr': '223.58.172.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-15T01:43:00.370337', 'updated_at': '2026-06-15T01:43:00.624878'}}
2026-06-15 01:43:02,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5879b353-6958-47b0-bfc6-c84d9a3a6b87', 'name': 'ctest-vn-12615455', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a6ed9e0-0c78-49f2-9cca-55888e9dd5dc'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12615455'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119']], 'subnet_ipam': [{'subnet_cidr': '141.253.10.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-15T01:43:01.229180', 'updated_at': '2026-06-15T01:43:01.454249'}}
2026-06-15 01:43:02,817 - DEBUG - Requesting: https://10.0.0.19:8082/domains
2026-06-15 01:43:03,171 - DEBUG - Requesting: https://10.0.0.19:8082/domains
2026-06-15 01:43:03,261 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682
2026-06-15 01:43:03,318 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29
2026-06-15 01:43:03,402 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:03,459 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:03,515 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47
2026-06-15 01:43:03,570 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47
2026-06-15 01:43:03,626 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/363873e1-a43e-46e7-9f04-2bacf91c91ff
2026-06-15 01:43:03,678 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 01:43:03,678 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:03,739 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47
2026-06-15 01:43:03,804 - INFO - Verified VN network id 11 for VN a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:03,804 - INFO - Verifications in API Server for VN ctest-vn-12524512 passed
2026-06-15 01:43:03,804 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:03,866 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47
2026-06-15 01:43:03,922 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47
2026-06-15 01:43:03,978 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/363873e1-a43e-46e7-9f04-2bacf91c91ff
2026-06-15 01:43:04,086 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90511333', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12216452632019486941', 'uuid-lslong': '13653865480130247616'}, 'enable': 'true', 'created': '2026-06-15T01:43:00', 'last-modified': '2026-06-15T01:43:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.811732'}
2026-06-15 01:43:04,143 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 01:43:04,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12524512 passed
2026-06-15 01:43:04,143 - DEBUG - ====Verifying policy data for ctest-vn-12524512 in API_Server ======
2026-06-15 01:43:04,143 - DEBUG - Requesting: https://10.0.0.19:8082/domains
2026-06-15 01:43:04,201 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682
2026-06-15 01:43:04,262 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29
2026-06-15 01:43:04,350 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0
2026-06-15 01:43:04,413 - DEBUG - ==>Verifying data for policy with id: 60d52d0d-d3af-4dc4-bc42-7be74fce1ec1, fqn: ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119']
2026-06-15 01:43:04,413 - INFO - VN ctest-vn-12524512 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 01:43:04,413 - DEBUG - Verifying the vn in opserver
2026-06-15 01:43:04,413 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512 virtual network link through opserver 10.0.0.19
2026-06-15 01:43:04,413 - DEBUG - Requesting: https://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-15 01:43:04,766 - DEBUG - Requesting: https://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-15 01:43:04,881 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512', 'href': 'https://10.0.0.19:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512?flat'}
2026-06-15 01:43:04,882 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512 is found in opserver
2026-06-15 01:43:04,977 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 01:43:05,025 - DEBUG - VRF ids for VN ctest-vn-12524512: {}
2026-06-15 01:43:05,025 - DEBUG - Requesting: https://10.0.0.19:8082/domains
2026-06-15 01:43:05,078 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682
2026-06-15 01:43:05,139 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29
2026-06-15 01:43:05,219 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:05,278 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:05,335 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef
2026-06-15 01:43:05,390 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef
2026-06-15 01:43:05,450 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/ac44fb5b-e213-492b-a161-4138dd683825
2026-06-15 01:43:05,506 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 01:43:05,506 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:05,562 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef
2026-06-15 01:43:05,628 - INFO - Verified VN network id 12 for VN 5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:05,628 - INFO - Verifications in API Server for VN ctest-vn-12615455 passed
2026-06-15 01:43:05,628 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:05,683 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef
2026-06-15 01:43:05,734 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef
2026-06-15 01:43:05,790 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/ac44fb5b-e213-492b-a161-4138dd683825
2026-06-15 01:43:05,898 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90511333', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6375323918350698416', 'uuid-lslong': '13818952742258502535'}, 'enable': 'true', 'created': '2026-06-15T01:43:01', 'last-modified': '2026-06-15T01:43:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.284938'}
2026-06-15 01:43:05,951 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 01:43:05,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12615455 passed
2026-06-15 01:43:05,952 - DEBUG - ====Verifying policy data for ctest-vn-12615455 in API_Server ======
2026-06-15 01:43:05,952 - DEBUG - Requesting: https://10.0.0.19:8082/domains
2026-06-15 01:43:06,005 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682
2026-06-15 01:43:06,062 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29
2026-06-15 01:43:06,154 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87
2026-06-15 01:43:06,211 - DEBUG - ==>Verifying data for policy with id: 60d52d0d-d3af-4dc4-bc42-7be74fce1ec1, fqn: ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119']
2026-06-15 01:43:06,211 - INFO - VN ctest-vn-12615455 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 01:43:06,211 - DEBUG - Verifying the vn in opserver
2026-06-15 01:43:06,211 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455 virtual network link through opserver 10.0.0.19
2026-06-15 01:43:06,211 - DEBUG - Requesting: https://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-15 01:43:06,269 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455', 'href': 'https://10.0.0.19:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455?flat'}
2026-06-15 01:43:06,269 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455 is found in opserver
2026-06-15 01:43:06,366 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 01:43:06,417 - DEBUG - VRF ids for VN ctest-vn-12615455: {}
2026-06-15 01:43:06,494 - DEBUG - Services list from nova: [