utils: increase the FTP timeout#383
Open
rgonzalezfluendo wants to merge 1 commit into1.0from
Open
Conversation
Fix infra issues with the fridge:
```
0:02:20.991012 Recipe 'gst-fluendo-mp3dec-1.0' failed at the build step 'upload_binary'
Traceback (most recent call last):
File "./cerbero/cerbero/build/oven.py", line 249, in _cook_recipe
_run_step(stepfunc, recipe)
File "./cerbero/cerbero/build/oven.py", line 235, in _run_step
stepfunc(*args)
File "./cerbero/cerbero/build/fridge.py", line 275, in upload_binary
self.binaries_remote.upload_binary(fetch_package, self.binaries_local,
File "./cerbero/cerbero/build/fridge.py", line 144, in upload_binary
with Ftp(self.remote, user=self.username, password=self.password) as ftp:
File "./cerbero/cerbero/utils/shell.py", line 506, in __init__
self.ftp.connect(remote.hostname, remote.port or 0)
File "/usr/lib/python3.8/ftplib.py", line 154, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout,
File "/usr/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
```
4e4415a to
95ec5f9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix infra issues with the fridge: