2025-10-17 14:51:54,643 - INFO - Domain Default found not creating
2025-10-17 14:51:54,840 - INFO - Project ctest-TestBasicPolicy-10282845 not found, creating it
2025-10-17 14:51:55,366 - INFO - Created Project:ctest-TestBasicPolicy-10282845, ID : 682443bc-4775-4ee9-a329-e6c7d31b8dfe
2025-10-17 14:51:56,940 - INFO - ================================================================================
2025-10-17 14:51:56,940 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-17 14:51:56,940 - 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
2025-10-17 14:51:57,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-17 14:51:57,199 - INFO - Initial checks done. Running the testcase now
2025-10-17 14:51:57,199 - INFO -
2025-10-17 14:51:57,840 - DEBUG - Response for create_network : {'network': {'id': '45414321-ae44-4e48-9527-a013ad10dbfe', 'name': 'ctest-vn-65651294', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-65651294'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 14:51:58,059 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeb9eb40-ac39-46cb-b4fe-5899b0794ce6', 'name': '', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'network_id': '45414321-ae44-4e48-9527-a013ad10dbfe', 'ip_version': 4, 'cidr': '7.79.130.128/26', 'allocation_pools': [{'start': '7.79.130.130', 'end': '7.79.130.190'}], 'gateway_ip': '7.79.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.79.130.130', 'tags': [], 'project_id': '682443bc47754ee9a329e6c7d31b8dfe'}}
2025-10-17 14:51:58,081 - INFO - Created VN ctest-vn-65651294
2025-10-17 14:51:58,133 - DEBUG - VN ctest-vn-65651294 UUID is 45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:51:58,469 - DEBUG - Response for create_network : {'network': {'id': 'da73342d-7410-4eb6-b436-0962d19a1765', 'name': 'ctest-vn-22033447', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-22033447'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 14:51:58,709 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a26d9e7e-0653-46e5-80c4-4732f24f8498', 'name': '', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'network_id': 'da73342d-7410-4eb6-b436-0962d19a1765', 'ip_version': 4, 'cidr': '204.11.182.0/26', 'allocation_pools': [{'start': '204.11.182.2', 'end': '204.11.182.62'}], 'gateway_ip': '204.11.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.11.182.2', 'tags': [], 'project_id': '682443bc47754ee9a329e6c7d31b8dfe'}}
2025-10-17 14:51:58,728 - INFO - Created VN ctest-vn-22033447
2025-10-17 14:51:58,781 - DEBUG - VN ctest-vn-22033447 UUID is da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:51:58,991 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294, 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-10282845:ctest-vn-22033447, 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]
2025-10-17 14:51:59,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45414321-ae44-4e48-9527-a013ad10dbfe', 'name': 'ctest-vn-65651294', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eeb9eb40-ac39-46cb-b4fe-5899b0794ce6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-65651294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157']], 'subnet_ipam': [{'subnet_cidr': '7.79.130.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-17 14:51:59,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da73342d-7410-4eb6-b436-0962d19a1765', 'name': 'ctest-vn-22033447', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a26d9e7e-0653-46e5-80c4-4732f24f8498'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-22033447'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157']], 'subnet_ipam': [{'subnet_cidr': '204.11.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-17 14:51:59,717 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-17 14:52:00,013 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-17 14:52:00,048 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221
2025-10-17 14:52:00,061 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe
2025-10-17 14:52:00,142 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:52:00,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:52:00,165 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940
2025-10-17 14:52:00,173 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940
2025-10-17 14:52:00,181 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6e2bd717-2932-4de6-82c0-6c997785fda8
2025-10-17 14:52:00,189 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-17 14:52:00,189 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:52:00,198 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940
2025-10-17 14:52:00,215 - INFO - Verified VN network id 11 for VN 45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:52:00,215 - INFO - Verifications in API Server for VN ctest-vn-65651294 passed
2025-10-17 14:52:00,216 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:52:00,226 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940
2025-10-17 14:52:00,235 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940
2025-10-17 14:52:00,243 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6e2bd717-2932-4de6-82c0-6c997785fda8
2025-10-17 14:52:00,261 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10282845', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4990343674039914056', 'uuid-lslong': '10747735042111364094'}, 'enable': 'true', 'created': '2025-10-17T14:51:57', 'last-modified': '2025-10-17T14:51:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971510'}
2025-10-17 14:52:00,271 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-17 14:52:00,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65651294 passed
2025-10-17 14:52:00,272 - DEBUG - ====Verifying policy data for ctest-vn-65651294 in API_Server ======
2025-10-17 14:52:00,272 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-17 14:52:00,280 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221
2025-10-17 14:52:00,295 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe
2025-10-17 14:52:00,374 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe
2025-10-17 14:52:00,386 - DEBUG - ==>Verifying data for policy with id: c6440283-83da-4e8b-ae85-772a15a81b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157']
2025-10-17 14:52:00,386 - INFO - VN ctest-vn-65651294 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-17 14:52:00,386 - DEBUG - Verifying the vn in opserver
2025-10-17 14:52:00,386 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294 virtual network link through opserver 10.0.0.27
2025-10-17 14:52:00,386 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-17 14:52:00,683 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-17 14:52:00,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294?flat'}
2025-10-17 14:52:00,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294 is found in opserver
2025-10-17 14:52:00,763 - DEBUG - Do not have enough data to verify VN in agent
2025-10-17 14:52:00,769 - DEBUG - VRF ids for VN ctest-vn-65651294: {}
2025-10-17 14:52:00,769 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-17 14:52:00,775 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221
2025-10-17 14:52:00,787 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe
2025-10-17 14:52:00,869 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:52:00,885 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:52:00,898 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3
2025-10-17 14:52:00,909 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3
2025-10-17 14:52:00,921 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7fb2b854-bdac-4f0c-afeb-bfcbe2735e35
2025-10-17 14:52:00,933 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-17 14:52:00,934 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:52:00,947 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3
2025-10-17 14:52:00,968 - INFO - Verified VN network id 12 for VN da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:52:00,969 - INFO - Verifications in API Server for VN ctest-vn-22033447 passed
2025-10-17 14:52:00,969 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:52:00,980 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3
2025-10-17 14:52:00,989 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3
2025-10-17 14:52:00,999 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7fb2b854-bdac-4f0c-afeb-bfcbe2735e35
2025-10-17 14:52:01,014 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10282845', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15740982492415413942', 'uuid-lslong': '12985576895597385573'}, 'enable': 'true', 'created': '2025-10-17T14:51:58', 'last-modified': '2025-10-17T14:51:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488661'}
2025-10-17 14:52:01,021 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-17 14:52:01,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22033447 passed
2025-10-17 14:52:01,021 - DEBUG - ====Verifying policy data for ctest-vn-22033447 in API_Server ======
2025-10-17 14:52:01,021 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-17 14:52:01,028 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221
2025-10-17 14:52:01,044 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe
2025-10-17 14:52:01,121 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765
2025-10-17 14:52:01,132 - DEBUG - ==>Verifying data for policy with id: c6440283-83da-4e8b-ae85-772a15a81b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157']
2025-10-17 14:52:01,132 - INFO - VN ctest-vn-22033447 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-17 14:52:01,132 - DEBUG - Verifying the vn in opserver
2025-10-17 14:52:01,132 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447 virtual network link through opserver 10.0.0.27
2025-10-17 14:52:01,132 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-17 14:52:01,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447?flat'}
2025-10-17 14:52:01,143 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447 is found in opserver
2025-10-17 14:52:01,153 - DEBUG - Do not have enough data to verify VN in agent
2025-10-17 14:52:01,158 - DEBUG - VRF ids for VN ctest-vn-22033447: {}
2025-10-17 14:52:01,230 - DEBUG - Services list from nova: [