aws / aws/amazon-sagemaker-examples
mxnet_gcmc.ipynb failed CI
- 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/sagemaker-python-sdk/dgl_gcmc/mxnet_gcmc.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [4]":
-----------------------------
[...]
CalledProcessError: Command 'b'account=$(aws sts get-caller-identity --query Account --output text)\necho $account\nregion=$(aws configure get region)\n\ndocker_name=sagemaker-dgl-gcmc\n\n$(aws ecr get-login --no-include-email --region ${region} --registry-ids 763104351884)\ndocker build -t $docker_name -f GCMC.Dockerfile .\n\n# Get the login command from ECR and execute it directly\n$(aws ecr get-login --region ${region} --no-include-email)\n\nfullname="${account}.dkr.ecr.${region}.amazonaws.com/${docker_name}:latest"\n# If the repository doesn\'t exist in ECR, create it.\naws ecr describe-repositories --repository-names "${docker_name}" > /dev/null 2>&1\nif [ $? -ne 0 ]\nthen\n aws ecr create-repository --repository-name "${docker_name}" > /dev/null\nfi\n\ndocker tag ${docker_name} ${fullname}\n\ndocker push ${fullname}\n'' returned non-zero exit status 1.
Contributor guide
Research direction
Start with sagemaker-python-sdk/dgl_gcmc/mxnet_gcmc.ipynb, especially cell In [4], and inspect the AWS CLI and Docker commands shown in the failure. Reproduce the CI error in the notebook's environment and determine why the command exits with status 1; done means the notebook completes successfully in CI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, jupyter-notebook, shell
- Domain
- ci-cd, cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100