Skip to content
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

[ONNX CI] TestCaffe2End2End.test_squeezenet occasional error #14670

Closed
ssnl opened this issue Dec 1, 2018 · 1 comment
Closed

[ONNX CI] TestCaffe2End2End.test_squeezenet occasional error #14670

ssnl opened this issue Dec 1, 2018 · 1 comment
Labels

Comments

@ssnl
Copy link
Collaborator

ssnl commented Dec 1, 2018

due to network failure

e.g., https://ci.pytorch.org/jenkins/job/caffe2-builds/job/py2-devtoolset7-rocmrpm-centos7.5-test/1240/console

15:07:18 =================================== FAILURES ===================================
15:07:18 ______________________ TestCaffe2End2End.test_squeezenet _______________________
15:07:18 
15:07:18 self = <caffe2.python.onnx.tests.c2_ref_test.TestCaffe2End2End testMethod=test_squeezenet>
15:07:18 
15:07:18     def test_squeezenet(self):
15:07:18 >       self._test_net('squeezenet')
15:07:18 
15:07:18 /usr/local/caffe2/lib/python2.7/site-packages/caffe2/python/onnx/tests/c2_ref_test.py:650: 
15:07:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
15:07:18 /usr/local/caffe2/lib/python2.7/site-packages/caffe2/python/onnx/tests/c2_ref_test.py:597: in _test_net
15:07:18     self._download(net_name)
15:07:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
15:07:18 
15:07:18 self = <caffe2.python.onnx.tests.c2_ref_test.TestCaffe2End2End testMethod=test_squeezenet>
15:07:18 model = 'squeezenet'
15:07:18 
15:07:18     def _download(self, model):
15:07:18         model_dir = self._model_dir(model)
15:07:18         assert not os.path.exists(model_dir)
15:07:18         os.makedirs(model_dir)
15:07:18         for f in ['predict_net.pb', 'init_net.pb', 'value_info.json']:
15:07:18             url = getURLFromName(model, f)
15:07:18             dest = os.path.join(model_dir, f)
15:07:18             try:
15:07:18                 try:
15:07:18                     downloadFromURLToFile(url, dest,
15:07:18                                           show_progress=False)
15:07:18                 except TypeError:
15:07:18                     # show_progress not supported prior to
15:07:18                     # Caffe2 78c014e752a374d905ecfb465d44fa16e02a28f1
15:07:18                     # (Sep 17, 2017)
15:07:18                     downloadFromURLToFile(url, dest)
15:07:18             except Exception as e:
15:07:18                 print("Abort: {reason}".format(reason=e))
15:07:18                 print("Cleaning up...")
15:07:18                 deleteDirectory(model_dir)
15:07:18 >               raise AssertionError("Test model downloading failed")
15:07:18 E               AssertionError: Test model downloading failed
15:07:18 
15:07:18 /usr/local/caffe2/lib/python2.7/site-packages/caffe2/python/onnx/tests/test_utils.py:57: AssertionError
15:07:18 ----------------------------- Captured stdout call -----------------------------
15:07:18 Downloading from https://s3.amazonaws.com/download.caffe2.ai/models/squeezenet/predict_net.pb
15:07:18 Writing to /var/lib/jenkins/.caffe2/models/squeezenet/predict_net.pb
15:07:18 
15:07:18 Downloading from https://s3.amazonaws.com/download.caffe2.ai/models/squeezenet/init_net.pb
15:07:18 Writing to /var/lib/jenkins/.caffe2/models/squeezenet/init_net.pb
15:07:18 Abort: [Errno 104] Connection reset by peer
15:07:18 Cleaning up...
15:07:18  generated xml file: /var/lib/jenkins/workspace/caffe2_tests/python/result.xml -
@pytorchbot pytorchbot added caffe2 module: onnx Related to torch.onnx labels Dec 1, 2018
@bddppq
Copy link
Contributor

bddppq commented Dec 7, 2018

#14228 should alleviate this issue @houseroad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants