2025-12-25 02:20:21,452 - INFO - Domain Default found not creating
2025-12-25 02:20:21,662 - INFO - Project ctest-TestBasicPolicy-88388210 not found, creating it
2025-12-25 02:20:22,145 - INFO - Created Project:ctest-TestBasicPolicy-88388210, ID : 35f55b7e-ae6c-46b7-9234-3db2ab3b37b0
2025-12-25 02:20:23,678 - INFO - ================================================================================
2025-12-25 02:20:23,678 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-25 02:20:23,678 - 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-12-25 02:20:23,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.210': '0'}} with
2025-12-25 02:20:23,937 - INFO - Initial checks done. Running the testcase now
2025-12-25 02:20:23,937 - INFO -
2025-12-25 02:20:24,500 - DEBUG - Response for create_network : {'network': {'id': '7d1c13d1-89f4-47d5-9651-939b3c809767', 'name': 'ctest-vn-62711500', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-62711500'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:20:24,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7580a82-c13a-4df1-8f60-c315a66ee64f', 'name': '', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'network_id': '7d1c13d1-89f4-47d5-9651-939b3c809767', 'ip_version': 4, 'cidr': '117.217.225.192/26', 'allocation_pools': [{'start': '117.217.225.194', 'end': '117.217.225.254'}], 'gateway_ip': '117.217.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.217.225.194', 'tags': [], 'project_id': '35f55b7eae6c46b792343db2ab3b37b0'}}
2025-12-25 02:20:24,703 - INFO - Created VN ctest-vn-62711500
2025-12-25 02:20:24,756 - DEBUG - VN ctest-vn-62711500 UUID is 7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:25,086 - DEBUG - Response for create_network : {'network': {'id': 'eda3fa25-489d-4af3-8497-dc8e65b61595', 'name': 'ctest-vn-91094547', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-91094547'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:20:25,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '71a2043a-330b-4bc0-814f-d2bab7862410', 'name': '', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'network_id': 'eda3fa25-489d-4af3-8497-dc8e65b61595', 'ip_version': 4, 'cidr': '108.76.148.192/26', 'allocation_pools': [{'start': '108.76.148.194', 'end': '108.76.148.254'}], 'gateway_ip': '108.76.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.76.148.194', 'tags': [], 'project_id': '35f55b7eae6c46b792343db2ab3b37b0'}}
2025-12-25 02:20:25,284 - INFO - Created VN ctest-vn-91094547
2025-12-25 02:20:25,336 - DEBUG - VN ctest-vn-91094547 UUID is eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:25,448 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500, 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-88388210:ctest-vn-91094547, 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-12-25 02:20:25,747 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d1c13d1-89f4-47d5-9651-939b3c809767', 'name': 'ctest-vn-62711500', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7580a82-c13a-4df1-8f60-c315a66ee64f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-62711500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633']], 'subnet_ipam': [{'subnet_cidr': '117.217.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:20:26,017 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eda3fa25-489d-4af3-8497-dc8e65b61595', 'name': 'ctest-vn-91094547', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71a2043a-330b-4bc0-814f-d2bab7862410'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-91094547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633']], 'subnet_ipam': [{'subnet_cidr': '108.76.148.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:20:26,168 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-25 02:20:26,468 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-25 02:20:26,499 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35
2025-12-25 02:20:26,511 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0
2025-12-25 02:20:26,581 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:26,592 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:26,600 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a
2025-12-25 02:20:26,607 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a
2025-12-25 02:20:26,612 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/52c049fc-b5b1-4a58-bba1-5ae00aef47ab
2025-12-25 02:20:26,618 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-25 02:20:26,618 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:26,626 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a
2025-12-25 02:20:26,638 - INFO - Verified VN network id 10 for VN 7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:26,638 - INFO - Verifications in API Server for VN ctest-vn-62711500 passed
2025-12-25 02:20:26,639 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:26,647 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a
2025-12-25 02:20:26,652 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a
2025-12-25 02:20:26,658 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/52c049fc-b5b1-4a58-bba1-5ae00aef47ab
2025-12-25 02:20:26,668 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88388210', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9015102344772470741', 'uuid-lslong': '10831600873747027815'}, 'enable': 'true', 'created': '2025-12-25T02:20:24', 'last-modified': '2025-12-25T02:20:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948898'}
2025-12-25 02:20:26,673 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-25 02:20:26,673 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62711500 passed
2025-12-25 02:20:26,673 - DEBUG - ====Verifying policy data for ctest-vn-62711500 in API_Server ======
2025-12-25 02:20:26,673 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-25 02:20:26,678 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35
2025-12-25 02:20:26,689 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0
2025-12-25 02:20:26,758 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767
2025-12-25 02:20:26,766 - DEBUG - ==>Verifying data for policy with id: 21f6b5f6-627a-4434-b44d-28b6170617d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633']
2025-12-25 02:20:26,766 - INFO - VN ctest-vn-62711500 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-25 02:20:26,766 - DEBUG - Verifying the vn in opserver
2025-12-25 02:20:26,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500 virtual network link through opserver 10.0.0.41
2025-12-25 02:20:26,766 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-12-25 02:20:27,066 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-12-25 02:20:27,126 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500?flat'}
2025-12-25 02:20:27,126 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500 is found in opserver
2025-12-25 02:20:27,135 - DEBUG - Do not have enough data to verify VN in agent
2025-12-25 02:20:27,140 - DEBUG - VRF ids for VN ctest-vn-62711500: {}
2025-12-25 02:20:27,140 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-25 02:20:27,145 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35
2025-12-25 02:20:27,157 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0
2025-12-25 02:20:27,227 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:27,238 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:27,245 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3
2025-12-25 02:20:27,252 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3
2025-12-25 02:20:27,258 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ee40cb12-fa01-42dd-9a69-cf2ec4d7d278
2025-12-25 02:20:27,263 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-25 02:20:27,263 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:27,273 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3
2025-12-25 02:20:27,286 - INFO - Verified VN network id 11 for VN eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:27,286 - INFO - Verifications in API Server for VN ctest-vn-91094547 passed
2025-12-25 02:20:27,287 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:27,295 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3
2025-12-25 02:20:27,302 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3
2025-12-25 02:20:27,309 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ee40cb12-fa01-42dd-9a69-cf2ec4d7d278
2025-12-25 02:20:27,320 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88388210', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17123805246231759603', 'uuid-lslong': '9554347638639695253'}, 'enable': 'true', 'created': '2025-12-25T02:20:25', 'last-modified': '2025-12-25T02:20:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362251'}
2025-12-25 02:20:27,326 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-25 02:20:27,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91094547 passed
2025-12-25 02:20:27,326 - DEBUG - ====Verifying policy data for ctest-vn-91094547 in API_Server ======
2025-12-25 02:20:27,327 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-25 02:20:27,332 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35
2025-12-25 02:20:27,343 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0
2025-12-25 02:20:27,429 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595
2025-12-25 02:20:27,438 - DEBUG - ==>Verifying data for policy with id: 21f6b5f6-627a-4434-b44d-28b6170617d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633']
2025-12-25 02:20:27,438 - INFO - VN ctest-vn-91094547 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-25 02:20:27,438 - DEBUG - Verifying the vn in opserver
2025-12-25 02:20:27,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547 virtual network link through opserver 10.0.0.41
2025-12-25 02:20:27,438 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-12-25 02:20:27,447 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547?flat'}
2025-12-25 02:20:27,447 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547 is found in opserver
2025-12-25 02:20:27,456 - DEBUG - Do not have enough data to verify VN in agent
2025-12-25 02:20:27,461 - DEBUG - VRF ids for VN ctest-vn-91094547: {}
2025-12-25 02:20:27,531 - DEBUG - Services list from nova: [