-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tests/integ failed #35
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
Comments
Hi @anfeng , That integration test trains on two ml.p2.xlarge instances, but your AWS account currently has a limit of zero ml.p2.xlarge instances:
You can request a limit increase through AWS support. Or you can modify the integration test to use a different instance type, like ml.m4.xlarge. Thanks for using Amazon SageMaker! Please let us know if you have more questions. |
…+ new Python SDK protobuf conversion (aws#35)
Integration tests for MXNetProcessor and PyTorchProcessor
I am trying to follow README. While unit tests work fine, I got the following errors at integration tests. Any suggestion?
`$ tox tests/integ
GLOB sdist-make: /Users/andyfeng/dev/sagemaker-python-sdk/setup.py
py27 inst-nodeps: /Users/andyfeng/dev/sagemaker-python-sdk/.tox/dist/sagemaker-1.0.1.zip
py27 installed: apipkg==1.4,attrs==17.4.0,backports.weakref==1.0.post1,bleach==1.5.0,boto3==1.5.7,botocore==1.8.21,contextlib2==0.5.5,coverage==4.4.2,docutils==0.14,enum34==1.1.6,execnet==1.5.0,funcsigs==1.0.2,futures==3.2.0,html5lib==0.9999999,jmespath==0.9.3,Markdown==2.6.10,mock==2.0.0,numpy==1.13.3,pbr==3.1.1,pluggy==0.6.0,protobuf==3.5.1,py==1.5.2,pytest==3.3.1,pytest-cov==2.5.1,pytest-forked==0.2,pytest-xdist==1.21.0,python-dateutil==2.6.1,s3transfer==0.1.12,sagemaker==1.0.1,scipy==1.0.0,six==1.11.0,teamcity-messages==1.21,tensorflow==1.4.1,tensorflow-tensorboard==0.4.0rc3,Werkzeug==0.14
py27 runtests: PYTHONHASHSEED='3746448766'
py27 runtests: commands[0] | pytest tests/integ
================================================================ test session starts =================================================================
platform darwin -- Python 2.7.14, pytest-3.3.1, py-1.5.2, pluggy-0.6.0 -- /Users/andyfeng/dev/sagemaker-python-sdk/.tox/py27/bin/python2.7
cachedir: .cache
rootdir: /Users/andyfeng/dev/sagemaker-python-sdk, inifile: setup.cfg
plugins: teamcity-messages-1.21, xdist-1.21.0, forked-0.2, cov-2.5.1
collected 7 items
tests/integ/test_kmeans.py::test_kmeans FAILED [ 14%]
tests/integ/test_linear_learner.py::test_linear_learner FAILED [ 28%]
tests/integ/test_mxnet_train.py::test_attach_deploy ERROR [ 42%]
tests/integ/test_mxnet_train.py::test_deploy_model ERROR [ 57%]
tests/integ/test_pca.py::test_pca FAILED [ 71%]
tests/integ/test_tf.py::test_tf FAILED [ 85%]
tests/integ/test_tf_cifar.py::test_cifar FAILED [100%]
=================================================================================== ERRORS ===================================================================================
____________________________________________________________________ ERROR at setup of test_attach_deploy ____________________________________________________________________
sagemaker_session = <sagemaker.session.Session object at 0x10f20b890>
tests/integ/test_mxnet_train.py:47:
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:517: in fit
super(Framework, self).fit(inputs, wait, logs, self._current_job_name)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:154: in fit
self.latest_training_job.wait(logs=logs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:323: in wait
self.sagemaker_session.logs_for_job(self.job_name, wait=True)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:647: in logs_for_job
self._check_job_status(job_name, description)
self = <sagemaker.session.Session object at 0x10f20b890>, job = 'sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859'
desc = {'AlgorithmSpecification': {'TrainingImage': '520713654638.dkr.ecr.us-west-2.amazonaws.com/sagemaker-mxnet-py2-cpu:1.0...sagemaker_job_name': '"sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859"', 'sagemaker_program': '"mnist.py"', ...}, ...}
E ValueError: Error training sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859: Failed Reason: ClientError: SageMaker was unable to assume the role 'arn:aws:iam::379899735384:role/SageMakerRole'
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:390: ValueError
--------------------------------------------------------------------------- Captured stdout setup ----------------------------------------------------------------------------
..........................
--------------------------------------------------------------------------- Captured stderr setup ----------------------------------------------------------------------------
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:sagemaker:Creating training-job with name: sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
----------------------------------------------------------------------------- Captured log setup -----------------------------------------------------------------------------
credentials.py 1031 INFO Found credentials in shared credentials file: ~/.aws/credentials
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
session.py 237 INFO Creating training-job with name: sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859
connectionpool.py 735 INFO Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
____________________________________________________________________ ERROR at setup of test_deploy_model _____________________________________________________________________
sagemaker_session = <sagemaker.session.Session object at 0x10f20b890>
tests/integ/test_mxnet_train.py:47:
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:517: in fit
super(Framework, self).fit(inputs, wait, logs, self._current_job_name)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:154: in fit
self.latest_training_job.wait(logs=logs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:323: in wait
self.sagemaker_session.logs_for_job(self.job_name, wait=True)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:647: in logs_for_job
self._check_job_status(job_name, description)
self = <sagemaker.session.Session object at 0x10f20b890>, job = 'sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859'
desc = {'AlgorithmSpecification': {'TrainingImage': '520713654638.dkr.ecr.us-west-2.amazonaws.com/sagemaker-mxnet-py2-cpu:1.0...sagemaker_job_name': '"sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859"', 'sagemaker_program': '"mnist.py"', ...}, ...}
E ValueError: Error training sagemaker-mxnet-py2-cpu-2018-01-01-03-36-55-859: Failed Reason: ClientError: SageMaker was unable to assume the role 'arn:aws:iam::379899735384:role/SageMakerRole'
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:390: ValueError
================================================================================== FAILURES ==================================================================================
________________________________________________________________________________ test_kmeans _________________________________________________________________________________
tests/integ/test_kmeans.py:51:
.tox/py27/lib/python2.7/site-packages/sagemaker/amazon/amazon_estimator.py:96: in fit
super(AmazonAlgorithmEstimatorBase, self).fit(data, **kwargs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:154: in fit
self.latest_training_job.wait(logs=logs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:323: in wait
self.sagemaker_session.logs_for_job(self.job_name, wait=True)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:647: in logs_for_job
self._check_job_status(job_name, description)
self = <sagemaker.session.Session object at 0x10f2c4e50>, job = 'test-kmeans-2018-01-01-03-32-56-860'
desc = {'AlgorithmSpecification': {'TrainingImage': '174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1', 'TrainingInputMo... 'HyperParameters': {'epochs': '1', 'extra_center_factor': '1', 'feature_dim': '784', 'force_dense': 'True', ...}, ...}
E ValueError: Error training test-kmeans-2018-01-01-03-32-56-860: Failed Reason: ClientError: SageMaker was unable to assume the role 'arn:aws:iam::379899735384:role/SageMakerRole'
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:390: ValueError
---------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------
....................
---------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:sagemaker:Created S3 bucket: sagemaker-us-west-2-379899735384
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:sagemaker:Creating training-job with name: test-kmeans-2018-01-01-03-32-56-860
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
----------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------
credentials.py 1031 INFO Found credentials in shared credentials file: ~/.aws/credentials
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
session.py 163 INFO Created S3 bucket: sagemaker-us-west-2-379899735384
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
session.py 237 INFO Creating training-job with name: test-kmeans-2018-01-01-03-32-56-860
connectionpool.py 735 INFO Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
____________________________________________________________________________ test_linear_learner _____________________________________________________________________________
tests/integ/test_linear_learner.py:74:
.tox/py27/lib/python2.7/site-packages/sagemaker/amazon/amazon_estimator.py:96: in fit
super(AmazonAlgorithmEstimatorBase, self).fit(data, **kwargs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:154: in fit
self.latest_training_job.wait(logs=logs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:323: in wait
self.sagemaker_session.logs_for_job(self.job_name, wait=True)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:647: in logs_for_job
self._check_job_status(job_name, description)
self = <sagemaker.session.Session object at 0x113a8c450>, job = 'test-linear-learner-2018-01-01-03-34-54-936'
desc = {'AlgorithmSpecification': {'TrainingImage': '174872318107.dkr.ecr.us-west-2.amazonaws.com/linear-learner:1', 'Trainin...ta_1': '0.1', 'binary_classifier_model_selection_criteria': 'accuracy', 'epochs': '1', 'feature_dim': '784', ...}, ...}
E ValueError: Error training test-linear-learner-2018-01-01-03-34-54-936: Failed Reason: ClientError: SageMaker was unable to assume the role 'arn:aws:iam::379899735384:role/SageMakerRole'
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:390: ValueError
---------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------
....................
---------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:sagemaker:Creating training-job with name: test-linear-learner-2018-01-01-03-34-54-936
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
----------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------
credentials.py 1031 INFO Found credentials in shared credentials file: ~/.aws/credentials
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
session.py 237 INFO Creating training-job with name: test-linear-learner-2018-01-01-03-34-54-936
connectionpool.py 735 INFO Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
__________________________________________________________________________________ test_pca __________________________________________________________________________________
tests/integ/test_pca.py:44:
.tox/py27/lib/python2.7/site-packages/sagemaker/amazon/amazon_estimator.py:96: in fit
super(AmazonAlgorithmEstimatorBase, self).fit(data, **kwargs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:154: in fit
self.latest_training_job.wait(logs=logs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:323: in wait
self.sagemaker_session.logs_for_job(self.job_name, wait=True)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:647: in logs_for_job
self._check_job_status(job_name, description)
self = <sagemaker.session.Session object at 0x113c51ed0>, job = 'test-pca-2018-01-01-03-39-15-456'
desc = {'AlgorithmSpecification': {'TrainingImage': '174872318107.dkr.ecr.us-west-2.amazonaws.com/pca:1', 'TrainingInputMode'...': {'algorithm_mode': 'randomized', 'extra_components': '5', 'feature_dim': '784', 'mini_batch_size': '100', ...}, ...}
E ValueError: Error training test-pca-2018-01-01-03-39-15-456: Failed Reason: ClientError: SageMaker was unable to assume the role 'arn:aws:iam::379899735384:role/SageMakerRole'
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:390: ValueError
---------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------
....................
---------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:sagemaker:Creating training-job with name: test-pca-2018-01-01-03-39-15-456
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
----------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------
credentials.py 1031 INFO Found credentials in shared credentials file: ~/.aws/credentials
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
session.py 237 INFO Creating training-job with name: test-pca-2018-01-01-03-39-15-456
connectionpool.py 735 INFO Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
__________________________________________________________________________________ test_tf ___________________________________________________________________________________
sagemaker_session = <sagemaker.session.Session object at 0x1134ce350>
tests/integ/test_tf.py:44:
.tox/py27/lib/python2.7/site-packages/sagemaker/tensorflow/estimator.py:166: in fit
fit_super()
.tox/py27/lib/python2.7/site-packages/sagemaker/tensorflow/estimator.py:154: in fit_super
super(TensorFlow, self).fit(inputs, wait, logs, job_name)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:517: in fit
super(Framework, self).fit(inputs, wait, logs, self._current_job_name)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:154: in fit
self.latest_training_job.wait(logs=logs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:323: in wait
self.sagemaker_session.logs_for_job(self.job_name, wait=True)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:647: in logs_for_job
self._check_job_status(job_name, description)
self = <sagemaker.session.Session object at 0x1134ce350>, job = 'test-tf-2018-01-01-03-41-00-415'
desc = {'AlgorithmSpecification': {'TrainingImage': '520713654638.dkr.ecr.us-west-2.amazonaws.com/sagemaker-tensorflow-py2-cp...ckpoints"', 'evaluation_steps': '1', 'input_tensor_name': '"inputs"', 'sagemaker_container_log_level': '20', ...}, ...}
E ValueError: Error training test-tf-2018-01-01-03-41-00-415: Failed Reason: ClientError: SageMaker was unable to assume the role 'arn:aws:iam::379899735384:role/SageMakerRole'
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:390: ValueError
--------------------------------------------------------------------------- Captured stderr setup ----------------------------------------------------------------------------
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
----------------------------------------------------------------------------- Captured log setup -----------------------------------------------------------------------------
credentials.py 1031 INFO Found credentials in shared credentials file: ~/.aws/credentials
---------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------
....................
---------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:sagemaker:Creating training-job with name: test-tf-2018-01-01-03-41-00-415
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Resetting dropped connection: logs.us-west-2.amazonaws.com
----------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
session.py 237 INFO Creating training-job with name: test-tf-2018-01-01-03-41-00-415
connectionpool.py 735 INFO Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
connectionpool.py 238 INFO Resetting dropped connection: logs.us-west-2.amazonaws.com
_________________________________________________________________________________ test_cifar _________________________________________________________________________________
sagemaker_session = <sagemaker.session.Session object at 0x1150fd850>
tests/integ/test_tf_cifar.py:54:
.tox/py27/lib/python2.7/site-packages/sagemaker/tensorflow/estimator.py:166: in fit
fit_super()
.tox/py27/lib/python2.7/site-packages/sagemaker/tensorflow/estimator.py:154: in fit_super
super(TensorFlow, self).fit(inputs, wait, logs, job_name)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:517: in fit
super(Framework, self).fit(inputs, wait, logs, self._current_job_name)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:152: in fit
self.latest_training_job = _TrainingJob.start_new(self, inputs)
.tox/py27/lib/python2.7/site-packages/sagemaker/estimator.py:263: in start_new
hyperparameters=hyperparameters, stop_condition=stop_condition)
.tox/py27/lib/python2.7/site-packages/sagemaker/session.py:239: in train
self.sagemaker_client.create_training_job(**train_request)
.tox/py27/lib/python2.7/site-packages/botocore/client.py:317: in _api_call
return self._make_api_call(operation_name, kwargs)
self = <botocore.client.SageMaker object at 0x1147f4210>, operation_name = 'CreateTrainingJob'
api_params = {'AlgorithmSpecification': {'TrainingImage': '520713654638.dkr.ecr.us-west-2.amazonaws.com/sagemaker-tensorflow-py2-gp...-2-379899735384/data/cifar10'}}}], 'OutputDataConfig': {'S3OutputPath': 's3://sagemaker-us-west-2-379899735384/'}, ...}
E ResourceLimitExceeded: An error occurred (ResourceLimitExceeded) when calling the CreateTrainingJob operation: The account-level service limit for training-job/ml.p2.xlarge is 0 Instances, with current utilization of 0 Instances and a request delta of 2 Instances. Please contact AWS support to request an increase for this limit.
.tox/py27/lib/python2.7/site-packages/botocore/client.py:615: ResourceLimitExceeded
--------------------------------------------------------------------------- Captured stderr setup ----------------------------------------------------------------------------
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
----------------------------------------------------------------------------- Captured log setup -----------------------------------------------------------------------------
credentials.py 1031 INFO Found credentials in shared credentials file: ~/.aws/credentials
---------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sts.amazonaws.com
INFO:sagemaker:Creating training-job with name: test-cifar-2018-01-01-03-42-43-090
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
----------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): s3.us-west-2.amazonaws.com
connectionpool.py 735 INFO Starting new HTTPS connection (1): sts.amazonaws.com
session.py 237 INFO Creating training-job with name: test-cifar-2018-01-01-03-42-43-090
connectionpool.py 735 INFO Starting new HTTPS connection (1): sagemaker.us-west-2.amazonaws.com
==================================================================== 5 failed, 2 error in 599.21 seconds =====================================================================
ERROR: InvocationError: '/Users/andyfeng/dev/sagemaker-python-sdk/.tox/py27/bin/pytest tests/integ'`
The text was updated successfully, but these errors were encountered: