2026-03-19 02:13:15,347 - INFO - Reading existing Domain with UUID 935bc1a1-2451-4f6c-b0bc-2e43d3120885
2026-03-19 02:13:15,358 - INFO - Using existing domain ['admin_domain'](935bc1a1-2451-4f6c-b0bc-2e43d3120885)
2026-03-19 02:13:15,575 - INFO - Project ctest-TestBasicPolicy-81793372 not found, creating it
2026-03-19 02:13:16,101 - INFO - Created Project:ctest-TestBasicPolicy-81793372, ID : 0174d580-1d77-4b15-8f9b-aacd07b1dac1
2026-03-19 02:13:17,798 - INFO - ================================================================================
2026-03-19 02:13:17,798 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-19 02:13:17,798 - 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-19 02:13:18,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-03-19 02:13:18,183 - INFO - Initial checks done. Running the testcase now
2026-03-19 02:13:18,183 - INFO -
2026-03-19 02:13:18,955 - DEBUG - Response for create_network : {'network': {'id': 'f3b846e2-8ce0-461b-9416-10661dd7f3a4', 'name': 'ctest-vn-42469681', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-42469681'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-03-19 02:13:19,213 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e190129b-f107-4d69-a8dc-8d4f1745686f', 'name': '', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'network_id': 'f3b846e2-8ce0-461b-9416-10661dd7f3a4', 'ip_version': 4, 'cidr': '43.123.62.0/26', 'allocation_pools': [{'start': '43.123.62.2', 'end': '43.123.62.62'}], 'gateway_ip': '43.123.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-19T02:13:19.121256', 'updated_at': '2026-03-19T02:13:19.121256', 'dns_server_address': '43.123.62.2', 'tags': [], 'project_id': '0174d5801d774b158f9baacd07b1dac1'}}
2026-03-19 02:13:19,279 - INFO - Created VN ctest-vn-42469681
2026-03-19 02:13:19,333 - DEBUG - VN ctest-vn-42469681 UUID is f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:19,813 - DEBUG - Response for create_network : {'network': {'id': '6c750b1f-1192-4e79-aa74-b9ba43d95b5f', 'name': 'ctest-vn-79834661', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-79834661'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-03-19 02:13:20,050 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd8ffcff-c61a-4801-998e-c904396d7b4e', 'name': '', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'network_id': '6c750b1f-1192-4e79-aa74-b9ba43d95b5f', 'ip_version': 4, 'cidr': '182.200.5.192/26', 'allocation_pools': [{'start': '182.200.5.194', 'end': '182.200.5.254'}], 'gateway_ip': '182.200.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-19T02:13:19.953058', 'updated_at': '2026-03-19T02:13:19.953058', 'dns_server_address': '182.200.5.194', 'tags': [], 'project_id': '0174d5801d774b158f9baacd07b1dac1'}}
2026-03-19 02:13:20,115 - INFO - Created VN ctest-vn-79834661
2026-03-19 02:13:20,169 - DEBUG - VN ctest-vn-79834661 UUID is 6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:20,381 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681, 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-81793372:ctest-vn-79834661, 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-19 02:13:20,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3b846e2-8ce0-461b-9416-10661dd7f3a4', 'name': 'ctest-vn-42469681', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e190129b-f107-4d69-a8dc-8d4f1745686f'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-42469681'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525']], 'subnet_ipam': [{'subnet_cidr': '43.123.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-19T02:13:18.871711', 'updated_at': '2026-03-19T02:13:19.134226'}}
2026-03-19 02:13:21,160 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c750b1f-1192-4e79-aa74-b9ba43d95b5f', 'name': 'ctest-vn-79834661', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd8ffcff-c61a-4801-998e-c904396d7b4e'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-79834661'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525']], 'subnet_ipam': [{'subnet_cidr': '182.200.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-19T02:13:19.744257', 'updated_at': '2026-03-19T02:13:19.964939'}}
2026-03-19 02:13:21,365 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-03-19 02:13:21,718 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-03-19 02:13:21,797 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885
2026-03-19 02:13:21,857 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1
2026-03-19 02:13:21,934 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:21,991 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:22,046 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a
2026-03-19 02:13:22,101 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a
2026-03-19 02:13:22,154 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/abb1202f-9474-4770-9ee1-7325ccdcd20f
2026-03-19 02:13:22,206 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 02:13:22,206 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:22,262 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a
2026-03-19 02:13:22,322 - INFO - Verified VN network id 11 for VN f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:22,322 - INFO - Verifications in API Server for VN ctest-vn-42469681 passed
2026-03-19 02:13:22,322 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:22,379 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a
2026-03-19 02:13:22,434 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a
2026-03-19 02:13:22,493 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/abb1202f-9474-4770-9ee1-7325ccdcd20f
2026-03-19 02:13:22,598 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81793372', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17561864685771310619', 'uuid-lslong': '10670734397874369444'}, 'enable': 'true', 'created': '2026-03-19T02:13:18', 'last-modified': '2026-03-19T02:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.824334'}
2026-03-19 02:13:22,651 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 02:13:22,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42469681 passed
2026-03-19 02:13:22,651 - DEBUG - ====Verifying policy data for ctest-vn-42469681 in API_Server ======
2026-03-19 02:13:22,651 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-03-19 02:13:22,701 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885
2026-03-19 02:13:22,758 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1
2026-03-19 02:13:22,834 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4
2026-03-19 02:13:22,891 - DEBUG - ==>Verifying data for policy with id: 8fb9c033-d204-40d2-9b7a-d897aa104448, fqn: ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525']
2026-03-19 02:13:22,891 - INFO - VN ctest-vn-42469681 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 02:13:22,891 - DEBUG - Verifying the vn in opserver
2026-03-19 02:13:22,891 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681 virtual network link through opserver 10.0.0.129
2026-03-19 02:13:22,891 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-03-19 02:13:23,238 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-03-19 02:13:23,365 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681?flat'}
2026-03-19 02:13:23,365 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681 is found in opserver
2026-03-19 02:13:23,466 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 02:13:23,517 - DEBUG - VRF ids for VN ctest-vn-42469681: {}
2026-03-19 02:13:23,517 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-03-19 02:13:23,569 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885
2026-03-19 02:13:23,626 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1
2026-03-19 02:13:23,702 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:23,758 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:23,818 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9
2026-03-19 02:13:23,874 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9
2026-03-19 02:13:23,930 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/e1b1aacc-8c45-44bc-9e98-885ad2b7645e
2026-03-19 02:13:23,981 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 02:13:23,982 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:24,038 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9
2026-03-19 02:13:24,103 - INFO - Verified VN network id 12 for VN 6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:24,103 - INFO - Verifications in API Server for VN ctest-vn-79834661 passed
2026-03-19 02:13:24,103 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:24,160 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9
2026-03-19 02:13:24,214 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9
2026-03-19 02:13:24,266 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/e1b1aacc-8c45-44bc-9e98-885ad2b7645e
2026-03-19 02:13:24,374 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81793372', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7815164956438056569', 'uuid-lslong': '12282646293399559007'}, 'enable': 'true', 'created': '2026-03-19T02:13:19', 'last-modified': '2026-03-19T02:13:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.236944'}
2026-03-19 02:13:24,423 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 02:13:24,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79834661 passed
2026-03-19 02:13:24,423 - DEBUG - ====Verifying policy data for ctest-vn-79834661 in API_Server ======
2026-03-19 02:13:24,423 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-03-19 02:13:24,473 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885
2026-03-19 02:13:24,530 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1
2026-03-19 02:13:24,610 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f
2026-03-19 02:13:24,670 - DEBUG - ==>Verifying data for policy with id: 8fb9c033-d204-40d2-9b7a-d897aa104448, fqn: ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525']
2026-03-19 02:13:24,670 - INFO - VN ctest-vn-79834661 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 02:13:24,670 - DEBUG - Verifying the vn in opserver
2026-03-19 02:13:24,671 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661 virtual network link through opserver 10.0.0.129
2026-03-19 02:13:24,671 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-03-19 02:13:24,726 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661?flat'}
2026-03-19 02:13:24,726 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661 is found in opserver
2026-03-19 02:13:24,826 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 02:13:24,877 - DEBUG - VRF ids for VN ctest-vn-79834661: {}
2026-03-19 02:13:24,951 - DEBUG - Services list from nova: [