2024-09-13 21:32:20,819 - INFO - Reading existing Domain with UUID c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:20,834 - INFO - Using existing domain ['admin_domain'](c825d847-91d2-46e5-9bb6-0d300075fcb1) 2024-09-13 21:32:21,105 - INFO - Project ctest-TestBasicPolicyIpv4v6-40259174 not found, creating it 2024-09-13 21:32:21,658 - INFO - Created Project:ctest-TestBasicPolicyIpv4v6-40259174, ID : f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:24,314 - INFO - ================================================================================ 2024-09-13 21:32:24,315 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-13 21:32:24,316 - 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 2024-09-13 21:32:25,066 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.12': '0', '10.0.0.41': '2'}, '10.0.0.36': {'10.0.0.12': '3', '10.0.0.41': '3'}} with 2024-09-13 21:32:25,066 - INFO - Initial checks done. Running the testcase now 2024-09-13 21:32:25,066 - INFO - 2024-09-13 21:32:26,062 - DEBUG - Response for create_network : {'network': {'id': 'ea870b48-3d47-49fa-b314-39ddaffcb2bf', 'name': 'ctest-vn-46550629', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'project_id': 'f5ac0f47e5e249bf844a995c57d52674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-vn-46550629'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-13 21:32:26,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '74279bc3-bb48-4d09-a678-6e6a16bcea25', 'name': '', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'network_id': 'ea870b48-3d47-49fa-b314-39ddaffcb2bf', 'ip_version': 4, 'cidr': '46.119.113.192/26', 'allocation_pools': [{'start': '46.119.113.194', 'end': '46.119.113.254'}], 'gateway_ip': '46.119.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-13T21:32:26.235954', 'updated_at': '2024-09-13T21:32:26.235954', 'dns_server_address': '46.119.113.194', 'tags': [], 'project_id': 'f5ac0f47e5e249bf844a995c57d52674'}} 2024-09-13 21:32:26,620 - DEBUG - Response for create_subnet : {'subnet': {'id': '7eac2a44-9129-460b-afb9-12811d8cffd3', 'name': '', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'network_id': 'ea870b48-3d47-49fa-b314-39ddaffcb2bf', 'ip_version': 6, 'cidr': '3463:f1d6:925a:fb02:8e2d:66bb::/96', 'allocation_pools': [{'start': '3463:f1d6:925a:fb02:8e2d:66bb:0:2', 'end': '3463:f1d6:925a:fb02:8e2d:66bb:ffff:fffe'}], 'gateway_ip': '3463:f1d6:925a:fb02:8e2d:66bb:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-13T21:32:26.496977', 'updated_at': '2024-09-13T21:32:26.496977', 'dns_server_address': '3463:f1d6:925a:fb02:8e2d:66bb:0:2', 'tags': [], 'project_id': 'f5ac0f47e5e249bf844a995c57d52674'}} 2024-09-13 21:32:26,743 - INFO - Created VN ctest-vn-46550629 2024-09-13 21:32:26,767 - DEBUG - VN ctest-vn-46550629 UUID is ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:28,394 - DEBUG - Response for create_network : {'network': {'id': 'e351f60c-804e-4105-9390-7319c7b1616c', 'name': 'ctest-vn-46589512', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'project_id': 'f5ac0f47e5e249bf844a995c57d52674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-vn-46589512'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-13 21:32:28,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '0523c1dc-221d-4443-b870-5d9aec12e837', 'name': '', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'network_id': 'e351f60c-804e-4105-9390-7319c7b1616c', 'ip_version': 4, 'cidr': '116.190.126.128/26', 'allocation_pools': [{'start': '116.190.126.130', 'end': '116.190.126.190'}], 'gateway_ip': '116.190.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-13T21:32:28.570927', 'updated_at': '2024-09-13T21:32:28.570927', 'dns_server_address': '116.190.126.130', 'tags': [], 'project_id': 'f5ac0f47e5e249bf844a995c57d52674'}} 2024-09-13 21:32:28,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c96fe3d7-56b1-4975-9194-99f548ff4862', 'name': '', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'network_id': 'e351f60c-804e-4105-9390-7319c7b1616c', 'ip_version': 6, 'cidr': '36de:9784:cb96:a2a8:cf23:8d7a::/96', 'allocation_pools': [{'start': '36de:9784:cb96:a2a8:cf23:8d7a:0:2', 'end': '36de:9784:cb96:a2a8:cf23:8d7a:ffff:fffe'}], 'gateway_ip': '36de:9784:cb96:a2a8:cf23:8d7a:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-13T21:32:28.806699', 'updated_at': '2024-09-13T21:32:28.806699', 'dns_server_address': '36de:9784:cb96:a2a8:cf23:8d7a:0:2', 'tags': [], 'project_id': 'f5ac0f47e5e249bf844a995c57d52674'}} 2024-09-13 21:32:29,003 - INFO - Created VN ctest-vn-46589512 2024-09-13 21:32:29,024 - DEBUG - VN ctest-vn-46589512 UUID is e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:29,148 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512, 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 = admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512, 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] 2024-09-13 21:32:29,436 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea870b48-3d47-49fa-b314-39ddaffcb2bf', 'name': 'ctest-vn-46550629', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'project_id': 'f5ac0f47e5e249bf844a995c57d52674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74279bc3-bb48-4d09-a678-6e6a16bcea25', '7eac2a44-9129-460b-afb9-12811d8cffd3'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-vn-46550629'], 'policys': [['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-policy-allow-all-13152304']], 'subnet_ipam': [{'subnet_cidr': '46.119.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}, {'subnet_cidr': '3463:f1d6:925a:fb02:8e2d:66bb::/96', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2024-09-13T21:32:25.969206', 'updated_at': '2024-09-13T21:32:26.527398'}} 2024-09-13 21:32:29,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e351f60c-804e-4105-9390-7319c7b1616c', 'name': 'ctest-vn-46589512', 'tenant_id': 'f5ac0f47e5e249bf844a995c57d52674', 'project_id': 'f5ac0f47e5e249bf844a995c57d52674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0523c1dc-221d-4443-b870-5d9aec12e837', 'c96fe3d7-56b1-4975-9194-99f548ff4862'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-vn-46589512'], 'policys': [['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-policy-allow-all-13152304']], 'subnet_ipam': [{'subnet_cidr': '116.190.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}, {'subnet_cidr': '36de:9784:cb96:a2a8:cf23:8d7a::/96', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2024-09-13T21:32:28.268338', 'updated_at': '2024-09-13T21:32:28.830284'}} 2024-09-13 21:32:29,783 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:30,110 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:30,163 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:30,183 - DEBUG - Requesting: http://10.0.0.12:8082/project/f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:30,258 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:30,280 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:30,297 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/8b8c78a1-9022-408f-9c63-c0984c01ffc0 2024-09-13 21:32:30,308 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/8b8c78a1-9022-408f-9c63-c0984c01ffc0 2024-09-13 21:32:30,319 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/c5cfd8e4-e49c-4cfb-a1ad-46b6b2ed5c21 2024-09-13 21:32:30,328 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 21:32:30,328 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:30,346 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/8b8c78a1-9022-408f-9c63-c0984c01ffc0 2024-09-13 21:32:30,380 - INFO - Verified VN network id 6 for VN ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:30,381 - INFO - Verifications in API Server for VN ctest-vn-46550629 passed 2024-09-13 21:32:30,381 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:30,405 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/8b8c78a1-9022-408f-9c63-c0984c01ffc0 2024-09-13 21:32:30,445 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/8b8c78a1-9022-408f-9c63-c0984c01ffc0 2024-09-13 21:32:30,470 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/c5cfd8e4-e49c-4cfb-a1ad-46b6b2ed5c21 2024-09-13 21:32:30,491 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-40259174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16899488531624708602', 'uuid-lslong': '12904002456626442943'}, 'enable': 'true', 'created': '2024-09-13T21:32:25', 'last-modified': '2024-09-13T21:32:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.127673'} 2024-09-13 21:32:30,499 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 21:32:30,512 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-40259174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16899488531624708602', 'uuid-lslong': '12904002456626442943'}, 'enable': 'true', 'created': '2024-09-13T21:32:25', 'last-modified': '2024-09-13T21:32:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148913'} 2024-09-13 21:32:30,523 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 21:32:30,530 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-40259174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16899488531624708602', 'uuid-lslong': '12904002456626442943'}, 'enable': 'true', 'created': '2024-09-13T21:32:25', 'last-modified': '2024-09-13T21:32:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.167400'} 2024-09-13 21:32:30,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 21:32:30,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46550629 passed 2024-09-13 21:32:30,545 - DEBUG - ====Verifying policy data for ctest-vn-46550629 in API_Server ====== 2024-09-13 21:32:30,545 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:30,556 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:30,597 - DEBUG - Requesting: http://10.0.0.12:8082/project/f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:30,660 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ea870b48-3d47-49fa-b314-39ddaffcb2bf 2024-09-13 21:32:30,684 - DEBUG - ==>Verifying data for policy with id: 98b90033-fbc9-48c6-9471-4ea28b696641, fqn: ['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-policy-allow-all-13152304'] 2024-09-13 21:32:30,684 - INFO - VN ctest-vn-46550629 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-13 21:32:30,685 - DEBUG - Verifying the vn in opserver 2024-09-13 21:32:30,685 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629 virtual network link through opserver 10.0.0.12 2024-09-13 21:32:30,685 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-09-13 21:32:31,007 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-09-13 21:32:31,091 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629?flat'} 2024-09-13 21:32:31,091 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629 virtual network link through opserver 10.0.0.29 2024-09-13 21:32:31,091 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-13 21:32:31,428 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-13 21:32:31,527 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629?flat'} 2024-09-13 21:32:31,527 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629 virtual network link through opserver 10.0.0.41 2024-09-13 21:32:31,527 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-09-13 21:32:31,849 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-09-13 21:32:31,930 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629?flat'} 2024-09-13 21:32:31,930 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46550629 is found in opserver 2024-09-13 21:32:31,955 - DEBUG - Do not have enough data to verify VN in agent 2024-09-13 21:32:31,966 - DEBUG - VRF ids for VN ctest-vn-46550629: {} 2024-09-13 21:32:31,966 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:31,974 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:31,987 - DEBUG - Requesting: http://10.0.0.12:8082/project/f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:32,055 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:32,077 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:32,094 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1dd7e44-3c21-4641-9041-f48e6b6a7797 2024-09-13 21:32:32,105 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1dd7e44-3c21-4641-9041-f48e6b6a7797 2024-09-13 21:32:32,115 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/ec55fc4a-da33-4a50-b48d-b9f89aff2da6 2024-09-13 21:32:32,125 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-13 21:32:32,125 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:32,143 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1dd7e44-3c21-4641-9041-f48e6b6a7797 2024-09-13 21:32:32,165 - INFO - Verified VN network id 7 for VN e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:32,166 - INFO - Verifications in API Server for VN ctest-vn-46589512 passed 2024-09-13 21:32:32,166 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:32,182 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1dd7e44-3c21-4641-9041-f48e6b6a7797 2024-09-13 21:32:32,193 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1dd7e44-3c21-4641-9041-f48e6b6a7797 2024-09-13 21:32:32,203 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/ec55fc4a-da33-4a50-b48d-b9f89aff2da6 2024-09-13 21:32:32,219 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-40259174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16380143853275857157', 'uuid-lslong': '10633125274783408492'}, 'enable': 'true', 'created': '2024-09-13T21:32:28', 'last-modified': '2024-09-13T21:32:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.621716'} 2024-09-13 21:32:32,225 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-13 21:32:32,233 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-40259174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16380143853275857157', 'uuid-lslong': '10633125274783408492'}, 'enable': 'true', 'created': '2024-09-13T21:32:28', 'last-modified': '2024-09-13T21:32:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.613401'} 2024-09-13 21:32:32,240 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-13 21:32:32,247 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyIpv4v6-40259174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16380143853275857157', 'uuid-lslong': '10633125274783408492'}, 'enable': 'true', 'created': '2024-09-13T21:32:28', 'last-modified': '2024-09-13T21:32:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.650499'} 2024-09-13 21:32:32,253 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-13 21:32:32,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46589512 passed 2024-09-13 21:32:32,254 - DEBUG - ====Verifying policy data for ctest-vn-46589512 in API_Server ====== 2024-09-13 21:32:32,254 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:32,262 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:32,276 - DEBUG - Requesting: http://10.0.0.12:8082/project/f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:32,383 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e351f60c-804e-4105-9390-7319c7b1616c 2024-09-13 21:32:32,400 - DEBUG - ==>Verifying data for policy with id: 98b90033-fbc9-48c6-9471-4ea28b696641, fqn: ['admin_domain', 'ctest-TestBasicPolicyIpv4v6-40259174', 'ctest-policy-allow-all-13152304'] 2024-09-13 21:32:32,400 - INFO - VN ctest-vn-46589512 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-13 21:32:32,400 - DEBUG - Verifying the vn in opserver 2024-09-13 21:32:32,400 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512 virtual network link through opserver 10.0.0.12 2024-09-13 21:32:32,400 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-09-13 21:32:32,489 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512?flat'} 2024-09-13 21:32:32,489 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512 virtual network link through opserver 10.0.0.29 2024-09-13 21:32:32,489 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-13 21:32:32,576 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512?flat'} 2024-09-13 21:32:32,576 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512 virtual network link through opserver 10.0.0.41 2024-09-13 21:32:32,576 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-09-13 21:32:32,666 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512?flat'} 2024-09-13 21:32:32,666 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicyIpv4v6-40259174:ctest-vn-46589512 is found in opserver 2024-09-13 21:32:32,690 - DEBUG - Do not have enough data to verify VN in agent 2024-09-13 21:32:32,702 - DEBUG - VRF ids for VN ctest-vn-46589512: {} 2024-09-13 21:32:32,702 - INFO - Disabling v6 tests for CI 2024-09-13 21:32:33,341 - INFO - Deleted policy ctest-policy-allow-all-13152304 2024-09-13 21:32:33,342 - INFO - Deleting VN ctest-vn-46589512 2024-09-13 21:32:33,590 - DEBUG - Response for deleting network () 2024-09-13 21:32:33,590 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1dd7e44-3c21-4641-9041-f48e6b6a7797 2024-09-13 21:32:33,597 - DEBUG - Response Code: 404 2024-09-13 21:32:33,597 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:33,605 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:33,621 - DEBUG - Requesting: http://10.0.0.12:8082/project/f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:33,680 - INFO - Validated that VN ctest-vn-46589512 is not found in API Server 2024-09-13 21:32:33,693 - DEBUG - VN ctest-vn-46589512 is not present in Agent 10.0.0.27 2024-09-13 21:32:33,704 - DEBUG - VN ctest-vn-46589512 is not present in Agent 10.0.0.36 2024-09-13 21:32:33,704 - INFO - Validated that VN ctest-vn-46589512 is not in any agent 2024-09-13 21:32:33,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46589512 info 2024-09-13 21:32:33,744 - INFO - Deleting VN ctest-vn-46550629 2024-09-13 21:32:35,843 - DEBUG - Response for deleting network () 2024-09-13 21:32:35,843 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/8b8c78a1-9022-408f-9c63-c0984c01ffc0 2024-09-13 21:32:35,850 - DEBUG - Response Code: 404 2024-09-13 21:32:35,850 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:32:35,857 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:32:35,918 - DEBUG - Requesting: http://10.0.0.12:8082/project/f5ac0f47-e5e2-49bf-844a-995c57d52674 2024-09-13 21:32:35,967 - INFO - Validated that VN ctest-vn-46550629 is not found in API Server 2024-09-13 21:32:35,979 - DEBUG - VN ctest-vn-46550629 is not present in Agent 10.0.0.27 2024-09-13 21:32:35,991 - DEBUG - VN ctest-vn-46550629 is not present in Agent 10.0.0.36 2024-09-13 21:32:35,991 - INFO - Validated that VN ctest-vn-46550629 is not in any agent 2024-09-13 21:32:36,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46550629 info 2024-09-13 21:32:36,780 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 21:32:36,780 - INFO -
2024-09-13 21:32:36,781 - INFO - END TEST : test_basic_policy_allow_deny : SKIPPED[0:00:12]
2024-09-13 21:32:36,781 - INFO - -------------------------------------------------------------------------------- 2024-09-13 21:32:37,578 - INFO - Deleted project: ctest-TestBasicPolicyIpv4v6-40259174, ID : f5ac0f47-e5e2-49bf-844a-995c57d52674