Closed Bug 1723877 Opened 3 years ago Closed 3 months ago

Intermittent ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2488)

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect, P5)

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[vcs 2021-08-03T23:51:49.713Z] ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2488)
[vcs 2021-08-03T23:51:49.713Z] 
[vcs 2021-08-03T23:51:49.713Z] During handling of the above exception, another exception occurred:
[vcs 2021-08-03T23:51:49.713Z] 
[vcs 2021-08-03T23:51:49.713Z] Traceback (most recent call last):
[vcs 2021-08-03T23:51:49.713Z]   File "/usr/bin/hg", line 59, in <module>
[vcs 2021-08-03T23:51:49.713Z]     dispatch.run()
[vcs 2021-08-03T23:51:49.713Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in run
[vcs 2021-08-03T23:51:49.713Z]     status = dispatch(req)
[vcs 2021-08-03T23:51:49.713Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 250, in dispatch
[vcs 2021-08-03T23:51:49.713Z]     status = _rundispatch(req)
[vcs 2021-08-03T23:51:49.713Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 294, in _rundispatch
[vcs 2021-08-03T23:51:49.713Z]     ret = _runcatch(req) or 0
[vcs 2021-08-03T23:51:49.713Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 470, in _runcatch
[vcs 2021-08-03T23:51:49.714Z]     return _callcatch(ui, _runcatchfunc)
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 480, in _callcatch
[vcs 2021-08-03T23:51:49.714Z]     return scmutil.callcatch(ui, func)
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 155, in callcatch
[vcs 2021-08-03T23:51:49.714Z]     return func()
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 460, in _runcatchfunc
[vcs 2021-08-03T23:51:49.714Z]     return _dispatch(req)
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1264, in _dispatch
[vcs 2021-08-03T23:51:49.714Z]     lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 918, in runcommand
[vcs 2021-08-03T23:51:49.714Z]     ret = _runcommand(ui, options, cmd, d)
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1275, in _runcommand
[vcs 2021-08-03T23:51:49.714Z]     return cmdfunc()
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1261, in <lambda>
[vcs 2021-08-03T23:51:49.714Z]     d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
[vcs 2021-08-03T23:51:49.714Z]   File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1884, in check
[vcs 2021-08-03T23:51:49.715Z]     return func(*args, **kwargs)
[vcs 2021-08-03T23:51:49.715Z]   File "/usr/local/mercurial/robustcheckout.py", line 215, in robustcheckout
[vcs 2021-08-03T23:51:49.715Z]     noupdate=noupdate,
[vcs 2021-08-03T23:51:49.715Z]   File "/usr/local/mercurial/robustcheckout.py", line 619, in _docheckout
[vcs 2021-08-03T23:51:49.715Z]     if handlepullerror(e):
[vcs 2021-08-03T23:51:49.715Z]   File "/usr/local/mercurial/robustcheckout.py", line 498, in handlepullerror
[vcs 2021-08-03T23:51:49.715Z]     ui.warn(b"ssl error: %s\n" % e)
[vcs 2021-08-03T23:51:49.715Z] TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'ssl.SSLError'
[taskcluster 2021-08-03 23:51:50.091Z] === Task Finished ===
[taskcluster 2021-08-03 23:51:50.191Z] Artifact "public/logs" not found at "/builds/worker/logs/"
[taskcluster 2021-08-03 23:51:50.279Z] Artifact "public/build" not found at "/builds/worker/artifacts/"
[taskcluster 2021-08-03 23:51:50.371Z] Unsuccessful task run with exit code: 1 completed in 3.775 seconds
Component: General → Mercurial: hg.mozilla.org
Product: Firefox Build System → Developer Services
See Also: → 1723878
See Also: 1723878

Looks like there are two issues here: an SSL error while connecting to S3 to download a clonebundle, and a formatting error in robustcheckout while printing details of the SSL error. I'll file a separate bug to address the latter issue.

See Also: → 1723985
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.