2024-08-20 22:45:01,052 - INFO - Domain Default found not creating 2024-08-20 22:45:01,211 - INFO - Project ctest-TestSvcRegr-14212068 not found, creating it 2024-08-20 22:45:01,716 - INFO - Created Project:ctest-TestSvcRegr-14212068, ID : f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:03,191 - INFO - ================================================================================ 2024-08-20 22:45:03,191 - INFO - STARTING TEST : test_svc_in_network_datapath 2024-08-20 22:45:03,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.5': '0'}} with 2024-08-20 22:45:03,445 - INFO - Initial checks done. Running the testcase now 2024-08-20 22:45:03,445 - INFO - 2024-08-20 22:45:03,982 - DEBUG - Response for create_network : {'network': {'id': '4d90ff42-ee9a-491a-96e1-13695057809b', 'name': 'ctest-mgmt_vn-15749397', 'tenant_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'project_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestSvcRegr-14212068', 'ctest-mgmt_vn-15749397'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 22:45:04,227 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1f1632a-41e7-45ef-9bb6-ca846af6a62a', 'name': '', 'tenant_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'network_id': '4d90ff42-ee9a-491a-96e1-13695057809b', 'ip_version': 4, 'cidr': '1.159.52.128/26', 'allocation_pools': [{'start': '1.159.52.130', 'end': '1.159.52.190'}], 'gateway_ip': '1.159.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.159.52.130', 'tags': [], 'project_id': 'f0278c4e786f4aabbfe6a2a3c3655003'}} 2024-08-20 22:45:04,247 - INFO - Created VN ctest-mgmt_vn-15749397 2024-08-20 22:45:04,299 - DEBUG - VN ctest-mgmt_vn-15749397 UUID is 4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:04,407 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:04,699 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:04,730 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:04,744 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:04,816 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:04,825 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:04,834 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11972ae0-9f33-42b6-ac3e-6007094f2db1 2024-08-20 22:45:04,842 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11972ae0-9f33-42b6-ac3e-6007094f2db1 2024-08-20 22:45:04,850 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f529f9ed-ab2d-4547-8570-6a9386afa96e 2024-08-20 22:45:04,858 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-20 22:45:04,858 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:04,868 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11972ae0-9f33-42b6-ac3e-6007094f2db1 2024-08-20 22:45:04,880 - INFO - Verified VN network id 7 for VN 4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:04,881 - INFO - Verifications in API Server for VN ctest-mgmt_vn-15749397 passed 2024-08-20 22:45:04,881 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:04,888 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11972ae0-9f33-42b6-ac3e-6007094f2db1 2024-08-20 22:45:04,894 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11972ae0-9f33-42b6-ac3e-6007094f2db1 2024-08-20 22:45:04,900 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f529f9ed-ab2d-4547-8570-6a9386afa96e 2024-08-20 22:45:04,913 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestSvcRegr-14212068:ctest-mgmt_vn-15749397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestSvcRegr-14212068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5589247800502798618', 'uuid-lslong': '10871992318489493659'}, 'enable': 'true', 'created': '2024-08-20T22:45:03', 'last-modified': '2024-08-20T22:45:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.726155'} 2024-08-20 22:45:04,919 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-20 22:45:04,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-mgmt_vn-15749397 passed 2024-08-20 22:45:04,919 - DEBUG - ====Verifying policy data for ctest-mgmt_vn-15749397 in API_Server ====== 2024-08-20 22:45:04,919 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:04,925 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:04,936 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:05,005 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4d90ff42-ee9a-491a-96e1-13695057809b 2024-08-20 22:45:05,012 - DEBUG - =>VN ctest-mgmt_vn-15749397 has no policy to be verified 2024-08-20 22:45:05,012 - DEBUG - Verifying the vn in opserver 2024-08-20 22:45:05,012 - DEBUG - Verifying the default-domain:ctest-TestSvcRegr-14212068:ctest-mgmt_vn-15749397 virtual network link through opserver 10.0.0.41 2024-08-20 22:45:05,013 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-20 22:45:05,310 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-20 22:45:05,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestSvcRegr-14212068:ctest-mgmt_vn-15749397', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestSvcRegr-14212068:ctest-mgmt_vn-15749397?flat'} 2024-08-20 22:45:05,375 - INFO - Validated that VN default-domain:ctest-TestSvcRegr-14212068:ctest-mgmt_vn-15749397 is found in opserver 2024-08-20 22:45:05,386 - DEBUG - Do not have enough data to verify VN in agent 2024-08-20 22:45:05,392 - DEBUG - VRF ids for VN ctest-mgmt_vn-15749397: {} 2024-08-20 22:45:05,574 - DEBUG - Response for create_network : {'network': {'id': '5bec3824-7621-4eee-b3cc-e44431a50adf', 'name': 'ctest-left_vn-31688008', 'tenant_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'project_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestSvcRegr-14212068', 'ctest-left_vn-31688008'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 22:45:05,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e103167e-95de-4763-9fd5-57a56589e05f', 'name': '', 'tenant_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'network_id': '5bec3824-7621-4eee-b3cc-e44431a50adf', 'ip_version': 4, 'cidr': '68.52.155.192/26', 'allocation_pools': [{'start': '68.52.155.194', 'end': '68.52.155.254'}], 'gateway_ip': '68.52.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.52.155.194', 'tags': [], 'project_id': 'f0278c4e786f4aabbfe6a2a3c3655003'}} 2024-08-20 22:45:05,762 - INFO - Created VN ctest-left_vn-31688008 2024-08-20 22:45:05,815 - DEBUG - VN ctest-left_vn-31688008 UUID is 5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:05,924 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:05,930 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:05,941 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:06,011 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:06,019 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:06,026 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/658fbf2d-29e0-44f9-a32a-b28f60d343f2 2024-08-20 22:45:06,032 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/658fbf2d-29e0-44f9-a32a-b28f60d343f2 2024-08-20 22:45:06,039 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/43c8048c-f917-4dcf-aeba-a2767c2747ad 2024-08-20 22:45:06,044 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-20 22:45:06,045 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:06,051 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/658fbf2d-29e0-44f9-a32a-b28f60d343f2 2024-08-20 22:45:06,062 - INFO - Verified VN network id 8 for VN 5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:06,062 - INFO - Verifications in API Server for VN ctest-left_vn-31688008 passed 2024-08-20 22:45:06,062 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:06,070 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/658fbf2d-29e0-44f9-a32a-b28f60d343f2 2024-08-20 22:45:06,075 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/658fbf2d-29e0-44f9-a32a-b28f60d343f2 2024-08-20 22:45:06,081 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/43c8048c-f917-4dcf-aeba-a2767c2747ad 2024-08-20 22:45:06,092 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestSvcRegr-14212068:ctest-left_vn-31688008', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestSvcRegr-14212068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6623730881207029486', 'uuid-lslong': '12955981209579883231'}, 'enable': 'true', 'created': '2024-08-20T22:45:05', 'last-modified': '2024-08-20T22:45:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.377676'} 2024-08-20 22:45:06,098 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-20 22:45:06,098 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-left_vn-31688008 passed 2024-08-20 22:45:06,098 - DEBUG - ====Verifying policy data for ctest-left_vn-31688008 in API_Server ====== 2024-08-20 22:45:06,098 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:06,104 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:06,115 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:06,184 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5bec3824-7621-4eee-b3cc-e44431a50adf 2024-08-20 22:45:06,193 - DEBUG - =>VN ctest-left_vn-31688008 has no policy to be verified 2024-08-20 22:45:06,193 - DEBUG - Verifying the vn in opserver 2024-08-20 22:45:06,193 - DEBUG - Verifying the default-domain:ctest-TestSvcRegr-14212068:ctest-left_vn-31688008 virtual network link through opserver 10.0.0.41 2024-08-20 22:45:06,193 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-20 22:45:06,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestSvcRegr-14212068:ctest-left_vn-31688008', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestSvcRegr-14212068:ctest-left_vn-31688008?flat'} 2024-08-20 22:45:06,206 - INFO - Validated that VN default-domain:ctest-TestSvcRegr-14212068:ctest-left_vn-31688008 is found in opserver 2024-08-20 22:45:06,216 - DEBUG - Do not have enough data to verify VN in agent 2024-08-20 22:45:06,222 - DEBUG - VRF ids for VN ctest-left_vn-31688008: {} 2024-08-20 22:45:06,410 - DEBUG - Response for create_network : {'network': {'id': '8436edb1-b093-4fe0-bd0d-6edd9706096d', 'name': 'ctest-right_vn-33138829', 'tenant_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'project_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestSvcRegr-14212068', 'ctest-right_vn-33138829'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 22:45:06,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aad85d61-63e8-4be2-8cab-492c5f1c5993', 'name': '', 'tenant_id': 'f0278c4e786f4aabbfe6a2a3c3655003', 'network_id': '8436edb1-b093-4fe0-bd0d-6edd9706096d', 'ip_version': 4, 'cidr': '21.20.22.192/26', 'allocation_pools': [{'start': '21.20.22.194', 'end': '21.20.22.254'}], 'gateway_ip': '21.20.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.20.22.194', 'tags': [], 'project_id': 'f0278c4e786f4aabbfe6a2a3c3655003'}} 2024-08-20 22:45:06,570 - INFO - Created VN ctest-right_vn-33138829 2024-08-20 22:45:06,619 - DEBUG - VN ctest-right_vn-33138829 UUID is 8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:06,729 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:06,736 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:06,749 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:06,819 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:06,829 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:06,837 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/63a9beca-a748-4932-8cad-7545ba460895 2024-08-20 22:45:06,844 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/63a9beca-a748-4932-8cad-7545ba460895 2024-08-20 22:45:06,850 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6620c5d0-32ad-409a-b230-1e0f58165878 2024-08-20 22:45:06,859 - DEBUG - Route Targets: ['target:64512:8000007'] 2024-08-20 22:45:06,859 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:06,867 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/63a9beca-a748-4932-8cad-7545ba460895 2024-08-20 22:45:06,880 - INFO - Verified VN network id 9 for VN 8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:06,880 - INFO - Verifications in API Server for VN ctest-right_vn-33138829 passed 2024-08-20 22:45:06,880 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:06,889 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/63a9beca-a748-4932-8cad-7545ba460895 2024-08-20 22:45:06,896 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/63a9beca-a748-4932-8cad-7545ba460895 2024-08-20 22:45:06,903 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6620c5d0-32ad-409a-b230-1e0f58165878 2024-08-20 22:45:06,916 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestSvcRegr-14212068:ctest-right_vn-33138829', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestSvcRegr-14212068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9527063409176301536', 'uuid-lslong': '13622666345866201453'}, 'enable': 'true', 'created': '2024-08-20T22:45:06', 'last-modified': '2024-08-20T22:45:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.392951'} 2024-08-20 22:45:06,922 - DEBUG - Route Targets: ['target:64512:8000007'] 2024-08-20 22:45:06,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-right_vn-33138829 passed 2024-08-20 22:45:06,922 - DEBUG - ====Verifying policy data for ctest-right_vn-33138829 in API_Server ====== 2024-08-20 22:45:06,922 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:06,928 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:06,940 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:07,010 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8436edb1-b093-4fe0-bd0d-6edd9706096d 2024-08-20 22:45:07,018 - DEBUG - =>VN ctest-right_vn-33138829 has no policy to be verified 2024-08-20 22:45:07,018 - DEBUG - Verifying the vn in opserver 2024-08-20 22:45:07,019 - DEBUG - Verifying the default-domain:ctest-TestSvcRegr-14212068:ctest-right_vn-33138829 virtual network link through opserver 10.0.0.41 2024-08-20 22:45:07,019 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-20 22:45:07,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestSvcRegr-14212068:ctest-right_vn-33138829', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestSvcRegr-14212068:ctest-right_vn-33138829?flat'} 2024-08-20 22:45:07,030 - INFO - Validated that VN default-domain:ctest-TestSvcRegr-14212068:ctest-right_vn-33138829 is found in opserver 2024-08-20 22:45:07,041 - DEBUG - Do not have enough data to verify VN in agent 2024-08-20 22:45:07,047 - DEBUG - VRF ids for VN ctest-right_vn-33138829: {} 2024-08-20 22:45:07,156 - DEBUG - Services list from nova: [, , ] 2024-08-20 22:45:08,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1678-1) 2024-08-20 22:45:09,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1678-1) 2024-08-20 22:45:09,329 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-25894383'] 2024-08-20 22:45:09,687 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-25894383'] created succesfully 2024-08-20 22:45:09,938 - DEBUG - Image by name cirros_in_net not found 2024-08-20 22:45:09,938 - DEBUG - Installing image cirros_in_net 2024-08-20 22:45:09,938 - DEBUG - Image info {'name': 'cirros-in-net.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'cirros', 'password': 'gocubsgo', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'vcpath': '/images/vcenter/', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2024-08-20 22:45:09,939 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-in-net.vmdk.gz 2024-08-20 22:45:09,939 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-in-net.vmdk.gz 2024-08-20 22:45:09,950 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//cirros-in-net.vmdk.gz -O /contrail-test/images/cirros-in-net.vmdk.gz 2024-08-20 22:45:10,151 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-in-net.vmdk.gz 2024-08-20 22:45:10,151 - DEBUG - Unzip image 2024-08-20 22:45:10,151 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/cirros-in-net.vmdk.gz 2024-08-20 22:45:10,312 - DEBUG - Try to create image in user context 2024-08-20 22:45:10,557 - DEBUG - Image has been created in user context 2024-08-20 22:45:10,557 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-in-net.vmdk 2024-08-20 22:45:10,571 - DEBUG - Downloaded image has been removed 2024-08-20 22:45:10,586 - DEBUG - Uploaded image status = active 2024-08-20 22:45:11,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1678-1) 2024-08-20 22:45:11,639 - INFO - Waiting for VM ctest-pt_svm0-75054465 to be up.. 2024-08-20 22:45:11,688 - DEBUG - VM is in ERROR state now 2024-08-20 22:45:11,688 - ERROR - VM in error state. 2024-08-20 22:45:11,689 - ERROR - VM is not in ACTIVE state 2024-08-20 22:45:11,758 - ERROR - Fatal Nova Exception while getting VM detail 2024-08-20 22:45:11,758 - DEBUG - None 2024-08-20 22:45:11,761 - INFO - Skip interface_detach for VM ctest-pt_svm0-75054465 in state ERROR 2024-08-20 22:45:11,761 - INFO - Deleting VM ctest-pt_svm0-75054465 2024-08-20 22:45:11,779 - ERROR - VM ctest-pt_svm0-75054465 has failed to come up 2024-08-20 22:45:11,779 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2024-08-20T22:45:11Z', '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'} 2024-08-20 22:45:11,779 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-25894383'] 2024-08-20 22:45:11,850 - INFO - Service template: ['default-domain', 'ctest-service_template_1-25894383'] deleted successfully. 2024-08-20 22:45:11,851 - INFO - Skip interface_detach for VM ctest-right_vm-72937340 in state BUILD 2024-08-20 22:45:11,851 - INFO - Deleting VM ctest-right_vm-72937340 2024-08-20 22:45:11,851 - ERROR - VM ctest-right_vm-72937340 has failed to come up 2024-08-20 22:45:11,851 - ERROR - Nova failed to get host of the VM 2024-08-20 22:45:12,033 - INFO - Skip interface_detach for VM ctest-left_vm-45145637 in state BUILD 2024-08-20 22:45:12,033 - INFO - Deleting VM ctest-left_vm-45145637 2024-08-20 22:45:12,033 - ERROR - VM ctest-left_vm-45145637 has failed to come up 2024-08-20 22:45:12,034 - ERROR - Nova failed to get host of the VM 2024-08-20 22:45:12,185 - INFO - Deleting VN ctest-right_vn-33138829 2024-08-20 22:45:12,287 - DEBUG - Response for deleting network () 2024-08-20 22:45:12,288 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/63a9beca-a748-4932-8cad-7545ba460895 2024-08-20 22:45:12,293 - DEBUG - Response Code: 404 2024-08-20 22:45:12,294 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:12,299 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:12,353 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:12,423 - INFO - Validated that VN ctest-right_vn-33138829 is not found in API Server 2024-08-20 22:45:12,435 - DEBUG - VN ctest-right_vn-33138829 is not present in Agent 10.0.0.41 2024-08-20 22:45:12,435 - INFO - Validated that VN ctest-right_vn-33138829 is not in any agent 2024-08-20 22:45:12,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-right_vn-33138829 info 2024-08-20 22:45:12,450 - INFO - Deleting VN ctest-left_vn-31688008 2024-08-20 22:45:12,552 - DEBUG - Response for deleting network () 2024-08-20 22:45:12,552 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/658fbf2d-29e0-44f9-a32a-b28f60d343f2 2024-08-20 22:45:12,557 - DEBUG - Response Code: 404 2024-08-20 22:45:12,558 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:12,567 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:12,620 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:12,690 - INFO - Validated that VN ctest-left_vn-31688008 is not found in API Server 2024-08-20 22:45:12,701 - DEBUG - VN ctest-left_vn-31688008 is not present in Agent 10.0.0.41 2024-08-20 22:45:12,701 - INFO - Validated that VN ctest-left_vn-31688008 is not in any agent 2024-08-20 22:45:12,717 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-left_vn-31688008 info 2024-08-20 22:45:12,717 - INFO - Deleting VN ctest-mgmt_vn-15749397 2024-08-20 22:45:12,808 - DEBUG - Response for deleting network () 2024-08-20 22:45:12,808 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/11972ae0-9f33-42b6-ac3e-6007094f2db1 2024-08-20 22:45:12,818 - DEBUG - Response Code: 404 2024-08-20 22:45:12,818 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:12,823 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:12,877 - DEBUG - Requesting: http://10.0.0.41:8082/project/f0278c4e-786f-4aab-bfe6-a2a3c3655003 2024-08-20 22:45:12,946 - INFO - Validated that VN ctest-mgmt_vn-15749397 is not found in API Server 2024-08-20 22:45:12,957 - DEBUG - VN ctest-mgmt_vn-15749397 is not present in Agent 10.0.0.41 2024-08-20 22:45:12,957 - INFO - Validated that VN ctest-mgmt_vn-15749397 is not in any agent 2024-08-20 22:45:12,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-mgmt_vn-15749397 info 2024-08-20 22:45:13,223 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Tue Aug 20 22:45:11 2024 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 79 log.info('Initial checks done. Running the testcase now') 80 log.info('') 81 result = function(self, *args, **kwargs) 82 if self.inputs.upgrade: 83 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/svc_firewall/test_svc_fw.py in test_svc_in_network_datapath(self=) 31 def test_svc_in_network_datapath(self): 32 return self.verify_svc_chain(svc_img_name='cirros_in_net', service_mode='in-network', 33 create_svms=True) 34 35 create_svms undefined /contrail-test/common/servicechain/verify.py in verify_svc_chain(self=, *args=(), **kwargs={'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'}) 326 def verify_svc_chain(self, *args, **kwargs): 327 svc_chain_info = kwargs.get('svc_chain_info') 328 ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs) 329 proto = kwargs.get('proto', 'any') 330 left_vn_fq_name = ret_dict.get('left_vn_fixture').vn_fq_name ret_dict undefined svc_chain_info = None self = self.config_svc_chain = > args = () kwargs = {'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'} /contrail-test/common/servicechain/config.py in config_svc_chain(self=, service_mode='in-network', service_type='firewall', max_inst=1, proto='any', svc_chain_type='parallel', src_ports=[0, 65535], dst_ports=[0, 65535], svc_img_name='cirros_in_net', st_version=2, mgmt_vn_name='ctest-mgmt_vn-15749397', mgmt_vn_subnets=['1.159.52.128/26'], mgmt_vn_fixture=, left_vn_name='ctest-left_vn-31688008', left_vn_subnets=['68.52.155.192/26'], left_vn_fixture=, right_vn_name='ctest-right_vn-33138829', right_vn_subnets=['21.20.22.192/26'], right_vn_fixture=, left_lr_child_vn_fixture=None, right_lr_child_vn_fixture=None, left_vm_name='ctest-left_vm-45145637', left_vm_fixture=, right_vm_name='ctest-right_vm-72937340', right_vm_fixture=, image_name='cirros', policy_fixture=None, st_fixture=, si_fixture=None, port_tuples_props=None, static_route=None, svm_fixtures=[], create_svms=True, evpn=False, modify_rules=False, policy_action='pass', hosts=[], **kwargs={}) 559 service_type=service_type, 560 hosts=hosts, 561 max_inst=max_inst) 562 if svc_chain_type == 'serial': 563 svm_fixtures2 = self.create_service_vms(vns, max_inst = 1 /contrail-test/common/servicechain/config.py in create_service_vms(self=, vns=[, , ], service_mode='in-network', max_inst=1, svc_img_name='cirros_in_net', service_type='firewall', hosts=[]) 355 if service_type == 'analyzer': 356 svm_fixture.disable_interface_policy() 357 self.verify_vms(svm_fixtures) 358 return svm_fixtures 359 # end create_service_vms self = self.verify_vms = > svm_fixtures = [] /contrail-test/common/servicechain/config.py in verify_vms(self=, vm_fixtures=[]) 187 def verify_vms(self, vm_fixtures): 188 for vm in vm_fixtures: 189 self.verify_vm(vm) 190 # end verify_vms 191 self = self.verify_vm = > vm = /contrail-test/common/servicechain/config.py in verify_vm(self=, vm_fixture=) 191 192 def verify_vm(self, vm_fixture): 193 assert vm_fixture.wait_till_vm_is_up(), 'VM does not seem to be up' 194 # end verify_vm 195 vm_fixture = vm_fixture.wait_till_vm_is_up = > AssertionError: VM does not seem to be up __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ('VM does not seem to be up',) with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/svc_firewall/test_svc_fw.py", line 33, in test_svc_in_network_datapath create_svms=True) File "/contrail-test/common/servicechain/verify.py", line 328, in verify_svc_chain ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs) File "/contrail-test/common/servicechain/config.py", line 561, in config_svc_chain max_inst=max_inst) File "/contrail-test/common/servicechain/config.py", line 357, in create_service_vms self.verify_vms(svm_fixtures) File "/contrail-test/common/servicechain/config.py", line 189, in verify_vms self.verify_vm(vm) File "/contrail-test/common/servicechain/config.py", line 193, in verify_vm assert vm_fixture.wait_till_vm_is_up(), 'VM does not seem to be up' AssertionError: VM does not seem to be up 2024-08-20 22:45:13,229 - DEBUG - No XMPP flaps were noticed during the test 2024-08-20 22:45:13,229 - INFO -
2024-08-20 22:45:13,229 - INFO - END TEST : test_svc_in_network_datapath : FAILED[0:00:10]
2024-08-20 22:45:13,229 - INFO - -------------------------------------------------------------------------------- 2024-08-20 22:45:13,909 - INFO - Deleted project: ctest-TestSvcRegr-14212068, ID : f0278c4e-786f-4aab-bfe6-a2a3c3655003