You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Adam Faris (JIRA)" <ji...@apache.org> on 2017/02/23 20:38:44 UTC
[jira] [Comment Edited] (YETUS-460) RDM should handle connection
reset by peer
[ https://issues.apache.org/jira/browse/YETUS-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881213#comment-15881213 ]
Adam Faris edited comment on YETUS-460 at 2/23/17 8:37 PM:
-----------------------------------------------------------
I'm at a loss why this patch failed the pre-commit check. When I ran test-patch locally, it passed. [~ajayyadava] Feel free to do what's required. Thanks
{noformat}
Total Elapsed time: 0m 09s
+1 overall
____ _
/ ___| _ _ ___ ___ ___ ___ ___| |
\___ \| | | |/ __/ __/ _ \/ __/ __| |
___) | |_| | (_| (_| __/\__ \__ \_|
|____/ \__,_|\___\___\___||___/___(_)
| Vote | Subsystem | Runtime | Comment
============================================================================
| +1 | @author | 0m 00s | The patch does not contain any @author
| | | | tags.
| +1 | pylint | 0m 08s | There were no new pylint issues.
| +1 | whitespace | 0m 00s | The patch has no whitespace issues.
| | | 0m 09s |
|| Subsystem || Report/Notes ||
============================================================================
| Optional Tests | pylint |
| uname | Darwin Adams-MacBook-Air.local 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64 |
| Build tool | nobuild |
| git revision | master / ab902e2 |
| pylint | v1.6.4 |
| modules | C: . U: . |
| Powered by | Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org |
...
{noformat}
was (Author: farisa):
I'm at a loss why this patch failed the pre-commit check. When I ran test-patch locally, it passed. @ajayyadava Feel free to do what's required. Thanks
{noformat}
Total Elapsed time: 0m 09s
+1 overall
____ _
/ ___| _ _ ___ ___ ___ ___ ___| |
\___ \| | | |/ __/ __/ _ \/ __/ __| |
___) | |_| | (_| (_| __/\__ \__ \_|
|____/ \__,_|\___\___\___||___/___(_)
| Vote | Subsystem | Runtime | Comment
============================================================================
| +1 | @author | 0m 00s | The patch does not contain any @author
| | | | tags.
| +1 | pylint | 0m 08s | There were no new pylint issues.
| +1 | whitespace | 0m 00s | The patch has no whitespace issues.
| | | 0m 09s |
|| Subsystem || Report/Notes ||
============================================================================
| Optional Tests | pylint |
| uname | Darwin Adams-MacBook-Air.local 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64 |
| Build tool | nobuild |
| git revision | master / ab902e2 |
| pylint | v1.6.4 |
| modules | C: . U: . |
| Powered by | Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org |
...
{noformat}
> RDM should handle connection reset by peer
> ------------------------------------------
>
> Key: YETUS-460
> URL: https://issues.apache.org/jira/browse/YETUS-460
> Project: Yetus
> Issue Type: Bug
> Components: Release Doc Maker
> Reporter: Allen Wittenauer
> Assignee: Adam Faris
> Fix For: 0.5.0
>
> Attachments: YETUS-460.00.patch, YETUS-460.01.patch, YETUS-460.02.patch, YETUS-460.03.patch, YETUS-460.04.patch, YETUS-460.05.patch, YETUS-460.06.patch, YETUS-460.07.patch
>
>
> When a connection reset by peer error happens, we get a python stack trace. We should handle that better.
> {code}
> Traceback (most recent call last):
> File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 907, in <module>
> main()
> File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 748, in main
> jlist = sorted(JiraIter(vstr, projects))
> File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 400, in __init__
> self.jiras = JiraIter.collect_jiras(ver, projects)
> File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 379, in collect_jiras
> data = JiraIter.query_jira(ver, projects, pos)
> File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 330, in query_jira
> return JiraIter.load_jira(params, 0)
> File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 337, in load_jira
> params)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
> return opener.open(url, data, timeout)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
> response = self._open(req, data)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
> '_open', req)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
> result = func(*args)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
> context=self._context)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1201, in do_open
> r = h.getresponse(buffering=True)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1136, in getresponse
> response.begin()
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 453, in begin
> version, status, reason = self._read_status()
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 409, in _read_status
> line = self.fp.readline(_MAXLINE + 1)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 480, in readline
> data = self._sock.recv(self._rbufsize)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 756, in recv
> return self.read(buflen)
> File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 643, in read
> v = self._sslobj.read(len)
> socket.error: [Errno 54] Connection reset by peer
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)