2026-02-05 02:48:16,989 - INFO - Domain Default found not creating 2026-02-05 02:48:17,174 - INFO - Project ctest-TestBasicPolicy-32973662 not found, creating it 2026-02-05 02:48:17,802 - INFO - Created Project:ctest-TestBasicPolicy-32973662, ID : 0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:48:19,468 - INFO - ================================================================================ 2026-02-05 02:48:19,469 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-05 02:48:19,469 - 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 2026-02-05 02:48:20,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.192': '0', '10.20.0.209': '0'}} with 2026-02-05 02:48:20,748 - INFO - Initial checks done. Running the testcase now 2026-02-05 02:48:20,748 - INFO - 2026-02-05 02:48:21,499 - DEBUG - Response for create_network : {'network': {'id': '2c1756a6-183e-48ce-a22f-ea38053d5197', 'name': 'ctest-vn-37103354', 'tenant_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'project_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-vn-37103354'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:48:21,851 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f597870d-fe7d-4465-a1f9-739244d87399', 'name': '', 'tenant_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'network_id': '2c1756a6-183e-48ce-a22f-ea38053d5197', 'ip_version': 4, 'cidr': '211.166.213.0/26', 'allocation_pools': [{'start': '211.166.213.2', 'end': '211.166.213.62'}], 'gateway_ip': '211.166.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.166.213.2', 'tags': [], 'project_id': '0f89e000ab4d4ec5813122993e3bbfcf'}} 2026-02-05 02:48:21,875 - INFO - Created VN ctest-vn-37103354 2026-02-05 02:48:21,888 - DEBUG - VN ctest-vn-37103354 UUID is 2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:22,223 - DEBUG - Response for create_network : {'network': {'id': 'dbb4493a-52b3-436d-9c7e-504f16dd96ea', 'name': 'ctest-vn-31474525', 'tenant_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'project_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-vn-31474525'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:48:22,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f0dcb5e-13ce-4c9d-a64b-6a37911b5643', 'name': '', 'tenant_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'network_id': 'dbb4493a-52b3-436d-9c7e-504f16dd96ea', 'ip_version': 4, 'cidr': '149.23.143.128/26', 'allocation_pools': [{'start': '149.23.143.130', 'end': '149.23.143.190'}], 'gateway_ip': '149.23.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.23.143.130', 'tags': [], 'project_id': '0f89e000ab4d4ec5813122993e3bbfcf'}} 2026-02-05 02:48:22,526 - INFO - Created VN ctest-vn-31474525 2026-02-05 02:48:22,538 - DEBUG - VN ctest-vn-31474525 UUID is dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:22,630 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354, 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-32973662:ctest-vn-31474525, 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] 2026-02-05 02:48:22,975 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c1756a6-183e-48ce-a22f-ea38053d5197', 'name': 'ctest-vn-37103354', 'tenant_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'project_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f597870d-fe7d-4465-a1f9-739244d87399'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-vn-37103354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-policy-allow-all-44441435']], 'subnet_ipam': [{'subnet_cidr': '211.166.213.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:48:23,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dbb4493a-52b3-436d-9c7e-504f16dd96ea', 'name': 'ctest-vn-31474525', 'tenant_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'project_id': '0f89e000ab4d4ec5813122993e3bbfcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f0dcb5e-13ce-4c9d-a64b-6a37911b5643'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-vn-31474525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-policy-allow-all-44441435']], 'subnet_ipam': [{'subnet_cidr': '149.23.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:48:23,327 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:48:23,650 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:48:23,686 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 02:48:23,705 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:48:23,845 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:23,866 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:23,881 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6e36cd7c-b776-48ff-a544-a913f5cbe59a 2026-02-05 02:48:23,894 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6e36cd7c-b776-48ff-a544-a913f5cbe59a 2026-02-05 02:48:23,908 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/96dfa10b-4915-4bfd-943c-3f6d88352548 2026-02-05 02:48:23,919 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 02:48:23,919 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:23,933 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6e36cd7c-b776-48ff-a544-a913f5cbe59a 2026-02-05 02:48:23,955 - INFO - Verified VN network id 11 for VN 2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:23,955 - INFO - Verifications in API Server for VN ctest-vn-37103354 passed 2026-02-05 02:48:23,955 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:23,967 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6e36cd7c-b776-48ff-a544-a913f5cbe59a 2026-02-05 02:48:23,975 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6e36cd7c-b776-48ff-a544-a913f5cbe59a 2026-02-05 02:48:23,982 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/96dfa10b-4915-4bfd-943c-3f6d88352548 2026-02-05 02:48:23,997 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32973662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3177103333504469198', 'uuid-lslong': '11686817084376699287'}, 'enable': 'true', 'created': '2026-02-05T02:48:21', 'last-modified': '2026-02-05T02:48:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.067167'} 2026-02-05 02:48:24,004 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 02:48:24,010 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32973662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3177103333504469198', 'uuid-lslong': '11686817084376699287'}, 'enable': 'true', 'created': '2026-02-05T02:48:21', 'last-modified': '2026-02-05T02:48:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077159'} 2026-02-05 02:48:24,018 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 02:48:24,027 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32973662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3177103333504469198', 'uuid-lslong': '11686817084376699287'}, 'enable': 'true', 'created': '2026-02-05T02:48:21', 'last-modified': '2026-02-05T02:48:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.095556'} 2026-02-05 02:48:24,035 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 02:48:24,035 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37103354 passed 2026-02-05 02:48:24,035 - DEBUG - ====Verifying policy data for ctest-vn-37103354 in API_Server ====== 2026-02-05 02:48:24,035 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:48:24,041 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 02:48:24,053 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:48:24,149 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c1756a6-183e-48ce-a22f-ea38053d5197 2026-02-05 02:48:24,161 - DEBUG - ==>Verifying data for policy with id: 154099de-c788-4372-82e4-a34ee02b574a, fqn: ['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-policy-allow-all-44441435'] 2026-02-05 02:48:24,161 - INFO - VN ctest-vn-37103354 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 02:48:24,161 - DEBUG - Verifying the vn in opserver 2026-02-05 02:48:24,161 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 virtual network link through opserver 10.0.0.27 2026-02-05 02:48:24,161 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-05 02:48:24,464 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-05 02:48:24,538 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354?flat'} 2026-02-05 02:48:24,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 virtual network link through opserver 10.0.0.50 2026-02-05 02:48:24,539 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-05 02:48:24,842 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-05 02:48:24,910 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354?flat'} 2026-02-05 02:48:24,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 virtual network link through opserver 10.0.0.23 2026-02-05 02:48:24,910 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-05 02:48:25,210 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-05 02:48:25,281 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354?flat'} 2026-02-05 02:48:25,281 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is found in opserver 2026-02-05 02:48:25,305 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 02:48:25,318 - DEBUG - VRF ids for VN ctest-vn-37103354: {} 2026-02-05 02:48:25,318 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:48:25,325 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 02:48:25,340 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:48:25,433 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:25,449 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:25,459 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4bfecca0-aa90-490b-865f-3e7757dc191a 2026-02-05 02:48:25,467 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4bfecca0-aa90-490b-865f-3e7757dc191a 2026-02-05 02:48:25,475 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6a49d8ef-e5db-4dd5-80f4-1eb862acfee4 2026-02-05 02:48:25,483 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-05 02:48:25,483 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:25,492 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4bfecca0-aa90-490b-865f-3e7757dc191a 2026-02-05 02:48:25,510 - INFO - Verified VN network id 12 for VN dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:25,510 - INFO - Verifications in API Server for VN ctest-vn-31474525 passed 2026-02-05 02:48:25,510 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:25,521 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4bfecca0-aa90-490b-865f-3e7757dc191a 2026-02-05 02:48:25,528 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4bfecca0-aa90-490b-865f-3e7757dc191a 2026-02-05 02:48:25,541 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6a49d8ef-e5db-4dd5-80f4-1eb862acfee4 2026-02-05 02:48:25,559 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32973662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15831359104958546797', 'uuid-lslong': '11276538817598559978'}, 'enable': 'true', 'created': '2026-02-05T02:48:22', 'last-modified': '2026-02-05T02:48:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.420739'} 2026-02-05 02:48:25,566 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-05 02:48:25,572 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32973662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15831359104958546797', 'uuid-lslong': '11276538817598559978'}, 'enable': 'true', 'created': '2026-02-05T02:48:22', 'last-modified': '2026-02-05T02:48:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.436993'} 2026-02-05 02:48:25,579 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-05 02:48:25,585 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32973662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15831359104958546797', 'uuid-lslong': '11276538817598559978'}, 'enable': 'true', 'created': '2026-02-05T02:48:22', 'last-modified': '2026-02-05T02:48:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.447220'} 2026-02-05 02:48:25,593 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-05 02:48:25,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31474525 passed 2026-02-05 02:48:25,594 - DEBUG - ====Verifying policy data for ctest-vn-31474525 in API_Server ====== 2026-02-05 02:48:25,594 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:48:25,600 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 02:48:25,613 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:48:25,711 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dbb4493a-52b3-436d-9c7e-504f16dd96ea 2026-02-05 02:48:25,723 - DEBUG - ==>Verifying data for policy with id: 154099de-c788-4372-82e4-a34ee02b574a, fqn: ['default-domain', 'ctest-TestBasicPolicy-32973662', 'ctest-policy-allow-all-44441435'] 2026-02-05 02:48:25,723 - INFO - VN ctest-vn-31474525 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 02:48:25,724 - DEBUG - Verifying the vn in opserver 2026-02-05 02:48:25,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525 virtual network link through opserver 10.0.0.27 2026-02-05 02:48:25,724 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-05 02:48:25,800 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525?flat'} 2026-02-05 02:48:25,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525 virtual network link through opserver 10.0.0.50 2026-02-05 02:48:25,801 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-05 02:48:25,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525?flat'} 2026-02-05 02:48:25,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525 virtual network link through opserver 10.0.0.23 2026-02-05 02:48:25,874 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-05 02:48:25,941 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525?flat'} 2026-02-05 02:48:25,941 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-31474525 is found in opserver 2026-02-05 02:48:25,963 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 02:48:25,975 - DEBUG - VRF ids for VN ctest-vn-31474525: {} 2026-02-05 02:48:26,036 - DEBUG - Services list from nova: [, , , ] 2026-02-05 02:48:27,142 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5215-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5215-1) 2026-02-05 02:48:28,598 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5215-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5215-2) 2026-02-05 02:48:28,598 - INFO - Waiting for VM ctest-TestBasicPolicy-32973662-97787081 to be up.. 2026-02-05 02:48:28,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 02:48:33,812 - DEBUG - VM is in ACTIVE state now 2026-02-05 02:48:33,812 - INFO - VM name : ctest-TestBasicPolicy-32973662-97787081 2026-02-05 02:48:33,906 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 ID is 5779b036-b06d-4169-b893-78437a0b4bc9 2026-02-05 02:48:33,935 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 launched on Node an-jenkins-deploy-platform-ansible-os-5215-1 2026-02-05 02:48:34,029 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5779b036-b06d-4169-b893-78437a0b4bc9 2026-02-05 02:48:34,332 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5779b036-b06d-4169-b893-78437a0b4bc9 2026-02-05 02:48:34,367 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4d2a65c9-81ae-4796-85fe-9d0faaa8675f 2026-02-05 02:48:37,573 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-02-05 02:48:37,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:48:37,588 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:48:41,661 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-02-05 02:48:41,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:48:41,676 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:48:45,763 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-02-05 02:48:45,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:48:45,780 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:48:49,859 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-02-05 02:48:49,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:48:49,876 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:48:53,958 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-02-05 02:48:53,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:48:53,973 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:48:58,050 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-02-05 02:48:58,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:48:58,067 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:49:02,143 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-02-05 02:49:02,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:49:02,159 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:49:06,246 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-02-05 02:49:06,246 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 failed! 2026-02-05 02:49:06,260 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32973662:ctest-vn-37103354 is 211.166.213.1 and allocation pool is NOT set 2026-02-05 02:49:08,334 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 6.712/7.077/7.443/0.365 ms') 2026-02-05 02:49:08,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-97787081 passed 2026-02-05 02:49:08,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:08,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32973662-97787081, IP 211.166.213.3, Port 22 2026-02-05 02:49:08,467 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-05 02:49:08,557 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 02:49:13,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:13,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32973662-97787081, IP 211.166.213.3, Port 22 2026-02-05 02:49:13,615 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-05 02:49:13,716 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 02:49:18,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:18,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32973662-97787081, IP 211.166.213.3, Port 22 2026-02-05 02:49:18,779 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-05 02:49:18,879 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 02:49:23,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:23,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32973662-97787081, IP 211.166.213.3, Port 22 2026-02-05 02:49:23,949 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-05 02:49:24,058 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 02:49:29,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:29,059 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32973662-97787081, IP 211.166.213.3, Port 22 2026-02-05 02:49:29,229 - DEBUG - VM ctest-TestBasicPolicy-32973662-97787081 is ready for SSH connections 2026-02-05 02:49:29,229 - INFO - Waiting for VM ctest-TestBasicPolicy-32973662-57797850 to be up.. 2026-02-05 02:49:29,322 - DEBUG - VM is in ACTIVE state now 2026-02-05 02:49:29,323 - INFO - VM name : ctest-TestBasicPolicy-32973662-57797850 2026-02-05 02:49:29,533 - DEBUG - VM ctest-TestBasicPolicy-32973662-57797850 ID is 429153bd-b893-49fe-aa5e-00f07399f725 2026-02-05 02:49:29,533 - DEBUG - VM ctest-TestBasicPolicy-32973662-57797850 launched on Node an-jenkins-deploy-platform-ansible-os-5215-2 2026-02-05 02:49:29,618 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/429153bd-b893-49fe-aa5e-00f07399f725 2026-02-05 02:49:29,630 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/54b13127-3398-4e32-89cc-2592a452fb6a 2026-02-05 02:49:30,792 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.241/2.253/3.265/1.012 ms') 2026-02-05 02:49:30,792 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32973662-57797850 passed 2026-02-05 02:49:30,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:30,865 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32973662-57797850, IP 149.23.143.131, Port 22 2026-02-05 02:49:31,037 - DEBUG - VM ctest-TestBasicPolicy-32973662-57797850 is ready for SSH connections 2026-02-05 02:49:31,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:49:31,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.23.143.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-05 02:49:31,038 - DEBUG - ping -s 56 -c 3 -W 1 149.23.143.131 2026-02-05 02:50:27,806 - DEBUG - PING 149.23.143.131 (149.23.143.131) 56(84) bytes of data. 64 bytes from 149.23.143.131: icmp_req=1 ttl=63 time=7.87 ms 64 bytes from 149.23.143.131: icmp_req=2 ttl=63 time=1.05 ms 64 bytes from 149.23.143.131: icmp_req=3 ttl=63 time=1.08 ms --- 149.23.143.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.058/3.339/7.876/3.208 ms 2026-02-05 02:50:27,806 - INFO - Ping to IP 149.23.143.131 from VM ctest-TestBasicPolicy-32973662-97787081 passed 2026-02-05 02:50:28,064 - DEBUG - Policy Update Response {"network-policy": {"uuid": "154099de-c788-4372-82e4-a34ee02b574a", "href": "http://10.0.0.23:8082/network-policy/154099de-c788-4372-82e4-a34ee02b574a"}} 2026-02-05 02:50:28,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:50:28,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.23.143.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-05 02:50:28,064 - DEBUG - ping -s 56 -c 3 -W 1 149.23.143.131 2026-02-05 02:50:31,549 - DEBUG - PING 149.23.143.131 (149.23.143.131) 56(84) bytes of data. 64 bytes from 149.23.143.131: icmp_req=1 ttl=63 time=2.13 ms --- 149.23.143.131 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2002ms rtt min/avg/max/mdev = 2.135/2.135/2.135/0.000 ms 2026-02-05 02:50:31,550 - WARNING - Ping to IP 149.23.143.131 from VM ctest-TestBasicPolicy-32973662-97787081 failed 2026-02-05 02:50:31,550 - INFO - Deleting VM ctest-TestBasicPolicy-32973662-57797850 2026-02-05 02:50:31,638 - INFO - Deleting VM ctest-TestBasicPolicy-32973662-97787081 2026-02-05 02:50:32,103 - INFO - Deleted policy ctest-policy-allow-all-44441435 2026-02-05 02:50:32,103 - INFO - Deleting VN ctest-vn-31474525 2026-02-05 02:50:32,149 - DEBUG - VN dbb4493a-52b3-436d-9c7e-504f16dd96ea still in use: Unable to complete operation on network dbb4493a-52b3-436d-9c7e-504f16dd96ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f300e2c1-da98-4d84-aaf3-646d5b802c06'] 2026-02-05 02:50:32,149 - WARNING - Deleting VN ctest-vn-31474525 failed..Will retry 2026-02-05 02:50:34,630 - DEBUG - Response for deleting network () 2026-02-05 02:50:34,631 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4bfecca0-aa90-490b-865f-3e7757dc191a 2026-02-05 02:50:34,637 - DEBUG - Response Code: 404 2026-02-05 02:50:34,637 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:50:34,643 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 02:50:34,691 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:50:34,804 - INFO - Validated that VN ctest-vn-31474525 is not found in API Server 2026-02-05 02:50:34,815 - DEBUG - VN ctest-vn-31474525 is not present in Agent 10.0.0.19 2026-02-05 02:50:34,828 - DEBUG - VN ctest-vn-31474525 is not present in Agent 10.0.0.65 2026-02-05 02:50:34,828 - INFO - Validated that VN ctest-vn-31474525 is not in any agent 2026-02-05 02:50:34,867 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31474525 info 2026-02-05 02:50:34,867 - INFO - Deleting VN ctest-vn-37103354 2026-02-05 02:50:35,053 - DEBUG - Response for deleting network () 2026-02-05 02:50:35,053 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/6e36cd7c-b776-48ff-a544-a913f5cbe59a 2026-02-05 02:50:35,071 - DEBUG - Response Code: 404 2026-02-05 02:50:35,071 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 02:50:35,084 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 02:50:35,099 - DEBUG - Requesting: http://10.0.0.27:8082/project/0f89e000-ab4d-4ec5-8131-22993e3bbfcf 2026-02-05 02:50:35,213 - INFO - Validated that VN ctest-vn-37103354 is not found in API Server 2026-02-05 02:50:35,227 - DEBUG - VN ctest-vn-37103354 is not present in Agent 10.0.0.19 2026-02-05 02:50:35,237 - DEBUG - VN ctest-vn-37103354 is not present in Agent 10.0.0.65 2026-02-05 02:50:35,237 - INFO - Validated that VN ctest-vn-37103354 is not in any agent 2026-02-05 02:50:35,274 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37103354 info 2026-02-05 02:50:36,547 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 02:50:36,547 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:17]
2026-02-05 02:50:36,547 - INFO - -------------------------------------------------------------------------------- 2026-02-05 02:50:37,349 - INFO - Deleted project: ctest-TestBasicPolicy-32973662, ID : 0f89e000-ab4d-4ec5-8131-22993e3bbfcf