2025-01-20 02:19:37,786 - INFO - Domain Default found not creating 2025-01-20 02:19:37,994 - INFO - Project ctest-TestBasicPolicyIpv4v6-00453742 not found, creating it 2025-01-20 02:19:38,690 - INFO - Created Project:ctest-TestBasicPolicyIpv4v6-00453742, ID : 8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:40,422 - INFO - ================================================================================ 2025-01-20 02:19:40,422 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-20 02:19:40,423 - 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-01-20 02:19:41,720 - WARNING - Test is running with cores: {'10.0.0.22': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-2650-2.1737337815'], '10.0.0.49': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-2650-3.1737337623', 'core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-2650-3.1737337815']} 2025-01-20 02:19:41,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.18': '0', '10.20.0.7': '0'}, '10.0.0.56': {'10.20.0.18': '0', '10.20.0.11': '0'}} with 2025-01-20 02:19:41,739 - INFO - Initial checks done. Running the testcase now 2025-01-20 02:19:41,739 - INFO - 2025-01-20 02:19:42,562 - DEBUG - Response for create_network : {'network': {'id': '47a6c637-276e-4132-8669-a0f27380fd96', 'name': 'ctest-vn-83465661', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-vn-83465661'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:19:42,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '098a4276-520a-4bc1-9671-6e0a73175ba3', 'name': '', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'network_id': '47a6c637-276e-4132-8669-a0f27380fd96', 'ip_version': 4, 'cidr': '166.181.233.128/26', 'allocation_pools': [{'start': '166.181.233.130', 'end': '166.181.233.190'}], 'gateway_ip': '166.181.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.181.233.130', 'tags': [], 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51'}} 2025-01-20 02:19:43,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '63a081ea-2824-4329-96a6-65605685f913', 'name': '', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'network_id': '47a6c637-276e-4132-8669-a0f27380fd96', 'ip_version': 6, 'cidr': '3cf9:9cd8:1a89:d846:bf8a:6d4b::/96', 'allocation_pools': [{'start': '3cf9:9cd8:1a89:d846:bf8a:6d4b:0:2', 'end': '3cf9:9cd8:1a89:d846:bf8a:6d4b:ffff:fffe'}], 'gateway_ip': '3cf9:9cd8:1a89:d846:bf8a:6d4b:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3cf9:9cd8:1a89:d846:bf8a:6d4b:0:2', 'tags': [], 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51'}} 2025-01-20 02:19:43,304 - INFO - Created VN ctest-vn-83465661 2025-01-20 02:19:43,324 - DEBUG - VN ctest-vn-83465661 UUID is 47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:43,908 - DEBUG - Response for create_network : {'network': {'id': 'd149ce7e-4d09-4019-98cb-f4aa099fb25a', 'name': 'ctest-vn-61278981', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-vn-61278981'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:19:44,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '30be1e51-bbeb-4eb3-bc34-9a96d6d0e255', 'name': '', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'network_id': 'd149ce7e-4d09-4019-98cb-f4aa099fb25a', 'ip_version': 4, 'cidr': '88.195.158.128/26', 'allocation_pools': [{'start': '88.195.158.130', 'end': '88.195.158.190'}], 'gateway_ip': '88.195.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.195.158.130', 'tags': [], 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51'}} 2025-01-20 02:19:44,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '5986a891-6dba-43ee-9c4c-8fddc553a687', 'name': '', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'network_id': 'd149ce7e-4d09-4019-98cb-f4aa099fb25a', 'ip_version': 6, 'cidr': '3dec:a92a:bf1:a847:c94:852a::/96', 'allocation_pools': [{'start': '3dec:a92a:bf1:a847:c94:852a:0:2', 'end': '3dec:a92a:bf1:a847:c94:852a:ffff:fffe'}], 'gateway_ip': '3dec:a92a:bf1:a847:c94:852a:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3dec:a92a:bf1:a847:c94:852a:0:2', 'tags': [], 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51'}} 2025-01-20 02:19:44,580 - INFO - Created VN ctest-vn-61278981 2025-01-20 02:19:44,600 - DEBUG - VN ctest-vn-61278981 UUID is d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:44,744 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661, 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-00453742:ctest-vn-61278981, 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-00453742:ctest-vn-83465661, 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-00453742:ctest-vn-61278981, 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-01-20 02:19:45,190 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47a6c637-276e-4132-8669-a0f27380fd96', 'name': 'ctest-vn-83465661', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['098a4276-520a-4bc1-9671-6e0a73175ba3', '63a081ea-2824-4329-96a6-65605685f913'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-vn-83465661'], 'policys': [['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-policy-allow-all-28987689']], 'subnet_ipam': [{'subnet_cidr': '166.181.233.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}, {'subnet_cidr': '3cf9:9cd8:1a89:d846:bf8a:6d4b::/96', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:19:45,559 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd149ce7e-4d09-4019-98cb-f4aa099fb25a', 'name': 'ctest-vn-61278981', 'tenant_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'project_id': '8a44a09eefaa4143ab16e4beb2cdae51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30be1e51-bbeb-4eb3-bc34-9a96d6d0e255', '5986a891-6dba-43ee-9c4c-8fddc553a687'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-vn-61278981'], 'policys': [['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-policy-allow-all-28987689']], 'subnet_ipam': [{'subnet_cidr': '88.195.158.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}, {'subnet_cidr': '3dec:a92a:bf1:a847:c94:852a::/96', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:19:45,686 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:46,045 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:46,084 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5e738284-bb49-4a6f-8f2b-7e012ef06d36 2025-01-20 02:19:46,108 - DEBUG - Requesting: http://10.0.0.42:8082/project/8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:46,233 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:46,249 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:46,266 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/f606817b-30f8-4745-aaa6-9229f59ca04c 2025-01-20 02:19:46,278 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/f606817b-30f8-4745-aaa6-9229f59ca04c 2025-01-20 02:19:46,291 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/6b1343fa-1660-4aa3-9817-f4e0a6245f52 2025-01-20 02:19:46,305 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:19:46,305 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:46,320 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/f606817b-30f8-4745-aaa6-9229f59ca04c 2025-01-20 02:19:46,344 - INFO - Verified VN network id 7 for VN 47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:46,344 - INFO - Verifications in API Server for VN ctest-vn-83465661 passed 2025-01-20 02:19:46,344 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:46,360 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/f606817b-30f8-4745-aaa6-9229f59ca04c 2025-01-20 02:19:46,372 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/f606817b-30f8-4745-aaa6-9229f59ca04c 2025-01-20 02:19:46,384 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/6b1343fa-1660-4aa3-9817-f4e0a6245f52 2025-01-20 02:19:46,406 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-00453742', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5163031963013890354', 'uuid-lslong': '9685449436817325462'}, 'enable': 'true', 'created': '2025-01-20T02:19:42', 'last-modified': '2025-01-20T02:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285999'} 2025-01-20 02:19:46,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:19:46,423 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-00453742', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5163031963013890354', 'uuid-lslong': '9685449436817325462'}, 'enable': 'true', 'created': '2025-01-20T02:19:42', 'last-modified': '2025-01-20T02:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304715'} 2025-01-20 02:19:46,431 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:19:46,439 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-00453742', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5163031963013890354', 'uuid-lslong': '9685449436817325462'}, 'enable': 'true', 'created': '2025-01-20T02:19:42', 'last-modified': '2025-01-20T02:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321033'} 2025-01-20 02:19:46,448 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:19:46,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83465661 passed 2025-01-20 02:19:46,448 - DEBUG - ====Verifying policy data for ctest-vn-83465661 in API_Server ====== 2025-01-20 02:19:46,448 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:46,458 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5e738284-bb49-4a6f-8f2b-7e012ef06d36 2025-01-20 02:19:46,475 - DEBUG - Requesting: http://10.0.0.42:8082/project/8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:46,591 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/47a6c637-276e-4132-8669-a0f27380fd96 2025-01-20 02:19:46,610 - DEBUG - ==>Verifying data for policy with id: 4aea5cde-5f35-4902-8b13-804b925df37e, fqn: ['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-policy-allow-all-28987689'] 2025-01-20 02:19:46,610 - INFO - VN ctest-vn-83465661 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-20 02:19:46,610 - DEBUG - Verifying the vn in opserver 2025-01-20 02:19:46,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661 virtual network link through opserver 10.0.0.42 2025-01-20 02:19:46,610 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-01-20 02:19:46,931 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-01-20 02:19:47,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661?flat'} 2025-01-20 02:19:47,010 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661 virtual network link through opserver 10.0.0.22 2025-01-20 02:19:47,010 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-20 02:19:47,326 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-20 02:19:47,402 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661?flat'} 2025-01-20 02:19:47,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661 virtual network link through opserver 10.0.0.49 2025-01-20 02:19:47,402 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-01-20 02:19:47,703 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-01-20 02:19:47,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661?flat'} 2025-01-20 02:19:47,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-83465661 is found in opserver 2025-01-20 02:19:47,809 - DEBUG - Do not have enough data to verify VN in agent 2025-01-20 02:19:47,826 - DEBUG - VRF ids for VN ctest-vn-83465661: {} 2025-01-20 02:19:47,827 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:47,841 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5e738284-bb49-4a6f-8f2b-7e012ef06d36 2025-01-20 02:19:47,859 - DEBUG - Requesting: http://10.0.0.42:8082/project/8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:47,991 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:48,010 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:48,025 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/bd34dc61-21dc-4d4c-b7b5-747b188a960e 2025-01-20 02:19:48,037 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/bd34dc61-21dc-4d4c-b7b5-747b188a960e 2025-01-20 02:19:48,048 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/a377ab91-50ee-424c-9b81-3a5a7ae18f28 2025-01-20 02:19:48,065 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-20 02:19:48,066 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:48,081 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/bd34dc61-21dc-4d4c-b7b5-747b188a960e 2025-01-20 02:19:48,105 - INFO - Verified VN network id 8 for VN d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:48,106 - INFO - Verifications in API Server for VN ctest-vn-61278981 passed 2025-01-20 02:19:48,106 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:48,122 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/bd34dc61-21dc-4d4c-b7b5-747b188a960e 2025-01-20 02:19:48,135 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/bd34dc61-21dc-4d4c-b7b5-747b188a960e 2025-01-20 02:19:48,149 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/a377ab91-50ee-424c-9b81-3a5a7ae18f28 2025-01-20 02:19:48,165 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-00453742', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15080811869080469529', 'uuid-lslong': '11010162725180387930'}, 'enable': 'true', 'created': '2025-01-20T02:19:43', 'last-modified': '2025-01-20T02:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.740985'} 2025-01-20 02:19:48,173 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-20 02:19:48,183 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-00453742', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15080811869080469529', 'uuid-lslong': '11010162725180387930'}, 'enable': 'true', 'created': '2025-01-20T02:19:43', 'last-modified': '2025-01-20T02:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.757489'} 2025-01-20 02:19:48,192 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-20 02:19:48,200 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-00453742', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15080811869080469529', 'uuid-lslong': '11010162725180387930'}, 'enable': 'true', 'created': '2025-01-20T02:19:43', 'last-modified': '2025-01-20T02:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.773918'} 2025-01-20 02:19:48,208 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-20 02:19:48,208 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61278981 passed 2025-01-20 02:19:48,209 - DEBUG - ====Verifying policy data for ctest-vn-61278981 in API_Server ====== 2025-01-20 02:19:48,209 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:48,217 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5e738284-bb49-4a6f-8f2b-7e012ef06d36 2025-01-20 02:19:48,234 - DEBUG - Requesting: http://10.0.0.42:8082/project/8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:48,356 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/d149ce7e-4d09-4019-98cb-f4aa099fb25a 2025-01-20 02:19:48,372 - DEBUG - ==>Verifying data for policy with id: 4aea5cde-5f35-4902-8b13-804b925df37e, fqn: ['default-domain', 'ctest-TestBasicPolicyIpv4v6-00453742', 'ctest-policy-allow-all-28987689'] 2025-01-20 02:19:48,372 - INFO - VN ctest-vn-61278981 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-20 02:19:48,372 - DEBUG - Verifying the vn in opserver 2025-01-20 02:19:48,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981 virtual network link through opserver 10.0.0.42 2025-01-20 02:19:48,373 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-01-20 02:19:48,439 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981?flat'} 2025-01-20 02:19:48,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981 virtual network link through opserver 10.0.0.22 2025-01-20 02:19:48,439 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-20 02:19:48,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981?flat'} 2025-01-20 02:19:48,525 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981 virtual network link through opserver 10.0.0.49 2025-01-20 02:19:48,526 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-01-20 02:19:48,617 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981?flat'} 2025-01-20 02:19:48,617 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyIpv4v6-00453742:ctest-vn-61278981 is found in opserver 2025-01-20 02:19:48,654 - DEBUG - Do not have enough data to verify VN in agent 2025-01-20 02:19:48,678 - DEBUG - VRF ids for VN ctest-vn-61278981: {} 2025-01-20 02:19:48,678 - INFO - Disabling v6 tests for CI 2025-01-20 02:19:49,320 - INFO - Deleted policy ctest-policy-allow-all-28987689 2025-01-20 02:19:49,321 - INFO - Deleting VN ctest-vn-61278981 2025-01-20 02:19:49,590 - DEBUG - Response for deleting network () 2025-01-20 02:19:49,591 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/bd34dc61-21dc-4d4c-b7b5-747b188a960e 2025-01-20 02:19:49,603 - DEBUG - Response Code: 404 2025-01-20 02:19:49,603 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:49,634 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5e738284-bb49-4a6f-8f2b-7e012ef06d36 2025-01-20 02:19:49,653 - DEBUG - Requesting: http://10.0.0.42:8082/project/8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:49,789 - INFO - Validated that VN ctest-vn-61278981 is not found in API Server 2025-01-20 02:19:49,809 - DEBUG - VN ctest-vn-61278981 is not present in Agent 10.0.0.45 2025-01-20 02:19:49,825 - DEBUG - VN ctest-vn-61278981 is not present in Agent 10.0.0.56 2025-01-20 02:19:49,825 - INFO - Validated that VN ctest-vn-61278981 is not in any agent 2025-01-20 02:19:49,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61278981 info 2025-01-20 02:19:49,871 - INFO - Deleting VN ctest-vn-83465661 2025-01-20 02:19:50,139 - DEBUG - Response for deleting network () 2025-01-20 02:19:50,139 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/f606817b-30f8-4745-aaa6-9229f59ca04c 2025-01-20 02:19:50,159 - DEBUG - Response Code: 404 2025-01-20 02:19:50,159 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-20 02:19:50,171 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5e738284-bb49-4a6f-8f2b-7e012ef06d36 2025-01-20 02:19:50,202 - DEBUG - Requesting: http://10.0.0.42:8082/project/8a44a09e-efaa-4143-ab16-e4beb2cdae51 2025-01-20 02:19:50,323 - INFO - Validated that VN ctest-vn-83465661 is not found in API Server 2025-01-20 02:19:50,340 - DEBUG - VN ctest-vn-83465661 is not present in Agent 10.0.0.45 2025-01-20 02:19:50,356 - DEBUG - VN ctest-vn-83465661 is not present in Agent 10.0.0.56 2025-01-20 02:19:50,356 - INFO - Validated that VN ctest-vn-83465661 is not in any agent 2025-01-20 02:19:50,404 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83465661 info 2025-01-20 02:19:51,722 - DEBUG - No XMPP flaps were noticed during the test 2025-01-20 02:19:51,722 - INFO - 2025-01-20 02:19:51,722 - INFO - END TEST : test_basic_policy_allow_deny : SKIPPED[0:00:11] 2025-01-20 02:19:51,722 - INFO - -------------------------------------------------------------------------------- 2025-01-20 02:19:52,556 - INFO - Deleted project: ctest-TestBasicPolicyIpv4v6-00453742, ID : 8a44a09e-efaa-4143-ab16-e4beb2cdae51