Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment to QA failed #117

Closed
Farhad-Heybati opened this issue Nov 26, 2019 · 3 comments · Fixed by #121
Closed

Deployment to QA failed #117

Farhad-Heybati opened this issue Nov 26, 2019 · 3 comments · Fixed by #121

Comments

@Farhad-Heybati
Copy link

ENOENT: no such file or directory, stat '/home/vsts/work/r1/a/_ci-build/mlops-pipelines/code/scoring/deployment_config_aci.yml'


2019-11-26T12:52:16.5473405Z ##[section]Starting: Azure ML Model Deploy
2019-11-26T12:52:16.5478581Z ==============================================================================
2019-11-26T12:52:16.5478685Z Task : AzureML Model Deploy
2019-11-26T12:52:16.5478763Z Description : AzureML Deploy Model
2019-11-26T12:52:16.5478820Z Version : 0.8.19
2019-11-26T12:52:16.5478891Z Author : ms-air-aiagility
2019-11-26T12:52:16.5478965Z Help : https://marketplace.visualstudio.com/items?itemName=ms-air-aiagility.private-vss-services-azureml&ssr=false#overview
2019-11-26T12:52:16.5479065Z ==============================================================================
2019-11-26T12:52:16.8866440Z { Error: ENOENT: no such file or directory, stat '/home/vsts/work/r1/a/_ci-build/mlops-pipelines/code/scoring/deployment_config_aci.yml'
2019-11-26T12:52:16.8866750Z at Error (native)
2019-11-26T12:52:16.8866819Z at Object.fs.statSync (fs.js:1000:11)
2019-11-26T12:52:16.8869025Z at AMLDeployParams.validateFileAndExtension (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:214:17)
2019-11-26T12:52:16.8869853Z at AMLDeployParams.validateDeployConfig (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:162:14)
2019-11-26T12:52:16.8870255Z at AMLDeployParams. (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:86:30)
2019-11-26T12:52:16.8870668Z at step (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:33:23)
2019-11-26T12:52:16.8871044Z at Object.next (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:14:53)
2019-11-26T12:52:16.8871441Z at /home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:8:71
2019-11-26T12:52:16.8871823Z at __awaiter (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:4:12)
2019-11-26T12:52:16.8872275Z at AMLDeployParams.getDeploymentParameters (/home/vsts/work/_tasks/AMLModelDeploy_d9237456-3431-4c1d-b7bf-d6b937425f0f/0.8.19/operations/AMLDeployParams.js:81:16)
2019-11-26T12:52:16.8872510Z errno: -2,
2019-11-26T12:52:16.8872752Z code: 'ENOENT',
2019-11-26T12:52:16.8872959Z syscall: 'stat',
2019-11-26T12:52:16.8873249Z path: '/home/vsts/work/r1/a/_ci-build/mlops-pipelines/code/scoring/deployment_config_aci.yml' }
2019-11-26T12:52:16.8948140Z ##[error]ENOENT: no such file or directory, stat '/home/vsts/work/r1/a/_ci-build/mlops-pipelines/code/scoring/deployment_config_aci.yml'
2019-11-26T12:52:16.8961783Z Reverting to original directory.....
2019-11-26T12:52:16.8961920Z (node:3335) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Failed popd: popd: directory stack empty
2019-11-26T12:52:16.8961998Z
2019-11-26T12:52:16.8962110Z popd: directory stack empty
2019-11-26T12:52:16.8962149Z
2019-11-26T12:52:16.8964165Z ##[section]Finishing: Azure ML Model Deploy

@smandaric
Copy link

I'm having the same issue

@Farhad-Heybati
Copy link
Author

Still pending issue

@Farhad-Heybati
Copy link
Author

The issue is resolved. I did 2 things:

  1. fork again with the latest version
  2. the name of my training pipeline wasn't "ci_build" which is used in the path during th etask definition: $(System.DefaultWorkingDirectory)/_ci-build/...

algattik added a commit to algattik/MLOpsPython that referenced this issue Nov 28, 2019
* Use Azure CLI tasks to remove need for variables SP_APP_ID, SP_APP_SECRET, SUBSCRIPTION_ID, TENANT_ID
* Updated gettin_started.md to point out variable path to artifact (microsoft#117)
* Made random hyperparameter (ridge regression alpha) a pipeline parameter, setting its value in the DevOps pipeline (microsoft#107)
* Changed unit test to test actual training code (partially solves microsoft#74)
* Fixed: attach_compute should set exit code after exception (microsoft#113)
* Fixed scoring endpoint HTTP behavior (microsoft#110)
* Fixed PipelineParameters format in call to Azure ML Extension (microsoft#118)
* Fixed Model build environment for Azure Web App for containers (microsoft#119)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants