2026-02-03 15:12:14,838 - INFO - Domain Default found not creating
2026-02-03 15:12:14,988 - INFO - Project ctest-TestBasicPolicy-24466997 not found, creating it
2026-02-03 15:12:15,422 - INFO - Created Project:ctest-TestBasicPolicy-24466997, ID : cde2d465-b823-4a15-81d7-a837d9c1c5d7
2026-02-03 15:12:16,825 - INFO - ================================================================================
2026-02-03 15:12:16,826 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 15:12:16,826 - 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-03 15:12:17,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-02-03 15:12:17,078 - INFO - Initial checks done. Running the testcase now
2026-02-03 15:12:17,078 - INFO -
2026-02-03 15:12:17,631 - DEBUG - Response for create_network : {'network': {'id': 'a861fa84-fa2f-438b-b6d0-8051f961c90a', 'name': 'ctest-vn-57627095', 'tenant_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'project_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-vn-57627095'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 15:12:17,808 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca09eb4b-4eae-4194-95d7-3197d43368cb', 'name': '', 'tenant_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'network_id': 'a861fa84-fa2f-438b-b6d0-8051f961c90a', 'ip_version': 4, 'cidr': '12.196.49.128/26', 'allocation_pools': [{'start': '12.196.49.130', 'end': '12.196.49.190'}], 'gateway_ip': '12.196.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.196.49.130', 'tags': [], 'project_id': 'cde2d465b8234a1581d7a837d9c1c5d7'}}
2026-02-03 15:12:17,824 - INFO - Created VN ctest-vn-57627095
2026-02-03 15:12:17,873 - DEBUG - VN ctest-vn-57627095 UUID is a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:18,175 - DEBUG - Response for create_network : {'network': {'id': '79de0bf1-5fa3-41c5-b3b4-8b110c35472e', 'name': 'ctest-vn-90620444', 'tenant_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'project_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-vn-90620444'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 15:12:18,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b313d5f1-cd02-4fe5-a8f1-58599aa4ddfe', 'name': '', 'tenant_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'network_id': '79de0bf1-5fa3-41c5-b3b4-8b110c35472e', 'ip_version': 4, 'cidr': '87.172.160.128/26', 'allocation_pools': [{'start': '87.172.160.130', 'end': '87.172.160.190'}], 'gateway_ip': '87.172.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.172.160.130', 'tags': [], 'project_id': 'cde2d465b8234a1581d7a837d9c1c5d7'}}
2026-02-03 15:12:18,352 - INFO - Created VN ctest-vn-90620444
2026-02-03 15:12:18,405 - DEBUG - VN ctest-vn-90620444 UUID is 79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:18,553 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-57627095, 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-24466997:ctest-vn-90620444, 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-03 15:12:18,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a861fa84-fa2f-438b-b6d0-8051f961c90a', 'name': 'ctest-vn-57627095', 'tenant_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'project_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca09eb4b-4eae-4194-95d7-3197d43368cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-vn-57627095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-policy-allow-all-66555728']], 'subnet_ipam': [{'subnet_cidr': '12.196.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 15:12:19,050 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79de0bf1-5fa3-41c5-b3b4-8b110c35472e', 'name': 'ctest-vn-90620444', 'tenant_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'project_id': 'cde2d465b8234a1581d7a837d9c1c5d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b313d5f1-cd02-4fe5-a8f1-58599aa4ddfe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-vn-90620444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-policy-allow-all-66555728']], 'subnet_ipam': [{'subnet_cidr': '87.172.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 15:12:19,197 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-03 15:12:19,493 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-03 15:12:19,525 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e4225679-7c02-4df2-8013-91926a9824a0
2026-02-03 15:12:19,538 - DEBUG - Requesting: http://10.0.0.23:8082/project/cde2d465-b823-4a15-81d7-a837d9c1c5d7
2026-02-03 15:12:19,616 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:19,626 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:19,635 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c7ab0b56-8a6f-461b-9d15-adb04408653b
2026-02-03 15:12:19,641 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c7ab0b56-8a6f-461b-9d15-adb04408653b
2026-02-03 15:12:19,648 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4b575471-8d53-48d4-a020-409a5a3a7e45
2026-02-03 15:12:19,654 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 15:12:19,654 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:19,664 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c7ab0b56-8a6f-461b-9d15-adb04408653b
2026-02-03 15:12:19,679 - INFO - Verified VN network id 12 for VN a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:19,679 - INFO - Verifications in API Server for VN ctest-vn-57627095 passed
2026-02-03 15:12:19,679 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:19,688 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c7ab0b56-8a6f-461b-9d15-adb04408653b
2026-02-03 15:12:19,695 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c7ab0b56-8a6f-461b-9d15-adb04408653b
2026-02-03 15:12:19,701 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4b575471-8d53-48d4-a020-409a5a3a7e45
2026-02-03 15:12:19,712 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-57627095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24466997', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12133254320152855435', 'uuid-lslong': '13173169999623342346'}, 'enable': 'true', 'created': '2026-02-03T15:12:17', 'last-modified': '2026-02-03T15:12:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.898520'}
2026-02-03 15:12:19,717 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 15:12:19,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57627095 passed
2026-02-03 15:12:19,717 - DEBUG - ====Verifying policy data for ctest-vn-57627095 in API_Server ======
2026-02-03 15:12:19,717 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-03 15:12:19,722 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e4225679-7c02-4df2-8013-91926a9824a0
2026-02-03 15:12:19,731 - DEBUG - Requesting: http://10.0.0.23:8082/project/cde2d465-b823-4a15-81d7-a837d9c1c5d7
2026-02-03 15:12:19,798 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a861fa84-fa2f-438b-b6d0-8051f961c90a
2026-02-03 15:12:19,807 - DEBUG - ==>Verifying data for policy with id: 535fbbe1-6bd8-4d8d-ae3a-a4e14b53c20e, fqn: ['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-policy-allow-all-66555728']
2026-02-03 15:12:19,807 - INFO - VN ctest-vn-57627095 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 15:12:19,807 - DEBUG - Verifying the vn in opserver
2026-02-03 15:12:19,807 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-57627095 virtual network link through opserver 10.0.0.23
2026-02-03 15:12:19,807 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-03 15:12:20,095 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-03 15:12:20,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-57627095', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-57627095?flat'}
2026-02-03 15:12:20,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-57627095 is found in opserver
2026-02-03 15:12:20,155 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 15:12:20,159 - DEBUG - VRF ids for VN ctest-vn-57627095: {}
2026-02-03 15:12:20,159 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-03 15:12:20,163 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e4225679-7c02-4df2-8013-91926a9824a0
2026-02-03 15:12:20,173 - DEBUG - Requesting: http://10.0.0.23:8082/project/cde2d465-b823-4a15-81d7-a837d9c1c5d7
2026-02-03 15:12:20,242 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:20,252 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:20,260 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/140d4f46-c564-4582-b195-9416f750fba5
2026-02-03 15:12:20,266 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/140d4f46-c564-4582-b195-9416f750fba5
2026-02-03 15:12:20,272 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/44214e59-5e60-4d0f-b0b1-eca84074aaac
2026-02-03 15:12:20,277 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 15:12:20,277 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:20,285 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/140d4f46-c564-4582-b195-9416f750fba5
2026-02-03 15:12:20,296 - INFO - Verified VN network id 13 for VN 79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:20,297 - INFO - Verifications in API Server for VN ctest-vn-90620444 passed
2026-02-03 15:12:20,297 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:20,304 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/140d4f46-c564-4582-b195-9416f750fba5
2026-02-03 15:12:20,310 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/140d4f46-c564-4582-b195-9416f750fba5
2026-02-03 15:12:20,315 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/44214e59-5e60-4d0f-b0b1-eca84074aaac
2026-02-03 15:12:20,325 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-90620444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24466997', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8781469454738604485', 'uuid-lslong': '12949127733932541742'}, 'enable': 'true', 'created': '2026-02-03T15:12:18', 'last-modified': '2026-02-03T15:12:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.293167'}
2026-02-03 15:12:20,330 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 15:12:20,330 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90620444 passed
2026-02-03 15:12:20,330 - DEBUG - ====Verifying policy data for ctest-vn-90620444 in API_Server ======
2026-02-03 15:12:20,330 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-03 15:12:20,335 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e4225679-7c02-4df2-8013-91926a9824a0
2026-02-03 15:12:20,344 - DEBUG - Requesting: http://10.0.0.23:8082/project/cde2d465-b823-4a15-81d7-a837d9c1c5d7
2026-02-03 15:12:20,414 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/79de0bf1-5fa3-41c5-b3b4-8b110c35472e
2026-02-03 15:12:20,422 - DEBUG - ==>Verifying data for policy with id: 535fbbe1-6bd8-4d8d-ae3a-a4e14b53c20e, fqn: ['default-domain', 'ctest-TestBasicPolicy-24466997', 'ctest-policy-allow-all-66555728']
2026-02-03 15:12:20,422 - INFO - VN ctest-vn-90620444 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 15:12:20,422 - DEBUG - Verifying the vn in opserver
2026-02-03 15:12:20,422 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-90620444 virtual network link through opserver 10.0.0.23
2026-02-03 15:12:20,422 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-03 15:12:20,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-90620444', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-90620444?flat'}
2026-02-03 15:12:20,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24466997:ctest-vn-90620444 is found in opserver
2026-02-03 15:12:20,439 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 15:12:20,443 - DEBUG - VRF ids for VN ctest-vn-90620444: {}
2026-02-03 15:12:20,494 - DEBUG - Services list from nova: [