[ 
https://issues.apache.org/jira/browse/FLINK-21334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dian Fu closed FLINK-21334.
---------------------------
    Resolution: Cannot Reproduce

Closing this ticket for now as it hasn't occurred for almost half a year.

> Run kubernetes pyflink application test fails with Connection reset by peer 
> on setup
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-21334
>                 URL: https://issues.apache.org/jira/browse/FLINK-21334
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python, Tests
>    Affects Versions: 1.13.0
>            Reporter: Piotr Nowojski
>            Priority: Minor
>              Labels: auto-deprioritized-major, test-stability
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=13105&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=ff888d9b-cd34-53cc-d90f-3e446d355529
> {noformat}
> 2021-02-08T16:19:26.0554061Z Feb 08 16:19:26 
> ==============================================================================
> 2021-02-08T16:19:26.0554792Z Feb 08 16:19:26 Running 'Run kubernetes pyflink 
> application test'
> 2021-02-08T16:19:26.0555309Z Feb 08 16:19:26 
> ==============================================================================
> (....)
> 2021-02-08T16:22:20.9868739Z Feb 08 16:22:20 Collecting 
> pyarrow<0.18.0,>=0.15.1 (from apache-flink==1.13.dev0)
> 2021-02-08T16:22:21.0637683Z Feb 08 16:22:21   Downloading 
> https://files.pythonhosted.org/packages/9c/2e/793ea698895b6d131546ee1bad995ce6b690695edd8a2e0d3eb9568b0a65/pyarrow-0.17.1-cp37-cp37m-manylinux1_x86_64.whl
>  (64.5MB)
> 2021-02-08T16:22:21.2131155Z Feb 08 16:22:21 Exception:
> 2021-02-08T16:22:21.2131756Z Feb 08 16:22:21 Traceback (most recent call 
> last):
> 2021-02-08T16:22:21.2143148Z Feb 08 16:22:21   File 
> "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py",
>  line 360, in _error_catcher
> 2021-02-08T16:22:21.2143871Z Feb 08 16:22:21     yield
> 2021-02-08T16:22:21.2144799Z Feb 08 16:22:21   File 
> "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py",
>  line 442, in read
> 2021-02-08T16:22:21.2145398Z Feb 08 16:22:21     data = self._fp.read(amt)
> 2021-02-08T16:22:21.2146258Z Feb 08 16:22:21   File 
> "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py",
>  line 60, in read
> 2021-02-08T16:22:21.2146902Z Feb 08 16:22:21     data = self.__fp.read(amt)
> 2021-02-08T16:22:21.2147398Z Feb 08 16:22:21   File 
> "/usr/lib/python3.7/http/client.py", line 457, in read
> 2021-02-08T16:22:21.2147887Z Feb 08 16:22:21     n = self.readinto(b)
> 2021-02-08T16:22:21.2148392Z Feb 08 16:22:21   File 
> "/usr/lib/python3.7/http/client.py", line 501, in readinto
> 2021-02-08T16:22:21.2148869Z Feb 08 16:22:21     n = self.fp.readinto(b)
> 2021-02-08T16:22:21.2149362Z Feb 08 16:22:21   File 
> "/usr/lib/python3.7/socket.py", line 589, in readinto
> 2021-02-08T16:22:21.2149867Z Feb 08 16:22:21     return 
> self._sock.recv_into(b)
> 2021-02-08T16:22:21.2150364Z Feb 08 16:22:21   File 
> "/usr/lib/python3.7/ssl.py", line 1052, in recv_into
> 2021-02-08T16:22:21.2150848Z Feb 08 16:22:21     return self.read(nbytes, 
> buffer)
> 2021-02-08T16:22:21.2151391Z Feb 08 16:22:21   File 
> "/usr/lib/python3.7/ssl.py", line 911, in read
> 2021-02-08T16:22:21.2151900Z Feb 08 16:22:21     return 
> self._sslobj.read(len, buffer)
> 2021-02-08T16:22:21.2152437Z Feb 08 16:22:21 ConnectionResetError: [Errno 
> 104] Connection reset by peer
> 2021-02-08T16:22:21.2152869Z Feb 08 16:22:21 
> 2021-02-08T16:22:21.2153371Z Feb 08 16:22:21 During handling of the above 
> exception, another exception occurred:
> 2021-02-08T16:22:21.2154047Z Feb 08 16:22:21 
> 2021-02-08T16:22:21.2154442Z Feb 08 16:22:21 Traceback (most recent call 
> last):
> 2021-02-08T16:22:21.2155326Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, 
> in main
> 2021-02-08T16:22:21.2156441Z Feb 08 16:22:21     status = self.run(options, 
> args)
> 2021-02-08T16:22:21.2167187Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 338, 
> in run
> 2021-02-08T16:22:21.2167793Z Feb 08 16:22:21     
> resolver.resolve(requirement_set)
> 2021-02-08T16:22:21.2168610Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 102, in 
> resolve
> 2021-02-08T16:22:21.2169187Z Feb 08 16:22:21     
> self._resolve_one(requirement_set, req)
> 2021-02-08T16:22:21.2170026Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 256, in 
> _resolve_one
> 2021-02-08T16:22:21.2170627Z Feb 08 16:22:21     abstract_dist = 
> self._get_abstract_dist_for(req_to_install)
> 2021-02-08T16:22:21.2171509Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 209, in 
> _get_abstract_dist_for
> 2021-02-08T16:22:21.2172063Z Feb 08 16:22:21     self.require_hashes
> 2021-02-08T16:22:21.2172906Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 
> 283, in prepare_linked_requirement
> 2021-02-08T16:22:21.2173495Z Feb 08 16:22:21     
> progress_bar=self.progress_bar
> 2021-02-08T16:22:21.2174286Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 836, in 
> unpack_url
> 2021-02-08T16:22:21.2174843Z Feb 08 16:22:21     progress_bar=progress_bar
> 2021-02-08T16:22:21.2175630Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 673, in 
> unpack_http_url
> 2021-02-08T16:22:21.2176336Z Feb 08 16:22:21     progress_bar)
> 2021-02-08T16:22:21.2177120Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 897, in 
> _download_http_url
> 2021-02-08T16:22:21.2177750Z Feb 08 16:22:21     _download_url(resp, link, 
> content_file, hashes, progress_bar)
> 2021-02-08T16:22:21.2178601Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 617, in 
> _download_url
> 2021-02-08T16:22:21.2179919Z Feb 08 16:22:21     
> hashes.check_against_chunks(downloaded_chunks)
> 2021-02-08T16:22:21.2181094Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/utils/hashes.py", line 48, in 
> check_against_chunks
> 2021-02-08T16:22:21.2181785Z Feb 08 16:22:21     for chunk in chunks:
> 2021-02-08T16:22:21.2182748Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 585, in 
> written_chunks
> 2021-02-08T16:22:21.2183314Z Feb 08 16:22:21     for chunk in chunks:
> 2021-02-08T16:22:21.2184096Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/utils/ui.py", line 159, in iter
> 2021-02-08T16:22:21.2184621Z Feb 08 16:22:21     for x in it:
> 2021-02-08T16:22:21.2185391Z Feb 08 16:22:21   File 
> "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 574, in 
> resp_read
> 2021-02-08T16:22:21.2185952Z Feb 08 16:22:21     decode_content=False):
> 2021-02-08T16:22:21.2186788Z Feb 08 16:22:21   File 
> "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py",
>  line 494, in stream
> 2021-02-08T16:22:21.2187426Z Feb 08 16:22:21     data = self.read(amt=amt, 
> decode_content=decode_content)
> 2021-02-08T16:22:21.2188314Z Feb 08 16:22:21   File 
> "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py",
>  line 459, in read
> 2021-02-08T16:22:21.2188971Z Feb 08 16:22:21     raise 
> IncompleteRead(self._fp_bytes_read, self.length_remaining)
> 2021-02-08T16:22:21.2189532Z Feb 08 16:22:21   File 
> "/usr/lib/python3.7/contextlib.py", line 130, in __exit__
> 2021-02-08T16:22:21.2190041Z Feb 08 16:22:21     self.gen.throw(type, value, 
> traceback)
> 2021-02-08T16:22:21.2191022Z Feb 08 16:22:21   File 
> "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py",
>  line 378, in _error_catcher
> 2021-02-08T16:22:21.2191964Z Feb 08 16:22:21     raise 
> ProtocolError('Connection broken: %r' % e, e)
> 2021-02-08T16:22:21.2192983Z Feb 08 16:22:21 
> urllib3.exceptions.ProtocolError: ("Connection broken: 
> ConnectionResetError(104, 'Connection reset by peer')", 
> ConnectionResetError(104, 'Connection reset by peer'))
> 2021-02-08T16:22:21.7596105Z The command '/bin/sh -c pip3 install 
> apache-flink-1.13.dev0.tar.gz' returned a non-zero code: 2
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to