2026-02-20 18:47:18,665 - INFO - Domain Default found not creating
2026-02-20 18:47:18,829 - INFO - Project ctest-TestBasicPolicy-82680043 not found, creating it
2026-02-20 18:47:19,317 - INFO - Created Project:ctest-TestBasicPolicy-82680043, ID : 55a66702-e78d-4255-bf65-b5b6b6a25516
2026-02-20 18:47:20,798 - INFO - ================================================================================
2026-02-20 18:47:20,798 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 18:47:20,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-02-20 18:47:21,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-20 18:47:21,053 - INFO - Initial checks done. Running the testcase now
2026-02-20 18:47:21,053 - INFO -
2026-02-20 18:47:21,619 - DEBUG - Response for create_network : {'network': {'id': 'abdfa113-b40a-4fb7-9635-1f46dd363023', 'name': 'ctest-vn-88435062', 'tenant_id': '55a66702e78d4255bf65b5b6b6a25516', 'project_id': '55a66702e78d4255bf65b5b6b6a25516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-vn-88435062'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 18:47:21,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '481c97bb-76a8-4662-9f24-774185985453', 'name': '', 'tenant_id': '55a66702e78d4255bf65b5b6b6a25516', 'network_id': 'abdfa113-b40a-4fb7-9635-1f46dd363023', 'ip_version': 4, 'cidr': '171.183.196.128/26', 'allocation_pools': [{'start': '171.183.196.130', 'end': '171.183.196.190'}], 'gateway_ip': '171.183.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.183.196.130', 'tags': [], 'project_id': '55a66702e78d4255bf65b5b6b6a25516'}}
2026-02-20 18:47:21,842 - INFO - Created VN ctest-vn-88435062
2026-02-20 18:47:21,895 - DEBUG - VN ctest-vn-88435062 UUID is abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:22,376 - DEBUG - Response for create_network : {'network': {'id': '26bc12b2-87f3-494a-b42b-30fe85a59de3', 'name': 'ctest-vn-07628671', 'tenant_id': '55a66702e78d4255bf65b5b6b6a25516', 'project_id': '55a66702e78d4255bf65b5b6b6a25516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-vn-07628671'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 18:47:22,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd60543b5-be33-47ac-94be-0df5afab2e36', 'name': '', 'tenant_id': '55a66702e78d4255bf65b5b6b6a25516', 'network_id': '26bc12b2-87f3-494a-b42b-30fe85a59de3', 'ip_version': 4, 'cidr': '129.97.124.192/26', 'allocation_pools': [{'start': '129.97.124.194', 'end': '129.97.124.254'}], 'gateway_ip': '129.97.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.97.124.194', 'tags': [], 'project_id': '55a66702e78d4255bf65b5b6b6a25516'}}
2026-02-20 18:47:22,770 - INFO - Created VN ctest-vn-07628671
2026-02-20 18:47:22,823 - DEBUG - VN ctest-vn-07628671 UUID is 26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:22,943 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-88435062, 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-82680043:ctest-vn-07628671, 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-02-20 18:47:23,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abdfa113-b40a-4fb7-9635-1f46dd363023', 'name': 'ctest-vn-88435062', 'tenant_id': '55a66702e78d4255bf65b5b6b6a25516', 'project_id': '55a66702e78d4255bf65b5b6b6a25516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['481c97bb-76a8-4662-9f24-774185985453'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-vn-88435062'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-policy-allow-all-66802656']], 'subnet_ipam': [{'subnet_cidr': '171.183.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 18:47:23,474 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26bc12b2-87f3-494a-b42b-30fe85a59de3', 'name': 'ctest-vn-07628671', 'tenant_id': '55a66702e78d4255bf65b5b6b6a25516', 'project_id': '55a66702e78d4255bf65b5b6b6a25516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d60543b5-be33-47ac-94be-0df5afab2e36'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-vn-07628671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-policy-allow-all-66802656']], 'subnet_ipam': [{'subnet_cidr': '129.97.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 18:47:23,639 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 18:47:23,939 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 18:47:23,972 - DEBUG - Requesting: http://10.0.0.38:8082/domain/624b04b5-ee43-4e4b-a77c-a260082ed905
2026-02-20 18:47:23,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a66702-e78d-4255-bf65-b5b6b6a25516
2026-02-20 18:47:24,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:24,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:24,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e77f24f1-1cc2-485d-9962-8cb406a80c03
2026-02-20 18:47:24,077 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e77f24f1-1cc2-485d-9962-8cb406a80c03
2026-02-20 18:47:24,084 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86fff683-675b-4efc-a51c-bcf2e10e6f41
2026-02-20 18:47:24,091 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 18:47:24,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:24,101 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e77f24f1-1cc2-485d-9962-8cb406a80c03
2026-02-20 18:47:24,116 - INFO - Verified VN network id 12 for VN abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:24,116 - INFO - Verifications in API Server for VN ctest-vn-88435062 passed
2026-02-20 18:47:24,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:24,125 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e77f24f1-1cc2-485d-9962-8cb406a80c03
2026-02-20 18:47:24,131 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e77f24f1-1cc2-485d-9962-8cb406a80c03
2026-02-20 18:47:24,138 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86fff683-675b-4efc-a51c-bcf2e10e6f41
2026-02-20 18:47:24,149 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-88435062', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82680043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12384794606289178551', 'uuid-lslong': '10823591668674342947'}, 'enable': 'true', 'created': '2026-02-20T18:47:21', 'last-modified': '2026-02-20T18:47:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936767'}
2026-02-20 18:47:24,155 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 18:47:24,155 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88435062 passed
2026-02-20 18:47:24,155 - DEBUG - ====Verifying policy data for ctest-vn-88435062 in API_Server ======
2026-02-20 18:47:24,155 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 18:47:24,160 - DEBUG - Requesting: http://10.0.0.38:8082/domain/624b04b5-ee43-4e4b-a77c-a260082ed905
2026-02-20 18:47:24,171 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a66702-e78d-4255-bf65-b5b6b6a25516
2026-02-20 18:47:24,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abdfa113-b40a-4fb7-9635-1f46dd363023
2026-02-20 18:47:24,248 - DEBUG - ==>Verifying data for policy with id: c67cf775-1cb7-4782-b4e2-3904eb0b2af9, fqn: ['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-policy-allow-all-66802656']
2026-02-20 18:47:24,248 - INFO - VN ctest-vn-88435062 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 18:47:24,248 - DEBUG - Verifying the vn in opserver
2026-02-20 18:47:24,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-88435062 virtual network link through opserver 10.0.0.38
2026-02-20 18:47:24,248 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-20 18:47:24,542 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-20 18:47:24,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-88435062', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-88435062?flat'}
2026-02-20 18:47:24,602 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-88435062 is found in opserver
2026-02-20 18:47:24,613 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 18:47:24,618 - DEBUG - VRF ids for VN ctest-vn-88435062: {}
2026-02-20 18:47:24,618 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 18:47:24,623 - DEBUG - Requesting: http://10.0.0.38:8082/domain/624b04b5-ee43-4e4b-a77c-a260082ed905
2026-02-20 18:47:24,632 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a66702-e78d-4255-bf65-b5b6b6a25516
2026-02-20 18:47:24,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:24,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:24,720 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/605403e1-2d7b-4c4a-90a4-9f621017c51d
2026-02-20 18:47:24,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/605403e1-2d7b-4c4a-90a4-9f621017c51d
2026-02-20 18:47:24,734 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/427a4abf-eaa2-4684-9d15-57972ad8f38a
2026-02-20 18:47:24,742 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 18:47:24,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:24,751 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/605403e1-2d7b-4c4a-90a4-9f621017c51d
2026-02-20 18:47:24,765 - INFO - Verified VN network id 13 for VN 26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:24,765 - INFO - Verifications in API Server for VN ctest-vn-07628671 passed
2026-02-20 18:47:24,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:24,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/605403e1-2d7b-4c4a-90a4-9f621017c51d
2026-02-20 18:47:24,779 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/605403e1-2d7b-4c4a-90a4-9f621017c51d
2026-02-20 18:47:24,785 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/427a4abf-eaa2-4684-9d15-57972ad8f38a
2026-02-20 18:47:24,795 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-07628671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82680043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2791126427057211722', 'uuid-lslong': '12982524220547636707'}, 'enable': 'true', 'created': '2026-02-20T18:47:22', 'last-modified': '2026-02-20T18:47:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343226'}
2026-02-20 18:47:24,801 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 18:47:24,801 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07628671 passed
2026-02-20 18:47:24,801 - DEBUG - ====Verifying policy data for ctest-vn-07628671 in API_Server ======
2026-02-20 18:47:24,801 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 18:47:24,806 - DEBUG - Requesting: http://10.0.0.38:8082/domain/624b04b5-ee43-4e4b-a77c-a260082ed905
2026-02-20 18:47:24,816 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a66702-e78d-4255-bf65-b5b6b6a25516
2026-02-20 18:47:24,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26bc12b2-87f3-494a-b42b-30fe85a59de3
2026-02-20 18:47:24,902 - DEBUG - ==>Verifying data for policy with id: c67cf775-1cb7-4782-b4e2-3904eb0b2af9, fqn: ['default-domain', 'ctest-TestBasicPolicy-82680043', 'ctest-policy-allow-all-66802656']
2026-02-20 18:47:24,902 - INFO - VN ctest-vn-07628671 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 18:47:24,902 - DEBUG - Verifying the vn in opserver
2026-02-20 18:47:24,902 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-07628671 virtual network link through opserver 10.0.0.38
2026-02-20 18:47:24,902 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-20 18:47:24,912 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-07628671', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-07628671?flat'}
2026-02-20 18:47:24,912 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82680043:ctest-vn-07628671 is found in opserver
2026-02-20 18:47:24,921 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 18:47:24,925 - DEBUG - VRF ids for VN ctest-vn-07628671: {}
2026-02-20 18:47:24,982 - DEBUG - Services list from nova: [