2025-10-30 21:58:17,204 - INFO - Domain Default found not creating
2025-10-30 21:58:17,621 - INFO - Project ctest-TestBasicPolicy-87199932 not found, creating it
2025-10-30 21:58:18,247 - INFO - Created Project:ctest-TestBasicPolicy-87199932, ID : 70ac2933-6c7d-4777-bb86-15ad5e88c50b 
2025-10-30 21:58:20,356 - INFO - ================================================================================
2025-10-30 21:58:20,357 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 21:58:20,357 - 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-30 21:58:20,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with
2025-10-30 21:58:20,677 - INFO - Initial checks done. Running the testcase now
2025-10-30 21:58:20,677 - INFO - 
2025-10-30 21:58:21,435 - DEBUG - Response for create_network : {'network': {'id': '89c86376-04dd-43e9-8cf6-729576e7b99a', 'name': 'ctest-vn-54842615', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-54842615'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:58:21,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c94a01bf-4249-4694-b16b-267e6ea46c00', 'name': '', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'network_id': '89c86376-04dd-43e9-8cf6-729576e7b99a', 'ip_version': 4, 'cidr': '67.209.68.0/26', 'allocation_pools': [{'start': '67.209.68.2', 'end': '67.209.68.62'}], 'gateway_ip': '67.209.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.209.68.2', 'tags': [], 'project_id': '70ac29336c7d4777bb8615ad5e88c50b'}}
2025-10-30 21:58:21,669 - INFO - Created VN ctest-vn-54842615
2025-10-30 21:58:21,726 - DEBUG - VN ctest-vn-54842615 UUID is 89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:22,100 - DEBUG - Response for create_network : {'network': {'id': '67bd82d0-480b-4cde-811f-856bd9f0a1ae', 'name': 'ctest-vn-83146182', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-83146182'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:58:22,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd00ea159-96c6-4180-8c55-d214c8978a3a', 'name': '', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'network_id': '67bd82d0-480b-4cde-811f-856bd9f0a1ae', 'ip_version': 4, 'cidr': '29.48.131.128/26', 'allocation_pools': [{'start': '29.48.131.130', 'end': '29.48.131.190'}], 'gateway_ip': '29.48.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.48.131.130', 'tags': [], 'project_id': '70ac29336c7d4777bb8615ad5e88c50b'}}
2025-10-30 21:58:22,319 - INFO - Created VN ctest-vn-83146182
2025-10-30 21:58:22,374 - DEBUG - VN ctest-vn-83146182 UUID is 67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:22,542 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615, 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-87199932:ctest-vn-83146182, 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-30 21:58:22,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89c86376-04dd-43e9-8cf6-729576e7b99a', 'name': 'ctest-vn-54842615', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c94a01bf-4249-4694-b16b-267e6ea46c00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-54842615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821']], 'subnet_ipam': [{'subnet_cidr': '67.209.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:58:23,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67bd82d0-480b-4cde-811f-856bd9f0a1ae', 'name': 'ctest-vn-83146182', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d00ea159-96c6-4180-8c55-d214c8978a3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-83146182'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821']], 'subnet_ipam': [{'subnet_cidr': '29.48.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:58:23,458 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-30 21:58:23,797 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-30 21:58:23,836 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00
2025-10-30 21:58:23,865 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b
2025-10-30 21:58:23,996 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:24,025 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:24,042 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646
2025-10-30 21:58:24,058 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646
2025-10-30 21:58:24,074 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/a237a52c-483e-44be-a02d-8ae8ed7d136b
2025-10-30 21:58:24,085 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:58:24,086 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:24,105 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646
2025-10-30 21:58:24,136 - INFO - Verified VN network id 11 for VN 89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:24,136 - INFO - Verifications in API Server for VN ctest-vn-54842615 passed
2025-10-30 21:58:24,137 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:24,161 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646
2025-10-30 21:58:24,181 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646
2025-10-30 21:58:24,199 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/a237a52c-483e-44be-a02d-8ae8ed7d136b
2025-10-30 21:58:24,226 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87199932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9928294737077158889', 'uuid-lslong': '10157431995851323802'}, 'enable': 'true', 'created': '2025-10-30T21:58:21', 'last-modified': '2025-10-30T21:58:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285365'}
2025-10-30 21:58:24,241 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:58:24,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54842615 passed
2025-10-30 21:58:24,242 - DEBUG - ====Verifying policy data for ctest-vn-54842615 in API_Server ======
2025-10-30 21:58:24,242 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-30 21:58:24,252 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00
2025-10-30 21:58:24,276 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b
2025-10-30 21:58:24,401 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a
2025-10-30 21:58:24,423 - DEBUG - ==>Verifying data for policy with id: 5a95f494-f390-4f0b-be5f-d31c244b518c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821']
2025-10-30 21:58:24,424 - INFO - VN ctest-vn-54842615 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:58:24,424 - DEBUG - Verifying the vn in opserver
2025-10-30 21:58:24,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615 virtual network link  through opserver 10.0.0.245
2025-10-30 21:58:24,424 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks
2025-10-30 21:58:24,770 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks
2025-10-30 21:58:24,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615?flat'}
2025-10-30 21:58:24,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615 is found in opserver
2025-10-30 21:58:24,889 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:58:24,898 - DEBUG - VRF ids for VN ctest-vn-54842615: {}
2025-10-30 21:58:24,899 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-30 21:58:24,908 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00
2025-10-30 21:58:24,935 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b
2025-10-30 21:58:25,052 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:25,084 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:25,107 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549
2025-10-30 21:58:25,125 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549
2025-10-30 21:58:25,142 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/62cb988d-7eb6-4323-beff-245e8425ae84
2025-10-30 21:58:25,157 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:58:25,158 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:25,181 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549
2025-10-30 21:58:25,217 - INFO - Verified VN network id 12 for VN 67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:25,217 - INFO - Verifications in API Server for VN ctest-vn-83146182 passed
2025-10-30 21:58:25,217 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:25,240 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549
2025-10-30 21:58:25,257 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549
2025-10-30 21:58:25,271 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/62cb988d-7eb6-4323-beff-245e8425ae84
2025-10-30 21:58:25,302 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87199932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7475274787578399966', 'uuid-lslong': '9304302053435154862'}, 'enable': 'true', 'created': '2025-10-30T21:58:22', 'last-modified': '2025-10-30T21:58:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.096084'}
2025-10-30 21:58:25,320 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:58:25,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83146182 passed
2025-10-30 21:58:25,320 - DEBUG - ====Verifying policy data for ctest-vn-83146182 in API_Server ======
2025-10-30 21:58:25,321 - DEBUG - Requesting: http://10.0.0.245:8082/domains
2025-10-30 21:58:25,333 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00
2025-10-30 21:58:25,355 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b
2025-10-30 21:58:25,470 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae
2025-10-30 21:58:25,491 - DEBUG - ==>Verifying data for policy with id: 5a95f494-f390-4f0b-be5f-d31c244b518c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821']
2025-10-30 21:58:25,491 - INFO - VN ctest-vn-83146182 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:58:25,492 - DEBUG - Verifying the vn in opserver
2025-10-30 21:58:25,492 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182 virtual network link  through opserver 10.0.0.245
2025-10-30 21:58:25,492 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks
2025-10-30 21:58:25,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182?flat'}
2025-10-30 21:58:25,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182 is found in opserver
2025-10-30 21:58:25,536 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:58:25,548 - DEBUG - VRF ids for VN ctest-vn-83146182: {}
2025-10-30 21:58:25,670 - DEBUG - Services list from nova: [