2026-11-16 03:18:24,436 - INFO - Domain Default found not creating 2026-11-16 03:18:24,655 - INFO - Project ctest-TestBasicPolicy-95011289 not found, creating it 2026-11-16 03:18:25,330 - INFO - Created Project:ctest-TestBasicPolicy-95011289, ID : 8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:18:27,213 - INFO - ================================================================================ 2026-11-16 03:18:27,213 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-16 03:18:27,214 - 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-11-16 03:18:28,527 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-11-16 03:18:28,527 - INFO - Initial checks done. Running the testcase now 2026-11-16 03:18:28,527 - INFO - 2026-11-16 03:18:29,320 - DEBUG - Response for create_network : {'network': {'id': '1578d4e0-cb9b-4576-aeb3-c7b34b0032db', 'name': 'ctest-vn-32363243', 'tenant_id': '8055b5bf1aed449ba8e771bebc33886d', 'project_id': '8055b5bf1aed449ba8e771bebc33886d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-vn-32363243'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 03:18:29,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b70b24c-0329-4b07-9c4b-dace5953b627', 'name': '', 'tenant_id': '8055b5bf1aed449ba8e771bebc33886d', 'network_id': '1578d4e0-cb9b-4576-aeb3-c7b34b0032db', 'ip_version': 4, 'cidr': '156.69.144.192/26', 'allocation_pools': [{'start': '156.69.144.194', 'end': '156.69.144.254'}], 'gateway_ip': '156.69.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.69.144.194', 'tags': [], 'project_id': '8055b5bf1aed449ba8e771bebc33886d'}} 2026-11-16 03:18:29,604 - INFO - Created VN ctest-vn-32363243 2026-11-16 03:18:29,619 - DEBUG - VN ctest-vn-32363243 UUID is 1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:29,992 - DEBUG - Response for create_network : {'network': {'id': '4b44fcdd-72fe-4178-aeea-81a976f8d0ed', 'name': 'ctest-vn-71322101', 'tenant_id': '8055b5bf1aed449ba8e771bebc33886d', 'project_id': '8055b5bf1aed449ba8e771bebc33886d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-vn-71322101'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 03:18:30,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '411717ec-6f78-48bb-aa94-585ee36a24d2', 'name': '', 'tenant_id': '8055b5bf1aed449ba8e771bebc33886d', 'network_id': '4b44fcdd-72fe-4178-aeea-81a976f8d0ed', 'ip_version': 4, 'cidr': '187.64.124.0/26', 'allocation_pools': [{'start': '187.64.124.2', 'end': '187.64.124.62'}], 'gateway_ip': '187.64.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.64.124.2', 'tags': [], 'project_id': '8055b5bf1aed449ba8e771bebc33886d'}} 2026-11-16 03:18:30,295 - INFO - Created VN ctest-vn-71322101 2026-11-16 03:18:30,308 - DEBUG - VN ctest-vn-71322101 UUID is 4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:30,392 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243, 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-95011289:ctest-vn-71322101, 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-11-16 03:18:30,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1578d4e0-cb9b-4576-aeb3-c7b34b0032db', 'name': 'ctest-vn-32363243', 'tenant_id': '8055b5bf1aed449ba8e771bebc33886d', 'project_id': '8055b5bf1aed449ba8e771bebc33886d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2b70b24c-0329-4b07-9c4b-dace5953b627'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-vn-32363243'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-policy-allow-all-60976958']], 'subnet_ipam': [{'subnet_cidr': '156.69.144.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-16 03:18:30,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b44fcdd-72fe-4178-aeea-81a976f8d0ed', 'name': 'ctest-vn-71322101', 'tenant_id': '8055b5bf1aed449ba8e771bebc33886d', 'project_id': '8055b5bf1aed449ba8e771bebc33886d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['411717ec-6f78-48bb-aa94-585ee36a24d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-vn-71322101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-policy-allow-all-60976958']], 'subnet_ipam': [{'subnet_cidr': '187.64.124.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-16 03:18:31,075 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:18:31,453 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:18:31,488 - DEBUG - Requesting: http://10.0.0.190:8082/domain/062163ac-9858-4c8e-9e58-7ae832d889e9 2026-11-16 03:18:31,505 - DEBUG - Requesting: http://10.0.0.190:8082/project/8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:18:31,605 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:31,630 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:31,645 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96a1a2f4-3ab7-4a5d-bf5e-ca35478528b6 2026-11-16 03:18:31,659 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96a1a2f4-3ab7-4a5d-bf5e-ca35478528b6 2026-11-16 03:18:31,672 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/38310def-c0c5-4627-8320-c8a5fb922308 2026-11-16 03:18:31,681 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 03:18:31,681 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:31,692 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96a1a2f4-3ab7-4a5d-bf5e-ca35478528b6 2026-11-16 03:18:31,711 - INFO - Verified VN network id 15 for VN 1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:31,711 - INFO - Verifications in API Server for VN ctest-vn-32363243 passed 2026-11-16 03:18:31,711 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:31,724 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96a1a2f4-3ab7-4a5d-bf5e-ca35478528b6 2026-11-16 03:18:31,732 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96a1a2f4-3ab7-4a5d-bf5e-ca35478528b6 2026-11-16 03:18:31,741 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/38310def-c0c5-4627-8320-c8a5fb922308 2026-11-16 03:18:31,758 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95011289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1547220533955478902', 'uuid-lslong': '12588624956302045915'}, 'enable': 'true', 'created': '2026-11-16T03:18:29', 'last-modified': '2026-11-16T03:18:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.060519'} 2026-11-16 03:18:31,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 03:18:31,773 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95011289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1547220533955478902', 'uuid-lslong': '12588624956302045915'}, 'enable': 'true', 'created': '2026-11-16T03:18:29', 'last-modified': '2026-11-16T03:18:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.083706'} 2026-11-16 03:18:31,780 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 03:18:31,785 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95011289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1547220533955478902', 'uuid-lslong': '12588624956302045915'}, 'enable': 'true', 'created': '2026-11-16T03:18:29', 'last-modified': '2026-11-16T03:18:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.094316'} 2026-11-16 03:18:31,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 03:18:31,792 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32363243 passed 2026-11-16 03:18:31,792 - DEBUG - ====Verifying policy data for ctest-vn-32363243 in API_Server ====== 2026-11-16 03:18:31,792 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:18:31,799 - DEBUG - Requesting: http://10.0.0.190:8082/domain/062163ac-9858-4c8e-9e58-7ae832d889e9 2026-11-16 03:18:31,815 - DEBUG - Requesting: http://10.0.0.190:8082/project/8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:18:31,922 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1578d4e0-cb9b-4576-aeb3-c7b34b0032db 2026-11-16 03:18:31,935 - DEBUG - ==>Verifying data for policy with id: 2d4d2f95-5d29-4c11-a514-c9c5e157cd7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-policy-allow-all-60976958'] 2026-11-16 03:18:31,935 - INFO - VN ctest-vn-32363243 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-16 03:18:31,935 - DEBUG - Verifying the vn in opserver 2026-11-16 03:18:31,935 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 virtual network link through opserver 10.0.0.190 2026-11-16 03:18:31,936 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-16 03:18:32,365 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-16 03:18:32,447 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243?flat'} 2026-11-16 03:18:32,447 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 virtual network link through opserver 10.0.0.191 2026-11-16 03:18:32,448 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-16 03:18:32,829 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-16 03:18:32,886 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243?flat'} 2026-11-16 03:18:32,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 virtual network link through opserver 10.0.0.176 2026-11-16 03:18:32,886 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-11-16 03:18:33,259 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-11-16 03:18:33,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243?flat'} 2026-11-16 03:18:33,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is found in opserver 2026-11-16 03:18:33,336 - DEBUG - Do not have enough data to verify VN in agent 2026-11-16 03:18:33,348 - DEBUG - VRF ids for VN ctest-vn-32363243: {} 2026-11-16 03:18:33,348 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:18:33,356 - DEBUG - Requesting: http://10.0.0.190:8082/domain/062163ac-9858-4c8e-9e58-7ae832d889e9 2026-11-16 03:18:33,370 - DEBUG - Requesting: http://10.0.0.190:8082/project/8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:18:33,468 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:33,482 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:33,492 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/614d5e27-a870-4102-9669-47f317ebb176 2026-11-16 03:18:33,500 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/614d5e27-a870-4102-9669-47f317ebb176 2026-11-16 03:18:33,507 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a6e77110-0672-4ec6-bff6-aab1f328df89 2026-11-16 03:18:33,514 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-16 03:18:33,514 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:33,525 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/614d5e27-a870-4102-9669-47f317ebb176 2026-11-16 03:18:33,542 - INFO - Verified VN network id 16 for VN 4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:33,543 - INFO - Verifications in API Server for VN ctest-vn-71322101 passed 2026-11-16 03:18:33,543 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:33,552 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/614d5e27-a870-4102-9669-47f317ebb176 2026-11-16 03:18:33,560 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/614d5e27-a870-4102-9669-47f317ebb176 2026-11-16 03:18:33,568 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a6e77110-0672-4ec6-bff6-aab1f328df89 2026-11-16 03:18:33,581 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95011289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5423737879308157304', 'uuid-lslong': '12604029071995228397'}, 'enable': 'true', 'created': '2026-11-16T03:18:29', 'last-modified': '2026-11-16T03:18:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.654495'} 2026-11-16 03:18:33,587 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-16 03:18:33,594 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95011289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5423737879308157304', 'uuid-lslong': '12604029071995228397'}, 'enable': 'true', 'created': '2026-11-16T03:18:29', 'last-modified': '2026-11-16T03:18:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.667760'} 2026-11-16 03:18:33,601 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-16 03:18:33,607 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95011289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5423737879308157304', 'uuid-lslong': '12604029071995228397'}, 'enable': 'true', 'created': '2026-11-16T03:18:29', 'last-modified': '2026-11-16T03:18:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.682319'} 2026-11-16 03:18:33,614 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-16 03:18:33,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71322101 passed 2026-11-16 03:18:33,614 - DEBUG - ====Verifying policy data for ctest-vn-71322101 in API_Server ====== 2026-11-16 03:18:33,615 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:18:33,621 - DEBUG - Requesting: http://10.0.0.190:8082/domain/062163ac-9858-4c8e-9e58-7ae832d889e9 2026-11-16 03:18:33,636 - DEBUG - Requesting: http://10.0.0.190:8082/project/8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:18:33,739 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/4b44fcdd-72fe-4178-aeea-81a976f8d0ed 2026-11-16 03:18:33,755 - DEBUG - ==>Verifying data for policy with id: 2d4d2f95-5d29-4c11-a514-c9c5e157cd7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-95011289', 'ctest-policy-allow-all-60976958'] 2026-11-16 03:18:33,756 - INFO - VN ctest-vn-71322101 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-16 03:18:33,756 - DEBUG - Verifying the vn in opserver 2026-11-16 03:18:33,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101 virtual network link through opserver 10.0.0.190 2026-11-16 03:18:33,756 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-16 03:18:33,814 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101?flat'} 2026-11-16 03:18:33,814 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101 virtual network link through opserver 10.0.0.191 2026-11-16 03:18:33,814 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-16 03:18:33,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101?flat'} 2026-11-16 03:18:33,866 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101 virtual network link through opserver 10.0.0.176 2026-11-16 03:18:33,867 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-11-16 03:18:33,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101?flat'} 2026-11-16 03:18:33,917 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-71322101 is found in opserver 2026-11-16 03:18:33,942 - DEBUG - Do not have enough data to verify VN in agent 2026-11-16 03:18:33,956 - DEBUG - VRF ids for VN ctest-vn-71322101: {} 2026-11-16 03:18:34,015 - DEBUG - Services list from nova: [, , , ] 2026-11-16 03:18:34,537 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6504-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6504-2) 2026-11-16 03:18:35,420 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6504-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6504-1) 2026-11-16 03:18:35,420 - INFO - Waiting for VM ctest-TestBasicPolicy-95011289-54028302 to be up.. 2026-11-16 03:18:35,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 03:18:40,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 03:18:45,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 03:18:50,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 03:18:55,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 03:19:01,025 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 03:19:06,128 - DEBUG - VM is in ACTIVE state now 2026-11-16 03:19:06,128 - INFO - VM name : ctest-TestBasicPolicy-95011289-54028302 2026-11-16 03:19:06,222 - DEBUG - VM ctest-TestBasicPolicy-95011289-54028302 ID is ea819627-ab32-4a93-9824-b6a9f1194407 2026-11-16 03:19:06,248 - DEBUG - VM ctest-TestBasicPolicy-95011289-54028302 launched on Node an-jenkins-deploy-platform-ansible-os-6504-2 2026-11-16 03:19:06,332 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/ea819627-ab32-4a93-9824-b6a9f1194407 2026-11-16 03:19:06,709 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/ea819627-ab32-4a93-9824-b6a9f1194407 2026-11-16 03:19:06,741 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/fa8b1b00-f03a-4f7e-8cf6-01e384db02cc 2026-11-16 03:19:09,925 - 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 1013ms') 2026-11-16 03:19:09,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:09,941 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:14,027 - 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-11-16 03:19:14,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:14,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:18,117 - 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 1009ms') 2026-11-16 03:19:18,117 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:18,133 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:22,213 - 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-11-16 03:19:22,214 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:22,229 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:26,306 - 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-11-16 03:19:26,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:26,321 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:30,408 - 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-11-16 03:19:30,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:30,428 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:34,502 - 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 1008ms') 2026-11-16 03:19:34,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:34,519 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:38,598 - 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-11-16 03:19:38,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 failed! 2026-11-16 03:19:38,615 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95011289:ctest-vn-32363243 is 156.69.144.193 and allocation pool is NOT set 2026-11-16 03:19:40,692 - 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=7.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.50 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 4.498/6.158/7.819/1.660 ms') 2026-11-16 03:19:40,693 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-54028302 passed 2026-11-16 03:19:40,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:19:40,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95011289-54028302, IP 156.69.144.195, Port 22 2026-11-16 03:19:40,849 - 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-11-16 03:19:40,980 - DEBUG - VM ctest-TestBasicPolicy-95011289-54028302 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-16 03:19:45,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:19:45,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95011289-54028302, IP 156.69.144.195, Port 22 2026-11-16 03:19:46,058 - 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-11-16 03:19:46,188 - DEBUG - VM ctest-TestBasicPolicy-95011289-54028302 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-16 03:19:51,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:19:51,189 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95011289-54028302, IP 156.69.144.195, Port 22 2026-11-16 03:19:51,255 - 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-11-16 03:19:51,374 - DEBUG - VM ctest-TestBasicPolicy-95011289-54028302 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-16 03:19:56,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:19:56,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95011289-54028302, IP 156.69.144.195, Port 22 2026-11-16 03:19:56,547 - DEBUG - VM ctest-TestBasicPolicy-95011289-54028302 is ready for SSH connections 2026-11-16 03:19:56,547 - INFO - Waiting for VM ctest-TestBasicPolicy-95011289-07897116 to be up.. 2026-11-16 03:19:56,647 - DEBUG - VM is in ACTIVE state now 2026-11-16 03:19:56,647 - INFO - VM name : ctest-TestBasicPolicy-95011289-07897116 2026-11-16 03:19:56,739 - DEBUG - VM ctest-TestBasicPolicy-95011289-07897116 ID is dbfb1966-f09b-4132-b6d0-68eb7506f29a 2026-11-16 03:19:56,739 - DEBUG - VM ctest-TestBasicPolicy-95011289-07897116 launched on Node an-jenkins-deploy-platform-ansible-os-6504-1 2026-11-16 03:19:56,825 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/dbfb1966-f09b-4132-b6d0-68eb7506f29a 2026-11-16 03:19:56,837 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/539cb35b-5074-4219-a683-26a98236a5ac 2026-11-16 03:19:58,028 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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.888/2.862/3.837/0.974 ms') 2026-11-16 03:19:58,029 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95011289-07897116 passed 2026-11-16 03:19:58,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:19:58,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95011289-07897116, IP 187.64.124.3, Port 22 2026-11-16 03:19:58,292 - DEBUG - VM ctest-TestBasicPolicy-95011289-07897116 is ready for SSH connections 2026-11-16 03:19:58,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:19:58,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.64.124.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-16 03:19:58,293 - DEBUG - ping -s 56 -c 3 -W 1 187.64.124.3 2026-11-16 03:20:09,557 - DEBUG - PING 187.64.124.3 (187.64.124.3) 56(84) bytes of data. 64 bytes from 187.64.124.3: icmp_req=1 ttl=63 time=9.45 ms 64 bytes from 187.64.124.3: icmp_req=2 ttl=63 time=2.75 ms 64 bytes from 187.64.124.3: icmp_req=3 ttl=63 time=4.41 ms --- 187.64.124.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 2.753/5.541/9.451/2.847 ms 2026-11-16 03:20:09,557 - INFO - Ping to IP 187.64.124.3 from VM ctest-TestBasicPolicy-95011289-54028302 passed 2026-11-16 03:20:09,775 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2d4d2f95-5d29-4c11-a514-c9c5e157cd7c", "href": "http://10.0.0.176:8082/network-policy/2d4d2f95-5d29-4c11-a514-c9c5e157cd7c"}} 2026-11-16 03:20:09,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 03:20:09,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.64.124.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-16 03:20:09,776 - DEBUG - ping -s 56 -c 3 -W 1 187.64.124.3 2026-11-16 03:20:13,340 - DEBUG - PING 187.64.124.3 (187.64.124.3) 56(84) bytes of data. 64 bytes from 187.64.124.3: icmp_req=1 ttl=63 time=5.36 ms --- 187.64.124.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2009ms rtt min/avg/max/mdev = 5.364/5.364/5.364/0.000 ms 2026-11-16 03:20:13,340 - WARNING - Ping to IP 187.64.124.3 from VM ctest-TestBasicPolicy-95011289-54028302 failed 2026-11-16 03:20:13,341 - INFO - Deleting VM ctest-TestBasicPolicy-95011289-07897116 2026-11-16 03:20:13,447 - INFO - Deleting VM ctest-TestBasicPolicy-95011289-54028302 2026-11-16 03:20:13,929 - INFO - Deleted policy ctest-policy-allow-all-60976958 2026-11-16 03:20:13,930 - INFO - Deleting VN ctest-vn-71322101 2026-11-16 03:20:13,987 - DEBUG - VN 4b44fcdd-72fe-4178-aeea-81a976f8d0ed still in use: Unable to complete operation on network 4b44fcdd-72fe-4178-aeea-81a976f8d0ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf6a4bad-da5b-433f-876b-0e15ba481d1a'] 2026-11-16 03:20:13,987 - WARNING - Deleting VN ctest-vn-71322101 failed..Will retry 2026-11-16 03:20:16,066 - DEBUG - VN 4b44fcdd-72fe-4178-aeea-81a976f8d0ed still in use: Unable to complete operation on network 4b44fcdd-72fe-4178-aeea-81a976f8d0ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae81694a-9383-4f44-9712-3ec54adae4a7'] 2026-11-16 03:20:16,066 - WARNING - Deleting VN ctest-vn-71322101 failed..Will retry 2026-11-16 03:20:18,303 - DEBUG - Response for deleting network () 2026-11-16 03:20:18,304 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/614d5e27-a870-4102-9669-47f317ebb176 2026-11-16 03:20:18,310 - DEBUG - Response Code: 404 2026-11-16 03:20:18,310 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:20:18,327 - DEBUG - Requesting: http://10.0.0.190:8082/domain/062163ac-9858-4c8e-9e58-7ae832d889e9 2026-11-16 03:20:18,343 - DEBUG - Requesting: http://10.0.0.190:8082/project/8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:20:18,442 - INFO - Validated that VN ctest-vn-71322101 is not found in API Server 2026-11-16 03:20:18,456 - DEBUG - VN ctest-vn-71322101 is not present in Agent 10.0.0.38 2026-11-16 03:20:18,470 - DEBUG - VN ctest-vn-71322101 is not present in Agent 10.0.0.50 2026-11-16 03:20:18,470 - INFO - Validated that VN ctest-vn-71322101 is not in any agent 2026-11-16 03:20:18,504 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71322101 info 2026-11-16 03:20:18,505 - INFO - Deleting VN ctest-vn-32363243 2026-11-16 03:20:18,659 - DEBUG - Response for deleting network () 2026-11-16 03:20:18,659 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96a1a2f4-3ab7-4a5d-bf5e-ca35478528b6 2026-11-16 03:20:18,669 - DEBUG - Response Code: 404 2026-11-16 03:20:18,669 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 03:20:18,684 - DEBUG - Requesting: http://10.0.0.190:8082/domain/062163ac-9858-4c8e-9e58-7ae832d889e9 2026-11-16 03:20:18,696 - DEBUG - Requesting: http://10.0.0.190:8082/project/8055b5bf-1aed-449b-a8e7-71bebc33886d 2026-11-16 03:20:18,798 - INFO - Validated that VN ctest-vn-32363243 is not found in API Server 2026-11-16 03:20:18,810 - DEBUG - VN ctest-vn-32363243 is not present in Agent 10.0.0.38 2026-11-16 03:20:18,825 - DEBUG - VN ctest-vn-32363243 is not present in Agent 10.0.0.50 2026-11-16 03:20:18,825 - INFO - Validated that VN ctest-vn-32363243 is not in any agent 2026-11-16 03:20:18,873 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32363243 info 2026-11-16 03:20:20,195 - DEBUG - No XMPP flaps were noticed during the test
2026-11-16 03:20:20,195 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:53]
2026-11-16 03:20:20,195 - INFO - -------------------------------------------------------------------------------- 2026-11-16 03:20:21,076 - INFO - Deleted project: ctest-TestBasicPolicy-95011289, ID : 8055b5bf-1aed-449b-a8e7-71bebc33886d