2026-06-11 15:42:32,190 - INFO - Domain Default found not creating
2026-06-11 15:42:32,335 - INFO - Project ctest-TestBasicPolicy-45067129 not found, creating it
2026-06-11 15:42:32,768 - INFO - Created Project:ctest-TestBasicPolicy-45067129, ID : dd963e03-267a-471f-b56b-fa9d753645e2
2026-06-11 15:42:34,293 - INFO - ================================================================================
2026-06-11 15:42:34,293 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-11 15:42:34,293 - 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-11 15:42:34,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-06-11 15:42:34,550 - INFO - Initial checks done. Running the testcase now
2026-06-11 15:42:34,550 - INFO -
2026-06-11 15:42:35,106 - DEBUG - Response for create_network : {'network': {'id': '562abeab-06fa-4c6a-8aca-a4aef040756a', 'name': 'ctest-vn-69792466', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-69792466'], 'port_security_enabled': True, 'description': ''}}
2026-06-11 15:42:35,318 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd21a347f-8998-4172-9e68-0db933aa3d34', 'name': '', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'network_id': '562abeab-06fa-4c6a-8aca-a4aef040756a', 'ip_version': 4, 'cidr': '120.186.178.64/26', 'allocation_pools': [{'start': '120.186.178.66', 'end': '120.186.178.126'}], 'gateway_ip': '120.186.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.186.178.66', 'tags': [], 'project_id': 'dd963e03267a471fb56bfa9d753645e2'}}
2026-06-11 15:42:35,334 - INFO - Created VN ctest-vn-69792466
2026-06-11 15:42:35,384 - DEBUG - VN ctest-vn-69792466 UUID is 562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:35,690 - DEBUG - Response for create_network : {'network': {'id': '1ff9ee14-bb3d-4976-a6d0-6ca66715f354', 'name': 'ctest-vn-87065430', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-87065430'], 'port_security_enabled': True, 'description': ''}}
2026-06-11 15:42:35,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fecf203-e44f-40ce-8cfb-89b298b7a233', 'name': '', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'network_id': '1ff9ee14-bb3d-4976-a6d0-6ca66715f354', 'ip_version': 4, 'cidr': '66.126.56.64/26', 'allocation_pools': [{'start': '66.126.56.66', 'end': '66.126.56.126'}], 'gateway_ip': '66.126.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.126.56.66', 'tags': [], 'project_id': 'dd963e03267a471fb56bfa9d753645e2'}}
2026-06-11 15:42:35,885 - INFO - Created VN ctest-vn-87065430
2026-06-11 15:42:35,936 - DEBUG - VN ctest-vn-87065430 UUID is 1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:36,080 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466, 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-45067129:ctest-vn-87065430, 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-11 15:42:36,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '562abeab-06fa-4c6a-8aca-a4aef040756a', 'name': 'ctest-vn-69792466', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d21a347f-8998-4172-9e68-0db933aa3d34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-69792466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231']], 'subnet_ipam': [{'subnet_cidr': '120.186.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-11 15:42:36,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ff9ee14-bb3d-4976-a6d0-6ca66715f354', 'name': 'ctest-vn-87065430', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fecf203-e44f-40ce-8cfb-89b298b7a233'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-87065430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231']], 'subnet_ipam': [{'subnet_cidr': '66.126.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-11 15:42:36,748 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 15:42:37,061 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 15:42:37,095 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6
2026-06-11 15:42:37,106 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2
2026-06-11 15:42:37,178 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:37,188 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:37,196 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f
2026-06-11 15:42:37,202 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f
2026-06-11 15:42:37,208 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/307ffb00-a984-4e01-962e-9bd68a046c64
2026-06-11 15:42:37,213 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-11 15:42:37,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:37,220 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f
2026-06-11 15:42:37,232 - INFO - Verified VN network id 12 for VN 562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:37,232 - INFO - Verifications in API Server for VN ctest-vn-69792466 passed
2026-06-11 15:42:37,232 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:37,240 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f
2026-06-11 15:42:37,245 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f
2026-06-11 15:42:37,250 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/307ffb00-a984-4e01-962e-9bd68a046c64
2026-06-11 15:42:37,260 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45067129', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6208984678049401962', 'uuid-lslong': '10000986993791628650'}, 'enable': 'true', 'created': '2026-06-11T15:42:35', 'last-modified': '2026-06-11T15:42:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917499'}
2026-06-11 15:42:37,265 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-11 15:42:37,265 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69792466 passed
2026-06-11 15:42:37,265 - DEBUG - ====Verifying policy data for ctest-vn-69792466 in API_Server ======
2026-06-11 15:42:37,265 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 15:42:37,270 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6
2026-06-11 15:42:37,279 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2
2026-06-11 15:42:37,350 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a
2026-06-11 15:42:37,360 - DEBUG - ==>Verifying data for policy with id: bc630975-0394-401d-89b2-124ee0753618, fqn: ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231']
2026-06-11 15:42:37,360 - INFO - VN ctest-vn-69792466 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-11 15:42:37,360 - DEBUG - Verifying the vn in opserver
2026-06-11 15:42:37,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466 virtual network link through opserver 10.0.0.33
2026-06-11 15:42:37,360 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-11 15:42:37,761 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-11 15:42:37,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466?flat'}
2026-06-11 15:42:37,824 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466 is found in opserver
2026-06-11 15:42:37,833 - DEBUG - Do not have enough data to verify VN in agent
2026-06-11 15:42:37,838 - DEBUG - VRF ids for VN ctest-vn-69792466: {}
2026-06-11 15:42:37,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 15:42:37,844 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6
2026-06-11 15:42:37,855 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2
2026-06-11 15:42:37,923 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:37,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:37,945 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f
2026-06-11 15:42:37,951 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f
2026-06-11 15:42:37,957 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ca59f291-9891-4f20-997a-e42d969bc423
2026-06-11 15:42:37,962 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-11 15:42:37,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:37,969 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f
2026-06-11 15:42:37,981 - INFO - Verified VN network id 13 for VN 1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:37,981 - INFO - Verifications in API Server for VN ctest-vn-87065430 passed
2026-06-11 15:42:37,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:37,989 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f
2026-06-11 15:42:37,996 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f
2026-06-11 15:42:38,001 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ca59f291-9891-4f20-997a-e42d969bc423
2026-06-11 15:42:38,011 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45067129', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2304134457184831862', 'uuid-lslong': '12020226867401716564'}, 'enable': 'true', 'created': '2026-06-11T15:42:35', 'last-modified': '2026-06-11T15:42:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448013'}
2026-06-11 15:42:38,016 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-11 15:42:38,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87065430 passed
2026-06-11 15:42:38,016 - DEBUG - ====Verifying policy data for ctest-vn-87065430 in API_Server ======
2026-06-11 15:42:38,016 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 15:42:38,020 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6
2026-06-11 15:42:38,029 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2
2026-06-11 15:42:38,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354
2026-06-11 15:42:38,110 - DEBUG - ==>Verifying data for policy with id: bc630975-0394-401d-89b2-124ee0753618, fqn: ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231']
2026-06-11 15:42:38,110 - INFO - VN ctest-vn-87065430 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-11 15:42:38,110 - DEBUG - Verifying the vn in opserver
2026-06-11 15:42:38,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430 virtual network link through opserver 10.0.0.33
2026-06-11 15:42:38,110 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-11 15:42:38,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430?flat'}
2026-06-11 15:42:38,120 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430 is found in opserver
2026-06-11 15:42:38,128 - DEBUG - Do not have enough data to verify VN in agent
2026-06-11 15:42:38,132 - DEBUG - VRF ids for VN ctest-vn-87065430: {}
2026-06-11 15:42:38,192 - DEBUG - Services list from nova: [