Closed Bug 1924055 Opened 2 years ago Closed 2 years ago

Perma Toolchain talos-pdfs TimeoutError: [Errno 110] Connection timed out

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox-esr128 unaffected, firefox131 unaffected, firefox132 unaffected, firefox133 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr128 --- unaffected
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=477814235&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FpptCPbtRuewbZFwYeyIAw/runs/0/artifacts/public/logs/live_backing.log


[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: Copying PDF to output location /builds/worker/talos-pdfs/tracemonkey.pdf
[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: Gathering PDF pdfs/tracemonkey.pdf...
[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: pdfs/tracemonkey.pdf already exists in output location
[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: Gathering PDF pdfs/issue17147.pdf...
[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: Copying PDF to output location /builds/worker/talos-pdfs/issue17147.pdf
[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: Gathering PDF pdfs/issue13130.pdf...
[task 2024-10-11T07:40:45.808Z] fetch-talos-pdf: Downloading from PDF link: https://web.archive.org/web/20210328094625/https://akmer.aikucun.com/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_1616477914120_83.pdf
[task 2024-10-11T07:40:45.808Z] Traceback (most recent call last):
[task 2024-10-11T07:40:45.808Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connection.py", line 174, in _new_conn
[task 2024-10-11T07:40:45.808Z]     conn = connection.create_connection(
[task 2024-10-11T07:40:45.808Z]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.808Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/util/connection.py", line 95, in create_connection
[task 2024-10-11T07:40:45.808Z]     raise err
[task 2024-10-11T07:40:45.808Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/util/connection.py", line 85, in create_connection
[task 2024-10-11T07:40:45.808Z]     sock.connect(sa)
[task 2024-10-11T07:40:45.808Z] TimeoutError: [Errno 110] Connection timed out
[task 2024-10-11T07:40:45.808Z] 
[task 2024-10-11T07:40:45.808Z] During handling of the above exception, another exception occurred:
[task 2024-10-11T07:40:45.808Z] 
[task 2024-10-11T07:40:45.808Z] Traceback (most recent call last):
[task 2024-10-11T07:40:45.808Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connectionpool.py", line 714, in urlopen
[task 2024-10-11T07:40:45.809Z]     httplib_response = self._make_request(
[task 2024-10-11T07:40:45.809Z]                        ^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connectionpool.py", line 403, in _make_request
[task 2024-10-11T07:40:45.809Z]     self._validate_conn(conn)
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connectionpool.py", line 1053, in _validate_conn
[task 2024-10-11T07:40:45.809Z]     conn.connect()
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connection.py", line 363, in connect
[task 2024-10-11T07:40:45.809Z]     self.sock = conn = self._new_conn()
[task 2024-10-11T07:40:45.809Z]                        ^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connection.py", line 179, in _new_conn
[task 2024-10-11T07:40:45.809Z]     raise ConnectTimeoutError(
[task 2024-10-11T07:40:45.809Z] urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7f1ea38375d0>, 'Connection to web.archive.org timed out. (connect timeout=None)')
[task 2024-10-11T07:40:45.809Z] 
[task 2024-10-11T07:40:45.809Z] During handling of the above exception, another exception occurred:
[task 2024-10-11T07:40:45.809Z] 
[task 2024-10-11T07:40:45.809Z] Traceback (most recent call last):
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/requests/requests/adapters.py", line 486, in send
[task 2024-10-11T07:40:45.809Z]     resp = conn.urlopen(
[task 2024-10-11T07:40:45.809Z]            ^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/connectionpool.py", line 798, in urlopen
[task 2024-10-11T07:40:45.809Z]     retries = retries.increment(
[task 2024-10-11T07:40:45.809Z]               ^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/third_party/python/urllib3/urllib3/util/retry.py", line 592, in increment
[task 2024-10-11T07:40:45.809Z]     raise MaxRetryError(_pool, url, error or ResponseError(cause))
[task 2024-10-11T07:40:45.809Z] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='web.archive.org', port=443): Max retries exceeded with url: /web/20210328094625/https://akmer.aikucun.com/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_1616477914120_83.pdf (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1ea38375d0>, 'Connection to web.archive.org timed out. (connect timeout=None)'))
[task 2024-10-11T07:40:45.809Z] 
[task 2024-10-11T07:40:45.809Z] During handling of the above exception, another exception occurred:
[task 2024-10-11T07:40:45.809Z] 
[task 2024-10-11T07:40:45.809Z] Traceback (most recent call last):
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/fetch-talos-pdfs.py", line 120, in <module>
[task 2024-10-11T07:40:45.809Z]     gather_talos_pdfs(pdf_js_repo, output_dir_path)
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/fetch-talos-pdfs.py", line 96, in gather_talos_pdfs
[task 2024-10-11T07:40:45.809Z]     gather_talos_pdf(test_folder, pdf_info, output_dir)
[task 2024-10-11T07:40:45.809Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/fetch-talos-pdfs.py", line 70, in gather_talos_pdf
[task 2024-10-11T07:40:45.810Z]     fetch_talos_pdf_link(
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/fetch-talos-pdfs.py", line 50, in fetch_talos_pdf_link
[task 2024-10-11T07:40:45.810Z]     fetch_file(pdf_link, output_file)
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/redo/redo/__init__.py", line 230, in _retriable_wrapper
[task 2024-10-11T07:40:45.810Z]     return retry(func, args=args, kwargs=kwargs, *retry_args, **retry_kwargs)
[task 2024-10-11T07:40:45.810Z]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/redo/redo/__init__.py", line 185, in retry
[task 2024-10-11T07:40:45.810Z]     return action(*args, **kwargs)
[task 2024-10-11T07:40:45.810Z]            ^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/fetch-talos-pdfs.py", line 34, in fetch_file
[task 2024-10-11T07:40:45.810Z]     r = requests.get(url, stream=True)
[task 2024-10-11T07:40:45.810Z]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/requests/requests/api.py", line 73, in get
[task 2024-10-11T07:40:45.810Z]     return request("get", url, params=params, **kwargs)
[task 2024-10-11T07:40:45.810Z]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/requests/requests/api.py", line 59, in request
[task 2024-10-11T07:40:45.810Z]     return session.request(method=method, url=url, **kwargs)
[task 2024-10-11T07:40:45.810Z]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/requests/requests/sessions.py", line 589, in request
[task 2024-10-11T07:40:45.810Z]     resp = self.send(prep, **send_kwargs)
[task 2024-10-11T07:40:45.810Z]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/requests/requests/sessions.py", line 703, in send
[task 2024-10-11T07:40:45.810Z]     r = adapter.send(request, **kwargs)
[task 2024-10-11T07:40:45.810Z]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-10-11T07:40:45.810Z]   File "/builds/worker/workspace/build/src/third_party/python/requests/requests/adapters.py", line 507, in send
[task 2024-10-11T07:40:45.810Z]     raise ConnectTimeout(e, request=request)
[task 2024-10-11T07:40:45.810Z] requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='web.archive.org', port=443): Max retries exceeded with url: /web/20210328094625/https://akmer.aikucun.com/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_1616477914120_83.pdf (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1ea38375d0>, 'Connection to web.archive.org timed out. (connect timeout=None)'))
[task 2024-10-11T07:40:45.837Z] Creating default state directory: /builds/worker/.mozbuild
[task 2024-10-11T07:40:45.837Z] Creating local state directory: /builds/worker/.mozbuild/srcdirs/src-6db0bb8b1edd
[taskcluster 2024-10-11 07:40:46.122Z] === Task Finished ===
[taskcluster 2024-10-11 07:40:46.136Z] Artifact "public/build" not found at "/builds/worker/artifacts/": (HTTP code 404) no such container - Could not find the file /builds/worker/artifacts/ in container b546767fe25a8993c170e235a9e42a7c079424bedce4d4d7752379058728426d 
[taskcluster 2024-10-11 07:40:46.195Z] Unsuccessful task run with exit code: 1 completed in 1392.389 seconds
Flags: needinfo?(mh+mozilla)

hi could you please take a look?

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Toolchains
Flags: needinfo?(cdenizet)
Keywords: regression
Regressed by: 1923598

Set release status flags based on info from the regressing bug 1923598

It isn't a regression: the pdf.js update just triggered an update of the artifact containing the pdfs for the talos tests.
:sparky, we should avoid to download again the files we already have in the previous artifact and when a download fail we should retry and after few tries just skip the file until the next update, wdyt ?

Flags: needinfo?(mh+mozilla)
Flags: needinfo?(gmierz2)
Flags: needinfo?(cdenizet)
Keywords: regression
No longer regressed by: 1923598

I've been discussing this issue with :calixte on Slack.

Flags: needinfo?(gmierz2)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE

(In reply to Greg Mierzwinski [:sparky] from comment #9)

I've been discussing this issue with :calixte on Slack.

What was the outcome of this discussion? These failures are still happening on ESR128.

EDIT: And it seems like we might be able to just delete this toolchain from ESR128?

Flags: needinfo?(gmierz2)

Someone will need to implement the checks for the talos toolchains. I noticed that we didn't have a bug filed for this so I filed this one: bug 1959106

I agree with disabling it on ESR128 though.

Flags: needinfo?(gmierz2)

Sounds good, I'll do that in bug 1942148.

See Also: → 1942148
You need to log in before you can comment on or make changes to this bug.