2025-10-31 00:21:16,249 - INFO - Domain Default found not creating
2025-10-31 00:21:16,406 - INFO - Project ctest-TestBasicPolicy-40464212 not found, creating it
2025-10-31 00:21:16,891 - INFO - Created Project:ctest-TestBasicPolicy-40464212, ID : 14192ead-8fdb-4b1b-a359-f673acf19ca7 
2025-10-31 00:21:18,530 - INFO - ================================================================================
2025-10-31 00:21:18,530 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-31 00:21:18,530 - 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-31 00:21:18,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with
2025-10-31 00:21:18,788 - INFO - Initial checks done. Running the testcase now
2025-10-31 00:21:18,789 - INFO - 
2025-10-31 00:21:19,395 - DEBUG - Response for create_network : {'network': {'id': '69e55eb3-b874-437a-a6c2-2cbf06344ff6', 'name': 'ctest-vn-64937374', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-64937374'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:21:19,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '9293d3a2-b0b1-44fb-8793-1a528db85a87', 'name': '', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'network_id': '69e55eb3-b874-437a-a6c2-2cbf06344ff6', 'ip_version': 4, 'cidr': '179.239.220.128/26', 'allocation_pools': [{'start': '179.239.220.130', 'end': '179.239.220.190'}], 'gateway_ip': '179.239.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.239.220.130', 'tags': [], 'project_id': '14192ead8fdb4b1ba359f673acf19ca7'}}
2025-10-31 00:21:19,596 - INFO - Created VN ctest-vn-64937374
2025-10-31 00:21:19,649 - DEBUG - VN ctest-vn-64937374 UUID is 69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:19,987 - DEBUG - Response for create_network : {'network': {'id': '8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2', 'name': 'ctest-vn-77554121', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-77554121'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:21:20,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '74c6c8a5-000b-473e-a104-82681bd961f6', 'name': '', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'network_id': '8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2', 'ip_version': 4, 'cidr': '143.163.91.192/26', 'allocation_pools': [{'start': '143.163.91.194', 'end': '143.163.91.254'}], 'gateway_ip': '143.163.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.163.91.194', 'tags': [], 'project_id': '14192ead8fdb4b1ba359f673acf19ca7'}}
2025-10-31 00:21:20,203 - INFO - Created VN ctest-vn-77554121
2025-10-31 00:21:20,258 - DEBUG - VN ctest-vn-77554121 UUID is 8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:20,417 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374, 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-40464212:ctest-vn-77554121, 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-31 00:21:20,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69e55eb3-b874-437a-a6c2-2cbf06344ff6', 'name': 'ctest-vn-64937374', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9293d3a2-b0b1-44fb-8793-1a528db85a87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-64937374'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359']], 'subnet_ipam': [{'subnet_cidr': '179.239.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:21:21,037 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2', 'name': 'ctest-vn-77554121', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74c6c8a5-000b-473e-a104-82681bd961f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-77554121'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359']], 'subnet_ipam': [{'subnet_cidr': '143.163.91.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:21:21,173 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-31 00:21:21,512 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-31 00:21:21,543 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5
2025-10-31 00:21:21,557 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7
2025-10-31 00:21:21,629 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:21,642 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:21,653 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399
2025-10-31 00:21:21,661 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399
2025-10-31 00:21:21,669 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/1cca4b9e-a3ff-47b2-acce-e34e896e3437
2025-10-31 00:21:21,676 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 00:21:21,676 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:21,687 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399
2025-10-31 00:21:21,703 - INFO - Verified VN network id 11 for VN 69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:21,703 - INFO - Verifications in API Server for VN ctest-vn-64937374 passed
2025-10-31 00:21:21,703 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:21,713 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399
2025-10-31 00:21:21,720 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399
2025-10-31 00:21:21,727 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/1cca4b9e-a3ff-47b2-acce-e34e896e3437
2025-10-31 00:21:21,738 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40464212', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7630609269635957626', 'uuid-lslong': '12016215954732371958'}, 'enable': 'true', 'created': '2025-10-31T00:21:19', 'last-modified': '2025-10-31T00:21:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031941'}
2025-10-31 00:21:21,744 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 00:21:21,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64937374 passed
2025-10-31 00:21:21,745 - DEBUG - ====Verifying policy data for ctest-vn-64937374 in API_Server ======
2025-10-31 00:21:21,745 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-31 00:21:21,750 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5
2025-10-31 00:21:21,760 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7
2025-10-31 00:21:21,837 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6
2025-10-31 00:21:21,847 - DEBUG - ==>Verifying data for policy with id: 8c152b16-6830-4e1e-8df0-ed4f3112c11c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359']
2025-10-31 00:21:21,848 - INFO - VN ctest-vn-64937374 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 00:21:21,848 - DEBUG - Verifying the vn in opserver
2025-10-31 00:21:21,848 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374 virtual network link  through opserver 10.0.0.245
2025-10-31 00:21:21,848 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks
2025-10-31 00:21:22,182 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks
2025-10-31 00:21:22,245 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374?flat'}
2025-10-31 00:21:22,245 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374 is found in opserver
2025-10-31 00:21:22,256 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 00:21:22,261 - DEBUG - VRF ids for VN ctest-vn-64937374: {}
2025-10-31 00:21:22,261 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-31 00:21:22,267 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5
2025-10-31 00:21:22,281 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7
2025-10-31 00:21:22,358 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:22,369 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:22,378 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2
2025-10-31 00:21:22,385 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2
2025-10-31 00:21:22,392 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/30c52334-497a-40ea-bc4a-693f3efda26d
2025-10-31 00:21:22,399 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 00:21:22,399 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:22,409 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2
2025-10-31 00:21:22,425 - INFO - Verified VN network id 12 for VN 8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:22,425 - INFO - Verifications in API Server for VN ctest-vn-77554121 passed
2025-10-31 00:21:22,425 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:22,435 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2
2025-10-31 00:21:22,442 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2
2025-10-31 00:21:22,449 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/30c52334-497a-40ea-bc4a-693f3efda26d
2025-10-31 00:21:22,462 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40464212', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10312129557683914626', 'uuid-lslong': '13257484573556625826'}, 'enable': 'true', 'created': '2025-10-31T00:21:19', 'last-modified': '2025-10-31T00:21:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.506480'}
2025-10-31 00:21:22,468 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 00:21:22,468 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77554121 passed
2025-10-31 00:21:22,468 - DEBUG - ====Verifying policy data for ctest-vn-77554121 in API_Server ======
2025-10-31 00:21:22,468 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-31 00:21:22,474 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5
2025-10-31 00:21:22,484 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7
2025-10-31 00:21:22,553 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2
2025-10-31 00:21:22,562 - DEBUG - ==>Verifying data for policy with id: 8c152b16-6830-4e1e-8df0-ed4f3112c11c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359']
2025-10-31 00:21:22,562 - INFO - VN ctest-vn-77554121 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 00:21:22,562 - DEBUG - Verifying the vn in opserver
2025-10-31 00:21:22,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121 virtual network link  through opserver 10.0.0.245
2025-10-31 00:21:22,562 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks
2025-10-31 00:21:22,572 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121?flat'}
2025-10-31 00:21:22,572 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121 is found in opserver
2025-10-31 00:21:22,582 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 00:21:22,586 - DEBUG - VRF ids for VN ctest-vn-77554121: {}
2025-10-31 00:21:22,645 - DEBUG - Services list from nova: [