2025-10-21 06:21:51,056 - INFO - Domain Default found not creating
2025-10-21 06:21:51,229 - INFO - Project ctest-TestBasicPolicy-17523289 not found, creating it
2025-10-21 06:21:51,773 - INFO - Created Project:ctest-TestBasicPolicy-17523289, ID : ea4021b0-a46c-4daa-965b-91af2f68ef31 
2025-10-21 06:21:53,235 - INFO - ================================================================================
2025-10-21 06:21:53,235 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-21 06:21:53,235 - 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-21 06:21:53,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-10-21 06:21:53,492 - INFO - Initial checks done. Running the testcase now
2025-10-21 06:21:53,492 - INFO - 
2025-10-21 06:21:54,041 - DEBUG - Response for create_network : {'network': {'id': 'a1159ff3-1a67-44b5-8b5a-76ec9f5903e5', 'name': 'ctest-vn-58475930', 'tenant_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'project_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-vn-58475930'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 06:21:54,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '79b4f743-3853-48e3-9472-4275e6c5577c', 'name': '', 'tenant_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'network_id': 'a1159ff3-1a67-44b5-8b5a-76ec9f5903e5', 'ip_version': 4, 'cidr': '27.200.116.128/26', 'allocation_pools': [{'start': '27.200.116.130', 'end': '27.200.116.190'}], 'gateway_ip': '27.200.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.200.116.130', 'tags': [], 'project_id': 'ea4021b0a46c4daa965b91af2f68ef31'}}
2025-10-21 06:21:54,256 - INFO - Created VN ctest-vn-58475930
2025-10-21 06:21:54,310 - DEBUG - VN ctest-vn-58475930 UUID is a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:54,638 - DEBUG - Response for create_network : {'network': {'id': 'a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3', 'name': 'ctest-vn-06853146', 'tenant_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'project_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-vn-06853146'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 06:21:54,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '364ece42-60ea-47b1-acdc-a53aab63fa5f', 'name': '', 'tenant_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'network_id': 'a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3', 'ip_version': 4, 'cidr': '15.59.13.192/26', 'allocation_pools': [{'start': '15.59.13.194', 'end': '15.59.13.254'}], 'gateway_ip': '15.59.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.59.13.194', 'tags': [], 'project_id': 'ea4021b0a46c4daa965b91af2f68ef31'}}
2025-10-21 06:21:54,804 - INFO - Created VN ctest-vn-06853146
2025-10-21 06:21:54,857 - DEBUG - VN ctest-vn-06853146 UUID is a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:55,009 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-58475930, 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-17523289:ctest-vn-06853146, 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-21 06:21:55,295 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1159ff3-1a67-44b5-8b5a-76ec9f5903e5', 'name': 'ctest-vn-58475930', 'tenant_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'project_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79b4f743-3853-48e3-9472-4275e6c5577c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-vn-58475930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-policy-allow-all-03324270']], 'subnet_ipam': [{'subnet_cidr': '27.200.116.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 06:21:55,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3', 'name': 'ctest-vn-06853146', 'tenant_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'project_id': 'ea4021b0a46c4daa965b91af2f68ef31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['364ece42-60ea-47b1-acdc-a53aab63fa5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-vn-06853146'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-policy-allow-all-03324270']], 'subnet_ipam': [{'subnet_cidr': '15.59.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 06:21:55,676 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-21 06:21:55,981 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-21 06:21:56,010 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9f2d736b-8d19-4b08-a555-b7341c3ce19a
2025-10-21 06:21:56,022 - DEBUG - Requesting: http://10.0.0.141:8082/project/ea4021b0-a46c-4daa-965b-91af2f68ef31
2025-10-21 06:21:56,098 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:56,109 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:56,121 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ddb2cfb-edc8-40bc-9242-b8733b7148d2
2025-10-21 06:21:56,129 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ddb2cfb-edc8-40bc-9242-b8733b7148d2
2025-10-21 06:21:56,135 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d5fe8ef5-5127-4074-925b-c8a64492c657
2025-10-21 06:21:56,141 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 06:21:56,142 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:56,150 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ddb2cfb-edc8-40bc-9242-b8733b7148d2
2025-10-21 06:21:56,165 - INFO - Verified VN network id 11 for VN a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:56,165 - INFO - Verifications in API Server for VN ctest-vn-58475930 passed
2025-10-21 06:21:56,165 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:56,174 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ddb2cfb-edc8-40bc-9242-b8733b7148d2
2025-10-21 06:21:56,181 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ddb2cfb-edc8-40bc-9242-b8733b7148d2
2025-10-21 06:21:56,188 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d5fe8ef5-5127-4074-925b-c8a64492c657
2025-10-21 06:21:56,200 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-58475930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17523289', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11607359481086166197', 'uuid-lslong': '10041469077833712613'}, 'enable': 'true', 'created': '2025-10-21T06:21:54', 'last-modified': '2025-10-21T06:21:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925837'}
2025-10-21 06:21:56,206 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 06:21:56,206 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58475930 passed
2025-10-21 06:21:56,206 - DEBUG - ====Verifying policy data for ctest-vn-58475930 in API_Server ======
2025-10-21 06:21:56,206 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-21 06:21:56,212 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9f2d736b-8d19-4b08-a555-b7341c3ce19a
2025-10-21 06:21:56,223 - DEBUG - Requesting: http://10.0.0.141:8082/project/ea4021b0-a46c-4daa-965b-91af2f68ef31
2025-10-21 06:21:56,289 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a1159ff3-1a67-44b5-8b5a-76ec9f5903e5
2025-10-21 06:21:56,299 - DEBUG - ==>Verifying data for policy with id: 82d810d2-eb3b-43dc-929f-8055a07a5eae, fqn: ['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-policy-allow-all-03324270']
2025-10-21 06:21:56,299 - INFO - VN ctest-vn-58475930 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 06:21:56,299 - DEBUG - Verifying the vn in opserver
2025-10-21 06:21:56,299 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-58475930 virtual network link  through opserver 10.0.0.141
2025-10-21 06:21:56,299 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-10-21 06:21:56,590 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-10-21 06:21:56,644 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-58475930', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-58475930?flat'}
2025-10-21 06:21:56,644 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-58475930 is found in opserver
2025-10-21 06:21:56,653 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 06:21:56,660 - DEBUG - VRF ids for VN ctest-vn-58475930: {}
2025-10-21 06:21:56,660 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-21 06:21:56,667 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9f2d736b-8d19-4b08-a555-b7341c3ce19a
2025-10-21 06:21:56,678 - DEBUG - Requesting: http://10.0.0.141:8082/project/ea4021b0-a46c-4daa-965b-91af2f68ef31
2025-10-21 06:21:56,757 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:56,768 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:56,779 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/13eb9433-baae-46de-be72-16559c82c4c0
2025-10-21 06:21:56,788 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/13eb9433-baae-46de-be72-16559c82c4c0
2025-10-21 06:21:56,795 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/319ebb5c-d131-4daa-b65e-035b3f6410ed
2025-10-21 06:21:56,801 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 06:21:56,801 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:56,810 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/13eb9433-baae-46de-be72-16559c82c4c0
2025-10-21 06:21:56,825 - INFO - Verified VN network id 12 for VN a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:56,826 - INFO - Verifications in API Server for VN ctest-vn-06853146 passed
2025-10-21 06:21:56,826 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:56,836 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/13eb9433-baae-46de-be72-16559c82c4c0
2025-10-21 06:21:56,842 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/13eb9433-baae-46de-be72-16559c82c4c0
2025-10-21 06:21:56,849 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/319ebb5c-d131-4daa-b65e-035b3f6410ed
2025-10-21 06:21:56,862 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-06853146', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17523289', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11947653817213667005', 'uuid-lslong': '9857765518692551635'}, 'enable': 'true', 'created': '2025-10-21T06:21:54', 'last-modified': '2025-10-21T06:21:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358757'}
2025-10-21 06:21:56,867 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 06:21:56,867 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06853146 passed
2025-10-21 06:21:56,867 - DEBUG - ====Verifying policy data for ctest-vn-06853146 in API_Server ======
2025-10-21 06:21:56,867 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-21 06:21:56,873 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9f2d736b-8d19-4b08-a555-b7341c3ce19a
2025-10-21 06:21:56,883 - DEBUG - Requesting: http://10.0.0.141:8082/project/ea4021b0-a46c-4daa-965b-91af2f68ef31
2025-10-21 06:21:56,948 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a5ce97d8-6a5c-46bd-88cd-d182b4c38bd3
2025-10-21 06:21:56,957 - DEBUG - ==>Verifying data for policy with id: 82d810d2-eb3b-43dc-929f-8055a07a5eae, fqn: ['default-domain', 'ctest-TestBasicPolicy-17523289', 'ctest-policy-allow-all-03324270']
2025-10-21 06:21:56,957 - INFO - VN ctest-vn-06853146 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 06:21:56,957 - DEBUG - Verifying the vn in opserver
2025-10-21 06:21:56,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-06853146 virtual network link  through opserver 10.0.0.141
2025-10-21 06:21:56,957 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-10-21 06:21:56,967 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-06853146', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-06853146?flat'}
2025-10-21 06:21:56,967 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17523289:ctest-vn-06853146 is found in opserver
2025-10-21 06:21:56,976 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 06:21:56,980 - DEBUG - VRF ids for VN ctest-vn-06853146: {}
2025-10-21 06:21:57,037 - DEBUG - Services list from nova: [