{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/14701","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/14701/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/14701/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/14701/events","html_url":"https://github.com/pytorch/pytorch/issues/14701","id":386864844,"node_id":"MDU6SXNzdWUzODY4NjQ4NDQ=","number":14701,"title":"Flaky download from download.pytorch.org","user":{"login":"ezyang","id":13564,"node_id":"MDQ6VXNlcjEzNTY0","avatar_url":"https://avatars0.githubusercontent.com/u/13564?v=4","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-03T15:17:26Z","updated_at":"2018-12-05T14:52:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Downloads from download.pytorch.org sometimes fail. Sample:\r\n\r\n```\r\nDec 03 07:21:59 Downloading: \\\"https://download.pytorch.org/models/resnet18-5c106cde.pth\\\" to /var/lib/jenkins/.torch/models/resnet18-5c106cde.pth\r\nDec 03 07:21:59 ERROR\r\nDec 03 07:21:59 test_check_onnx_broadcast (__main__.TestONNXUtils) ... ok\r\nDec 03 07:21:59 test_prepare_onnx_paddings (__main__.TestONNXUtils) ... ok\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 ======================================================================\r\nDec 03 07:21:59 ERROR: setUpClass (__main__.TestHub)\r\nDec 03 07:21:59 ----------------------------------------------------------------------\r\nDec 03 07:21:59 Traceback (most recent call last):\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connection.py\\\", line 171, in _new_conn\r\nDec 03 07:21:59     (self._dns_host, self.port), self.timeout, **extra_kw)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/util/connection.py\\\", line 56, in create_connection\r\nDec 03 07:21:59     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/socket.py\\\", line 745, in getaddrinfo\r\nDec 03 07:21:59     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\r\nDec 03 07:21:59 socket.gaierror: [Errno -3] Temporary failure in name resolution\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 During handling of the above exception, another exception occurred:\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 Traceback (most recent call last):\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connectionpool.py\\\", line 600, in urlopen\r\nDec 03 07:21:59     chunked=chunked)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connectionpool.py\\\", line 343, in _make_request\r\nDec 03 07:21:59     self._validate_conn(conn)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connectionpool.py\\\", line 849, in _validate_conn\r\nDec 03 07:21:59     conn.connect()\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connection.py\\\", line 314, in connect\r\nDec 03 07:21:59     conn = self._new_conn()\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connection.py\\\", line 180, in _new_conn\r\nDec 03 07:21:59     self, \\\"Failed to establish a new connection: %s\\\" % e)\r\nDec 03 07:21:59 urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6a8042080>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 During handling of the above exception, another exception occurred:\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 Traceback (most recent call last):\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/requests/adapters.py\\\", line 445, in send\r\nDec 03 07:21:59     timeout=timeout\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/connectionpool.py\\\", line 638, in urlopen\r\nDec 03 07:21:59     _stacktrace=sys.exc_info()[2])\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/urllib3/util/retry.py\\\", line 398, in increment\r\nDec 03 07:21:59     raise MaxRetryError(_pool, url, error or ResponseError(cause))\r\nDec 03 07:21:59 urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /models/resnet18-5c106cde.pth (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6a8042080>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 During handling of the above exception, another exception occurred:\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 Traceback (most recent call last):\r\nDec 03 07:21:59   File \\\"test_utils.py\\\", line 449, in setUpClass\r\nDec 03 07:21:59     cls.resnet18_pretrained = models.__dict__['resnet18'](pretrained=True).state_dict()\r\nDec 03 07:21:59   File \\\"/var/lib/jenkins/.local/lib/python3.6/site-packages/torchvision/models/resnet.py\\\", line 165, in resnet18\r\nDec 03 07:21:59     model.load_state_dict(model_zoo.load_url(model_urls['resnet18']))\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/torch/utils/model_zoo.py\\\", line 66, in load_url\r\nDec 03 07:21:59     _download_url_to_file(url, cached_file, hash_prefix, progress=progress)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/torch/utils/model_zoo.py\\\", line 72, in _download_url_to_file\r\nDec 03 07:21:59     u = urlopen(url, stream=True)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/requests/api.py\\\", line 72, in get\r\nDec 03 07:21:59     return request('get', url, params=params, **kwargs)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/requests/api.py\\\", line 58, in request\r\nDec 03 07:21:59     return session.request(method=method, url=url, **kwargs)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/requests/sessions.py\\\", line 512, in request\r\nDec 03 07:21:59     resp = self.send(prep, **send_kwargs)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/requests/sessions.py\\\", line 622, in send\r\nDec 03 07:21:59     r = adapter.send(request, **kwargs)\r\nDec 03 07:21:59   File \\\"/opt/conda/lib/python3.6/site-packages/requests/adapters.py\\\", line 513, in send\r\nDec 03 07:21:59     raise ConnectionError(e, request=request)\r\nDec 03 07:21:59 requests.exceptions.ConnectionError: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /models/resnet18-5c106cde.pth (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6a8042080>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 ----------------------------------------------------------------------\r\nDec 03 07:21:59 Ran 16 tests in 29.709s\r\nDec 03 07:21:59 \r\nDec 03 07:21:59 FAILED (errors=1, skipped=3)\r\nDec 03 07:21:59 Traceback (most recent call last):\r\nDec 03 07:21:59   File \\\"test/run_test.py\\\", line 431, in <module>\r\nDec 03 07:21:59     main()\r\nDec 03 07:21:59   File \\\"test/run_test.py\\\", line 423, in main\r\nDec 03 07:21:59     raise RuntimeError(message)\r\nDec 03 07:21:59 RuntimeError: test_utils failed!\r\n```\r\n\r\nLog: https://circleci.com/gh/pytorch/pytorch/347714?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/444512160","html_url":"https://github.com/pytorch/pytorch/issues/14701#issuecomment-444512160","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/14701","id":444512160,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDUxMjE2MA==","user":{"login":"ezyang","id":13564,"node_id":"MDQ6VXNlcjEzNTY0","avatar_url":"https://avatars0.githubusercontent.com/u/13564?v=4","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T14:52:20Z","updated_at":"2018-12-05T14:52:20Z","author_association":"CONTRIBUTOR","body":"https://circleci.com/gh/pytorch/pytorch/368882?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}}
{"actor":{"display_login":"ezyang"}}