2025-10-14 18:15:59,935 - INFO - Domain Default found not creating
2025-10-14 18:16:00,094 - INFO - Project ctest-TestBasicPolicy-78809846 not found, creating it
2025-10-14 18:16:00,562 - INFO - Created Project:ctest-TestBasicPolicy-78809846, ID : d6a6fb9a-ada0-43d4-800b-61a19acab5ed 
2025-10-14 18:16:02,104 - INFO - ================================================================================
2025-10-14 18:16:02,104 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-14 18:16:02,104 - 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-14 18:16:02,359 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.18': '0'}} with
2025-10-14 18:16:02,359 - INFO - Initial checks done. Running the testcase now
2025-10-14 18:16:02,359 - INFO - 
2025-10-14 18:16:02,989 - DEBUG - Response for create_network : {'network': {'id': '184ac383-60a3-49a1-9642-df1dfa71ee40', 'name': 'ctest-vn-68081391', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-68081391'], 'port_security_enabled': True, 'description': ''}}
2025-10-14 18:16:03,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '66ed5a5b-1c28-44de-a77e-b71b7a4bd71e', 'name': '', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'network_id': '184ac383-60a3-49a1-9642-df1dfa71ee40', 'ip_version': 4, 'cidr': '36.6.226.128/26', 'allocation_pools': [{'start': '36.6.226.130', 'end': '36.6.226.190'}], 'gateway_ip': '36.6.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.6.226.130', 'tags': [], 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed'}}
2025-10-14 18:16:03,243 - INFO - Created VN ctest-vn-68081391
2025-10-14 18:16:03,297 - DEBUG - VN ctest-vn-68081391 UUID is 184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:03,595 - DEBUG - Response for create_network : {'network': {'id': '0353ae0b-3e2f-4b13-af8b-7479dd9b8328', 'name': 'ctest-vn-79058579', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-79058579'], 'port_security_enabled': True, 'description': ''}}
2025-10-14 18:16:03,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b296b3-5132-42e6-a349-66dc54d67f00', 'name': '', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'network_id': '0353ae0b-3e2f-4b13-af8b-7479dd9b8328', 'ip_version': 4, 'cidr': '111.21.201.192/26', 'allocation_pools': [{'start': '111.21.201.194', 'end': '111.21.201.254'}], 'gateway_ip': '111.21.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.21.201.194', 'tags': [], 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed'}}
2025-10-14 18:16:03,791 - INFO - Created VN ctest-vn-79058579
2025-10-14 18:16:03,841 - DEBUG - VN ctest-vn-79058579 UUID is 0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:03,960 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391, 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-78809846:ctest-vn-79058579, 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-14 18:16:04,275 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '184ac383-60a3-49a1-9642-df1dfa71ee40', 'name': 'ctest-vn-68081391', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66ed5a5b-1c28-44de-a77e-b71b7a4bd71e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-68081391'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749']], 'subnet_ipam': [{'subnet_cidr': '36.6.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-14 18:16:04,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0353ae0b-3e2f-4b13-af8b-7479dd9b8328', 'name': 'ctest-vn-79058579', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16b296b3-5132-42e6-a349-66dc54d67f00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-79058579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749']], 'subnet_ipam': [{'subnet_cidr': '111.21.201.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-14 18:16:04,685 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-14 18:16:04,990 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-14 18:16:05,024 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73
2025-10-14 18:16:05,041 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed
2025-10-14 18:16:05,135 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:05,153 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:05,163 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0
2025-10-14 18:16:05,171 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0
2025-10-14 18:16:05,177 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23e93aab-e2af-4495-ab74-868797f0e04d
2025-10-14 18:16:05,184 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-14 18:16:05,184 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:05,196 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0
2025-10-14 18:16:05,212 - INFO - Verified VN network id 11 for VN 184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:05,212 - INFO - Verifications in API Server for VN ctest-vn-68081391 passed
2025-10-14 18:16:05,212 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:05,223 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0
2025-10-14 18:16:05,232 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0
2025-10-14 18:16:05,240 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23e93aab-e2af-4495-ab74-868797f0e04d
2025-10-14 18:16:05,253 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78809846', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1750426374216305057', 'uuid-lslong': '10827461774000909888'}, 'enable': 'true', 'created': '2025-10-14T18:16:02', 'last-modified': '2025-10-14T18:16:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002242'}
2025-10-14 18:16:05,260 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-14 18:16:05,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68081391 passed
2025-10-14 18:16:05,261 - DEBUG - ====Verifying policy data for ctest-vn-68081391 in API_Server ======
2025-10-14 18:16:05,261 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-14 18:16:05,267 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73
2025-10-14 18:16:05,278 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed
2025-10-14 18:16:05,347 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40
2025-10-14 18:16:05,357 - DEBUG - ==>Verifying data for policy with id: 65b0bee8-d2d2-4863-94d1-bcb068ef302b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749']
2025-10-14 18:16:05,357 - INFO - VN ctest-vn-68081391 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-14 18:16:05,357 - DEBUG - Verifying the vn in opserver
2025-10-14 18:16:05,357 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391 virtual network link  through opserver 10.0.0.27
2025-10-14 18:16:05,357 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-14 18:16:05,653 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-14 18:16:05,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391?flat'}
2025-10-14 18:16:05,716 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391 is found in opserver
2025-10-14 18:16:05,727 - DEBUG - Do not have enough data to verify VN in agent
2025-10-14 18:16:05,733 - DEBUG - VRF ids for VN ctest-vn-68081391: {}
2025-10-14 18:16:05,733 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-14 18:16:05,741 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73
2025-10-14 18:16:05,770 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed
2025-10-14 18:16:05,842 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:05,854 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:05,862 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27
2025-10-14 18:16:05,871 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27
2025-10-14 18:16:05,879 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1da40401-43dc-4660-8928-eb728cbec643
2025-10-14 18:16:05,886 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-14 18:16:05,886 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:05,895 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27
2025-10-14 18:16:05,912 - INFO - Verified VN network id 12 for VN 0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:05,912 - INFO - Verifications in API Server for VN ctest-vn-79058579 passed
2025-10-14 18:16:05,912 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:05,922 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27
2025-10-14 18:16:05,929 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27
2025-10-14 18:16:05,936 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1da40401-43dc-4660-8928-eb728cbec643
2025-10-14 18:16:05,950 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78809846', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '239726568491928339', 'uuid-lslong': '12649332045157991208'}, 'enable': 'true', 'created': '2025-10-14T18:16:03', 'last-modified': '2025-10-14T18:16:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461398'}
2025-10-14 18:16:05,958 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-14 18:16:05,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79058579 passed
2025-10-14 18:16:05,958 - DEBUG - ====Verifying policy data for ctest-vn-79058579 in API_Server ======
2025-10-14 18:16:05,958 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-14 18:16:05,965 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73
2025-10-14 18:16:05,976 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed
2025-10-14 18:16:06,049 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328
2025-10-14 18:16:06,059 - DEBUG - ==>Verifying data for policy with id: 65b0bee8-d2d2-4863-94d1-bcb068ef302b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749']
2025-10-14 18:16:06,059 - INFO - VN ctest-vn-79058579 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-14 18:16:06,059 - DEBUG - Verifying the vn in opserver
2025-10-14 18:16:06,059 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579 virtual network link  through opserver 10.0.0.27
2025-10-14 18:16:06,059 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-14 18:16:06,071 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579?flat'}
2025-10-14 18:16:06,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579 is found in opserver
2025-10-14 18:16:06,080 - DEBUG - Do not have enough data to verify VN in agent
2025-10-14 18:16:06,085 - DEBUG - VRF ids for VN ctest-vn-79058579: {}
2025-10-14 18:16:06,144 - DEBUG - Services list from nova: [