2026-05-25 02:44:34,724 - INFO - Domain Default found not creating 2026-05-25 02:44:34,919 - INFO - Project ctest-TestBasicPolicy-24664020 not found, creating it 2026-05-25 02:44:35,522 - INFO - Created Project:ctest-TestBasicPolicy-24664020, ID : c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:44:37,287 - INFO - ================================================================================ 2026-05-25 02:44:37,287 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-25 02:44:37,287 - 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-05-25 02:44:38,571 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.240': {'10.20.0.241': '0', '10.20.0.249': '0'}} with 2026-05-25 02:44:38,571 - INFO - Initial checks done. Running the testcase now 2026-05-25 02:44:38,571 - INFO - 2026-05-25 02:44:39,299 - DEBUG - Response for create_network : {'network': {'id': '74e5d7ee-009e-4445-9c66-e53dca90d13a', 'name': 'ctest-vn-08602285', 'tenant_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'project_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-vn-08602285'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:44:39,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a1d9fda-e4b3-4aad-bad3-22422dec87a7', 'name': '', 'tenant_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'network_id': '74e5d7ee-009e-4445-9c66-e53dca90d13a', 'ip_version': 4, 'cidr': '192.101.223.0/26', 'allocation_pools': [{'start': '192.101.223.2', 'end': '192.101.223.62'}], 'gateway_ip': '192.101.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.101.223.2', 'tags': [], 'project_id': 'c0b3de0a7ca64a8c929643b569eb26a4'}} 2026-05-25 02:44:39,597 - INFO - Created VN ctest-vn-08602285 2026-05-25 02:44:39,615 - DEBUG - VN ctest-vn-08602285 UUID is 74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:40,020 - DEBUG - Response for create_network : {'network': {'id': '5e658fe5-8be4-4988-98b4-42d04b0996ea', 'name': 'ctest-vn-59413666', 'tenant_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'project_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-vn-59413666'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:44:40,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4987aef-a017-48f3-9bbd-bc96869c13b3', 'name': '', 'tenant_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'network_id': '5e658fe5-8be4-4988-98b4-42d04b0996ea', 'ip_version': 4, 'cidr': '109.108.222.192/26', 'allocation_pools': [{'start': '109.108.222.194', 'end': '109.108.222.254'}], 'gateway_ip': '109.108.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.108.222.194', 'tags': [], 'project_id': 'c0b3de0a7ca64a8c929643b569eb26a4'}} 2026-05-25 02:44:40,315 - INFO - Created VN ctest-vn-59413666 2026-05-25 02:44:40,332 - DEBUG - VN ctest-vn-59413666 UUID is 5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:40,462 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285, 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-24664020:ctest-vn-59413666, 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-05-25 02:44:40,923 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74e5d7ee-009e-4445-9c66-e53dca90d13a', 'name': 'ctest-vn-08602285', 'tenant_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'project_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a1d9fda-e4b3-4aad-bad3-22422dec87a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-vn-08602285'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-policy-allow-all-57094836']], 'subnet_ipam': [{'subnet_cidr': '192.101.223.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:44:41,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e658fe5-8be4-4988-98b4-42d04b0996ea', 'name': 'ctest-vn-59413666', 'tenant_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'project_id': 'c0b3de0a7ca64a8c929643b569eb26a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4987aef-a017-48f3-9bbd-bc96869c13b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-vn-59413666'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-policy-allow-all-57094836']], 'subnet_ipam': [{'subnet_cidr': '109.108.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:44:41,307 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:44:41,628 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:44:41,662 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10 2026-05-25 02:44:41,682 - DEBUG - Requesting: http://10.0.0.73:8082/project/c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:44:41,796 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:41,809 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:41,819 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b7d9b7c5-94d2-499e-a54d-93f4ece82aa3 2026-05-25 02:44:41,827 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b7d9b7c5-94d2-499e-a54d-93f4ece82aa3 2026-05-25 02:44:41,835 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/76f123ad-62bc-4ac1-909c-94c450dc5708 2026-05-25 02:44:41,843 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 02:44:41,843 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:41,852 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b7d9b7c5-94d2-499e-a54d-93f4ece82aa3 2026-05-25 02:44:41,870 - INFO - Verified VN network id 16 for VN 74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:41,870 - INFO - Verifications in API Server for VN ctest-vn-08602285 passed 2026-05-25 02:44:41,870 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:41,882 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b7d9b7c5-94d2-499e-a54d-93f4ece82aa3 2026-05-25 02:44:41,893 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b7d9b7c5-94d2-499e-a54d-93f4ece82aa3 2026-05-25 02:44:41,901 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/76f123ad-62bc-4ac1-909c-94c450dc5708 2026-05-25 02:44:41,913 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24664020', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8423376095278941253', 'uuid-lslong': '11269947171095499066'}, 'enable': 'true', 'created': '2026-05-25T02:44:39', 'last-modified': '2026-05-25T02:44:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.057509'} 2026-05-25 02:44:41,919 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 02:44:41,925 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24664020', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8423376095278941253', 'uuid-lslong': '11269947171095499066'}, 'enable': 'true', 'created': '2026-05-25T02:44:39', 'last-modified': '2026-05-25T02:44:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.069368'} 2026-05-25 02:44:41,931 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 02:44:41,937 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24664020', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8423376095278941253', 'uuid-lslong': '11269947171095499066'}, 'enable': 'true', 'created': '2026-05-25T02:44:39', 'last-modified': '2026-05-25T02:44:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.081163'} 2026-05-25 02:44:41,943 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 02:44:41,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08602285 passed 2026-05-25 02:44:41,944 - DEBUG - ====Verifying policy data for ctest-vn-08602285 in API_Server ====== 2026-05-25 02:44:41,944 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:44:41,950 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10 2026-05-25 02:44:41,969 - DEBUG - Requesting: http://10.0.0.73:8082/project/c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:44:42,073 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/74e5d7ee-009e-4445-9c66-e53dca90d13a 2026-05-25 02:44:42,087 - DEBUG - ==>Verifying data for policy with id: b2f5dfb0-8103-46f6-900a-4c8acac1abce, fqn: ['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-policy-allow-all-57094836'] 2026-05-25 02:44:42,087 - INFO - VN ctest-vn-08602285 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 02:44:42,087 - DEBUG - Verifying the vn in opserver 2026-05-25 02:44:42,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 virtual network link through opserver 10.0.0.73 2026-05-25 02:44:42,088 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-05-25 02:44:42,402 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-05-25 02:44:42,473 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285?flat'} 2026-05-25 02:44:42,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 virtual network link through opserver 10.0.0.19 2026-05-25 02:44:42,474 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-25 02:44:42,783 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-25 02:44:42,864 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285?flat'} 2026-05-25 02:44:42,864 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 virtual network link through opserver 10.0.0.131 2026-05-25 02:44:42,865 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-05-25 02:44:43,172 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-05-25 02:44:43,241 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285?flat'} 2026-05-25 02:44:43,241 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is found in opserver 2026-05-25 02:44:43,264 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 02:44:43,274 - DEBUG - VRF ids for VN ctest-vn-08602285: {} 2026-05-25 02:44:43,274 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:44:43,282 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10 2026-05-25 02:44:43,296 - DEBUG - Requesting: http://10.0.0.73:8082/project/c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:44:43,405 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:43,418 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:43,429 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/aadfb6f5-a4dc-4335-8f56-2a99bcd9f325 2026-05-25 02:44:43,438 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/aadfb6f5-a4dc-4335-8f56-2a99bcd9f325 2026-05-25 02:44:43,449 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/48f6bfcb-fd77-434b-98a8-3c00adb43eec 2026-05-25 02:44:43,457 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-25 02:44:43,457 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:43,468 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/aadfb6f5-a4dc-4335-8f56-2a99bcd9f325 2026-05-25 02:44:43,487 - INFO - Verified VN network id 17 for VN 5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:43,487 - INFO - Verifications in API Server for VN ctest-vn-59413666 passed 2026-05-25 02:44:43,487 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:43,497 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/aadfb6f5-a4dc-4335-8f56-2a99bcd9f325 2026-05-25 02:44:43,507 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/aadfb6f5-a4dc-4335-8f56-2a99bcd9f325 2026-05-25 02:44:43,516 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/48f6bfcb-fd77-434b-98a8-3c00adb43eec 2026-05-25 02:44:43,529 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24664020', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6802001028270279048', 'uuid-lslong': '11003493251952514794'}, 'enable': 'true', 'created': '2026-05-25T02:44:39', 'last-modified': '2026-05-25T02:44:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.396863'} 2026-05-25 02:44:43,537 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-25 02:44:43,545 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24664020', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6802001028270279048', 'uuid-lslong': '11003493251952514794'}, 'enable': 'true', 'created': '2026-05-25T02:44:39', 'last-modified': '2026-05-25T02:44:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.413483'} 2026-05-25 02:44:43,552 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-25 02:44:43,560 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24664020', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6802001028270279048', 'uuid-lslong': '11003493251952514794'}, 'enable': 'true', 'created': '2026-05-25T02:44:39', 'last-modified': '2026-05-25T02:44:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.428052'} 2026-05-25 02:44:43,571 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-25 02:44:43,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59413666 passed 2026-05-25 02:44:43,571 - DEBUG - ====Verifying policy data for ctest-vn-59413666 in API_Server ====== 2026-05-25 02:44:43,571 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:44:43,579 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10 2026-05-25 02:44:43,593 - DEBUG - Requesting: http://10.0.0.73:8082/project/c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:44:43,694 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5e658fe5-8be4-4988-98b4-42d04b0996ea 2026-05-25 02:44:43,712 - DEBUG - ==>Verifying data for policy with id: b2f5dfb0-8103-46f6-900a-4c8acac1abce, fqn: ['default-domain', 'ctest-TestBasicPolicy-24664020', 'ctest-policy-allow-all-57094836'] 2026-05-25 02:44:43,712 - INFO - VN ctest-vn-59413666 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 02:44:43,712 - DEBUG - Verifying the vn in opserver 2026-05-25 02:44:43,712 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666 virtual network link through opserver 10.0.0.73 2026-05-25 02:44:43,712 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-05-25 02:44:43,780 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666?flat'} 2026-05-25 02:44:43,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666 virtual network link through opserver 10.0.0.19 2026-05-25 02:44:43,780 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-25 02:44:43,863 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666?flat'} 2026-05-25 02:44:43,863 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666 virtual network link through opserver 10.0.0.131 2026-05-25 02:44:43,863 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-05-25 02:44:43,931 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666?flat'} 2026-05-25 02:44:43,931 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-59413666 is found in opserver 2026-05-25 02:44:43,954 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 02:44:43,965 - DEBUG - VRF ids for VN ctest-vn-59413666: {} 2026-05-25 02:44:44,038 - DEBUG - Services list from nova: [, , , ] 2026-05-25 02:44:45,223 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5822-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5822-2) 2026-05-25 02:44:46,708 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5822-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5822-1) 2026-05-25 02:44:46,708 - INFO - Waiting for VM ctest-TestBasicPolicy-24664020-18245019 to be up.. 2026-05-25 02:44:46,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-25 02:44:51,978 - DEBUG - VM is in ACTIVE state now 2026-05-25 02:44:51,978 - INFO - VM name : ctest-TestBasicPolicy-24664020-18245019 2026-05-25 02:44:52,083 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 ID is a2f836d5-d2ae-4374-9500-3774c3367326 2026-05-25 02:44:52,113 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 launched on Node an-jenkins-deploy-platform-ansible-os-5822-2 2026-05-25 02:44:52,227 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a2f836d5-d2ae-4374-9500-3774c3367326 2026-05-25 02:44:52,537 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a2f836d5-d2ae-4374-9500-3774c3367326 2026-05-25 02:44:52,581 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/2424cbbc-f05b-44fd-b5bd-c87a561fde0a 2026-05-25 02:44:55,767 - 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-05-25 02:44:55,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:44:55,792 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:44:59,867 - 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-05-25 02:44:59,867 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:44:59,882 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:03,962 - 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-05-25 02:45:03,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:45:03,980 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:08,061 - 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-05-25 02:45:08,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:45:08,079 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:12,155 - 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-05-25 02:45:12,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:45:12,181 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:16,250 - 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 1006ms') 2026-05-25 02:45:16,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:45:16,270 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:20,342 - 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-05-25 02:45:20,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:45:20,361 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:24,444 - 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-05-25 02:45:24,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 failed! 2026-05-25 02:45:24,463 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24664020:ctest-vn-08602285 is 192.101.223.1 and allocation pool is NOT set 2026-05-25 02:45:26,527 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.444/3.659/5.875/2.215 ms') 2026-05-25 02:45:26,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-18245019 passed 2026-05-25 02:45:26,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:26,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-18245019, IP 192.101.223.3, Port 22 2026-05-25 02:45:26,673 - 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-05-25 02:45:26,803 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:45:31,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:31,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-18245019, IP 192.101.223.3, Port 22 2026-05-25 02:45:31,873 - 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-05-25 02:45:31,974 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:45:36,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:36,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-18245019, IP 192.101.223.3, Port 22 2026-05-25 02:45:37,045 - 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-05-25 02:45:37,144 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:45:42,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:42,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-18245019, IP 192.101.223.3, Port 22 2026-05-25 02:45:42,213 - 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-05-25 02:45:42,317 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:45:47,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:47,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-18245019, IP 192.101.223.3, Port 22 2026-05-25 02:45:47,488 - DEBUG - VM ctest-TestBasicPolicy-24664020-18245019 is ready for SSH connections 2026-05-25 02:45:47,489 - INFO - Waiting for VM ctest-TestBasicPolicy-24664020-79201025 to be up.. 2026-05-25 02:45:47,583 - DEBUG - VM is in ACTIVE state now 2026-05-25 02:45:47,583 - INFO - VM name : ctest-TestBasicPolicy-24664020-79201025 2026-05-25 02:45:47,689 - DEBUG - VM ctest-TestBasicPolicy-24664020-79201025 ID is bafbc026-452d-49a2-bc66-a51343cd8482 2026-05-25 02:45:47,690 - DEBUG - VM ctest-TestBasicPolicy-24664020-79201025 launched on Node an-jenkins-deploy-platform-ansible-os-5822-1 2026-05-25 02:45:47,790 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/bafbc026-452d-49a2-bc66-a51343cd8482 2026-05-25 02:45:47,803 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e1202805-c4e3-4f88-a4b5-75fe83351c0a 2026-05-25 02:45:48,970 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.595 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.595/3.384/6.173/2.789 ms') 2026-05-25 02:45:48,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24664020-79201025 passed 2026-05-25 02:45:49,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:49,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-79201025, IP 109.108.222.195, Port 22 2026-05-25 02:45:49,116 - 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-05-25 02:45:49,215 - DEBUG - VM ctest-TestBasicPolicy-24664020-79201025 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:45:54,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:54,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24664020-79201025, IP 109.108.222.195, Port 22 2026-05-25 02:45:54,388 - DEBUG - VM ctest-TestBasicPolicy-24664020-79201025 is ready for SSH connections 2026-05-25 02:45:54,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:45:54,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.108.222.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-25 02:45:54,388 - DEBUG - ping -s 56 -c 3 -W 1 109.108.222.195 2026-05-25 02:46:46,408 - DEBUG - PING 109.108.222.195 (109.108.222.195) 56(84) bytes of data. 64 bytes from 109.108.222.195: icmp_req=1 ttl=63 time=8.57 ms 64 bytes from 109.108.222.195: icmp_req=2 ttl=63 time=1.27 ms 64 bytes from 109.108.222.195: icmp_req=3 ttl=63 time=1.47 ms --- 109.108.222.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.276/3.774/8.576/3.396 ms 2026-05-25 02:46:46,408 - INFO - Ping to IP 109.108.222.195 from VM ctest-TestBasicPolicy-24664020-18245019 passed 2026-05-25 02:46:46,664 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2f5dfb0-8103-46f6-900a-4c8acac1abce", "href": "http://10.0.0.131:8082/network-policy/b2f5dfb0-8103-46f6-900a-4c8acac1abce"}} 2026-05-25 02:46:46,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:46:46,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.108.222.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-25 02:46:46,664 - DEBUG - ping -s 56 -c 3 -W 1 109.108.222.195 2026-05-25 02:46:50,221 - DEBUG - PING 109.108.222.195 (109.108.222.195) 56(84) bytes of data. 64 bytes from 109.108.222.195: icmp_req=1 ttl=63 time=3.33 ms --- 109.108.222.195 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 3.334/3.334/3.334/0.000 ms 2026-05-25 02:46:50,221 - WARNING - Ping to IP 109.108.222.195 from VM ctest-TestBasicPolicy-24664020-18245019 failed 2026-05-25 02:46:50,221 - INFO - Deleting VM ctest-TestBasicPolicy-24664020-79201025 2026-05-25 02:46:50,338 - INFO - Deleting VM ctest-TestBasicPolicy-24664020-18245019 2026-05-25 02:46:50,860 - INFO - Deleted policy ctest-policy-allow-all-57094836 2026-05-25 02:46:50,860 - INFO - Deleting VN ctest-vn-59413666 2026-05-25 02:46:50,908 - DEBUG - VN 5e658fe5-8be4-4988-98b4-42d04b0996ea still in use: Unable to complete operation on network 5e658fe5-8be4-4988-98b4-42d04b0996ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-342d9d21-5bb4-4f54-9178-da92600eb07e'] 2026-05-25 02:46:50,908 - WARNING - Deleting VN ctest-vn-59413666 failed..Will retry 2026-05-25 02:46:53,121 - DEBUG - Response for deleting network () 2026-05-25 02:46:53,121 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/aadfb6f5-a4dc-4335-8f56-2a99bcd9f325 2026-05-25 02:46:53,127 - DEBUG - Response Code: 404 2026-05-25 02:46:53,128 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:46:53,136 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10 2026-05-25 02:46:53,148 - DEBUG - Requesting: http://10.0.0.73:8082/project/c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:46:53,248 - INFO - Validated that VN ctest-vn-59413666 is not found in API Server 2026-05-25 02:46:53,259 - DEBUG - VN ctest-vn-59413666 is not present in Agent 10.0.0.133 2026-05-25 02:46:53,272 - DEBUG - VN ctest-vn-59413666 is not present in Agent 10.0.0.240 2026-05-25 02:46:53,273 - INFO - Validated that VN ctest-vn-59413666 is not in any agent 2026-05-25 02:46:53,315 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59413666 info 2026-05-25 02:46:53,315 - INFO - Deleting VN ctest-vn-08602285 2026-05-25 02:46:53,493 - DEBUG - Response for deleting network () 2026-05-25 02:46:53,493 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b7d9b7c5-94d2-499e-a54d-93f4ece82aa3 2026-05-25 02:46:53,505 - DEBUG - Response Code: 404 2026-05-25 02:46:53,505 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-05-25 02:46:53,520 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10 2026-05-25 02:46:53,542 - DEBUG - Requesting: http://10.0.0.73:8082/project/c0b3de0a-7ca6-4a8c-9296-43b569eb26a4 2026-05-25 02:46:53,639 - INFO - Validated that VN ctest-vn-08602285 is not found in API Server 2026-05-25 02:46:53,652 - DEBUG - VN ctest-vn-08602285 is not present in Agent 10.0.0.133 2026-05-25 02:46:53,662 - DEBUG - VN ctest-vn-08602285 is not present in Agent 10.0.0.240 2026-05-25 02:46:53,663 - INFO - Validated that VN ctest-vn-08602285 is not in any agent 2026-05-25 02:46:53,701 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08602285 info 2026-05-25 02:46:54,998 - DEBUG - No XMPP flaps were noticed during the test
2026-05-25 02:46:54,998 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:17]
2026-05-25 02:46:54,998 - INFO - -------------------------------------------------------------------------------- 2026-05-25 02:46:55,832 - INFO - Deleted project: ctest-TestBasicPolicy-24664020, ID : c0b3de0a-7ca6-4a8c-9296-43b569eb26a4