Azure-Samples / mlops-enterprise-template

This repo demonstrates GitHub actions to build and deploy your ML application
MIT License
34 stars 36 forks source link

Error in Training job #4

Open its-Kumar opened 1 year ago

its-Kumar commented 1 year ago

While deploying the template, I am getting error in training job. Please find the below information for the error:

ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::cycler-0.11.0-pyhd8ed1ab_0'.
FileNotFoundError(2, "No such file or directory: '/azureml-envs/azureml_c47efa5db33b0a18a7590ef0a0153ec4/bin/python3.6'")
Attempting to roll back.

done

FileNotFoundError(2, "No such file or directory: '/azureml-envs/azureml_c47efa5db33b0a18a7590ef0a0153ec4/bin/python3.6'")

Execution Summary
=================
RunId: ********************
Web View: *******************
Traceback (most recent call last):
  File "/code/main.py", line 240, in <module>
    main()
  File "/code/main.py", line 187, in main
    run.wait_for_completion(show_output=True)
  File "/usr/local/lib/python3.8/site-packages/azureml/core/run.py", line 826, in wait_for_completion
    self._stream_run_output(
  File "/usr/local/lib/python3.8/site-packages/azureml/core/run.py", line 1071, in _stream_run_output
    raise ActivityFailedException(error_details=json.dumps(error, indent=4))
azureml.exceptions._azureml_exception.ActivityFailedException: ActivityFailedException:
    Message: Activity Failed:
***
    "error": ***
        "code": "UserError",
        "message": "Image build failed. For more details, check log file azureml-logs/20_image_build_log.txt.",
        "messageFormat": "Image build failed. For more details, check log file ***ArtifactPath***.",
        "messageParameters": ***
            "ArtifactPath": "azureml-logs/20_image_build_log.txt"
        ***,
        "details": [],
        "innerError": ***
            "code": "BadArgument",
            "innerError": ***
                "code": "ImageBuildFailure"
            ***
        ***
    ***,
    "correlation": ***
        "operation": "b581123242cb3e3afa5f18099881c75e",
        "request": "********************"
    ***,
    "environment": "centralindia",
    "location": "centralindia",
    "time": "2023-04-13T09:17:42.890324Z",
    "componentName": "RunHistory"
***
    InnerException None
    ErrorResponse 
***
    "error": ***
        "message": "Activity Failed:\n***\n    \"error\": ***\n        \"code\": \"UserError\",\n        \"message\": \"Image build failed. For more details, check log file azureml-logs/20_image_build_log.txt.\",\n        \"messageFormat\": \"Image build failed. For more details, check log file ***ArtifactPath***.\",\n        \"messageParameters\": ***\n            \"ArtifactPath\": \"azureml-logs/20_image_build_log.txt\"\n        ***,\n        \"details\": [],\n        \"innerError\": ***\n            \"code\": \"BadArgument\",\n            \"innerError\": ***\n                \"code\": \"ImageBuildFailure\"\n            ***\n        ***\n    ***,\n    \"correlation\": ***\n        \"operation\": \"b581123242cb3e3afa5f18099881c75e\",\n        \"request\": \"2eba9a424a62b69d\"\n    ***,\n    \"environment\": \"centralindia\",\n    \"location\": \"centralindia\",\n    \"time\": \"2023-04-13T09:17:42.890324Z\",\n    \"componentName\": \"RunHistory\"\n***"
    ***
***