2026-06-08 06:20:28,118 - INFO - Domain Default found not creating 2026-06-08 06:20:28,337 - INFO - Project ctest-TestBasicPolicy-57795851 not found, creating it 2026-06-08 06:20:28,889 - INFO - Created Project:ctest-TestBasicPolicy-57795851, ID : 31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:20:30,513 - INFO - ================================================================================ 2026-06-08 06:20:30,513 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-08 06:20:30,513 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-06-08 06:20:31,759 - WARNING - Test is running with cores: {'10.0.0.38': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-1.1780898019'], '10.0.0.33': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5902-3.1780898019']} 2026-06-08 06:20:31,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-06-08 06:20:31,774 - INFO - Initial checks done. Running the testcase now 2026-06-08 06:20:31,774 - INFO - 2026-06-08 06:20:32,493 - DEBUG - Response for create_network : {'network': {'id': '6a64c5db-a137-444a-b883-de1bb388694b', 'name': 'ctest-vn-88544112', 'tenant_id': '31eed36cb4834e0e8b1e05b41eebc718', 'project_id': '31eed36cb4834e0e8b1e05b41eebc718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-vn-88544112'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 06:20:32,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b819518-9d52-408b-a342-a64ad13850e6', 'name': '', 'tenant_id': '31eed36cb4834e0e8b1e05b41eebc718', 'network_id': '6a64c5db-a137-444a-b883-de1bb388694b', 'ip_version': 4, 'cidr': '35.51.222.192/26', 'allocation_pools': [{'start': '35.51.222.194', 'end': '35.51.222.254'}], 'gateway_ip': '35.51.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.51.222.194', 'tags': [], 'project_id': '31eed36cb4834e0e8b1e05b41eebc718'}} 2026-06-08 06:20:32,852 - INFO - Created VN ctest-vn-88544112 2026-06-08 06:20:32,865 - DEBUG - VN ctest-vn-88544112 UUID is 6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:33,280 - DEBUG - Response for create_network : {'network': {'id': '2f3a3309-7169-4d16-bd55-8b81a5a1d5dc', 'name': 'ctest-vn-68085771', 'tenant_id': '31eed36cb4834e0e8b1e05b41eebc718', 'project_id': '31eed36cb4834e0e8b1e05b41eebc718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-vn-68085771'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 06:20:33,520 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5acc060-b22d-4804-b0c9-9b8728798ecf', 'name': '', 'tenant_id': '31eed36cb4834e0e8b1e05b41eebc718', 'network_id': '2f3a3309-7169-4d16-bd55-8b81a5a1d5dc', 'ip_version': 4, 'cidr': '209.158.226.192/26', 'allocation_pools': [{'start': '209.158.226.194', 'end': '209.158.226.254'}], 'gateway_ip': '209.158.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.158.226.194', 'tags': [], 'project_id': '31eed36cb4834e0e8b1e05b41eebc718'}} 2026-06-08 06:20:33,545 - INFO - Created VN ctest-vn-68085771 2026-06-08 06:20:33,559 - DEBUG - VN ctest-vn-68085771 UUID is 2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:33,644 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112, 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-57795851:ctest-vn-68085771, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-06-08 06:20:33,994 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a64c5db-a137-444a-b883-de1bb388694b', 'name': 'ctest-vn-88544112', 'tenant_id': '31eed36cb4834e0e8b1e05b41eebc718', 'project_id': '31eed36cb4834e0e8b1e05b41eebc718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b819518-9d52-408b-a342-a64ad13850e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-vn-88544112'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-policy-allow-all-33605367']], 'subnet_ipam': [{'subnet_cidr': '35.51.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-08 06:20:34,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f3a3309-7169-4d16-bd55-8b81a5a1d5dc', 'name': 'ctest-vn-68085771', 'tenant_id': '31eed36cb4834e0e8b1e05b41eebc718', 'project_id': '31eed36cb4834e0e8b1e05b41eebc718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5acc060-b22d-4804-b0c9-9b8728798ecf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-vn-68085771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-policy-allow-all-33605367']], 'subnet_ipam': [{'subnet_cidr': '209.158.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-08 06:20:34,333 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:20:34,607 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:20:34,641 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff885fe6-2413-4985-853a-0c3bd0a6a9a3 2026-06-08 06:20:34,656 - DEBUG - Requesting: http://10.0.0.38:8082/project/31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:20:34,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:34,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:34,786 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cfb878b-e181-4ca8-aa74-5b04a4fec205 2026-06-08 06:20:34,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cfb878b-e181-4ca8-aa74-5b04a4fec205 2026-06-08 06:20:34,812 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d39b7d37-8549-44e1-9268-d84a279b83c6 2026-06-08 06:20:34,822 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 06:20:34,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:34,832 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cfb878b-e181-4ca8-aa74-5b04a4fec205 2026-06-08 06:20:34,848 - INFO - Verified VN network id 10 for VN 6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:34,849 - INFO - Verifications in API Server for VN ctest-vn-88544112 passed 2026-06-08 06:20:34,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:34,859 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cfb878b-e181-4ca8-aa74-5b04a4fec205 2026-06-08 06:20:34,867 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cfb878b-e181-4ca8-aa74-5b04a4fec205 2026-06-08 06:20:34,875 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d39b7d37-8549-44e1-9268-d84a279b83c6 2026-06-08 06:20:34,887 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57795851', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7666470012784690250', 'uuid-lslong': '13295714735485380939'}, 'enable': 'true', 'created': '2026-06-08T06:20:32', 'last-modified': '2026-06-08T06:20:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939194'} 2026-06-08 06:20:34,893 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 06:20:34,898 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57795851', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7666470012784690250', 'uuid-lslong': '13295714735485380939'}, 'enable': 'true', 'created': '2026-06-08T06:20:32', 'last-modified': '2026-06-08T06:20:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954309'} 2026-06-08 06:20:34,904 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 06:20:34,911 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57795851', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7666470012784690250', 'uuid-lslong': '13295714735485380939'}, 'enable': 'true', 'created': '2026-06-08T06:20:32', 'last-modified': '2026-06-08T06:20:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964348'} 2026-06-08 06:20:34,917 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 06:20:34,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88544112 passed 2026-06-08 06:20:34,917 - DEBUG - ====Verifying policy data for ctest-vn-88544112 in API_Server ====== 2026-06-08 06:20:34,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:20:34,924 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff885fe6-2413-4985-853a-0c3bd0a6a9a3 2026-06-08 06:20:34,936 - DEBUG - Requesting: http://10.0.0.38:8082/project/31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:20:35,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6a64c5db-a137-444a-b883-de1bb388694b 2026-06-08 06:20:35,051 - DEBUG - ==>Verifying data for policy with id: c389156d-0ba6-4386-af5f-ef093fb354ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-policy-allow-all-33605367'] 2026-06-08 06:20:35,051 - INFO - VN ctest-vn-88544112 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-08 06:20:35,051 - DEBUG - Verifying the vn in opserver 2026-06-08 06:20:35,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112 virtual network link through opserver 10.0.0.38 2026-06-08 06:20:35,051 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-08 06:20:35,314 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-08 06:20:35,379 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112?flat'} 2026-06-08 06:20:35,379 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112 virtual network link through opserver 10.0.0.50 2026-06-08 06:20:35,379 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-08 06:20:35,643 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-08 06:20:35,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112?flat'} 2026-06-08 06:20:35,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112 virtual network link through opserver 10.0.0.33 2026-06-08 06:20:35,706 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-08 06:20:35,978 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-08 06:20:36,052 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112?flat'} 2026-06-08 06:20:36,052 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112 is found in opserver 2026-06-08 06:20:36,073 - DEBUG - Do not have enough data to verify VN in agent 2026-06-08 06:20:36,085 - DEBUG - VRF ids for VN ctest-vn-88544112: {} 2026-06-08 06:20:36,085 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:20:36,092 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff885fe6-2413-4985-853a-0c3bd0a6a9a3 2026-06-08 06:20:36,103 - DEBUG - Requesting: http://10.0.0.38:8082/project/31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:20:36,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:36,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:36,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a77f592-7d88-4623-8f3d-90af9c3f5fc6 2026-06-08 06:20:36,252 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a77f592-7d88-4623-8f3d-90af9c3f5fc6 2026-06-08 06:20:36,260 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2c7fbf4e-abf6-49d0-af27-891b56088682 2026-06-08 06:20:36,267 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 06:20:36,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:36,279 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a77f592-7d88-4623-8f3d-90af9c3f5fc6 2026-06-08 06:20:36,297 - INFO - Verified VN network id 11 for VN 2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:36,298 - INFO - Verifications in API Server for VN ctest-vn-68085771 passed 2026-06-08 06:20:36,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:36,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a77f592-7d88-4623-8f3d-90af9c3f5fc6 2026-06-08 06:20:36,317 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a77f592-7d88-4623-8f3d-90af9c3f5fc6 2026-06-08 06:20:36,324 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2c7fbf4e-abf6-49d0-af27-891b56088682 2026-06-08 06:20:36,336 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57795851', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3403088584082279702', 'uuid-lslong': '13642964035134674396'}, 'enable': 'true', 'created': '2026-06-08T06:20:33', 'last-modified': '2026-06-08T06:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.172481'} 2026-06-08 06:20:36,343 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 06:20:36,348 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57795851', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3403088584082279702', 'uuid-lslong': '13642964035134674396'}, 'enable': 'true', 'created': '2026-06-08T06:20:33', 'last-modified': '2026-06-08T06:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.181234'} 2026-06-08 06:20:36,354 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 06:20:36,360 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57795851', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3403088584082279702', 'uuid-lslong': '13642964035134674396'}, 'enable': 'true', 'created': '2026-06-08T06:20:33', 'last-modified': '2026-06-08T06:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.191224'} 2026-06-08 06:20:36,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 06:20:36,365 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68085771 passed 2026-06-08 06:20:36,365 - DEBUG - ====Verifying policy data for ctest-vn-68085771 in API_Server ====== 2026-06-08 06:20:36,366 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:20:36,372 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff885fe6-2413-4985-853a-0c3bd0a6a9a3 2026-06-08 06:20:36,385 - DEBUG - Requesting: http://10.0.0.38:8082/project/31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:20:36,499 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f3a3309-7169-4d16-bd55-8b81a5a1d5dc 2026-06-08 06:20:36,516 - DEBUG - ==>Verifying data for policy with id: c389156d-0ba6-4386-af5f-ef093fb354ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-57795851', 'ctest-policy-allow-all-33605367'] 2026-06-08 06:20:36,516 - INFO - VN ctest-vn-68085771 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-08 06:20:36,516 - DEBUG - Verifying the vn in opserver 2026-06-08 06:20:36,516 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771 virtual network link through opserver 10.0.0.38 2026-06-08 06:20:36,516 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-08 06:20:36,587 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771?flat'} 2026-06-08 06:20:36,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771 virtual network link through opserver 10.0.0.50 2026-06-08 06:20:36,587 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-08 06:20:36,655 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771?flat'} 2026-06-08 06:20:36,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771 virtual network link through opserver 10.0.0.33 2026-06-08 06:20:36,655 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-08 06:20:36,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771?flat'} 2026-06-08 06:20:36,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-68085771 is found in opserver 2026-06-08 06:20:36,747 - DEBUG - Do not have enough data to verify VN in agent 2026-06-08 06:20:36,760 - DEBUG - VRF ids for VN ctest-vn-68085771: {} 2026-06-08 06:20:36,821 - DEBUG - Services list from nova: [, , , ] 2026-06-08 06:20:37,870 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5902-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5902-2) 2026-06-08 06:20:39,256 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5902-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5902-1) 2026-06-08 06:20:39,257 - INFO - Waiting for VM ctest-TestBasicPolicy-57795851-33761462 to be up.. 2026-06-08 06:20:39,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-08 06:20:44,463 - DEBUG - VM is in ACTIVE state now 2026-06-08 06:20:44,463 - INFO - VM name : ctest-TestBasicPolicy-57795851-33761462 2026-06-08 06:20:44,545 - DEBUG - VM ctest-TestBasicPolicy-57795851-33761462 ID is 73ce3c61-5258-4ecf-949d-8bb856c71fd2 2026-06-08 06:20:44,571 - DEBUG - VM ctest-TestBasicPolicy-57795851-33761462 launched on Node an-jenkins-deploy-platform-ansible-os-5902-2 2026-06-08 06:20:44,668 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/73ce3c61-5258-4ecf-949d-8bb856c71fd2 2026-06-08 06:20:44,939 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/73ce3c61-5258-4ecf-949d-8bb856c71fd2 2026-06-08 06:20:44,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/87f3404c-23c7-47b4-808b-198d2587651f 2026-06-08 06:20:48,163 - 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-06-08 06:20:48,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57795851-33761462 failed! 2026-06-08 06:20:48,213 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57795851:ctest-vn-88544112 is 35.51.222.193 and allocation pool is NOT set 2026-06-08 06:20:50,272 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.876/3.263/1.386 ms') 2026-06-08 06:20:50,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57795851-33761462 passed 2026-06-08 06:20:50,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:20:50,347 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57795851-33761462, IP 35.51.222.195, Port 22 2026-06-08 06:20:50,508 - DEBUG - VM ctest-TestBasicPolicy-57795851-33761462 is ready for SSH connections 2026-06-08 06:20:50,508 - INFO - Waiting for VM ctest-TestBasicPolicy-57795851-48231046 to be up.. 2026-06-08 06:20:50,598 - DEBUG - VM is in ACTIVE state now 2026-06-08 06:20:50,598 - INFO - VM name : ctest-TestBasicPolicy-57795851-48231046 2026-06-08 06:20:50,707 - DEBUG - VM ctest-TestBasicPolicy-57795851-48231046 ID is 06418d3d-6dbf-40f2-97ed-1b3250b46f78 2026-06-08 06:20:50,708 - DEBUG - VM ctest-TestBasicPolicy-57795851-48231046 launched on Node an-jenkins-deploy-platform-ansible-os-5902-1 2026-06-08 06:20:50,808 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/06418d3d-6dbf-40f2-97ed-1b3250b46f78 2026-06-08 06:20:50,820 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/faeabf6b-605e-4fcd-9c2d-da54eee8a56f 2026-06-08 06:20:51,994 - 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=4.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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.566/2.424/4.282/1.858 ms') 2026-06-08 06:20:51,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57795851-48231046 passed 2026-06-08 06:20:52,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:20:52,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57795851-48231046, IP 209.158.226.195, Port 22 2026-06-08 06:20:52,241 - DEBUG - VM ctest-TestBasicPolicy-57795851-48231046 is ready for SSH connections 2026-06-08 06:20:52,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:20:52,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.158.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-08 06:20:52,242 - DEBUG - ping -s 56 -c 3 -W 1 209.158.226.195 2026-06-08 06:20:56,152 - DEBUG - PING 209.158.226.195 (209.158.226.195): 56 data bytes 64 bytes from 209.158.226.195: seq=0 ttl=63 time=8.676 ms 64 bytes from 209.158.226.195: seq=1 ttl=63 time=1.915 ms 64 bytes from 209.158.226.195: seq=2 ttl=63 time=1.397 ms --- 209.158.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.397/3.996/8.676 ms 2026-06-08 06:20:56,152 - INFO - Ping to IP 209.158.226.195 from VM ctest-TestBasicPolicy-57795851-33761462 passed 2026-06-08 06:20:56,384 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c389156d-0ba6-4386-af5f-ef093fb354ce", "href": "http://10.0.0.33:8082/network-policy/c389156d-0ba6-4386-af5f-ef093fb354ce"}} 2026-06-08 06:20:56,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 06:20:56,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.158.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-08 06:20:56,384 - DEBUG - ping -s 56 -c 3 -W 1 209.158.226.195 2026-06-08 06:20:59,604 - DEBUG - PING 209.158.226.195 (209.158.226.195): 56 data bytes --- 209.158.226.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-08 06:20:59,604 - WARNING - Ping to IP 209.158.226.195 from VM ctest-TestBasicPolicy-57795851-33761462 failed 2026-06-08 06:20:59,604 - INFO - Deleting VM ctest-TestBasicPolicy-57795851-48231046 2026-06-08 06:20:59,685 - INFO - Deleting VM ctest-TestBasicPolicy-57795851-33761462 2026-06-08 06:21:00,191 - INFO - Deleted policy ctest-policy-allow-all-33605367 2026-06-08 06:21:00,191 - INFO - Deleting VN ctest-vn-68085771 2026-06-08 06:21:00,245 - DEBUG - VN 2f3a3309-7169-4d16-bd55-8b81a5a1d5dc still in use: Unable to complete operation on network 2f3a3309-7169-4d16-bd55-8b81a5a1d5dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-016fb550-e084-482a-9c50-4276aaa769c8'] 2026-06-08 06:21:00,245 - WARNING - Deleting VN ctest-vn-68085771 failed..Will retry 2026-06-08 06:21:02,438 - DEBUG - Response for deleting network () 2026-06-08 06:21:02,438 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a77f592-7d88-4623-8f3d-90af9c3f5fc6 2026-06-08 06:21:02,446 - DEBUG - Response Code: 404 2026-06-08 06:21:02,446 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:21:02,458 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff885fe6-2413-4985-853a-0c3bd0a6a9a3 2026-06-08 06:21:02,479 - DEBUG - Requesting: http://10.0.0.38:8082/project/31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:21:02,570 - INFO - Validated that VN ctest-vn-68085771 is not found in API Server 2026-06-08 06:21:02,580 - DEBUG - VN ctest-vn-68085771 is not present in Agent 10.0.0.249 2026-06-08 06:21:02,593 - DEBUG - VN ctest-vn-68085771 is not present in Agent 10.0.0.22 2026-06-08 06:21:02,593 - INFO - Validated that VN ctest-vn-68085771 is not in any agent 2026-06-08 06:21:02,626 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68085771 info 2026-06-08 06:21:02,626 - INFO - Deleting VN ctest-vn-88544112 2026-06-08 06:21:02,844 - DEBUG - Response for deleting network () 2026-06-08 06:21:02,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cfb878b-e181-4ca8-aa74-5b04a4fec205 2026-06-08 06:21:02,852 - DEBUG - Response Code: 404 2026-06-08 06:21:02,853 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-08 06:21:02,868 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff885fe6-2413-4985-853a-0c3bd0a6a9a3 2026-06-08 06:21:02,884 - DEBUG - Requesting: http://10.0.0.38:8082/project/31eed36c-b483-4e0e-8b1e-05b41eebc718 2026-06-08 06:21:02,987 - INFO - Validated that VN ctest-vn-88544112 is not found in API Server 2026-06-08 06:21:02,997 - DEBUG - VN ctest-vn-88544112 is not present in Agent 10.0.0.249 2026-06-08 06:21:03,011 - DEBUG - VN ctest-vn-88544112 is not present in Agent 10.0.0.22 2026-06-08 06:21:03,011 - INFO - Validated that VN ctest-vn-88544112 is not in any agent 2026-06-08 06:21:03,047 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88544112 info 2026-06-08 06:21:04,325 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 06:21:04,325 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-08 06:21:04,325 - INFO - -------------------------------------------------------------------------------- 2026-06-08 06:21:05,122 - INFO - Deleted project: ctest-TestBasicPolicy-57795851, ID : 31eed36c-b483-4e0e-8b1e-05b41eebc718