python3 bootstrap.py --vcs=git command leads to connection timeout error in ubuntu 20.04 LTS
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Tracking
(Not tracked)
People
(Reporter: abdullah.farwees, Unassigned)
Details
Attachments
(1 file)
|
208.44 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
Steps to reproduce:
Trying to setup the build environment in Ubuntu 20.04 LTS system by following the instructions provided here https://firefox-source-docs.mozilla.org/setup/linux_build.html
Steps to reproduce
- System preparation
- Bootstrap a copy of the Firefox source code
Now enter this command in a terminal python3 bootstrap.py --vcs=git
Actual results:
Below is the terminal output stating "Connection timed out"
Cloning into mozilla-unified using Git...
Destination directory for clone (leave empty to use default destination of mozilla-unified):
Cloning Firefox Git repository to /home/afarwees/mozilla-unified
Could not bootstrap Firefox! Consider filing a bug.
Traceback (most recent call last):
File "/usr/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib/python3.8/http/client.py", line 1418, in connect
super().connect()
File "/usr/lib/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bootstrap.py", line 439, in <module>
sys.exit(main(sys.argv))
File "bootstrap.py", line 406, in main
srcdir = clone(options)
File "bootstrap.py", line 352, in clone
return git_clone_firefox(binary, dest, watchman, head_repo, head_rev)
File "bootstrap.py", line 186, in git_clone_firefox
urlopen(f"{cinnabar_url}/raw/master/download.py"), fh
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 563, in error
result = self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
Expected results:
should work as instructed in the above link.
Comment 1•2 years ago
|
||
As there's not much I can tell about what's going on here, let's set a tentative component for this issue.
| Reporter | ||
Comment 2•2 years ago
|
||
Is this issue reproducible from any developers Ubuntu system or occurring only in my system ?
Comment 3•2 years ago
|
||
(In reply to abdullah.farwees from comment #2)
Is this issue reproducible from any developers Ubuntu system or occurring only in my system ?
I'm not able to reproduce this. I'm guessing this was either a one time issue, or a problem with your network configuration?
Would you mind retrying to see if you can still reproduce it?
Comment 4•2 years ago
|
||
I'll close this as WORKSFORME for now. If you're still encountering this problem, feel free to re-open the bug.
Updated•1 year ago
|
Description
•