Details
Description
In Jenkins job TVB - Step1 we have a step that runs the REST client (tvb-rest-client package) tests. Before running the tests, a REST server is started.
self = <tvb.interfaces.rest.client.operation.operation_api.OperationApi object at 0x7f6270f4d250> project_gid = '2cc58a73-25c1-11e5-a7af-14109fe3bf71' algorithm_class = <class 'tvb.adapters.uploaders.zip_connectivity_importer.ZIPConnectivityImporter'> view_model = <tvb.adapters.uploaders.zip_connectivity_importer.ZIPConnectivityImporterModel object at 0x7f6270fc47d0> temp_folder = '/tmp' @handle_response def launch_operation(self, project_gid, algorithm_class, view_model, temp_folder): h5_file_path = h5.path_by_dir(temp_folder, ViewModelH5, view_model.gid) h5.store_view_model(view_model, temp_folder) > model_file_obj = open(h5_file_path, 'rb') E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ViewModel_d1f4434b36b84a7d8df311b87cadbf7c.h5' /home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/rest/client/operation/operation_api.py:64: FileNotFoundError
Investigate why these fail and fix them.
In order to test locally, make sure to start up the REST server before launching the REST tests.