We are getting below error, when we try to run Demand forecast experiment manually from newly created Azure Machine Learning workspace. However existing workspace working without any issue. Any one come across this issue?
Error Message:
Expected a StepRun object but received <class 'azureml.core.run.Run'> instead.
This usually indicates a package conflict with one of the dependencies of azureml-core or azureml-pipeline-core.
Please check for package conflicts in your python environment
Elapsed time: 0:28:38.617563
Cleaning up all outstanding Run operations, waiting 300.0 seconds
3 items cleaning up...
Cleanup took 0.2656395435333252 seconds
Traceback (most recent call last):
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 295, in wait_for_completion
step_run.wait_for_completion(timeout_seconds=timeout_seconds - time_elapsed,
TypeError: wait_for_completion() got an unexpected keyword argument 'timeout_seconds'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 197, in
File "", line 193, in main
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "run.py", line 163, in
runParallel(args.input_path, args.output_path)
File "run.py", line 140, in runParallel
run.wait_for_completion(show_output=True, timeout_seconds=parameters.timeout_seconds)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 310, in wait_for_completion
step_run.wait_for_completion(raise_on_error=raise_on_error)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/core/run.py", line 882, in wait_for_completion
raise ActivityFailedException(error_details=json.dumps(error, indent=4))
azureml.exceptions._azureml_exception.ActivityFailedException: ActivityFailedException:
Message: Activity Failed:
{
"error": {
"code": "UserError",
"message": "Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \"driver/amlbi_main.py\", line 275, in \n main()\n File \"driver/amlbi_main.py\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n",
"messageParameters": {},
"details": []
},
"time": "0001-01-01T00:00:00.000Z",
"componentName": "CommonRuntime"
}
InnerException None
ErrorResponse
{
"error": {
"message": "Activity Failed:\n{\n \"error\": {\n \"code\": \"UserError\",\n \"message\": \"Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \\"driver/amlbi_main.py\\", line 275, in \n main()\n File \\"driver/amlbi_main.py\\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n\",\n \"messageParameters\": {},\n \"details\": []\n },\n \"time\": \"0001-01-01T00:00:00.000Z\",\n \"componentName\": \"CommonRuntime\"\n}"
}
}
File "run.py", line 163, in
runParallel(args.input_path, args.output_path)
File "run.py", line 140, in runParallel
run.wait_for_completion(show_output=True, timeout_seconds=parameters.timeout_seconds)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 310, in wait_for_completion
step_run.wait_for_completion(raise_on_error=raise_on_error)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/core/run.py", line 882, in wait_for_completion
raise ActivityFailedException(error_details=json.dumps(error, indent=4))
azureml.exceptions._azureml_exception.ActivityFailedException: ActivityFailedException:
Message: Activity Failed:
{
"error": {
"code": "UserError",
"message": "Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \"driver/amlbi_main.py\", line 275, in \n main()\n File \"driver/amlbi_main.py\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n",
"messageParameters": {},
"details": []
},
"time": "0001-01-01T00:00:00.000Z",
"componentName": "CommonRuntime"
}
InnerException None
ErrorResponse
{
"error": {
"message": "Activity Failed:\n{\n \"error\": {\n \"code\": \"UserError\",\n \"message\": \"Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \\"driver/amlbi_main.py\\", line 275, in \n main()\n File \\"driver/amlbi_main.py\\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n\",\n \"messageParameters\": {},\n \"details\": []\n },\n \"time\": \"0001-01-01T00:00:00.000Z\",\n \"componentName\": \"CommonRuntime\"\n}"
}
}
We are getting below error, when we try to run Demand forecast experiment manually from newly created Azure Machine Learning workspace. However existing workspace working without any issue. Any one come across this issue?
Error Message:
Expected a StepRun object but received <class 'azureml.core.run.Run'> instead. This usually indicates a package conflict with one of the dependencies of azureml-core or azureml-pipeline-core. Please check for package conflicts in your python environment Elapsed time: 0:28:38.617563 Cleaning up all outstanding Run operations, waiting 300.0 seconds 3 items cleaning up... Cleanup took 0.2656395435333252 seconds Traceback (most recent call last): File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 295, in wait_for_completion step_run.wait_for_completion(timeout_seconds=timeout_seconds - time_elapsed, TypeError: wait_for_completion() got an unexpected keyword argument 'timeout_seconds'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 197, in
File "", line 193, in main
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "run.py", line 163, in
runParallel(args.input_path, args.output_path)
File "run.py", line 140, in runParallel
run.wait_for_completion(show_output=True, timeout_seconds=parameters.timeout_seconds)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 310, in wait_for_completion
step_run.wait_for_completion(raise_on_error=raise_on_error)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/core/run.py", line 882, in wait_for_completion
raise ActivityFailedException(error_details=json.dumps(error, indent=4))
azureml.exceptions._azureml_exception.ActivityFailedException: ActivityFailedException:
Message: Activity Failed:
{
"error": {
"code": "UserError",
"message": "Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \"driver/amlbi_main.py\", line 275, in \n main()\n File \"driver/amlbi_main.py\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n",
"messageParameters": {},
"details": []
},
"time": "0001-01-01T00:00:00.000Z",
"componentName": "CommonRuntime"
}
InnerException None
ErrorResponse
{
"error": {
"message": "Activity Failed:\n{\n \"error\": {\n \"code\": \"UserError\",\n \"message\": \"Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \\"driver/amlbi_main.py\\", line 275, in \n main()\n File \\"driver/amlbi_main.py\\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n\",\n \"messageParameters\": {},\n \"details\": []\n },\n \"time\": \"0001-01-01T00:00:00.000Z\",\n \"componentName\": \"CommonRuntime\"\n}"
}
}
File "run.py", line 163, in
runParallel(args.input_path, args.output_path)
File "run.py", line 140, in runParallel
run.wait_for_completion(show_output=True, timeout_seconds=parameters.timeout_seconds)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 310, in wait_for_completion
step_run.wait_for_completion(raise_on_error=raise_on_error)
File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/core/run.py", line 882, in wait_for_completion
raise ActivityFailedException(error_details=json.dumps(error, indent=4))
azureml.exceptions._azureml_exception.ActivityFailedException: ActivityFailedException:
Message: Activity Failed:
{
"error": {
"code": "UserError",
"message": "Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \"driver/amlbi_main.py\", line 275, in \n main()\n File \"driver/amlbi_main.py\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n",
"messageParameters": {},
"details": []
},
"time": "0001-01-01T00:00:00.000Z",
"componentName": "CommonRuntime"
}
InnerException None
ErrorResponse
{
"error": {
"message": "Activity Failed:\n{\n \"error\": {\n \"code\": \"UserError\",\n \"message\": \"Execution failed. User process 'python' exited with status code 42. Please check log file 'user_logs/std_log_5.txt' for error details. Error: Traceback (most recent call last):\n File \\"driver/amlbi_main.py\\", line 275, in \n main()\n File \\"driver/amlbi_main.py\\", line 226, in main\n sys.exit(exitcode_candidate)\nSystemExit: 42\n\n\",\n \"messageParameters\": {},\n \"details\": []\n },\n \"time\": \"0001-01-01T00:00:00.000Z\",\n \"componentName\": \"CommonRuntime\"\n}"
}
}