2026-02-20 09:33:19,260 - INFO - Domain Default found not creating
2026-02-20 09:33:19,441 - INFO - Project ctest-TestBasicPolicy-45423111 not found, creating it
2026-02-20 09:33:19,935 - INFO - Created Project:ctest-TestBasicPolicy-45423111, ID : a6f1f6b7-bbf1-44ca-8469-02a2e704fc05
2026-02-20 09:33:21,479 - INFO - ================================================================================
2026-02-20 09:33:21,479 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 09:33:21,480 - 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 09:33:21,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-02-20 09:33:21,735 - INFO - Initial checks done. Running the testcase now
2026-02-20 09:33:21,736 - INFO -
2026-02-20 09:33:22,302 - DEBUG - Response for create_network : {'network': {'id': 'a281041c-f792-4d6c-990a-d17b2bba60f4', 'name': 'ctest-vn-78067466', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-78067466'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:33:22,537 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a87a3b3c-ce8d-4333-b29f-090a645b2af9', 'name': '', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'network_id': 'a281041c-f792-4d6c-990a-d17b2bba60f4', 'ip_version': 4, 'cidr': '3.20.24.0/26', 'allocation_pools': [{'start': '3.20.24.2', 'end': '3.20.24.62'}], 'gateway_ip': '3.20.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.20.24.2', 'tags': [], 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05'}}
2026-02-20 09:33:22,557 - INFO - Created VN ctest-vn-78067466
2026-02-20 09:33:22,609 - DEBUG - VN ctest-vn-78067466 UUID is a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:22,908 - DEBUG - Response for create_network : {'network': {'id': '41352ea6-c32d-4605-8b90-428599fc6f9d', 'name': 'ctest-vn-92741610', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-92741610'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:33:23,138 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c5ecf8a-aae6-469c-bbbb-cffaec924922', 'name': '', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'network_id': '41352ea6-c32d-4605-8b90-428599fc6f9d', 'ip_version': 4, 'cidr': '51.173.66.128/26', 'allocation_pools': [{'start': '51.173.66.130', 'end': '51.173.66.190'}], 'gateway_ip': '51.173.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.173.66.130', 'tags': [], 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05'}}
2026-02-20 09:33:23,158 - INFO - Created VN ctest-vn-92741610
2026-02-20 09:33:23,213 - DEBUG - VN ctest-vn-92741610 UUID is 41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:23,326 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466, 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-45423111:ctest-vn-92741610, 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 09:33:23,621 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a281041c-f792-4d6c-990a-d17b2bba60f4', 'name': 'ctest-vn-78067466', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a87a3b3c-ce8d-4333-b29f-090a645b2af9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-78067466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145']], 'subnet_ipam': [{'subnet_cidr': '3.20.24.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:33:23,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41352ea6-c32d-4605-8b90-428599fc6f9d', 'name': 'ctest-vn-92741610', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c5ecf8a-aae6-469c-bbbb-cffaec924922'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-92741610'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145']], 'subnet_ipam': [{'subnet_cidr': '51.173.66.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:33:23,997 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-20 09:33:24,298 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-20 09:33:24,334 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf
2026-02-20 09:33:24,350 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05
2026-02-20 09:33:24,425 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:24,437 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:24,446 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea
2026-02-20 09:33:24,454 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea
2026-02-20 09:33:24,461 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2b9a901e-bbe5-4fcb-b8b1-e6ce9fde5afb
2026-02-20 09:33:24,469 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 09:33:24,469 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:24,478 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea
2026-02-20 09:33:24,492 - INFO - Verified VN network id 12 for VN a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:24,492 - INFO - Verifications in API Server for VN ctest-vn-78067466 passed
2026-02-20 09:33:24,492 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:24,502 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea
2026-02-20 09:33:24,509 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea
2026-02-20 09:33:24,517 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2b9a901e-bbe5-4fcb-b8b1-e6ce9fde5afb
2026-02-20 09:33:24,531 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45423111', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11709645028599156076', 'uuid-lslong': '11027856964514898164'}, 'enable': 'true', 'created': '2026-02-20T09:33:22', 'last-modified': '2026-02-20T09:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933765'}
2026-02-20 09:33:24,539 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 09:33:24,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78067466 passed
2026-02-20 09:33:24,539 - DEBUG - ====Verifying policy data for ctest-vn-78067466 in API_Server ======
2026-02-20 09:33:24,540 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-20 09:33:24,546 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf
2026-02-20 09:33:24,557 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05
2026-02-20 09:33:24,627 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4
2026-02-20 09:33:24,638 - DEBUG - ==>Verifying data for policy with id: 17b49ff3-c960-4fa9-b5ee-a6b06ac03a32, fqn: ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145']
2026-02-20 09:33:24,638 - INFO - VN ctest-vn-78067466 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 09:33:24,638 - DEBUG - Verifying the vn in opserver
2026-02-20 09:33:24,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466 virtual network link through opserver 10.0.0.242
2026-02-20 09:33:24,638 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-20 09:33:24,939 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-20 09:33:25,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466?flat'}
2026-02-20 09:33:25,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466 is found in opserver
2026-02-20 09:33:25,026 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 09:33:25,031 - DEBUG - VRF ids for VN ctest-vn-78067466: {}
2026-02-20 09:33:25,031 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-20 09:33:25,037 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf
2026-02-20 09:33:25,051 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05
2026-02-20 09:33:25,124 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:25,136 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:25,146 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a
2026-02-20 09:33:25,153 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a
2026-02-20 09:33:25,160 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4f9d1fb4-4274-42ff-9ec4-52794c23a5c2
2026-02-20 09:33:25,168 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 09:33:25,168 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:25,177 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a
2026-02-20 09:33:25,190 - INFO - Verified VN network id 13 for VN 41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:25,190 - INFO - Verifications in API Server for VN ctest-vn-92741610 passed
2026-02-20 09:33:25,190 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:25,198 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a
2026-02-20 09:33:25,205 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a
2026-02-20 09:33:25,212 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4f9d1fb4-4274-42ff-9ec4-52794c23a5c2
2026-02-20 09:33:25,224 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45423111', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4698713080004953605', 'uuid-lslong': '10056611109499858845'}, 'enable': 'true', 'created': '2026-02-20T09:33:22', 'last-modified': '2026-02-20T09:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396995'}
2026-02-20 09:33:25,232 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 09:33:25,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92741610 passed
2026-02-20 09:33:25,233 - DEBUG - ====Verifying policy data for ctest-vn-92741610 in API_Server ======
2026-02-20 09:33:25,233 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-20 09:33:25,239 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf
2026-02-20 09:33:25,250 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05
2026-02-20 09:33:25,321 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d
2026-02-20 09:33:25,330 - DEBUG - ==>Verifying data for policy with id: 17b49ff3-c960-4fa9-b5ee-a6b06ac03a32, fqn: ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145']
2026-02-20 09:33:25,330 - INFO - VN ctest-vn-92741610 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 09:33:25,330 - DEBUG - Verifying the vn in opserver
2026-02-20 09:33:25,330 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610 virtual network link through opserver 10.0.0.242
2026-02-20 09:33:25,330 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-20 09:33:25,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610?flat'}
2026-02-20 09:33:25,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610 is found in opserver
2026-02-20 09:33:25,351 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 09:33:25,355 - DEBUG - VRF ids for VN ctest-vn-92741610: {}
2026-02-20 09:33:25,414 - DEBUG - Services list from nova: [