2025-03-20 02:21:53,210 - INFO - Domain Default found not creating 2025-03-20 02:21:53,363 - INFO - Project ctest-TestBasicPolicyIpv4v6-86278978 not found, creating it 2025-03-20 02:21:53,956 - INFO - Created Project:ctest-TestBasicPolicyIpv4v6-86278978, ID : a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:21:55,574 - INFO - ================================================================================ 2025-03-20 02:21:55,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-20 02:21:55,574 - 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-03-20 02:21:56,874 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.5': '0', '10.20.0.23': '0'}, '10.0.0.53': {'10.20.0.11': '0', '10.20.0.5': '0'}} with 2025-03-20 02:21:56,874 - INFO - Initial checks done. Running the testcase now 2025-03-20 02:21:56,874 - INFO - 2025-03-20 02:21:57,615 - DEBUG - Response for create_network : {'network': {'id': 'ac7b6821-3b03-4728-bc25-0fb41c8fe8e8', 'name': 'ctest-vn-92551764', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-vn-92551764'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:21:57,936 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab999c83-3cf6-4813-99ee-948f493a7dd3', 'name': '', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'network_id': 'ac7b6821-3b03-4728-bc25-0fb41c8fe8e8', 'ip_version': 4, 'cidr': '47.145.140.0/26', 'allocation_pools': [{'start': '47.145.140.2', 'end': '47.145.140.62'}], 'gateway_ip': '47.145.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.145.140.2', 'tags': [], 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0'}} 2025-03-20 02:21:58,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '96ce223c-82f0-4ebb-a407-867085f2514c', 'name': '', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'network_id': 'ac7b6821-3b03-4728-bc25-0fb41c8fe8e8', 'ip_version': 6, 'cidr': '30b3:3e23:30f9:c49c:9f3d:5348::/96', 'allocation_pools': [{'start': '30b3:3e23:30f9:c49c:9f3d:5348:0:2', 'end': '30b3:3e23:30f9:c49c:9f3d:5348:ffff:fffe'}], 'gateway_ip': '30b3:3e23:30f9:c49c:9f3d:5348:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30b3:3e23:30f9:c49c:9f3d:5348:0:2', 'tags': [], 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0'}} 2025-03-20 02:21:58,278 - INFO - Created VN ctest-vn-92551764 2025-03-20 02:21:58,293 - DEBUG - VN ctest-vn-92551764 UUID is ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:21:58,847 - DEBUG - Response for create_network : {'network': {'id': '8f427643-1833-49d3-bb4f-b5004d7dc412', 'name': 'ctest-vn-28371091', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-vn-28371091'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:21:59,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ced1aca7-41d9-447d-8e2f-a5cca9edc67e', 'name': '', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'network_id': '8f427643-1833-49d3-bb4f-b5004d7dc412', 'ip_version': 4, 'cidr': '221.6.57.0/26', 'allocation_pools': [{'start': '221.6.57.2', 'end': '221.6.57.62'}], 'gateway_ip': '221.6.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.6.57.2', 'tags': [], 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0'}} 2025-03-20 02:21:59,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '37b39e6d-da42-4cba-9f2b-3bc558c78f59', 'name': '', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'network_id': '8f427643-1833-49d3-bb4f-b5004d7dc412', 'ip_version': 6, 'cidr': '32a4:7041:6e8b:603:1bc5:17d6::/96', 'allocation_pools': [{'start': '32a4:7041:6e8b:603:1bc5:17d6:0:2', 'end': '32a4:7041:6e8b:603:1bc5:17d6:ffff:fffe'}], 'gateway_ip': '32a4:7041:6e8b:603:1bc5:17d6:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32a4:7041:6e8b:603:1bc5:17d6:0:2', 'tags': [], 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0'}} 2025-03-20 02:21:59,475 - INFO - Created VN ctest-vn-28371091 2025-03-20 02:21:59,487 - DEBUG - VN ctest-vn-28371091 UUID is 8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:21:59,621 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764, 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-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091, 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, rule_sequence = None, rule_uuid = None, direction = <>, protocol = 58, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764, 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-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091, 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-03-20 02:22:00,068 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac7b6821-3b03-4728-bc25-0fb41c8fe8e8', 'name': 'ctest-vn-92551764', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab999c83-3cf6-4813-99ee-948f493a7dd3', '96ce223c-82f0-4ebb-a407-867085f2514c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-vn-92551764'], 'policys': [['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-policy-allow-all-72679810']], 'subnet_ipam': [{'subnet_cidr': '47.145.140.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}, {'subnet_cidr': '30b3:3e23:30f9:c49c:9f3d:5348::/96', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:22:00,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f427643-1833-49d3-bb4f-b5004d7dc412', 'name': 'ctest-vn-28371091', 'tenant_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'project_id': 'a262d85fe77b4e87ac2dc015d8d6b7c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ced1aca7-41d9-447d-8e2f-a5cca9edc67e', '37b39e6d-da42-4cba-9f2b-3bc558c78f59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-vn-28371091'], 'policys': [['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-policy-allow-all-72679810']], 'subnet_ipam': [{'subnet_cidr': '221.6.57.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}, {'subnet_cidr': '32a4:7041:6e8b:603:1bc5:17d6::/96', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:22:00,492 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:00,862 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:00,890 - DEBUG - Requesting: http://10.0.0.42:8082/domain/78cb90fb-efc3-49d9-aab8-3061c7ab1bd1 2025-03-20 02:22:00,909 - DEBUG - Requesting: http://10.0.0.42:8082/project/a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:22:01,019 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:22:01,037 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:22:01,052 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fa9cd275-3389-41a0-8220-cc8b1cfa7fc0 2025-03-20 02:22:01,061 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fa9cd275-3389-41a0-8220-cc8b1cfa7fc0 2025-03-20 02:22:01,071 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/dcc1b0e0-d627-4541-9717-94185a5caaa2 2025-03-20 02:22:01,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-20 02:22:01,082 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:22:01,095 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fa9cd275-3389-41a0-8220-cc8b1cfa7fc0 2025-03-20 02:22:01,114 - INFO - Verified VN network id 7 for VN ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:22:01,115 - INFO - Verifications in API Server for VN ctest-vn-92551764 passed 2025-03-20 02:22:01,115 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:22:01,130 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fa9cd275-3389-41a0-8220-cc8b1cfa7fc0 2025-03-20 02:22:01,139 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fa9cd275-3389-41a0-8220-cc8b1cfa7fc0 2025-03-20 02:22:01,148 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/dcc1b0e0-d627-4541-9717-94185a5caaa2 2025-03-20 02:22:01,163 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-86278978', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12428642088592295720', 'uuid-lslong': '13557259519516469480'}, 'enable': 'true', 'created': '2025-03-20T02:21:57', 'last-modified': '2025-03-20T02:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.143306'} 2025-03-20 02:22:01,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-20 02:22:01,178 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-86278978', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12428642088592295720', 'uuid-lslong': '13557259519516469480'}, 'enable': 'true', 'created': '2025-03-20T02:21:57', 'last-modified': '2025-03-20T02:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.174526'} 2025-03-20 02:22:01,185 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-20 02:22:01,192 - DEBUG - Control-node 10.0.0.47 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-86278978', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12428642088592295720', 'uuid-lslong': '13557259519516469480'}, 'enable': 'true', 'created': '2025-03-20T02:21:57', 'last-modified': '2025-03-20T02:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.187941'} 2025-03-20 02:22:01,201 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-20 02:22:01,202 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92551764 passed 2025-03-20 02:22:01,202 - DEBUG - ====Verifying policy data for ctest-vn-92551764 in API_Server ====== 2025-03-20 02:22:01,202 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:01,209 - DEBUG - Requesting: http://10.0.0.42:8082/domain/78cb90fb-efc3-49d9-aab8-3061c7ab1bd1 2025-03-20 02:22:01,222 - DEBUG - Requesting: http://10.0.0.42:8082/project/a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:22:01,335 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac7b6821-3b03-4728-bc25-0fb41c8fe8e8 2025-03-20 02:22:01,351 - DEBUG - ==>Verifying data for policy with id: 740ab2bc-5b0b-40ee-b24f-97b8ba46931f, fqn: ['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-policy-allow-all-72679810'] 2025-03-20 02:22:01,351 - INFO - VN ctest-vn-92551764 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-20 02:22:01,351 - DEBUG - Verifying the vn in opserver 2025-03-20 02:22:01,351 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764 virtual network link through opserver 10.0.0.42 2025-03-20 02:22:01,351 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-03-20 02:22:01,652 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-03-20 02:22:01,720 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764?flat'} 2025-03-20 02:22:01,720 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764 virtual network link through opserver 10.0.0.12 2025-03-20 02:22:01,720 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-03-20 02:22:02,022 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-03-20 02:22:02,092 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764?flat'} 2025-03-20 02:22:02,092 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764 virtual network link through opserver 10.0.0.47 2025-03-20 02:22:02,092 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-03-20 02:22:02,438 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-03-20 02:22:02,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764', 'href': 'http://10.0.0.47:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764?flat'} 2025-03-20 02:22:02,511 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-92551764 is found in opserver 2025-03-20 02:22:02,542 - DEBUG - Do not have enough data to verify VN in agent 2025-03-20 02:22:02,555 - DEBUG - VRF ids for VN ctest-vn-92551764: {} 2025-03-20 02:22:02,556 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:02,565 - DEBUG - Requesting: http://10.0.0.42:8082/domain/78cb90fb-efc3-49d9-aab8-3061c7ab1bd1 2025-03-20 02:22:02,579 - DEBUG - Requesting: http://10.0.0.42:8082/project/a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:22:02,682 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:22:02,702 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:22:02,718 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/84c9424b-0cc6-427e-8e0f-d17f1e797cff 2025-03-20 02:22:02,727 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/84c9424b-0cc6-427e-8e0f-d17f1e797cff 2025-03-20 02:22:02,736 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/4b333be7-8ef7-423d-b3e0-b575eb3dc6fb 2025-03-20 02:22:02,746 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-03-20 02:22:02,746 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:22:02,760 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/84c9424b-0cc6-427e-8e0f-d17f1e797cff 2025-03-20 02:22:02,778 - INFO - Verified VN network id 8 for VN 8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:22:02,778 - INFO - Verifications in API Server for VN ctest-vn-28371091 passed 2025-03-20 02:22:02,778 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:22:02,790 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/84c9424b-0cc6-427e-8e0f-d17f1e797cff 2025-03-20 02:22:02,799 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/84c9424b-0cc6-427e-8e0f-d17f1e797cff 2025-03-20 02:22:02,807 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/4b333be7-8ef7-423d-b3e0-b575eb3dc6fb 2025-03-20 02:22:02,830 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-86278978', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10322943326427498963', 'uuid-lslong': '13497205621157381138'}, 'enable': 'true', 'created': '2025-03-20T02:21:58', 'last-modified': '2025-03-20T02:22:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.568052'} 2025-03-20 02:22:02,837 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-03-20 02:22:02,843 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-86278978', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10322943326427498963', 'uuid-lslong': '13497205621157381138'}, 'enable': 'true', 'created': '2025-03-20T02:21:58', 'last-modified': '2025-03-20T02:22:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.586692'} 2025-03-20 02:22:02,852 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-03-20 02:22:02,859 - DEBUG - Control-node 10.0.0.47 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-86278978', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10322943326427498963', 'uuid-lslong': '13497205621157381138'}, 'enable': 'true', 'created': '2025-03-20T02:21:58', 'last-modified': '2025-03-20T02:22:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.592836'} 2025-03-20 02:22:02,866 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-03-20 02:22:02,866 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28371091 passed 2025-03-20 02:22:02,866 - DEBUG - ====Verifying policy data for ctest-vn-28371091 in API_Server ====== 2025-03-20 02:22:02,866 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:02,874 - DEBUG - Requesting: http://10.0.0.42:8082/domain/78cb90fb-efc3-49d9-aab8-3061c7ab1bd1 2025-03-20 02:22:02,887 - DEBUG - Requesting: http://10.0.0.42:8082/project/a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:22:03,009 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/8f427643-1833-49d3-bb4f-b5004d7dc412 2025-03-20 02:22:03,023 - DEBUG - ==>Verifying data for policy with id: 740ab2bc-5b0b-40ee-b24f-97b8ba46931f, fqn: ['default-domain', 'ctest-TestBasicPolicyIpv4v6-86278978', 'ctest-policy-allow-all-72679810'] 2025-03-20 02:22:03,023 - INFO - VN ctest-vn-28371091 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-20 02:22:03,023 - DEBUG - Verifying the vn in opserver 2025-03-20 02:22:03,023 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091 virtual network link through opserver 10.0.0.42 2025-03-20 02:22:03,024 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-03-20 02:22:03,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091?flat'} 2025-03-20 02:22:03,082 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091 virtual network link through opserver 10.0.0.12 2025-03-20 02:22:03,082 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-03-20 02:22:03,144 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091?flat'} 2025-03-20 02:22:03,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091 virtual network link through opserver 10.0.0.47 2025-03-20 02:22:03,144 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-03-20 02:22:03,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091', 'href': 'http://10.0.0.47:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091?flat'} 2025-03-20 02:22:03,203 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyIpv4v6-86278978:ctest-vn-28371091 is found in opserver 2025-03-20 02:22:03,230 - DEBUG - Do not have enough data to verify VN in agent 2025-03-20 02:22:03,244 - DEBUG - VRF ids for VN ctest-vn-28371091: {} 2025-03-20 02:22:03,244 - INFO - Disabling v6 tests for CI 2025-03-20 02:22:03,720 - INFO - Deleted policy ctest-policy-allow-all-72679810 2025-03-20 02:22:03,721 - INFO - Deleting VN ctest-vn-28371091 2025-03-20 02:22:03,988 - DEBUG - Response for deleting network () 2025-03-20 02:22:03,988 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/84c9424b-0cc6-427e-8e0f-d17f1e797cff 2025-03-20 02:22:03,996 - DEBUG - Response Code: 404 2025-03-20 02:22:03,997 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:04,005 - DEBUG - Requesting: http://10.0.0.42:8082/domain/78cb90fb-efc3-49d9-aab8-3061c7ab1bd1 2025-03-20 02:22:04,064 - DEBUG - Requesting: http://10.0.0.42:8082/project/a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:22:04,183 - INFO - Validated that VN ctest-vn-28371091 is not found in API Server 2025-03-20 02:22:04,201 - DEBUG - VN ctest-vn-28371091 is not present in Agent 10.0.0.29 2025-03-20 02:22:04,213 - DEBUG - VN ctest-vn-28371091 is not present in Agent 10.0.0.53 2025-03-20 02:22:04,213 - INFO - Validated that VN ctest-vn-28371091 is not in any agent 2025-03-20 02:22:04,267 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28371091 info 2025-03-20 02:22:04,267 - INFO - Deleting VN ctest-vn-92551764 2025-03-20 02:22:04,546 - DEBUG - Response for deleting network () 2025-03-20 02:22:04,546 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fa9cd275-3389-41a0-8220-cc8b1cfa7fc0 2025-03-20 02:22:04,558 - DEBUG - Response Code: 404 2025-03-20 02:22:04,560 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-03-20 02:22:04,576 - DEBUG - Requesting: http://10.0.0.42:8082/domain/78cb90fb-efc3-49d9-aab8-3061c7ab1bd1 2025-03-20 02:22:04,604 - DEBUG - Requesting: http://10.0.0.42:8082/project/a262d85f-e77b-4e87-ac2d-c015d8d6b7c0 2025-03-20 02:22:04,725 - INFO - Validated that VN ctest-vn-92551764 is not found in API Server 2025-03-20 02:22:04,739 - DEBUG - VN ctest-vn-92551764 is not present in Agent 10.0.0.29 2025-03-20 02:22:04,753 - DEBUG - VN ctest-vn-92551764 is not present in Agent 10.0.0.53 2025-03-20 02:22:04,753 - INFO - Validated that VN ctest-vn-92551764 is not in any agent 2025-03-20 02:22:04,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92551764 info 2025-03-20 02:22:06,100 - DEBUG - No XMPP flaps were noticed during the test 2025-03-20 02:22:06,100 - INFO - 2025-03-20 02:22:06,100 - INFO - END TEST : test_basic_policy_allow_deny : SKIPPED[0:00:11] 2025-03-20 02:22:06,101 - INFO - -------------------------------------------------------------------------------- 2025-03-20 02:22:06,890 - INFO - Deleted project: ctest-TestBasicPolicyIpv4v6-86278978, ID : a262d85f-e77b-4e87-ac2d-c015d8d6b7c0