2026-08-14 14:32:49,621 - INFO - Domain Default found not creating
2026-08-14 14:32:49,820 - INFO - Project ctest-TestBasicPolicy-45897928 not found, creating it
2026-08-14 14:32:50,320 - INFO - Created Project:ctest-TestBasicPolicy-45897928, ID : 8a8f8b08-ba27-4d58-abd2-b19fe774f3f9
2026-08-14 14:32:51,909 - INFO - ================================================================================
2026-08-14 14:32:51,909 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-14 14:32:51,909 - 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-08-14 14:32:52,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with
2026-08-14 14:32:52,170 - INFO - Initial checks done. Running the testcase now
2026-08-14 14:32:52,170 - INFO -
2026-08-14 14:32:52,786 - DEBUG - Response for create_network : {'network': {'id': 'a1409bc1-478f-4252-9c40-9d41f5f6cdb8', 'name': 'ctest-vn-93272198', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-93272198'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 14:32:53,026 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd76bb417-7f92-49b0-a76d-2e76078ac834', 'name': '', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'network_id': 'a1409bc1-478f-4252-9c40-9d41f5f6cdb8', 'ip_version': 4, 'cidr': '27.237.245.0/26', 'allocation_pools': [{'start': '27.237.245.2', 'end': '27.237.245.62'}], 'gateway_ip': '27.237.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.237.245.2', 'tags': [], 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9'}}
2026-08-14 14:32:53,046 - INFO - Created VN ctest-vn-93272198
2026-08-14 14:32:53,099 - DEBUG - VN ctest-vn-93272198 UUID is a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:53,425 - DEBUG - Response for create_network : {'network': {'id': 'fbcb4178-9421-46b4-893a-f052991b31bb', 'name': 'ctest-vn-63901287', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-63901287'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 14:32:53,613 - DEBUG - Response for create_subnet : {'subnet': {'id': '3027973c-70ac-4482-a8a1-1b8af6e34d72', 'name': '', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'network_id': 'fbcb4178-9421-46b4-893a-f052991b31bb', 'ip_version': 4, 'cidr': '134.185.114.64/26', 'allocation_pools': [{'start': '134.185.114.66', 'end': '134.185.114.126'}], 'gateway_ip': '134.185.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.185.114.66', 'tags': [], 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9'}}
2026-08-14 14:32:53,630 - INFO - Created VN ctest-vn-63901287
2026-08-14 14:32:53,683 - DEBUG - VN ctest-vn-63901287 UUID is fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:53,802 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198, 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-45897928:ctest-vn-63901287, 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-08-14 14:32:54,116 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1409bc1-478f-4252-9c40-9d41f5f6cdb8', 'name': 'ctest-vn-93272198', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d76bb417-7f92-49b0-a76d-2e76078ac834'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-93272198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450']], 'subnet_ipam': [{'subnet_cidr': '27.237.245.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 14:32:54,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbcb4178-9421-46b4-893a-f052991b31bb', 'name': 'ctest-vn-63901287', 'tenant_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'project_id': '8a8f8b08ba274d58abd2b19fe774f3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3027973c-70ac-4482-a8a1-1b8af6e34d72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-vn-63901287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450']], 'subnet_ipam': [{'subnet_cidr': '134.185.114.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 14:32:54,519 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-14 14:32:54,839 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-14 14:32:54,869 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56
2026-08-14 14:32:54,882 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9
2026-08-14 14:32:54,957 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:54,970 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:54,979 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9
2026-08-14 14:32:54,987 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9
2026-08-14 14:32:54,995 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/956ab49d-986a-4a2a-ac8f-a143f4d984c0
2026-08-14 14:32:55,003 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 14:32:55,003 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:55,014 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9
2026-08-14 14:32:55,029 - INFO - Verified VN network id 12 for VN a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:55,030 - INFO - Verifications in API Server for VN ctest-vn-93272198 passed
2026-08-14 14:32:55,030 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:55,040 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9
2026-08-14 14:32:55,049 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/443ab7ee-e265-435f-9b59-a764a67629f9
2026-08-14 14:32:55,056 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/956ab49d-986a-4a2a-ac8f-a143f4d984c0
2026-08-14 14:32:55,069 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45897928', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11619458293047444050', 'uuid-lslong': '11259171975051267512'}, 'enable': 'true', 'created': '2026-08-14T14:32:52', 'last-modified': '2026-08-14T14:32:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984660'}
2026-08-14 14:32:55,076 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 14:32:55,076 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93272198 passed
2026-08-14 14:32:55,077 - DEBUG - ====Verifying policy data for ctest-vn-93272198 in API_Server ======
2026-08-14 14:32:55,077 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-14 14:32:55,082 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56
2026-08-14 14:32:55,095 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9
2026-08-14 14:32:55,173 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/a1409bc1-478f-4252-9c40-9d41f5f6cdb8
2026-08-14 14:32:55,183 - DEBUG - ==>Verifying data for policy with id: 6447bf39-7bbd-4dc3-90c7-b9492ce21153, fqn: ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450']
2026-08-14 14:32:55,183 - INFO - VN ctest-vn-93272198 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 14:32:55,183 - DEBUG - Verifying the vn in opserver
2026-08-14 14:32:55,184 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198 virtual network link through opserver 10.0.0.162
2026-08-14 14:32:55,184 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-08-14 14:32:55,513 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-08-14 14:32:55,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198?flat'}
2026-08-14 14:32:55,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-93272198 is found in opserver
2026-08-14 14:32:55,580 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 14:32:55,586 - DEBUG - VRF ids for VN ctest-vn-93272198: {}
2026-08-14 14:32:55,586 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-14 14:32:55,591 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56
2026-08-14 14:32:55,603 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9
2026-08-14 14:32:55,681 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:55,696 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:55,706 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec
2026-08-14 14:32:55,714 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec
2026-08-14 14:32:55,722 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e11817bb-be3f-4a9a-938e-4d2caac7aba3
2026-08-14 14:32:55,729 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-14 14:32:55,729 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:55,740 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec
2026-08-14 14:32:55,755 - INFO - Verified VN network id 13 for VN fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:55,755 - INFO - Verifications in API Server for VN ctest-vn-63901287 passed
2026-08-14 14:32:55,755 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:55,766 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec
2026-08-14 14:32:55,774 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/b346ae88-62d0-4f64-8737-61d2980083ec
2026-08-14 14:32:55,782 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e11817bb-be3f-4a9a-938e-4d2caac7aba3
2026-08-14 14:32:55,795 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45897928', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18143667509929264820', 'uuid-lslong': '9888480169392026043'}, 'enable': 'true', 'created': '2026-08-14T14:32:53', 'last-modified': '2026-08-14T14:32:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471091'}
2026-08-14 14:32:55,803 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-14 14:32:55,803 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63901287 passed
2026-08-14 14:32:55,803 - DEBUG - ====Verifying policy data for ctest-vn-63901287 in API_Server ======
2026-08-14 14:32:55,803 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-14 14:32:55,810 - DEBUG - Requesting: http://10.0.0.162:8082/domain/88d3cb76-5edf-4ed0-86e5-0ea9caa7bd56
2026-08-14 14:32:55,826 - DEBUG - Requesting: http://10.0.0.162:8082/project/8a8f8b08-ba27-4d58-abd2-b19fe774f3f9
2026-08-14 14:32:55,908 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/fbcb4178-9421-46b4-893a-f052991b31bb
2026-08-14 14:32:55,919 - DEBUG - ==>Verifying data for policy with id: 6447bf39-7bbd-4dc3-90c7-b9492ce21153, fqn: ['default-domain', 'ctest-TestBasicPolicy-45897928', 'ctest-policy-allow-all-41494450']
2026-08-14 14:32:55,919 - INFO - VN ctest-vn-63901287 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 14:32:55,919 - DEBUG - Verifying the vn in opserver
2026-08-14 14:32:55,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287 virtual network link through opserver 10.0.0.162
2026-08-14 14:32:55,919 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-08-14 14:32:55,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287?flat'}
2026-08-14 14:32:55,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45897928:ctest-vn-63901287 is found in opserver
2026-08-14 14:32:55,943 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 14:32:55,951 - DEBUG - VRF ids for VN ctest-vn-63901287: {}
2026-08-14 14:32:56,016 - DEBUG - Services list from nova: [