2026-05-14 02:12:17,878 - INFO - Reading existing Domain with UUID d251bbb1-a677-4b52-8c85-ab79c9809042
2026-05-14 02:12:17,900 - INFO - Using existing domain ['admin_domain'](d251bbb1-a677-4b52-8c85-ab79c9809042)
2026-05-14 02:12:18,311 - INFO - Project ctest-TestBasicPolicy-38089295 not found, creating it
2026-05-14 02:12:19,460 - INFO - Created Project:ctest-TestBasicPolicy-38089295, ID : 2cb29de9-f152-41c3-afef-43d1fbbf4a94
2026-05-14 02:12:21,988 - INFO - ================================================================================
2026-05-14 02:12:21,988 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-14 02:12:21,988 - 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-05-14 02:12:22,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-05-14 02:12:22,417 - INFO - Initial checks done. Running the testcase now
2026-05-14 02:12:22,417 - INFO -
2026-05-14 02:12:23,450 - DEBUG - Response for create_network : {'network': {'id': 'e0cd6a89-e58c-43bf-9888-5dc293e61c9e', 'name': 'ctest-vn-21862224', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-21862224'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-05-14 02:12:23,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '612b5f9a-5446-4727-9d4a-8b99d743d62b', 'name': '', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'network_id': 'e0cd6a89-e58c-43bf-9888-5dc293e61c9e', 'ip_version': 4, 'cidr': '105.6.127.192/26', 'allocation_pools': [{'start': '105.6.127.194', 'end': '105.6.127.254'}], 'gateway_ip': '105.6.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:12:23.629262', 'updated_at': '2026-05-14T02:12:23.629262', 'dns_server_address': '105.6.127.194', 'tags': [], 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94'}}
2026-05-14 02:12:23,898 - INFO - Created VN ctest-vn-21862224
2026-05-14 02:12:23,960 - DEBUG - VN ctest-vn-21862224 UUID is e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:24,610 - DEBUG - Response for create_network : {'network': {'id': '19b9fc11-ba18-4b1a-8c25-50a1e020b446', 'name': 'ctest-vn-82693657', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-82693657'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-05-14 02:12:24,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9c071a8-cb51-4067-9fd4-35d0a1c18bdf', 'name': '', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'network_id': '19b9fc11-ba18-4b1a-8c25-50a1e020b446', 'ip_version': 4, 'cidr': '64.154.218.64/26', 'allocation_pools': [{'start': '64.154.218.66', 'end': '64.154.218.126'}], 'gateway_ip': '64.154.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:12:24.775525', 'updated_at': '2026-05-14T02:12:24.775525', 'dns_server_address': '64.154.218.66', 'tags': [], 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94'}}
2026-05-14 02:12:25,033 - INFO - Created VN ctest-vn-82693657
2026-05-14 02:12:25,092 - DEBUG - VN ctest-vn-82693657 UUID is 19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:25,342 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224, 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-38089295:ctest-vn-82693657, 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-05-14 02:12:25,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0cd6a89-e58c-43bf-9888-5dc293e61c9e', 'name': 'ctest-vn-21862224', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['612b5f9a-5446-4727-9d4a-8b99d743d62b'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-21862224'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741']], 'subnet_ipam': [{'subnet_cidr': '105.6.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:12:23.338218', 'updated_at': '2026-05-14T02:12:23.652849'}}
2026-05-14 02:12:26,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19b9fc11-ba18-4b1a-8c25-50a1e020b446', 'name': 'ctest-vn-82693657', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9c071a8-cb51-4067-9fd4-35d0a1c18bdf'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-82693657'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741']], 'subnet_ipam': [{'subnet_cidr': '64.154.218.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:12:24.513046', 'updated_at': '2026-05-14T02:12:24.809460'}}
2026-05-14 02:12:26,574 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-05-14 02:12:26,970 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-05-14 02:12:27,062 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042
2026-05-14 02:12:27,124 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94
2026-05-14 02:12:27,219 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:27,290 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:27,352 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776
2026-05-14 02:12:27,412 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776
2026-05-14 02:12:27,479 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f3a61e28-b84c-4d03-af32-bc5717cd8c3c
2026-05-14 02:12:27,539 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 02:12:27,539 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:27,604 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776
2026-05-14 02:12:27,675 - INFO - Verified VN network id 11 for VN e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:27,675 - INFO - Verifications in API Server for VN ctest-vn-21862224 passed
2026-05-14 02:12:27,675 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:27,743 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776
2026-05-14 02:12:27,806 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776
2026-05-14 02:12:27,867 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f3a61e28-b84c-4d03-af32-bc5717cd8c3c
2026-05-14 02:12:27,985 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38089295', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16198720575215780799', 'uuid-lslong': '10991137980884065438'}, 'enable': 'true', 'created': '2026-05-14T02:12:23', 'last-modified': '2026-05-14T02:12:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.170321'}
2026-05-14 02:12:28,041 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 02:12:28,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21862224 passed
2026-05-14 02:12:28,042 - DEBUG - ====Verifying policy data for ctest-vn-21862224 in API_Server ======
2026-05-14 02:12:28,042 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-05-14 02:12:28,099 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042
2026-05-14 02:12:28,164 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94
2026-05-14 02:12:28,267 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e
2026-05-14 02:12:28,336 - DEBUG - ==>Verifying data for policy with id: ac25ec5f-ac04-4ac7-a902-320ae46f0942, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741']
2026-05-14 02:12:28,336 - INFO - VN ctest-vn-21862224 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 02:12:28,336 - DEBUG - Verifying the vn in opserver
2026-05-14 02:12:28,336 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224 virtual network link through opserver 10.0.0.241
2026-05-14 02:12:28,336 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks
2026-05-14 02:12:28,684 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks
2026-05-14 02:12:28,811 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224?flat'}
2026-05-14 02:12:28,811 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224 is found in opserver
2026-05-14 02:12:28,915 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 02:12:28,963 - DEBUG - VRF ids for VN ctest-vn-21862224: {}
2026-05-14 02:12:28,963 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-05-14 02:12:29,022 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042
2026-05-14 02:12:29,084 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94
2026-05-14 02:12:29,179 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:29,245 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:29,308 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334
2026-05-14 02:12:29,368 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334
2026-05-14 02:12:29,427 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/8a886931-f2de-4d70-a5c6-4f077edf1b0b
2026-05-14 02:12:29,483 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 02:12:29,483 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:29,549 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334
2026-05-14 02:12:29,620 - INFO - Verified VN network id 12 for VN 19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:29,621 - INFO - Verifications in API Server for VN ctest-vn-82693657 passed
2026-05-14 02:12:29,621 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:29,680 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334
2026-05-14 02:12:29,737 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334
2026-05-14 02:12:29,799 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/8a886931-f2de-4d70-a5c6-4f077edf1b0b
2026-05-14 02:12:29,912 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38089295', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1853789874706467610', 'uuid-lslong': '10098566395628401734'}, 'enable': 'true', 'created': '2026-05-14T02:12:24', 'last-modified': '2026-05-14T02:12:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.601518'}
2026-05-14 02:12:29,968 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 02:12:29,969 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82693657 passed
2026-05-14 02:12:29,969 - DEBUG - ====Verifying policy data for ctest-vn-82693657 in API_Server ======
2026-05-14 02:12:29,969 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-05-14 02:12:30,026 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042
2026-05-14 02:12:30,092 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94
2026-05-14 02:12:30,188 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446
2026-05-14 02:12:30,249 - DEBUG - ==>Verifying data for policy with id: ac25ec5f-ac04-4ac7-a902-320ae46f0942, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741']
2026-05-14 02:12:30,250 - INFO - VN ctest-vn-82693657 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 02:12:30,250 - DEBUG - Verifying the vn in opserver
2026-05-14 02:12:30,250 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657 virtual network link through opserver 10.0.0.241
2026-05-14 02:12:30,250 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks
2026-05-14 02:12:30,315 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657?flat'}
2026-05-14 02:12:30,315 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657 is found in opserver
2026-05-14 02:12:30,418 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 02:12:30,471 - DEBUG - VRF ids for VN ctest-vn-82693657: {}
2026-05-14 02:12:30,563 - DEBUG - Services list from nova: [