aws / aws/amazon-sagemaker-examples

hello_world_workflow.ipynb failed CI

Open
#2,432 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/step-functions-data-science-sdk/hello_world_workflow/hello_world_workflow.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [7]":
---------------------------------------------------------------------------
InvalidArn Traceback (most recent call last)
in
----> 1 basic_workflow.create()

/opt/conda/lib/python3.7/site-packages/stepfunctions/workflow/stepfunctions.py in create(self)
203
204 try:
--> 205 self.state_machine_arn = self._create()
206 except self.client.exceptions.StateMachineAlreadyExists as e:
207 self.state_machine_arn = self._extract_state_machine_arn(e)

/opt/conda/lib/python3.7/site-packages/stepfunctions/workflow/stepfunctions.py in _create(self)
215 definition=self.definition.to_json(pretty=self.format_json),
216 rol

[...]

InvalidArn: An error occurred (InvalidArn) when calling the CreateStateMachine operation: Invalid Role Arn: ''

Contributor guide

Open the contributing guide

Research direction

Open step-functions-data-science-sdk/hello_world_workflow/hello_world_workflow.ipynb and inspect the code around cell In [7], where basic_workflow.create() fails. Reproduce the CI run and trace the InvalidArn error for the CreateStateMachine operation; done means the notebook workflow executes successfully in CI without the invalid role ARN error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
ci-cd, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.