2026-01-23 10:31:23,035 - INFO - Domain Default found not creating 2026-01-23 10:31:23,224 - INFO - Project ctest-TestBasicPolicy-31007173 not found, creating it 2026-01-23 10:31:23,779 - INFO - Created Project:ctest-TestBasicPolicy-31007173, ID : 3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:25,519 - INFO - ================================================================================ 2026-01-23 10:31:25,519 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-23 10:31:25,519 - 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-01-23 10:31:26,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0', '10.20.0.254': '0'}, '10.0.0.33': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-01-23 10:31:26,813 - INFO - Initial checks done. Running the testcase now 2026-01-23 10:31:26,813 - INFO - 2026-01-23 10:31:27,593 - DEBUG - Response for create_network : {'network': {'id': '5dd098d7-a9e5-408a-9274-7f7a8b18a5b9', 'name': 'ctest-vn-42079644', 'tenant_id': '3cced35bd19741219912693204c900a6', 'project_id': '3cced35bd19741219912693204c900a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-vn-42079644'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:31:27,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '19385af0-f06f-47fa-8f01-205c677f45e1', 'name': '', 'tenant_id': '3cced35bd19741219912693204c900a6', 'network_id': '5dd098d7-a9e5-408a-9274-7f7a8b18a5b9', 'ip_version': 4, 'cidr': '1.134.157.64/26', 'allocation_pools': [{'start': '1.134.157.66', 'end': '1.134.157.126'}], 'gateway_ip': '1.134.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.134.157.66', 'tags': [], 'project_id': '3cced35bd19741219912693204c900a6'}} 2026-01-23 10:31:27,941 - INFO - Created VN ctest-vn-42079644 2026-01-23 10:31:27,951 - DEBUG - VN ctest-vn-42079644 UUID is 5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:28,338 - DEBUG - Response for create_network : {'network': {'id': '4aac0c39-5d36-4e50-8e4f-9b672735ca08', 'name': 'ctest-vn-86036318', 'tenant_id': '3cced35bd19741219912693204c900a6', 'project_id': '3cced35bd19741219912693204c900a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-vn-86036318'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:31:28,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edee661b-87a3-4ac8-9c00-f0dfdb15baee', 'name': '', 'tenant_id': '3cced35bd19741219912693204c900a6', 'network_id': '4aac0c39-5d36-4e50-8e4f-9b672735ca08', 'ip_version': 4, 'cidr': '48.83.35.0/26', 'allocation_pools': [{'start': '48.83.35.2', 'end': '48.83.35.62'}], 'gateway_ip': '48.83.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.83.35.2', 'tags': [], 'project_id': '3cced35bd19741219912693204c900a6'}} 2026-01-23 10:31:28,701 - INFO - Created VN ctest-vn-86036318 2026-01-23 10:31:28,721 - DEBUG - VN ctest-vn-86036318 UUID is 4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:28,823 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644, 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-31007173:ctest-vn-86036318, 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-01-23 10:31:29,214 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5dd098d7-a9e5-408a-9274-7f7a8b18a5b9', 'name': 'ctest-vn-42079644', 'tenant_id': '3cced35bd19741219912693204c900a6', 'project_id': '3cced35bd19741219912693204c900a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19385af0-f06f-47fa-8f01-205c677f45e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-vn-42079644'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-policy-allow-all-77222838']], 'subnet_ipam': [{'subnet_cidr': '1.134.157.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:31:29,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4aac0c39-5d36-4e50-8e4f-9b672735ca08', 'name': 'ctest-vn-86036318', 'tenant_id': '3cced35bd19741219912693204c900a6', 'project_id': '3cced35bd19741219912693204c900a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edee661b-87a3-4ac8-9c00-f0dfdb15baee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-vn-86036318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-policy-allow-all-77222838']], 'subnet_ipam': [{'subnet_cidr': '48.83.35.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:31:29,557 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:29,956 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:29,990 - DEBUG - Requesting: http://10.0.0.41:8082/domain/fd2f64e8-f245-459e-b13e-d5898f7f9a94 2026-01-23 10:31:30,012 - DEBUG - Requesting: http://10.0.0.41:8082/project/3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:30,126 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:30,139 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:30,150 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/97081b8a-6474-4113-b556-79d2a6a398ef 2026-01-23 10:31:30,160 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/97081b8a-6474-4113-b556-79d2a6a398ef 2026-01-23 10:31:30,168 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/e276ca06-8c88-42a5-9369-7e4f450a42fa 2026-01-23 10:31:30,179 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 10:31:30,179 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:30,198 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/97081b8a-6474-4113-b556-79d2a6a398ef 2026-01-23 10:31:30,221 - INFO - Verified VN network id 11 for VN 5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:30,221 - INFO - Verifications in API Server for VN ctest-vn-42079644 passed 2026-01-23 10:31:30,221 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:30,232 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/97081b8a-6474-4113-b556-79d2a6a398ef 2026-01-23 10:31:30,240 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/97081b8a-6474-4113-b556-79d2a6a398ef 2026-01-23 10:31:30,248 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/e276ca06-8c88-42a5-9369-7e4f450a42fa 2026-01-23 10:31:30,263 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31007173', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6760071092718878858', 'uuid-lslong': '10553199991132300729'}, 'enable': 'true', 'created': '2026-01-23T10:31:27', 'last-modified': '2026-01-23T10:31:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.116967'} 2026-01-23 10:31:30,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 10:31:30,278 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31007173', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6760071092718878858', 'uuid-lslong': '10553199991132300729'}, 'enable': 'true', 'created': '2026-01-23T10:31:27', 'last-modified': '2026-01-23T10:31:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.129901'} 2026-01-23 10:31:30,285 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 10:31:30,291 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31007173', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6760071092718878858', 'uuid-lslong': '10553199991132300729'}, 'enable': 'true', 'created': '2026-01-23T10:31:27', 'last-modified': '2026-01-23T10:31:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.143629'} 2026-01-23 10:31:30,297 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 10:31:30,297 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42079644 passed 2026-01-23 10:31:30,297 - DEBUG - ====Verifying policy data for ctest-vn-42079644 in API_Server ====== 2026-01-23 10:31:30,297 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:30,304 - DEBUG - Requesting: http://10.0.0.41:8082/domain/fd2f64e8-f245-459e-b13e-d5898f7f9a94 2026-01-23 10:31:30,319 - DEBUG - Requesting: http://10.0.0.41:8082/project/3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:30,415 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5dd098d7-a9e5-408a-9274-7f7a8b18a5b9 2026-01-23 10:31:30,430 - DEBUG - ==>Verifying data for policy with id: 054aaca2-07a6-453d-afbc-eb0bc4ee22dc, fqn: ['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-policy-allow-all-77222838'] 2026-01-23 10:31:30,430 - INFO - VN ctest-vn-42079644 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 10:31:30,430 - DEBUG - Verifying the vn in opserver 2026-01-23 10:31:30,430 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644 virtual network link through opserver 10.0.0.41 2026-01-23 10:31:30,430 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-23 10:31:30,747 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-23 10:31:30,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644?flat'} 2026-01-23 10:31:30,828 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644 virtual network link through opserver 10.0.0.27 2026-01-23 10:31:30,828 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-23 10:31:31,143 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-23 10:31:31,211 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644?flat'} 2026-01-23 10:31:31,211 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644 virtual network link through opserver 10.0.0.23 2026-01-23 10:31:31,211 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-23 10:31:31,507 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-23 10:31:31,589 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644?flat'} 2026-01-23 10:31:31,589 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644 is found in opserver 2026-01-23 10:31:31,614 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 10:31:31,626 - DEBUG - VRF ids for VN ctest-vn-42079644: {} 2026-01-23 10:31:31,626 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:31,633 - DEBUG - Requesting: http://10.0.0.41:8082/domain/fd2f64e8-f245-459e-b13e-d5898f7f9a94 2026-01-23 10:31:31,646 - DEBUG - Requesting: http://10.0.0.41:8082/project/3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:31,751 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:31,771 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:31,781 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11b76af9-78e9-409d-accb-1122a66560c3 2026-01-23 10:31:31,791 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11b76af9-78e9-409d-accb-1122a66560c3 2026-01-23 10:31:31,801 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8bf4ef24-c661-4b64-8145-9149c3550afd 2026-01-23 10:31:31,812 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-23 10:31:31,813 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:31,825 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11b76af9-78e9-409d-accb-1122a66560c3 2026-01-23 10:31:31,845 - INFO - Verified VN network id 12 for VN 4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:31,848 - INFO - Verifications in API Server for VN ctest-vn-86036318 passed 2026-01-23 10:31:31,848 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:31,861 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11b76af9-78e9-409d-accb-1122a66560c3 2026-01-23 10:31:31,869 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11b76af9-78e9-409d-accb-1122a66560c3 2026-01-23 10:31:31,879 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8bf4ef24-c661-4b64-8145-9149c3550afd 2026-01-23 10:31:31,893 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31007173', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5380689095317409360', 'uuid-lslong': '10254585743887682056'}, 'enable': 'true', 'created': '2026-01-23T10:31:28', 'last-modified': '2026-01-23T10:31:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.490869'} 2026-01-23 10:31:31,898 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-23 10:31:31,906 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31007173', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5380689095317409360', 'uuid-lslong': '10254585743887682056'}, 'enable': 'true', 'created': '2026-01-23T10:31:28', 'last-modified': '2026-01-23T10:31:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.497898'} 2026-01-23 10:31:31,913 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-23 10:31:31,918 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31007173', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5380689095317409360', 'uuid-lslong': '10254585743887682056'}, 'enable': 'true', 'created': '2026-01-23T10:31:28', 'last-modified': '2026-01-23T10:31:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.515755'} 2026-01-23 10:31:31,924 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-23 10:31:31,924 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86036318 passed 2026-01-23 10:31:31,924 - DEBUG - ====Verifying policy data for ctest-vn-86036318 in API_Server ====== 2026-01-23 10:31:31,924 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:31,931 - DEBUG - Requesting: http://10.0.0.41:8082/domain/fd2f64e8-f245-459e-b13e-d5898f7f9a94 2026-01-23 10:31:31,944 - DEBUG - Requesting: http://10.0.0.41:8082/project/3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:32,055 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4aac0c39-5d36-4e50-8e4f-9b672735ca08 2026-01-23 10:31:32,070 - DEBUG - ==>Verifying data for policy with id: 054aaca2-07a6-453d-afbc-eb0bc4ee22dc, fqn: ['default-domain', 'ctest-TestBasicPolicy-31007173', 'ctest-policy-allow-all-77222838'] 2026-01-23 10:31:32,070 - INFO - VN ctest-vn-86036318 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 10:31:32,070 - DEBUG - Verifying the vn in opserver 2026-01-23 10:31:32,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318 virtual network link through opserver 10.0.0.41 2026-01-23 10:31:32,070 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-23 10:31:32,137 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318?flat'} 2026-01-23 10:31:32,137 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318 virtual network link through opserver 10.0.0.27 2026-01-23 10:31:32,137 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-23 10:31:32,204 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318?flat'} 2026-01-23 10:31:32,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318 virtual network link through opserver 10.0.0.23 2026-01-23 10:31:32,204 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-23 10:31:32,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318?flat'} 2026-01-23 10:31:32,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-86036318 is found in opserver 2026-01-23 10:31:32,287 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 10:31:32,300 - DEBUG - VRF ids for VN ctest-vn-86036318: {} 2026-01-23 10:31:32,355 - DEBUG - Services list from nova: [, , , ] 2026-01-23 10:31:33,486 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5067-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5067-1) 2026-01-23 10:31:34,962 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5067-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5067-2) 2026-01-23 10:31:34,963 - INFO - Waiting for VM ctest-TestBasicPolicy-31007173-91658649 to be up.. 2026-01-23 10:31:35,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-23 10:31:40,258 - DEBUG - VM is in ACTIVE state now 2026-01-23 10:31:40,258 - INFO - VM name : ctest-TestBasicPolicy-31007173-91658649 2026-01-23 10:31:40,515 - DEBUG - VM ctest-TestBasicPolicy-31007173-91658649 ID is 26790407-8f35-4e07-bdab-4f9acd673f1c 2026-01-23 10:31:40,584 - DEBUG - VM ctest-TestBasicPolicy-31007173-91658649 launched on Node an-jenkins-deploy-platform-ansible-os-5067-1 2026-01-23 10:31:40,741 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/26790407-8f35-4e07-bdab-4f9acd673f1c 2026-01-23 10:31:41,307 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/26790407-8f35-4e07-bdab-4f9acd673f1c 2026-01-23 10:31:41,356 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/23fc08a4-6fb7-4849-b0ea-d818f805a329 2026-01-23 10:31:44,594 - 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 1031ms') 2026-01-23 10:31:44,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31007173-91658649 failed! 2026-01-23 10:31:44,609 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31007173:ctest-vn-42079644 is 1.134.157.65 and allocation pool is NOT set 2026-01-23 10:31:46,674 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.834 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 = 0.834/3.769/6.704/2.935 ms') 2026-01-23 10:31:46,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31007173-91658649 passed 2026-01-23 10:31:46,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:31:46,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31007173-91658649, IP 1.134.157.67, Port 22 2026-01-23 10:31:46,954 - DEBUG - VM ctest-TestBasicPolicy-31007173-91658649 is ready for SSH connections 2026-01-23 10:31:46,954 - INFO - Waiting for VM ctest-TestBasicPolicy-31007173-60017036 to be up.. 2026-01-23 10:31:47,045 - DEBUG - VM is in ACTIVE state now 2026-01-23 10:31:47,046 - INFO - VM name : ctest-TestBasicPolicy-31007173-60017036 2026-01-23 10:31:47,133 - DEBUG - VM ctest-TestBasicPolicy-31007173-60017036 ID is 8102a524-43f3-4027-96c7-b0c444b68b10 2026-01-23 10:31:47,133 - DEBUG - VM ctest-TestBasicPolicy-31007173-60017036 launched on Node an-jenkins-deploy-platform-ansible-os-5067-2 2026-01-23 10:31:47,218 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8102a524-43f3-4027-96c7-b0c444b68b10 2026-01-23 10:31:47,228 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b02a0259-1410-4bdd-94a6-c24d4e013adf 2026-01-23 10:31:48,429 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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 = 0.433/1.749/3.065/1.316 ms') 2026-01-23 10:31:48,429 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31007173-60017036 passed 2026-01-23 10:31:48,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:31:48,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31007173-60017036, IP 48.83.35.3, Port 22 2026-01-23 10:31:48,710 - DEBUG - VM ctest-TestBasicPolicy-31007173-60017036 is ready for SSH connections 2026-01-23 10:31:48,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:31:48,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.83.35.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-23 10:31:48,711 - DEBUG - ping -s 56 -c 3 -W 1 48.83.35.3 2026-01-23 10:31:52,641 - DEBUG - PING 48.83.35.3 (48.83.35.3): 56 data bytes 64 bytes from 48.83.35.3: seq=0 ttl=63 time=6.589 ms 64 bytes from 48.83.35.3: seq=1 ttl=63 time=1.437 ms 64 bytes from 48.83.35.3: seq=2 ttl=63 time=1.322 ms --- 48.83.35.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.322/3.116/6.589 ms 2026-01-23 10:31:52,641 - INFO - Ping to IP 48.83.35.3 from VM ctest-TestBasicPolicy-31007173-91658649 passed 2026-01-23 10:31:52,838 - DEBUG - Policy Update Response {"network-policy": {"uuid": "054aaca2-07a6-453d-afbc-eb0bc4ee22dc", "href": "http://10.0.0.23:8082/network-policy/054aaca2-07a6-453d-afbc-eb0bc4ee22dc"}} 2026-01-23 10:31:52,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:31:52,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.83.35.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-23 10:31:52,838 - DEBUG - ping -s 56 -c 3 -W 1 48.83.35.3 2026-01-23 10:31:56,047 - DEBUG - PING 48.83.35.3 (48.83.35.3): 56 data bytes --- 48.83.35.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 10:31:56,048 - WARNING - Ping to IP 48.83.35.3 from VM ctest-TestBasicPolicy-31007173-91658649 failed 2026-01-23 10:31:56,048 - INFO - Deleting VM ctest-TestBasicPolicy-31007173-60017036 2026-01-23 10:31:56,132 - INFO - Deleting VM ctest-TestBasicPolicy-31007173-91658649 2026-01-23 10:31:56,651 - INFO - Deleted policy ctest-policy-allow-all-77222838 2026-01-23 10:31:56,651 - INFO - Deleting VN ctest-vn-86036318 2026-01-23 10:31:56,731 - DEBUG - VN 4aac0c39-5d36-4e50-8e4f-9b672735ca08 still in use: Unable to complete operation on network 4aac0c39-5d36-4e50-8e4f-9b672735ca08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-181f15f2-5fbf-4a2d-93eb-abd69e3eac42'] 2026-01-23 10:31:56,731 - WARNING - Deleting VN ctest-vn-86036318 failed..Will retry 2026-01-23 10:31:58,944 - DEBUG - Response for deleting network () 2026-01-23 10:31:58,944 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11b76af9-78e9-409d-accb-1122a66560c3 2026-01-23 10:31:58,952 - DEBUG - Response Code: 404 2026-01-23 10:31:58,952 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:58,974 - DEBUG - Requesting: http://10.0.0.41:8082/domain/fd2f64e8-f245-459e-b13e-d5898f7f9a94 2026-01-23 10:31:59,003 - DEBUG - Requesting: http://10.0.0.41:8082/project/3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:59,115 - INFO - Validated that VN ctest-vn-86036318 is not found in API Server 2026-01-23 10:31:59,128 - DEBUG - VN ctest-vn-86036318 is not present in Agent 10.0.0.141 2026-01-23 10:31:59,149 - DEBUG - VN ctest-vn-86036318 is not present in Agent 10.0.0.33 2026-01-23 10:31:59,149 - INFO - Validated that VN ctest-vn-86036318 is not in any agent 2026-01-23 10:31:59,188 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86036318 info 2026-01-23 10:31:59,188 - INFO - Deleting VN ctest-vn-42079644 2026-01-23 10:31:59,402 - DEBUG - Response for deleting network () 2026-01-23 10:31:59,402 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/97081b8a-6474-4113-b556-79d2a6a398ef 2026-01-23 10:31:59,410 - DEBUG - Response Code: 404 2026-01-23 10:31:59,410 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-23 10:31:59,428 - DEBUG - Requesting: http://10.0.0.41:8082/domain/fd2f64e8-f245-459e-b13e-d5898f7f9a94 2026-01-23 10:31:59,446 - DEBUG - Requesting: http://10.0.0.41:8082/project/3cced35b-d197-4121-9912-693204c900a6 2026-01-23 10:31:59,543 - INFO - Validated that VN ctest-vn-42079644 is not found in API Server 2026-01-23 10:31:59,557 - DEBUG - VN ctest-vn-42079644 is not present in Agent 10.0.0.141 2026-01-23 10:31:59,570 - DEBUG - VN ctest-vn-42079644 is not present in Agent 10.0.0.33 2026-01-23 10:31:59,570 - INFO - Validated that VN ctest-vn-42079644 is not in any agent 2026-01-23 10:31:59,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42079644 info 2026-01-23 10:32:00,941 - DEBUG - No XMPP flaps were noticed during the test 2026-01-23 10:32:00,941 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-23 10:32:00,941 - INFO - -------------------------------------------------------------------------------- 2026-01-23 10:32:01,796 - INFO - Deleted project: ctest-TestBasicPolicy-31007173, ID : 3cced35b-d197-4121-9912-693204c900a6