Skip to content

Change the remote tests in test_remote_access.py to use a remote output_dir #593

Description

@tramora

The goal is to catch the unexpected errors so far when manipulating remote resources.

This output_dir is the parent of the analysis_report_file_path for train_predictor and can be changed in KhiopsRemoteAccessTests::test_train_predictor_with_remote_access.

The change was not done before because of pending issues :

  • GCS : the cleaning of the folder is impossible in a blob context -> an error is raised during the tearDown
  • AzureFile (should work) maybe a driver issue?
Line 2: error : Train model : Unable to create result directory (https://khiopspythonsa2.file.core.windows.net/khiops-cicd/tmp/test_Azure Files_remote_files_dadaf737-98eb-4c5c-9cbb-77983b9c301a/)
  • AzureBlob (should work) maybe a driver issue?
Errors in log:
Line 10: error : File /__w/khiops-python/khiops-python/tests/resources/tmp/khiops-cicd/~Khiops/copy4_IrisAnalysisResults.model.kdic : Unable to copy file to https
Line 12: error : File /__w/khiops-python/khiops-python/tests/resources/tmp/khiops-cicd/~Khiops/copy5_IrisAnalysisResults.khj : Unable to copy file to https

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for DevChore.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions