2025-10-19 22:19:38,739 - INFO - Domain Default found not creating
2025-10-19 22:19:38,892 - INFO - Project ctest-TestBasicPolicy-91278216 not found, creating it
2025-10-19 22:19:39,349 - INFO - Created Project:ctest-TestBasicPolicy-91278216, ID : fa143bfc-f82f-4eff-afe2-9da9e07884a3 
2025-10-19 22:19:40,825 - INFO - ================================================================================
2025-10-19 22:19:40,825 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-19 22:19:40,825 - 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-19 22:19:41,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-19 22:19:41,080 - INFO - Initial checks done. Running the testcase now
2025-10-19 22:19:41,080 - INFO - 
2025-10-19 22:19:41,659 - DEBUG - Response for create_network : {'network': {'id': '21835a3a-79f2-43fe-90cf-1d38f83830bb', 'name': 'ctest-vn-57992572', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-57992572'], 'port_security_enabled': True, 'description': ''}}
2025-10-19 22:19:41,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa96dc38-9c3d-47a1-88fc-5fbd6c7aca19', 'name': '', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'network_id': '21835a3a-79f2-43fe-90cf-1d38f83830bb', 'ip_version': 4, 'cidr': '21.188.153.192/26', 'allocation_pools': [{'start': '21.188.153.194', 'end': '21.188.153.254'}], 'gateway_ip': '21.188.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.188.153.194', 'tags': [], 'project_id': 'fa143bfcf82f4effafe29da9e07884a3'}}
2025-10-19 22:19:41,847 - INFO - Created VN ctest-vn-57992572
2025-10-19 22:19:41,898 - DEBUG - VN ctest-vn-57992572 UUID is 21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:42,175 - DEBUG - Response for create_network : {'network': {'id': '278ae3d4-9571-4877-a688-38ff953bd106', 'name': 'ctest-vn-83078131', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-83078131'], 'port_security_enabled': True, 'description': ''}}
2025-10-19 22:19:42,367 - DEBUG - Response for create_subnet : {'subnet': {'id': '832d3241-7a07-4bae-9591-d4db2c7dc192', 'name': '', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'network_id': '278ae3d4-9571-4877-a688-38ff953bd106', 'ip_version': 4, 'cidr': '136.45.47.64/26', 'allocation_pools': [{'start': '136.45.47.66', 'end': '136.45.47.126'}], 'gateway_ip': '136.45.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.45.47.66', 'tags': [], 'project_id': 'fa143bfcf82f4effafe29da9e07884a3'}}
2025-10-19 22:19:42,384 - INFO - Created VN ctest-vn-83078131
2025-10-19 22:19:42,434 - DEBUG - VN ctest-vn-83078131 UUID is 278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:42,561 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572, 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-91278216:ctest-vn-83078131, 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-19 22:19:42,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21835a3a-79f2-43fe-90cf-1d38f83830bb', 'name': 'ctest-vn-57992572', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa96dc38-9c3d-47a1-88fc-5fbd6c7aca19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-57992572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474']], 'subnet_ipam': [{'subnet_cidr': '21.188.153.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-19 22:19:43,084 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '278ae3d4-9571-4877-a688-38ff953bd106', 'name': 'ctest-vn-83078131', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['832d3241-7a07-4bae-9591-d4db2c7dc192'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-83078131'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474']], 'subnet_ipam': [{'subnet_cidr': '136.45.47.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-19 22:19:43,235 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-19 22:19:43,552 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-19 22:19:43,579 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862
2025-10-19 22:19:43,591 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3
2025-10-19 22:19:43,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:43,678 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:43,686 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6
2025-10-19 22:19:43,692 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6
2025-10-19 22:19:43,698 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f34d5d0f-20bf-4950-99ed-40a473721a26
2025-10-19 22:19:43,705 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-19 22:19:43,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:43,716 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6
2025-10-19 22:19:43,731 - INFO - Verified VN network id 11 for VN 21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:43,731 - INFO - Verifications in API Server for VN ctest-vn-57992572 passed
2025-10-19 22:19:43,732 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:43,742 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6
2025-10-19 22:19:43,748 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6
2025-10-19 22:19:43,755 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f34d5d0f-20bf-4950-99ed-40a473721a26
2025-10-19 22:19:43,767 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91278216', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2414873032401241086', 'uuid-lslong': '10434590992160534715'}, 'enable': 'true', 'created': '2025-10-19T22:19:41', 'last-modified': '2025-10-19T22:19:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936722'}
2025-10-19 22:19:43,773 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-19 22:19:43,773 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57992572 passed
2025-10-19 22:19:43,774 - DEBUG - ====Verifying policy data for ctest-vn-57992572 in API_Server ======
2025-10-19 22:19:43,774 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-19 22:19:43,780 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862
2025-10-19 22:19:43,790 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3
2025-10-19 22:19:43,871 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb
2025-10-19 22:19:43,880 - DEBUG - ==>Verifying data for policy with id: c78970ff-318d-49c1-93b7-7f5bc54a2a67, fqn: ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474']
2025-10-19 22:19:43,880 - INFO - VN ctest-vn-57992572 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-19 22:19:43,880 - DEBUG - Verifying the vn in opserver
2025-10-19 22:19:43,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572 virtual network link  through opserver 10.0.0.254
2025-10-19 22:19:43,880 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-19 22:19:44,193 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-19 22:19:44,245 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572?flat'}
2025-10-19 22:19:44,245 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572 is found in opserver
2025-10-19 22:19:44,257 - DEBUG - Do not have enough data to verify VN in agent
2025-10-19 22:19:44,261 - DEBUG - VRF ids for VN ctest-vn-57992572: {}
2025-10-19 22:19:44,261 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-19 22:19:44,266 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862
2025-10-19 22:19:44,276 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3
2025-10-19 22:19:44,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:44,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:44,367 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a
2025-10-19 22:19:44,373 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a
2025-10-19 22:19:44,380 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4904e762-6036-4a13-a52a-8e6d8bafa66e
2025-10-19 22:19:44,385 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-19 22:19:44,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:44,392 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a
2025-10-19 22:19:44,404 - INFO - Verified VN network id 12 for VN 278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:44,404 - INFO - Verifications in API Server for VN ctest-vn-83078131 passed
2025-10-19 22:19:44,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:44,412 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a
2025-10-19 22:19:44,419 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a
2025-10-19 22:19:44,425 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4904e762-6036-4a13-a52a-8e6d8bafa66e
2025-10-19 22:19:44,435 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91278216', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2849340216445061239', 'uuid-lslong': '11999903877500227846'}, 'enable': 'true', 'created': '2025-10-19T22:19:42', 'last-modified': '2025-10-19T22:19:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373492'}
2025-10-19 22:19:44,441 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-19 22:19:44,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83078131 passed
2025-10-19 22:19:44,441 - DEBUG - ====Verifying policy data for ctest-vn-83078131 in API_Server ======
2025-10-19 22:19:44,441 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-19 22:19:44,446 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862
2025-10-19 22:19:44,455 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3
2025-10-19 22:19:44,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106
2025-10-19 22:19:44,540 - DEBUG - ==>Verifying data for policy with id: c78970ff-318d-49c1-93b7-7f5bc54a2a67, fqn: ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474']
2025-10-19 22:19:44,540 - INFO - VN ctest-vn-83078131 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-19 22:19:44,541 - DEBUG - Verifying the vn in opserver
2025-10-19 22:19:44,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131 virtual network link  through opserver 10.0.0.254
2025-10-19 22:19:44,541 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-19 22:19:44,552 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131?flat'}
2025-10-19 22:19:44,552 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131 is found in opserver
2025-10-19 22:19:44,564 - DEBUG - Do not have enough data to verify VN in agent
2025-10-19 22:19:44,569 - DEBUG - VRF ids for VN ctest-vn-83078131: {}
2025-10-19 22:19:44,625 - DEBUG - Services list from nova: [