2026-06-08 02:53:49,832 - INFO - Domain Default found not creating 2026-06-08 02:53:50,006 - INFO - Project ctest-TestBasicPolicy-30355755 not found, creating it 2026-06-08 02:53:50,566 - INFO - Created Project:ctest-TestBasicPolicy-30355755, ID : 78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:53:52,634 - INFO - ================================================================================ 2026-06-08 02:53:52,634 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-08 02:53:52,634 - 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-06-08 02:53:53,902 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '3', '10.20.0.25': '1'}, '10.0.0.240': {'10.20.0.129': '3', '10.20.0.25': '2'}} with 2026-06-08 02:53:53,902 - INFO - Initial checks done. Running the testcase now 2026-06-08 02:53:53,902 - INFO - 2026-06-08 02:53:54,525 - DEBUG - Response for create_network : {'network': {'id': '8c1895f4-3f30-4fe2-8e53-ab1deed214ae', 'name': 'ctest-vn-91548367', 'tenant_id': '78a30b199ddf4676b98e126d0e296095', 'project_id': '78a30b199ddf4676b98e126d0e296095', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-vn-91548367'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:53:54,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d71474b-d78d-43e9-94f9-312098be4ff4', 'name': '', 'tenant_id': '78a30b199ddf4676b98e126d0e296095', 'network_id': '8c1895f4-3f30-4fe2-8e53-ab1deed214ae', 'ip_version': 4, 'cidr': '151.49.184.64/26', 'allocation_pools': [{'start': '151.49.184.66', 'end': '151.49.184.126'}], 'gateway_ip': '151.49.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.49.184.66', 'tags': [], 'project_id': '78a30b199ddf4676b98e126d0e296095'}} 2026-06-08 02:53:54,808 - INFO - Created VN ctest-vn-91548367 2026-06-08 02:53:54,820 - DEBUG - VN ctest-vn-91548367 UUID is 8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:55,155 - DEBUG - Response for create_network : {'network': {'id': 'ba339b0f-bb40-4e8c-8983-4ceec369c009', 'name': 'ctest-vn-94056851', 'tenant_id': '78a30b199ddf4676b98e126d0e296095', 'project_id': '78a30b199ddf4676b98e126d0e296095', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-vn-94056851'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:53:55,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1c2c619-f4f8-4131-abe7-53e6fc4b048f', 'name': '', 'tenant_id': '78a30b199ddf4676b98e126d0e296095', 'network_id': 'ba339b0f-bb40-4e8c-8983-4ceec369c009', 'ip_version': 4, 'cidr': '22.69.232.0/26', 'allocation_pools': [{'start': '22.69.232.2', 'end': '22.69.232.62'}], 'gateway_ip': '22.69.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.69.232.2', 'tags': [], 'project_id': '78a30b199ddf4676b98e126d0e296095'}} 2026-06-08 02:53:55,382 - INFO - Created VN ctest-vn-94056851 2026-06-08 02:53:55,395 - DEBUG - VN ctest-vn-94056851 UUID is ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:55,480 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367, 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-30355755:ctest-vn-94056851, 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-06-08 02:53:55,838 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c1895f4-3f30-4fe2-8e53-ab1deed214ae', 'name': 'ctest-vn-91548367', 'tenant_id': '78a30b199ddf4676b98e126d0e296095', 'project_id': '78a30b199ddf4676b98e126d0e296095', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d71474b-d78d-43e9-94f9-312098be4ff4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-vn-91548367'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-policy-allow-all-46164306']], 'subnet_ipam': [{'subnet_cidr': '151.49.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:53:56,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba339b0f-bb40-4e8c-8983-4ceec369c009', 'name': 'ctest-vn-94056851', 'tenant_id': '78a30b199ddf4676b98e126d0e296095', 'project_id': '78a30b199ddf4676b98e126d0e296095', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1c2c619-f4f8-4131-abe7-53e6fc4b048f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-vn-94056851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-policy-allow-all-46164306']], 'subnet_ipam': [{'subnet_cidr': '22.69.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:53:56,178 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:53:56,506 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:53:56,535 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2441b78a-01cc-4005-9aa7-6b434eb6fb41 2026-06-08 02:53:56,548 - DEBUG - Requesting: http://10.0.0.33:8082/project/78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:53:56,663 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:56,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:56,688 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f605a6d5-40da-4c15-974b-3c8ac2aca89f 2026-06-08 02:53:56,697 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f605a6d5-40da-4c15-974b-3c8ac2aca89f 2026-06-08 02:53:56,705 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7c39de80-a31d-4e5c-81be-67166730f3f3 2026-06-08 02:53:56,712 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 02:53:56,712 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:56,721 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f605a6d5-40da-4c15-974b-3c8ac2aca89f 2026-06-08 02:53:56,740 - INFO - Verified VN network id 15 for VN 8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:56,741 - INFO - Verifications in API Server for VN ctest-vn-91548367 passed 2026-06-08 02:53:56,741 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:56,750 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f605a6d5-40da-4c15-974b-3c8ac2aca89f 2026-06-08 02:53:56,757 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f605a6d5-40da-4c15-974b-3c8ac2aca89f 2026-06-08 02:53:56,765 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7c39de80-a31d-4e5c-81be-67166730f3f3 2026-06-08 02:53:56,778 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30355755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10094983441015656418', 'uuid-lslong': '10255728921501897902'}, 'enable': 'true', 'created': '2026-06-08T02:53:54', 'last-modified': '2026-06-08T02:53:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989065'} 2026-06-08 02:53:56,783 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 02:53:56,789 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30355755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10094983441015656418', 'uuid-lslong': '10255728921501897902'}, 'enable': 'true', 'created': '2026-06-08T02:53:54', 'last-modified': '2026-06-08T02:53:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991569'} 2026-06-08 02:53:56,794 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 02:53:56,800 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30355755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10094983441015656418', 'uuid-lslong': '10255728921501897902'}, 'enable': 'true', 'created': '2026-06-08T02:53:54', 'last-modified': '2026-06-08T02:53:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011776'} 2026-06-08 02:53:56,806 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 02:53:56,806 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91548367 passed 2026-06-08 02:53:56,806 - DEBUG - ====Verifying policy data for ctest-vn-91548367 in API_Server ====== 2026-06-08 02:53:56,806 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:53:56,813 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2441b78a-01cc-4005-9aa7-6b434eb6fb41 2026-06-08 02:53:56,824 - DEBUG - Requesting: http://10.0.0.33:8082/project/78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:53:56,916 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8c1895f4-3f30-4fe2-8e53-ab1deed214ae 2026-06-08 02:53:56,927 - DEBUG - ==>Verifying data for policy with id: 192a2acc-2ac2-4dc6-8da6-3dc411088e04, fqn: ['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-policy-allow-all-46164306'] 2026-06-08 02:53:56,927 - INFO - VN ctest-vn-91548367 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-08 02:53:56,927 - DEBUG - Verifying the vn in opserver 2026-06-08 02:53:56,927 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 virtual network link through opserver 10.0.0.33 2026-06-08 02:53:56,927 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-08 02:53:57,223 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-08 02:53:57,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367?flat'} 2026-06-08 02:53:57,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 virtual network link through opserver 10.0.0.249 2026-06-08 02:53:57,287 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-08 02:53:57,582 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-08 02:53:57,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367?flat'} 2026-06-08 02:53:57,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 virtual network link through opserver 10.0.0.27 2026-06-08 02:53:57,657 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-08 02:53:57,961 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-08 02:53:58,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367?flat'} 2026-06-08 02:53:58,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is found in opserver 2026-06-08 02:53:58,063 - DEBUG - Do not have enough data to verify VN in agent 2026-06-08 02:53:58,075 - DEBUG - VRF ids for VN ctest-vn-91548367: {} 2026-06-08 02:53:58,075 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:53:58,083 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2441b78a-01cc-4005-9aa7-6b434eb6fb41 2026-06-08 02:53:58,097 - DEBUG - Requesting: http://10.0.0.33:8082/project/78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:53:58,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:58,212 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:58,224 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8ad12556-ba7e-4586-8b54-34a7e834b2f1 2026-06-08 02:53:58,233 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8ad12556-ba7e-4586-8b54-34a7e834b2f1 2026-06-08 02:53:58,241 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1206ff59-ff38-4b9a-a8ea-222d239f9406 2026-06-08 02:53:58,250 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 02:53:58,250 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:58,262 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8ad12556-ba7e-4586-8b54-34a7e834b2f1 2026-06-08 02:53:58,280 - INFO - Verified VN network id 16 for VN ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:58,280 - INFO - Verifications in API Server for VN ctest-vn-94056851 passed 2026-06-08 02:53:58,280 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:58,291 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8ad12556-ba7e-4586-8b54-34a7e834b2f1 2026-06-08 02:53:58,298 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8ad12556-ba7e-4586-8b54-34a7e834b2f1 2026-06-08 02:53:58,305 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1206ff59-ff38-4b9a-a8ea-222d239f9406 2026-06-08 02:53:58,318 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30355755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13417238206735208076', 'uuid-lslong': '9908848193509638153'}, 'enable': 'true', 'created': '2026-06-08T02:53:55', 'last-modified': '2026-06-08T02:53:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.284227'} 2026-06-08 02:53:58,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 02:53:58,329 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30355755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13417238206735208076', 'uuid-lslong': '9908848193509638153'}, 'enable': 'true', 'created': '2026-06-08T02:53:55', 'last-modified': '2026-06-08T02:53:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.285781'} 2026-06-08 02:53:58,335 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 02:53:58,341 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30355755', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13417238206735208076', 'uuid-lslong': '9908848193509638153'}, 'enable': 'true', 'created': '2026-06-08T02:53:55', 'last-modified': '2026-06-08T02:53:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.301986'} 2026-06-08 02:53:58,348 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 02:53:58,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94056851 passed 2026-06-08 02:53:58,348 - DEBUG - ====Verifying policy data for ctest-vn-94056851 in API_Server ====== 2026-06-08 02:53:58,348 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:53:58,354 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2441b78a-01cc-4005-9aa7-6b434eb6fb41 2026-06-08 02:53:58,365 - DEBUG - Requesting: http://10.0.0.33:8082/project/78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:53:58,467 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba339b0f-bb40-4e8c-8983-4ceec369c009 2026-06-08 02:53:58,478 - DEBUG - ==>Verifying data for policy with id: 192a2acc-2ac2-4dc6-8da6-3dc411088e04, fqn: ['default-domain', 'ctest-TestBasicPolicy-30355755', 'ctest-policy-allow-all-46164306'] 2026-06-08 02:53:58,478 - INFO - VN ctest-vn-94056851 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-08 02:53:58,478 - DEBUG - Verifying the vn in opserver 2026-06-08 02:53:58,478 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851 virtual network link through opserver 10.0.0.33 2026-06-08 02:53:58,479 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-08 02:53:58,545 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851?flat'} 2026-06-08 02:53:58,545 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851 virtual network link through opserver 10.0.0.249 2026-06-08 02:53:58,545 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-08 02:53:58,615 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851?flat'} 2026-06-08 02:53:58,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851 virtual network link through opserver 10.0.0.27 2026-06-08 02:53:58,616 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-08 02:53:58,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851?flat'} 2026-06-08 02:53:58,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-94056851 is found in opserver 2026-06-08 02:53:58,706 - DEBUG - Do not have enough data to verify VN in agent 2026-06-08 02:53:58,717 - DEBUG - VRF ids for VN ctest-vn-94056851: {} 2026-06-08 02:53:58,779 - DEBUG - Services list from nova: [, , , ] 2026-06-08 02:53:59,888 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5901-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5901-2) 2026-06-08 02:54:01,247 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5901-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5901-1) 2026-06-08 02:54:01,248 - INFO - Waiting for VM ctest-TestBasicPolicy-30355755-80595700 to be up.. 2026-06-08 02:54:01,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-08 02:54:06,429 - DEBUG - VM is in ACTIVE state now 2026-06-08 02:54:06,429 - INFO - VM name : ctest-TestBasicPolicy-30355755-80595700 2026-06-08 02:54:06,521 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 ID is e1d3000c-8557-490c-b342-9b0715422350 2026-06-08 02:54:06,544 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 launched on Node an-jenkins-deploy-platform-ansible-os-5901-2 2026-06-08 02:54:06,625 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e1d3000c-8557-490c-b342-9b0715422350 2026-06-08 02:54:06,919 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e1d3000c-8557-490c-b342-9b0715422350 2026-06-08 02:54:06,957 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6a741c11-8fdd-4204-b42b-1af6558b6095 2026-06-08 02:54:10,162 - 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 1034ms') 2026-06-08 02:54:10,162 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:10,180 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:14,260 - 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-06-08 02:54:14,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:14,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:18,349 - 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 1010ms') 2026-06-08 02:54:18,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:18,369 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:22,446 - 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 1014ms') 2026-06-08 02:54:22,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:22,461 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:26,540 - 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 1022ms') 2026-06-08 02:54:26,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:26,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:30,640 - 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 1014ms') 2026-06-08 02:54:30,641 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:30,660 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:34,732 - 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 1014ms') 2026-06-08 02:54:34,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:34,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:38,828 - 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 1016ms') 2026-06-08 02:54:38,828 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:38,845 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:42,927 - 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 1017ms') 2026-06-08 02:54:42,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 failed! 2026-06-08 02:54:42,945 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30355755:ctest-vn-91548367 is 151.49.184.65 and allocation pool is NOT set 2026-06-08 02:54:45,014 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 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 = 2.718/4.022/5.326/1.304 ms') 2026-06-08 02:54:45,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-80595700 passed 2026-06-08 02:54:45,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:54:45,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30355755-80595700, IP 151.49.184.67, Port 22 2026-06-08 02:54:45,159 - 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-06-08 02:54:45,241 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-08 02:54:50,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:54:50,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30355755-80595700, IP 151.49.184.67, Port 22 2026-06-08 02:54:50,301 - 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-06-08 02:54:50,396 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-08 02:54:55,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:54:55,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30355755-80595700, IP 151.49.184.67, Port 22 2026-06-08 02:54:55,464 - 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-06-08 02:54:55,550 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-08 02:55:00,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:55:00,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30355755-80595700, IP 151.49.184.67, Port 22 2026-06-08 02:55:00,609 - 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-06-08 02:55:00,686 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-08 02:55:05,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:55:05,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30355755-80595700, IP 151.49.184.67, Port 22 2026-06-08 02:55:05,854 - DEBUG - VM ctest-TestBasicPolicy-30355755-80595700 is ready for SSH connections 2026-06-08 02:55:05,855 - INFO - Waiting for VM ctest-TestBasicPolicy-30355755-84643506 to be up.. 2026-06-08 02:55:05,937 - DEBUG - VM is in ACTIVE state now 2026-06-08 02:55:05,937 - INFO - VM name : ctest-TestBasicPolicy-30355755-84643506 2026-06-08 02:55:06,027 - DEBUG - VM ctest-TestBasicPolicy-30355755-84643506 ID is b0c6aa29-b693-4ee9-a411-f8551268251a 2026-06-08 02:55:06,027 - DEBUG - VM ctest-TestBasicPolicy-30355755-84643506 launched on Node an-jenkins-deploy-platform-ansible-os-5901-1 2026-06-08 02:55:06,117 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b0c6aa29-b693-4ee9-a411-f8551268251a 2026-06-08 02:55:06,131 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/db701a61-4d4a-4f22-b69c-5b5cf17b342e 2026-06-08 02:55:07,308 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 2.905/3.032/3.160/0.127 ms') 2026-06-08 02:55:07,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30355755-84643506 passed 2026-06-08 02:55:07,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:55:07,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30355755-84643506, IP 22.69.232.3, Port 22 2026-06-08 02:55:07,547 - DEBUG - VM ctest-TestBasicPolicy-30355755-84643506 is ready for SSH connections 2026-06-08 02:55:07,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:55:07,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.69.232.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-06-08 02:55:07,548 - DEBUG - ping -s 56 -c 3 -W 1 22.69.232.3 2026-06-08 02:55:29,698 - DEBUG - PING 22.69.232.3 (22.69.232.3) 56(84) bytes of data. 64 bytes from 22.69.232.3: icmp_req=1 ttl=63 time=7.46 ms 64 bytes from 22.69.232.3: icmp_req=2 ttl=63 time=1.23 ms 64 bytes from 22.69.232.3: icmp_req=3 ttl=63 time=3.25 ms --- 22.69.232.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.236/3.985/7.466/2.596 ms 2026-06-08 02:55:29,698 - INFO - Ping to IP 22.69.232.3 from VM ctest-TestBasicPolicy-30355755-80595700 passed 2026-06-08 02:55:29,903 - DEBUG - Policy Update Response {"network-policy": {"uuid": "192a2acc-2ac2-4dc6-8da6-3dc411088e04", "href": "http://10.0.0.27:8082/network-policy/192a2acc-2ac2-4dc6-8da6-3dc411088e04"}} 2026-06-08 02:55:29,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:55:29,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.69.232.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-06-08 02:55:29,903 - DEBUG - ping -s 56 -c 3 -W 1 22.69.232.3 2026-06-08 02:55:33,894 - DEBUG - PING 22.69.232.3 (22.69.232.3) 56(84) bytes of data. --- 22.69.232.3 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-06-08 02:55:33,894 - WARNING - Ping to IP 22.69.232.3 from VM ctest-TestBasicPolicy-30355755-80595700 failed 2026-06-08 02:55:33,894 - INFO - Deleting VM ctest-TestBasicPolicy-30355755-84643506 2026-06-08 02:55:33,962 - INFO - Deleting VM ctest-TestBasicPolicy-30355755-80595700 2026-06-08 02:55:34,475 - INFO - Deleted policy ctest-policy-allow-all-46164306 2026-06-08 02:55:34,476 - INFO - Deleting VN ctest-vn-94056851 2026-06-08 02:55:34,539 - DEBUG - VN ba339b0f-bb40-4e8c-8983-4ceec369c009 still in use: Unable to complete operation on network ba339b0f-bb40-4e8c-8983-4ceec369c009. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-87ce4eb9-1673-466b-ab6f-dff936911d61'] 2026-06-08 02:55:34,539 - WARNING - Deleting VN ctest-vn-94056851 failed..Will retry 2026-06-08 02:55:36,683 - DEBUG - Response for deleting network () 2026-06-08 02:55:36,683 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8ad12556-ba7e-4586-8b54-34a7e834b2f1 2026-06-08 02:55:36,689 - DEBUG - Response Code: 404 2026-06-08 02:55:36,689 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:55:36,695 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2441b78a-01cc-4005-9aa7-6b434eb6fb41 2026-06-08 02:55:36,721 - DEBUG - Requesting: http://10.0.0.33:8082/project/78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:55:36,812 - INFO - Validated that VN ctest-vn-94056851 is not found in API Server 2026-06-08 02:55:36,823 - DEBUG - VN ctest-vn-94056851 is not present in Agent 10.0.0.23 2026-06-08 02:55:36,832 - DEBUG - VN ctest-vn-94056851 is not present in Agent 10.0.0.240 2026-06-08 02:55:36,832 - INFO - Validated that VN ctest-vn-94056851 is not in any agent 2026-06-08 02:55:36,861 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94056851 info 2026-06-08 02:55:36,861 - INFO - Deleting VN ctest-vn-91548367 2026-06-08 02:55:37,007 - DEBUG - Response for deleting network () 2026-06-08 02:55:37,007 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f605a6d5-40da-4c15-974b-3c8ac2aca89f 2026-06-08 02:55:37,018 - DEBUG - Response Code: 404 2026-06-08 02:55:37,018 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-08 02:55:37,026 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2441b78a-01cc-4005-9aa7-6b434eb6fb41 2026-06-08 02:55:37,081 - DEBUG - Requesting: http://10.0.0.33:8082/project/78a30b19-9ddf-4676-b98e-126d0e296095 2026-06-08 02:55:37,180 - INFO - Validated that VN ctest-vn-91548367 is not found in API Server 2026-06-08 02:55:37,190 - DEBUG - VN ctest-vn-91548367 is not present in Agent 10.0.0.23 2026-06-08 02:55:37,200 - DEBUG - VN ctest-vn-91548367 is not present in Agent 10.0.0.240 2026-06-08 02:55:37,200 - INFO - Validated that VN ctest-vn-91548367 is not in any agent 2026-06-08 02:55:37,230 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91548367 info 2026-06-08 02:55:38,524 - DEBUG - No XMPP flaps were noticed during the test 2026-06-08 02:55:38,524 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:46] 2026-06-08 02:55:38,524 - INFO - -------------------------------------------------------------------------------- 2026-06-08 02:55:39,307 - INFO - Deleted project: ctest-TestBasicPolicy-30355755, ID : 78a30b19-9ddf-4676-b98e-126d0e296095