2026-03-23 06:13:14,706 - INFO - Domain Default found not creating 2026-03-23 06:13:14,870 - INFO - Project ctest-TestBasicPolicy-28214199 not found, creating it 2026-03-23 06:13:15,411 - INFO - Created Project:ctest-TestBasicPolicy-28214199, ID : 01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:17,061 - INFO - ================================================================================ 2026-03-23 06:13:17,061 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-23 06:13:17,061 - 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-03-23 06:13:18,331 - WARNING - Test is running with cores: {'10.0.0.33': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5515-3.1774244755']} 2026-03-23 06:13:18,346 - 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.14': '0', '10.20.0.254': '0'}} with 2026-03-23 06:13:18,346 - INFO - Initial checks done. Running the testcase now 2026-03-23 06:13:18,346 - INFO - 2026-03-23 06:13:19,047 - DEBUG - Response for create_network : {'network': {'id': 'fa2c75a7-0c87-4022-8de6-f42232a624e8', 'name': 'ctest-vn-36404075', 'tenant_id': '01880b24aeb24e3da8133f5bfa0321b5', 'project_id': '01880b24aeb24e3da8133f5bfa0321b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-vn-36404075'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 06:13:19,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '285f3c02-2ed1-4b21-b82f-eab65b5dfbcb', 'name': '', 'tenant_id': '01880b24aeb24e3da8133f5bfa0321b5', 'network_id': 'fa2c75a7-0c87-4022-8de6-f42232a624e8', 'ip_version': 4, 'cidr': '101.59.95.0/26', 'allocation_pools': [{'start': '101.59.95.2', 'end': '101.59.95.62'}], 'gateway_ip': '101.59.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.59.95.2', 'tags': [], 'project_id': '01880b24aeb24e3da8133f5bfa0321b5'}} 2026-03-23 06:13:19,377 - INFO - Created VN ctest-vn-36404075 2026-03-23 06:13:19,394 - DEBUG - VN ctest-vn-36404075 UUID is fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:19,777 - DEBUG - Response for create_network : {'network': {'id': '67df5a90-7b8c-4774-bdc7-380b590334a5', 'name': 'ctest-vn-10318507', 'tenant_id': '01880b24aeb24e3da8133f5bfa0321b5', 'project_id': '01880b24aeb24e3da8133f5bfa0321b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-vn-10318507'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 06:13:19,999 - DEBUG - Response for create_subnet : {'subnet': {'id': '92c8f4d3-6762-430e-95ed-efe8bc375359', 'name': '', 'tenant_id': '01880b24aeb24e3da8133f5bfa0321b5', 'network_id': '67df5a90-7b8c-4774-bdc7-380b590334a5', 'ip_version': 4, 'cidr': '43.198.225.0/26', 'allocation_pools': [{'start': '43.198.225.2', 'end': '43.198.225.62'}], 'gateway_ip': '43.198.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.198.225.2', 'tags': [], 'project_id': '01880b24aeb24e3da8133f5bfa0321b5'}} 2026-03-23 06:13:20,036 - INFO - Created VN ctest-vn-10318507 2026-03-23 06:13:20,051 - DEBUG - VN ctest-vn-10318507 UUID is 67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:20,142 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075, 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-28214199:ctest-vn-10318507, 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-03-23 06:13:20,467 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa2c75a7-0c87-4022-8de6-f42232a624e8', 'name': 'ctest-vn-36404075', 'tenant_id': '01880b24aeb24e3da8133f5bfa0321b5', 'project_id': '01880b24aeb24e3da8133f5bfa0321b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['285f3c02-2ed1-4b21-b82f-eab65b5dfbcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-vn-36404075'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-policy-allow-all-67726738']], 'subnet_ipam': [{'subnet_cidr': '101.59.95.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 06:13:20,676 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67df5a90-7b8c-4774-bdc7-380b590334a5', 'name': 'ctest-vn-10318507', 'tenant_id': '01880b24aeb24e3da8133f5bfa0321b5', 'project_id': '01880b24aeb24e3da8133f5bfa0321b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92c8f4d3-6762-430e-95ed-efe8bc375359'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-vn-10318507'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-policy-allow-all-67726738']], 'subnet_ipam': [{'subnet_cidr': '43.198.225.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 06:13:20,792 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:21,179 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:21,210 - DEBUG - Requesting: http://10.0.0.38:8082/domain/19002491-cc47-43ed-ab00-1b0f52f8fe40 2026-03-23 06:13:21,226 - DEBUG - Requesting: http://10.0.0.38:8082/project/01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:21,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:21,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:21,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2eb58cb0-ed2a-4ef4-bb50-e96901a28794 2026-03-23 06:13:21,363 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2eb58cb0-ed2a-4ef4-bb50-e96901a28794 2026-03-23 06:13:21,370 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ea1cf119-3178-4d46-9ad8-7e54a49a1f28 2026-03-23 06:13:21,377 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 06:13:21,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:21,389 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2eb58cb0-ed2a-4ef4-bb50-e96901a28794 2026-03-23 06:13:21,404 - INFO - Verified VN network id 11 for VN fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:21,405 - INFO - Verifications in API Server for VN ctest-vn-36404075 passed 2026-03-23 06:13:21,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:21,414 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2eb58cb0-ed2a-4ef4-bb50-e96901a28794 2026-03-23 06:13:21,423 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2eb58cb0-ed2a-4ef4-bb50-e96901a28794 2026-03-23 06:13:21,429 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ea1cf119-3178-4d46-9ad8-7e54a49a1f28 2026-03-23 06:13:21,439 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28214199', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18026912768787431458', 'uuid-lslong': '10225128431707104488'}, 'enable': 'true', 'created': '2026-03-23T06:13:18', 'last-modified': '2026-03-23T06:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017090'} 2026-03-23 06:13:21,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 06:13:21,449 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28214199', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18026912768787431458', 'uuid-lslong': '10225128431707104488'}, 'enable': 'true', 'created': '2026-03-23T06:13:18', 'last-modified': '2026-03-23T06:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.026145'} 2026-03-23 06:13:21,454 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 06:13:21,460 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28214199', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18026912768787431458', 'uuid-lslong': '10225128431707104488'}, 'enable': 'true', 'created': '2026-03-23T06:13:18', 'last-modified': '2026-03-23T06:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036279'} 2026-03-23 06:13:21,465 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 06:13:21,465 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36404075 passed 2026-03-23 06:13:21,465 - DEBUG - ====Verifying policy data for ctest-vn-36404075 in API_Server ====== 2026-03-23 06:13:21,465 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:21,471 - DEBUG - Requesting: http://10.0.0.38:8082/domain/19002491-cc47-43ed-ab00-1b0f52f8fe40 2026-03-23 06:13:21,481 - DEBUG - Requesting: http://10.0.0.38:8082/project/01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:21,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa2c75a7-0c87-4022-8de6-f42232a624e8 2026-03-23 06:13:21,579 - DEBUG - ==>Verifying data for policy with id: 82f6b8ad-7d5c-4a81-83df-a7e64e4ed1f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-policy-allow-all-67726738'] 2026-03-23 06:13:21,580 - INFO - VN ctest-vn-36404075 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 06:13:21,580 - DEBUG - Verifying the vn in opserver 2026-03-23 06:13:21,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075 virtual network link through opserver 10.0.0.38 2026-03-23 06:13:21,580 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-23 06:13:21,896 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-23 06:13:21,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075?flat'} 2026-03-23 06:13:21,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075 virtual network link through opserver 10.0.0.50 2026-03-23 06:13:21,959 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-23 06:13:22,249 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-23 06:13:22,307 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075?flat'} 2026-03-23 06:13:22,307 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075 virtual network link through opserver 10.0.0.33 2026-03-23 06:13:22,307 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-23 06:13:22,599 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-23 06:13:22,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075?flat'} 2026-03-23 06:13:22,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075 is found in opserver 2026-03-23 06:13:22,679 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 06:13:22,691 - DEBUG - VRF ids for VN ctest-vn-36404075: {} 2026-03-23 06:13:22,691 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:22,698 - DEBUG - Requesting: http://10.0.0.38:8082/domain/19002491-cc47-43ed-ab00-1b0f52f8fe40 2026-03-23 06:13:22,709 - DEBUG - Requesting: http://10.0.0.38:8082/project/01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:22,800 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:22,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:22,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b08b21d-5aeb-479a-9ee9-09e1162200c0 2026-03-23 06:13:22,838 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b08b21d-5aeb-479a-9ee9-09e1162200c0 2026-03-23 06:13:22,846 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9762fed8-3f8f-4664-a358-a382fad2de90 2026-03-23 06:13:22,853 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-23 06:13:22,853 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:22,862 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b08b21d-5aeb-479a-9ee9-09e1162200c0 2026-03-23 06:13:22,877 - INFO - Verified VN network id 12 for VN 67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:22,878 - INFO - Verifications in API Server for VN ctest-vn-10318507 passed 2026-03-23 06:13:22,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:22,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b08b21d-5aeb-479a-9ee9-09e1162200c0 2026-03-23 06:13:22,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b08b21d-5aeb-479a-9ee9-09e1162200c0 2026-03-23 06:13:22,903 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9762fed8-3f8f-4664-a358-a382fad2de90 2026-03-23 06:13:22,915 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28214199', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7484800682307635060', 'uuid-lslong': '13674960414922978469'}, 'enable': 'true', 'created': '2026-03-23T06:13:19', 'last-modified': '2026-03-23T06:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.272647'} 2026-03-23 06:13:22,920 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-23 06:13:22,924 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28214199', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7484800682307635060', 'uuid-lslong': '13674960414922978469'}, 'enable': 'true', 'created': '2026-03-23T06:13:19', 'last-modified': '2026-03-23T06:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.284395'} 2026-03-23 06:13:22,929 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-23 06:13:22,934 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28214199', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7484800682307635060', 'uuid-lslong': '13674960414922978469'}, 'enable': 'true', 'created': '2026-03-23T06:13:19', 'last-modified': '2026-03-23T06:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.294118'} 2026-03-23 06:13:22,939 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-23 06:13:22,939 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10318507 passed 2026-03-23 06:13:22,939 - DEBUG - ====Verifying policy data for ctest-vn-10318507 in API_Server ====== 2026-03-23 06:13:22,939 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:22,945 - DEBUG - Requesting: http://10.0.0.38:8082/domain/19002491-cc47-43ed-ab00-1b0f52f8fe40 2026-03-23 06:13:22,956 - DEBUG - Requesting: http://10.0.0.38:8082/project/01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:23,042 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/67df5a90-7b8c-4774-bdc7-380b590334a5 2026-03-23 06:13:23,057 - DEBUG - ==>Verifying data for policy with id: 82f6b8ad-7d5c-4a81-83df-a7e64e4ed1f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-28214199', 'ctest-policy-allow-all-67726738'] 2026-03-23 06:13:23,057 - INFO - VN ctest-vn-10318507 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 06:13:23,057 - DEBUG - Verifying the vn in opserver 2026-03-23 06:13:23,057 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507 virtual network link through opserver 10.0.0.38 2026-03-23 06:13:23,058 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-23 06:13:23,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507?flat'} 2026-03-23 06:13:23,124 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507 virtual network link through opserver 10.0.0.50 2026-03-23 06:13:23,124 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-23 06:13:23,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507?flat'} 2026-03-23 06:13:23,182 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507 virtual network link through opserver 10.0.0.33 2026-03-23 06:13:23,182 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-23 06:13:23,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507?flat'} 2026-03-23 06:13:23,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-10318507 is found in opserver 2026-03-23 06:13:23,259 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 06:13:23,269 - DEBUG - VRF ids for VN ctest-vn-10318507: {} 2026-03-23 06:13:23,327 - DEBUG - Services list from nova: [, , , ] 2026-03-23 06:13:24,326 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5515-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5515-2) 2026-03-23 06:13:25,621 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5515-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5515-1) 2026-03-23 06:13:25,622 - INFO - Waiting for VM ctest-TestBasicPolicy-28214199-95978160 to be up.. 2026-03-23 06:13:25,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 06:13:30,784 - DEBUG - VM is in ACTIVE state now 2026-03-23 06:13:30,785 - INFO - VM name : ctest-TestBasicPolicy-28214199-95978160 2026-03-23 06:13:30,865 - DEBUG - VM ctest-TestBasicPolicy-28214199-95978160 ID is 58d86acf-bbb6-4d44-86a1-d9dfbaf656b9 2026-03-23 06:13:30,890 - DEBUG - VM ctest-TestBasicPolicy-28214199-95978160 launched on Node an-jenkins-deploy-platform-ansible-os-5515-2 2026-03-23 06:13:30,972 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/58d86acf-bbb6-4d44-86a1-d9dfbaf656b9 2026-03-23 06:13:31,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/58d86acf-bbb6-4d44-86a1-d9dfbaf656b9 2026-03-23 06:13:31,339 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6240c2e3-7e6c-4201-8b23-a836abb83ede 2026-03-23 06:13:34,561 - 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-03-23 06:13:34,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28214199-95978160 failed! 2026-03-23 06:13:34,576 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28214199:ctest-vn-36404075 is 101.59.95.1 and allocation pool is NOT set 2026-03-23 06:13:36,645 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.543/3.187/5.832/2.644 ms') 2026-03-23 06:13:36,646 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28214199-95978160 passed 2026-03-23 06:13:36,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:13:36,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28214199-95978160, IP 101.59.95.3, Port 22 2026-03-23 06:13:36,934 - DEBUG - VM ctest-TestBasicPolicy-28214199-95978160 is ready for SSH connections 2026-03-23 06:13:36,934 - INFO - Waiting for VM ctest-TestBasicPolicy-28214199-66074693 to be up.. 2026-03-23 06:13:37,008 - DEBUG - VM is in ACTIVE state now 2026-03-23 06:13:37,008 - INFO - VM name : ctest-TestBasicPolicy-28214199-66074693 2026-03-23 06:13:37,083 - DEBUG - VM ctest-TestBasicPolicy-28214199-66074693 ID is ee48412d-14a0-4fd4-b5c8-352a3639b721 2026-03-23 06:13:37,083 - DEBUG - VM ctest-TestBasicPolicy-28214199-66074693 launched on Node an-jenkins-deploy-platform-ansible-os-5515-1 2026-03-23 06:13:37,164 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ee48412d-14a0-4fd4-b5c8-352a3639b721 2026-03-23 06:13:37,177 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1a02ed11-062f-4927-8b8f-de4e095ff897 2026-03-23 06:13:38,393 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.84 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 = 3.838/4.849/5.861/1.011 ms') 2026-03-23 06:13:38,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28214199-66074693 passed 2026-03-23 06:13:38,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:13:38,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28214199-66074693, IP 43.198.225.3, Port 22 2026-03-23 06:13:38,572 - DEBUG - Error on ssh to cirros@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-03-23 06:13:38,647 - DEBUG - VM ctest-TestBasicPolicy-28214199-66074693 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-23 06:13:43,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:13:43,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28214199-66074693, IP 43.198.225.3, Port 22 2026-03-23 06:13:43,821 - DEBUG - VM ctest-TestBasicPolicy-28214199-66074693 is ready for SSH connections 2026-03-23 06:13:43,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:13:43,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.198.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-23 06:13:43,821 - DEBUG - ping -s 56 -c 3 -W 1 43.198.225.3 2026-03-23 06:13:47,814 - DEBUG - PING 43.198.225.3 (43.198.225.3): 56 data bytes 64 bytes from 43.198.225.3: seq=0 ttl=63 time=7.200 ms 64 bytes from 43.198.225.3: seq=1 ttl=63 time=1.902 ms 64 bytes from 43.198.225.3: seq=2 ttl=63 time=1.297 ms --- 43.198.225.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.297/3.466/7.200 ms 2026-03-23 06:13:47,814 - INFO - Ping to IP 43.198.225.3 from VM ctest-TestBasicPolicy-28214199-95978160 passed 2026-03-23 06:13:48,036 - DEBUG - Policy Update Response {"network-policy": {"uuid": "82f6b8ad-7d5c-4a81-83df-a7e64e4ed1f0", "href": "http://10.0.0.33:8082/network-policy/82f6b8ad-7d5c-4a81-83df-a7e64e4ed1f0"}} 2026-03-23 06:13:48,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:13:48,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.198.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-23 06:13:48,037 - DEBUG - ping -s 56 -c 3 -W 1 43.198.225.3 2026-03-23 06:13:51,253 - DEBUG - PING 43.198.225.3 (43.198.225.3): 56 data bytes 64 bytes from 43.198.225.3: seq=0 ttl=63 time=3.498 ms --- 43.198.225.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.498/3.498/3.498 ms 2026-03-23 06:13:51,253 - WARNING - Ping to IP 43.198.225.3 from VM ctest-TestBasicPolicy-28214199-95978160 failed 2026-03-23 06:13:51,253 - INFO - Deleting VM ctest-TestBasicPolicy-28214199-66074693 2026-03-23 06:13:51,332 - INFO - Deleting VM ctest-TestBasicPolicy-28214199-95978160 2026-03-23 06:13:51,780 - INFO - Deleted policy ctest-policy-allow-all-67726738 2026-03-23 06:13:51,781 - INFO - Deleting VN ctest-vn-10318507 2026-03-23 06:13:51,830 - DEBUG - VN 67df5a90-7b8c-4774-bdc7-380b590334a5 still in use: Unable to complete operation on network 67df5a90-7b8c-4774-bdc7-380b590334a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7880ee64-aaf0-49c2-9988-ac71c92a650b'] 2026-03-23 06:13:51,830 - WARNING - Deleting VN ctest-vn-10318507 failed..Will retry 2026-03-23 06:13:53,992 - DEBUG - Response for deleting network () 2026-03-23 06:13:53,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b08b21d-5aeb-479a-9ee9-09e1162200c0 2026-03-23 06:13:53,999 - DEBUG - Response Code: 404 2026-03-23 06:13:53,999 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:54,008 - DEBUG - Requesting: http://10.0.0.38:8082/domain/19002491-cc47-43ed-ab00-1b0f52f8fe40 2026-03-23 06:13:54,030 - DEBUG - Requesting: http://10.0.0.38:8082/project/01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:54,123 - INFO - Validated that VN ctest-vn-10318507 is not found in API Server 2026-03-23 06:13:54,134 - DEBUG - VN ctest-vn-10318507 is not present in Agent 10.0.0.249 2026-03-23 06:13:54,143 - DEBUG - VN ctest-vn-10318507 is not present in Agent 10.0.0.22 2026-03-23 06:13:54,143 - INFO - Validated that VN ctest-vn-10318507 is not in any agent 2026-03-23 06:13:54,170 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10318507 info 2026-03-23 06:13:54,171 - INFO - Deleting VN ctest-vn-36404075 2026-03-23 06:13:54,338 - DEBUG - Response for deleting network () 2026-03-23 06:13:54,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2eb58cb0-ed2a-4ef4-bb50-e96901a28794 2026-03-23 06:13:54,352 - DEBUG - Response Code: 404 2026-03-23 06:13:54,352 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-23 06:13:54,359 - DEBUG - Requesting: http://10.0.0.38:8082/domain/19002491-cc47-43ed-ab00-1b0f52f8fe40 2026-03-23 06:13:54,413 - DEBUG - Requesting: http://10.0.0.38:8082/project/01880b24-aeb2-4e3d-a813-3f5bfa0321b5 2026-03-23 06:13:54,513 - INFO - Validated that VN ctest-vn-36404075 is not found in API Server 2026-03-23 06:13:54,525 - DEBUG - VN ctest-vn-36404075 is not present in Agent 10.0.0.249 2026-03-23 06:13:54,534 - DEBUG - VN ctest-vn-36404075 is not present in Agent 10.0.0.22 2026-03-23 06:13:54,534 - INFO - Validated that VN ctest-vn-36404075 is not in any agent 2026-03-23 06:13:54,562 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36404075 info 2026-03-23 06:13:55,827 - DEBUG - No XMPP flaps were noticed during the test 2026-03-23 06:13:55,828 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-03-23 06:13:55,828 - INFO - -------------------------------------------------------------------------------- 2026-03-23 06:13:56,530 - INFO - Deleted project: ctest-TestBasicPolicy-28214199, ID : 01880b24-aeb2-4e3d-a813-3f5bfa0321b5