2026-05-14 02:23:17,031 - INFO - Domain Default found not creating
2026-05-14 02:23:17,193 - INFO - Project ctest-TestBasicPolicy-51958914 not found, creating it
2026-05-14 02:23:17,640 - INFO - Created Project:ctest-TestBasicPolicy-51958914, ID : 2c1c40a0-2423-4cb0-9aa3-9d7da73cb964
2026-05-14 02:23:19,085 - INFO - ================================================================================
2026-05-14 02:23:19,085 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-14 02:23:19,085 - 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:23:19,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-05-14 02:23:19,341 - INFO - Initial checks done. Running the testcase now
2026-05-14 02:23:19,341 - INFO -
2026-05-14 02:23:19,873 - DEBUG - Response for create_network : {'network': {'id': '32c96b37-ba38-4dad-b825-1850a829471a', 'name': 'ctest-vn-12439603', 'tenant_id': '2c1c40a024234cb09aa39d7da73cb964', 'project_id': '2c1c40a024234cb09aa39d7da73cb964', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-vn-12439603'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 02:23:20,070 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baca969b-229a-4668-8077-fd94bf19ec1f', 'name': '', 'tenant_id': '2c1c40a024234cb09aa39d7da73cb964', 'network_id': '32c96b37-ba38-4dad-b825-1850a829471a', 'ip_version': 4, 'cidr': '95.150.5.64/26', 'allocation_pools': [{'start': '95.150.5.66', 'end': '95.150.5.126'}], 'gateway_ip': '95.150.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.150.5.66', 'tags': [], 'project_id': '2c1c40a024234cb09aa39d7da73cb964'}}
2026-05-14 02:23:20,085 - INFO - Created VN ctest-vn-12439603
2026-05-14 02:23:20,137 - DEBUG - VN ctest-vn-12439603 UUID is 32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:20,590 - DEBUG - Response for create_network : {'network': {'id': '47eadd08-75f6-43ba-b8f4-a0aa0bc3998e', 'name': 'ctest-vn-58182433', 'tenant_id': '2c1c40a024234cb09aa39d7da73cb964', 'project_id': '2c1c40a024234cb09aa39d7da73cb964', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-vn-58182433'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 02:23:20,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '16ca2a6c-10ea-44f0-83fb-6516c7b07376', 'name': '', 'tenant_id': '2c1c40a024234cb09aa39d7da73cb964', 'network_id': '47eadd08-75f6-43ba-b8f4-a0aa0bc3998e', 'ip_version': 4, 'cidr': '116.218.223.128/26', 'allocation_pools': [{'start': '116.218.223.130', 'end': '116.218.223.190'}], 'gateway_ip': '116.218.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.218.223.130', 'tags': [], 'project_id': '2c1c40a024234cb09aa39d7da73cb964'}}
2026-05-14 02:23:20,895 - INFO - Created VN ctest-vn-58182433
2026-05-14 02:23:20,945 - DEBUG - VN ctest-vn-58182433 UUID is 47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:21,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-12439603, 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-51958914:ctest-vn-58182433, 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:23:21,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32c96b37-ba38-4dad-b825-1850a829471a', 'name': 'ctest-vn-12439603', 'tenant_id': '2c1c40a024234cb09aa39d7da73cb964', 'project_id': '2c1c40a024234cb09aa39d7da73cb964', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['baca969b-229a-4668-8077-fd94bf19ec1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-vn-12439603'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-policy-allow-all-29255334']], 'subnet_ipam': [{'subnet_cidr': '95.150.5.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 02:23:21,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47eadd08-75f6-43ba-b8f4-a0aa0bc3998e', 'name': 'ctest-vn-58182433', 'tenant_id': '2c1c40a024234cb09aa39d7da73cb964', 'project_id': '2c1c40a024234cb09aa39d7da73cb964', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16ca2a6c-10ea-44f0-83fb-6516c7b07376'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-vn-58182433'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-policy-allow-all-29255334']], 'subnet_ipam': [{'subnet_cidr': '116.218.223.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 02:23:21,749 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-14 02:23:22,040 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-14 02:23:22,066 - DEBUG - Requesting: http://10.0.0.19:8082/domain/a23dcd57-2c7b-4927-a8b1-473a86091eff
2026-05-14 02:23:22,077 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c1c40a0-2423-4cb0-9aa3-9d7da73cb964
2026-05-14 02:23:22,147 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:22,156 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:22,165 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e0b29fe8-91e5-496a-b6fb-8c9469fd8798
2026-05-14 02:23:22,172 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e0b29fe8-91e5-496a-b6fb-8c9469fd8798
2026-05-14 02:23:22,177 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f69d3c3c-4041-45f6-bfab-9a6249ef3bc0
2026-05-14 02:23:22,181 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 02:23:22,181 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:22,188 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e0b29fe8-91e5-496a-b6fb-8c9469fd8798
2026-05-14 02:23:22,200 - INFO - Verified VN network id 11 for VN 32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:22,200 - INFO - Verifications in API Server for VN ctest-vn-12439603 passed
2026-05-14 02:23:22,200 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:22,208 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e0b29fe8-91e5-496a-b6fb-8c9469fd8798
2026-05-14 02:23:22,213 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e0b29fe8-91e5-496a-b6fb-8c9469fd8798
2026-05-14 02:23:22,218 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f69d3c3c-4041-45f6-bfab-9a6249ef3bc0
2026-05-14 02:23:22,227 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-12439603', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51958914', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3659574059306864045', 'uuid-lslong': '13269038611814762266'}, 'enable': 'true', 'created': '2026-05-14T02:23:19', 'last-modified': '2026-05-14T02:23:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870415'}
2026-05-14 02:23:22,233 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 02:23:22,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12439603 passed
2026-05-14 02:23:22,233 - DEBUG - ====Verifying policy data for ctest-vn-12439603 in API_Server ======
2026-05-14 02:23:22,233 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-14 02:23:22,237 - DEBUG - Requesting: http://10.0.0.19:8082/domain/a23dcd57-2c7b-4927-a8b1-473a86091eff
2026-05-14 02:23:22,246 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c1c40a0-2423-4cb0-9aa3-9d7da73cb964
2026-05-14 02:23:22,317 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/32c96b37-ba38-4dad-b825-1850a829471a
2026-05-14 02:23:22,324 - DEBUG - ==>Verifying data for policy with id: c5328367-ce27-4d42-91fe-180984c69f99, fqn: ['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-policy-allow-all-29255334']
2026-05-14 02:23:22,324 - INFO - VN ctest-vn-12439603 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 02:23:22,324 - DEBUG - Verifying the vn in opserver
2026-05-14 02:23:22,325 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-12439603 virtual network link through opserver 10.0.0.19
2026-05-14 02:23:22,325 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-14 02:23:22,616 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-14 02:23:22,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-12439603', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-12439603?flat'}
2026-05-14 02:23:22,678 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-12439603 is found in opserver
2026-05-14 02:23:22,686 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 02:23:22,690 - DEBUG - VRF ids for VN ctest-vn-12439603: {}
2026-05-14 02:23:22,690 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-14 02:23:22,694 - DEBUG - Requesting: http://10.0.0.19:8082/domain/a23dcd57-2c7b-4927-a8b1-473a86091eff
2026-05-14 02:23:22,702 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c1c40a0-2423-4cb0-9aa3-9d7da73cb964
2026-05-14 02:23:22,768 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:22,778 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:22,786 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5e06c97b-1858-42e1-8c6c-f329473c4828
2026-05-14 02:23:22,792 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5e06c97b-1858-42e1-8c6c-f329473c4828
2026-05-14 02:23:22,797 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/92738a2b-ee22-413e-bbaa-31e913424ea9
2026-05-14 02:23:22,803 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 02:23:22,804 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:22,811 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5e06c97b-1858-42e1-8c6c-f329473c4828
2026-05-14 02:23:22,822 - INFO - Verified VN network id 12 for VN 47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:22,822 - INFO - Verifications in API Server for VN ctest-vn-58182433 passed
2026-05-14 02:23:22,822 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:22,829 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5e06c97b-1858-42e1-8c6c-f329473c4828
2026-05-14 02:23:22,835 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5e06c97b-1858-42e1-8c6c-f329473c4828
2026-05-14 02:23:22,840 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/92738a2b-ee22-413e-bbaa-31e913424ea9
2026-05-14 02:23:22,850 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-58182433', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51958914', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5182197349651727290', 'uuid-lslong': '13327453849498392974'}, 'enable': 'true', 'created': '2026-05-14T02:23:20', 'last-modified': '2026-05-14T02:23:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274559'}
2026-05-14 02:23:22,854 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 02:23:22,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58182433 passed
2026-05-14 02:23:22,855 - DEBUG - ====Verifying policy data for ctest-vn-58182433 in API_Server ======
2026-05-14 02:23:22,855 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-14 02:23:22,859 - DEBUG - Requesting: http://10.0.0.19:8082/domain/a23dcd57-2c7b-4927-a8b1-473a86091eff
2026-05-14 02:23:22,869 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c1c40a0-2423-4cb0-9aa3-9d7da73cb964
2026-05-14 02:23:22,937 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47eadd08-75f6-43ba-b8f4-a0aa0bc3998e
2026-05-14 02:23:22,945 - DEBUG - ==>Verifying data for policy with id: c5328367-ce27-4d42-91fe-180984c69f99, fqn: ['default-domain', 'ctest-TestBasicPolicy-51958914', 'ctest-policy-allow-all-29255334']
2026-05-14 02:23:22,945 - INFO - VN ctest-vn-58182433 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 02:23:22,945 - DEBUG - Verifying the vn in opserver
2026-05-14 02:23:22,945 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-58182433 virtual network link through opserver 10.0.0.19
2026-05-14 02:23:22,945 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-14 02:23:22,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-58182433', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-58182433?flat'}
2026-05-14 02:23:22,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51958914:ctest-vn-58182433 is found in opserver
2026-05-14 02:23:22,961 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 02:23:22,965 - DEBUG - VRF ids for VN ctest-vn-58182433: {}
2026-05-14 02:23:23,017 - DEBUG - Services list from nova: [