2025-01-08 19:44:12,084 - INFO - Domain Default found not creating 2025-01-08 19:44:12,217 - INFO - Project ctest-TestBasicPolicy-95733628 not found, creating it 2025-01-08 19:44:12,676 - INFO - Created Project:ctest-TestBasicPolicy-95733628, ID : f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:44:14,115 - INFO - ================================================================================ 2025-01-08 19:44:14,115 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-08 19:44:14,115 - 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 2025-01-08 19:44:14,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-01-08 19:44:14,370 - INFO - Initial checks done. Running the testcase now 2025-01-08 19:44:14,370 - INFO - 2025-01-08 19:44:14,921 - DEBUG - Response for create_network : {'network': {'id': '788377c6-3ebe-499c-a4b1-4cfe93b008e2', 'name': 'ctest-vn-54605387', 'tenant_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'project_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-vn-54605387'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:44:15,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '452eca63-ed17-4dc1-9a03-20bd560dde14', 'name': '', 'tenant_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'network_id': '788377c6-3ebe-499c-a4b1-4cfe93b008e2', 'ip_version': 4, 'cidr': '49.68.222.128/26', 'allocation_pools': [{'start': '49.68.222.130', 'end': '49.68.222.190'}], 'gateway_ip': '49.68.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.68.222.130', 'tags': [], 'project_id': 'f5c9c600555a4b6eace3137ea34a1e4e'}} 2025-01-08 19:44:15,154 - INFO - Created VN ctest-vn-54605387 2025-01-08 19:44:15,208 - DEBUG - VN ctest-vn-54605387 UUID is 788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:15,520 - DEBUG - Response for create_network : {'network': {'id': 'ce86e08d-bd10-4dce-8f9b-cb08f41e9026', 'name': 'ctest-vn-61962562', 'tenant_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'project_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-vn-61962562'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:44:15,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bb8decc-bf76-4148-8ea2-cb9882ec6acd', 'name': '', 'tenant_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'network_id': 'ce86e08d-bd10-4dce-8f9b-cb08f41e9026', 'ip_version': 4, 'cidr': '207.253.47.64/26', 'allocation_pools': [{'start': '207.253.47.66', 'end': '207.253.47.126'}], 'gateway_ip': '207.253.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.253.47.66', 'tags': [], 'project_id': 'f5c9c600555a4b6eace3137ea34a1e4e'}} 2025-01-08 19:44:15,753 - INFO - Created VN ctest-vn-61962562 2025-01-08 19:44:15,804 - DEBUG - VN ctest-vn-61962562 UUID is ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:15,947 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-54605387, 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-95733628:ctest-vn-61962562, 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] 2025-01-08 19:44:16,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '788377c6-3ebe-499c-a4b1-4cfe93b008e2', 'name': 'ctest-vn-54605387', 'tenant_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'project_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['452eca63-ed17-4dc1-9a03-20bd560dde14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-vn-54605387'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-policy-allow-all-95293508']], 'subnet_ipam': [{'subnet_cidr': '49.68.222.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:44:16,473 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce86e08d-bd10-4dce-8f9b-cb08f41e9026', 'name': 'ctest-vn-61962562', 'tenant_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'project_id': 'f5c9c600555a4b6eace3137ea34a1e4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bb8decc-bf76-4148-8ea2-cb9882ec6acd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-vn-61962562'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-policy-allow-all-95293508']], 'subnet_ipam': [{'subnet_cidr': '207.253.47.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:44:16,647 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:44:16,940 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:44:17,248 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2 2025-01-08 19:44:17,262 - DEBUG - Requesting: http://10.0.0.17:8082/project/f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:44:17,340 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:17,350 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:17,360 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a080e5f8-514e-4081-9a61-0cdd28a2c90f 2025-01-08 19:44:17,369 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a080e5f8-514e-4081-9a61-0cdd28a2c90f 2025-01-08 19:44:17,377 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/710099f4-0c9d-4878-a190-6f58f0df9773 2025-01-08 19:44:17,383 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 19:44:17,383 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:17,391 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a080e5f8-514e-4081-9a61-0cdd28a2c90f 2025-01-08 19:44:17,405 - INFO - Verified VN network id 7 for VN 788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:17,405 - INFO - Verifications in API Server for VN ctest-vn-54605387 passed 2025-01-08 19:44:17,405 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:17,414 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a080e5f8-514e-4081-9a61-0cdd28a2c90f 2025-01-08 19:44:17,421 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a080e5f8-514e-4081-9a61-0cdd28a2c90f 2025-01-08 19:44:17,427 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/710099f4-0c9d-4878-a190-6f58f0df9773 2025-01-08 19:44:17,439 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-54605387', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95733628', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8683916199840336284', 'uuid-lslong': '11867351149381159138'}, 'enable': 'true', 'created': '2025-01-08T19:44:14', 'last-modified': '2025-01-08T19:44:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.222254'} 2025-01-08 19:44:17,446 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 19:44:17,446 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54605387 passed 2025-01-08 19:44:17,446 - DEBUG - ====Verifying policy data for ctest-vn-54605387 in API_Server ====== 2025-01-08 19:44:17,446 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:44:17,451 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2 2025-01-08 19:44:17,463 - DEBUG - Requesting: http://10.0.0.17:8082/project/f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:44:17,539 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/788377c6-3ebe-499c-a4b1-4cfe93b008e2 2025-01-08 19:44:17,548 - DEBUG - ==>Verifying data for policy with id: dce66b97-68b6-470a-9c17-36c2d94caf6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-policy-allow-all-95293508'] 2025-01-08 19:44:17,548 - INFO - VN ctest-vn-54605387 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 19:44:17,549 - DEBUG - Verifying the vn in opserver 2025-01-08 19:44:17,549 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-54605387 virtual network link through opserver 10.0.0.17 2025-01-08 19:44:17,549 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-08 19:44:17,881 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-08 19:44:17,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-54605387', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-54605387?flat'} 2025-01-08 19:44:17,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-54605387 is found in opserver 2025-01-08 19:44:17,965 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 19:44:17,969 - DEBUG - VRF ids for VN ctest-vn-54605387: {} 2025-01-08 19:44:17,969 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:44:17,976 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2 2025-01-08 19:44:17,987 - DEBUG - Requesting: http://10.0.0.17:8082/project/f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:44:18,057 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:18,068 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:18,077 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5f940fb5-fead-4cb8-9407-c6bd7305f4bf 2025-01-08 19:44:18,084 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5f940fb5-fead-4cb8-9407-c6bd7305f4bf 2025-01-08 19:44:18,090 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/fd3567cf-d9b5-49f0-b071-adb5ee935b63 2025-01-08 19:44:18,096 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 19:44:18,096 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:18,105 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5f940fb5-fead-4cb8-9407-c6bd7305f4bf 2025-01-08 19:44:18,120 - INFO - Verified VN network id 8 for VN ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:18,121 - INFO - Verifications in API Server for VN ctest-vn-61962562 passed 2025-01-08 19:44:18,121 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:18,131 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5f940fb5-fead-4cb8-9407-c6bd7305f4bf 2025-01-08 19:44:18,139 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5f940fb5-fead-4cb8-9407-c6bd7305f4bf 2025-01-08 19:44:18,145 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/fd3567cf-d9b5-49f0-b071-adb5ee935b63 2025-01-08 19:44:18,156 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-61962562', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95733628', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14881828918059355598', 'uuid-lslong': '10348087808129667110'}, 'enable': 'true', 'created': '2025-01-08T19:44:15', 'last-modified': '2025-01-08T19:44:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.708402'} 2025-01-08 19:44:18,162 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 19:44:18,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61962562 passed 2025-01-08 19:44:18,163 - DEBUG - ====Verifying policy data for ctest-vn-61962562 in API_Server ====== 2025-01-08 19:44:18,163 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:44:18,167 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2 2025-01-08 19:44:18,179 - DEBUG - Requesting: http://10.0.0.17:8082/project/f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:44:18,248 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ce86e08d-bd10-4dce-8f9b-cb08f41e9026 2025-01-08 19:44:18,258 - DEBUG - ==>Verifying data for policy with id: dce66b97-68b6-470a-9c17-36c2d94caf6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-95733628', 'ctest-policy-allow-all-95293508'] 2025-01-08 19:44:18,258 - INFO - VN ctest-vn-61962562 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 19:44:18,258 - DEBUG - Verifying the vn in opserver 2025-01-08 19:44:18,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-61962562 virtual network link through opserver 10.0.0.17 2025-01-08 19:44:18,258 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-08 19:44:18,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-61962562', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-61962562?flat'} 2025-01-08 19:44:18,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95733628:ctest-vn-61962562 is found in opserver 2025-01-08 19:44:18,278 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 19:44:18,283 - DEBUG - VRF ids for VN ctest-vn-61962562: {} 2025-01-08 19:44:18,388 - DEBUG - Services list from nova: [, , ] 2025-01-08 19:44:19,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1) 2025-01-08 19:44:20,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1) 2025-01-08 19:44:20,609 - INFO - Waiting for VM ctest-TestBasicPolicy-95733628-61188336 to be up.. 2025-01-08 19:44:20,663 - DEBUG - VM is in ERROR state now 2025-01-08 19:44:20,663 - ERROR - VM in error state. 2025-01-08 19:44:20,663 - ERROR - VM is not in ACTIVE state 2025-01-08 19:44:20,733 - ERROR - Fatal Nova Exception while getting VM detail 2025-01-08 19:44:20,733 - DEBUG - None 2025-01-08 19:44:20,733 - INFO - Waiting for VM ctest-TestBasicPolicy-95733628-14866791 to be up.. 2025-01-08 19:44:20,806 - DEBUG - VM is in ERROR state now 2025-01-08 19:44:20,806 - ERROR - VM in error state. 2025-01-08 19:44:20,806 - ERROR - VM is not in ACTIVE state 2025-01-08 19:44:20,888 - ERROR - Fatal Nova Exception while getting VM detail 2025-01-08 19:44:20,888 - DEBUG - None 2025-01-08 19:44:20,888 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:44:20,935 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:25,988 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:31,041 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:36,094 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:41,146 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:46,200 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:46,200 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:44:48,200 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:44:48,252 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:53,302 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:44:58,360 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:03,419 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:08,471 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:13,523 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:13,523 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:45:15,525 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:45:15,572 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:20,624 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:25,677 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:30,728 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:35,781 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:40,841 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:40,841 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:45:42,843 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:45:42,903 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:47,966 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:53,022 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:45:58,075 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:03,132 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:08,183 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:08,183 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:46:10,183 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:46:10,240 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:15,298 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:20,354 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:25,409 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:30,460 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:35,514 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:35,514 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:46:37,514 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:46:37,569 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:42,623 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:47,676 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:52,734 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:46:57,790 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:02,842 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:02,842 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:47:02,843 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:47:02,904 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:07,955 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:13,004 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:18,055 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:23,106 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:28,167 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:28,167 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:47:30,169 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:47:30,217 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:35,273 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:40,364 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:45,413 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:50,468 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:55,519 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:47:55,519 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:47:57,519 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:47:57,568 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:02,619 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:07,671 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:12,727 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:17,783 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:22,838 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:22,839 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:48:24,839 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:48:24,888 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:29,941 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:34,992 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:40,049 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:45,102 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:50,153 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:50,153 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:48:52,153 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:48:52,205 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:48:57,262 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:02,312 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:07,362 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:12,415 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:17,523 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:17,523 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:49:19,524 - INFO - VM name : ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:49:19,575 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:24,628 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:29,687 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:34,745 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:39,799 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:44,856 - DEBUG - VM ctest-TestBasicPolicy-95733628-14866791 : Status=ERROR, Addresses : {} 2025-01-08 19:49:44,856 - ERROR - VM 10ce49db-1b45-4022-afc5-b2477d11b2c1 is not launched yet 2025-01-08 19:49:44,856 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-95733628-14866791 in state ERROR 2025-01-08 19:49:44,856 - INFO - Deleting VM ctest-TestBasicPolicy-95733628-14866791 2025-01-08 19:49:44,873 - ERROR - VM ctest-TestBasicPolicy-95733628-14866791 has failed to come up 2025-01-08 19:49:44,873 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-01-08T19:44:20Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-01-08 19:49:44,873 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-95733628-61188336 in state ERROR 2025-01-08 19:49:44,873 - INFO - Deleting VM ctest-TestBasicPolicy-95733628-61188336 2025-01-08 19:49:44,873 - ERROR - VM ctest-TestBasicPolicy-95733628-61188336 has failed to come up 2025-01-08 19:49:44,873 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-01-08T19:44:19Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-01-08 19:49:45,162 - INFO - Deleted policy ctest-policy-allow-all-95293508 2025-01-08 19:49:45,162 - INFO - Deleting VN ctest-vn-61962562 2025-01-08 19:49:45,270 - DEBUG - Response for deleting network () 2025-01-08 19:49:45,270 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5f940fb5-fead-4cb8-9407-c6bd7305f4bf 2025-01-08 19:49:45,298 - DEBUG - Response Code: 404 2025-01-08 19:49:45,298 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:49:45,303 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2 2025-01-08 19:49:45,315 - DEBUG - Requesting: http://10.0.0.17:8082/project/f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:49:45,386 - INFO - Validated that VN ctest-vn-61962562 is not found in API Server 2025-01-08 19:49:45,397 - DEBUG - VN ctest-vn-61962562 is not present in Agent 10.0.0.17 2025-01-08 19:49:45,397 - INFO - Validated that VN ctest-vn-61962562 is not in any agent 2025-01-08 19:49:45,412 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61962562 info 2025-01-08 19:49:45,412 - INFO - Deleting VN ctest-vn-54605387 2025-01-08 19:49:45,497 - DEBUG - Response for deleting network () 2025-01-08 19:49:45,498 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a080e5f8-514e-4081-9a61-0cdd28a2c90f 2025-01-08 19:49:45,504 - DEBUG - Response Code: 404 2025-01-08 19:49:45,504 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-08 19:49:45,509 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2 2025-01-08 19:49:45,561 - DEBUG - Requesting: http://10.0.0.17:8082/project/f5c9c600-555a-4b6e-ace3-137ea34a1e4e 2025-01-08 19:49:45,638 - INFO - Validated that VN ctest-vn-54605387 is not found in API Server 2025-01-08 19:49:45,648 - DEBUG - VN ctest-vn-54605387 is not present in Agent 10.0.0.17 2025-01-08 19:49:45,648 - INFO - Validated that VN ctest-vn-54605387 is not in any agent 2025-01-08 19:49:45,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54605387 info 2025-01-08 19:49:45,912 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/scripts/policy/test_policy_basic.py", line 118, in test_basic_policy_allow_deny
    assert vm1_fixture.ping_with_certainty(vm2_fixture.vm_ip), (
  File "/contrail-test/fixtures/vm_test.py", line 349, in vm_ip
    assert self.verify_vm_launched()
AssertionError
2025-01-08 19:49:45,918 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 19:49:45,918 - INFO - 2025-01-08 19:49:45,918 - INFO - END TEST : test_basic_policy_allow_deny : FAILED[0:05:31] 2025-01-08 19:49:45,918 - INFO - -------------------------------------------------------------------------------- 2025-01-08 19:49:46,617 - INFO - Deleted project: ctest-TestBasicPolicy-95733628, ID : f5c9c600-555a-4b6e-ace3-137ea34a1e4e