Pass SIGTERM to training subprocess
feature: Pass SIGTERM to training subprocess fix: #125
Issue #, if available:
125
Description of changes:
Install SIGTERM handler and send_signal to subprocess
Testing done:
"Stop" button in console triggers handler in training script
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General
- [x] I have read the CONTRIBUTING doc
- [x] I used the commit message format described in CONTRIBUTING
- [x] I have used the regional endpoint when creating S3 and/or STS clients (if appropriate)
- [x] I have updated any necessary documentation, including READMEs
Tests
- [x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
- [x] I have checked that my tests are not configured for a specific region or account (if appropriate)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: 5d0ebcb9b5127378b280c5f85be17ec8b022ddc8
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: 01ab15ce86ae4a70397f0c2d25e267422897f50b
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: 09e92dde0099f495e03a6098af528b305b850ac6
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: b660eff3f49776608acee93710dac6295a8571d2
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: 6be5ccad5f456a42ab0b17a1db67e8f9d98b1cc6
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: dd01bcbd48b11c346d07086f91b9ec4e06b2466b
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: c55a507fb0a535271f22a6dcbd07d08af81c1248
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: 23f70a07de405ae654080115b224ba1634adeb35
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-training-toolkit-pr
- Commit ID: 73d9b25f2b59d15130f5b3477704950d0a0a557b
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository