Open Bug 1569946 Opened 6 years ago Updated 4 years ago

Intermittent OSError: [Errno 2] No such file or directory: <test-path> | robustcheckout.py failures

Categories

(Developer Services :: Mercurial: robustcheckout, defect, P5)

defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=258971770&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/UBfjcMwDSGqtqCmmiec_ZQ/runs/0/artifacts/public/logs/live_backing.log


[vcs 2019-07-30T09:54:26.967Z] OSError: [Errno 2] No such file or directory: '/Users/cltbld/tasks/task_1564479937/checkouts/gecko/js/src/tests/test262/language/statements/class/dstr/private-meth-dflt-obj-ptrn-id-init-fn-name-cover.js'
[vcs 2019-07-30T09:54:26.967Z] abort: No such file or directory: '/Users/cltbld/tasks/task_1564479937/checkouts/gecko/js/src/tests/test262/language/statements/class/dstr/private-meth-dflt-obj-ptrn-id-init-fn-name-cover.js'
[taskcluster 2019-07-30T09:54:26.988Z] Exit Code: 255
[taskcluster 2019-07-30T09:54:26.988Z] User Time: 624.002ms
[taskcluster 2019-07-30T09:54:26.988Z] Kernel Time: 3.967648s
[taskcluster 2019-07-30T09:54:26.988Z] Wall Time: 6.00590053s
[taskcluster 2019-07-30T09:54:26.988Z] Result: FAILED
[taskcluster 2019-07-30T09:54:26.988Z] === Task Finished ===
[taskcluster 2019-07-30T09:54:26.988Z] Task Duration: 6.010658454s
[taskcluster 2019-07-30T09:54:26.988Z] [mounts] Preserving cache: Moving "/Users/cltbld/tasks/task_1564479937/checkouts" to "/Users/cltbld/caches/NdXTvgMiRXa3Q1puoLpUFw"
[taskcluster:error] exit status 255

Seems like a robustcheckout.py failure.

Component: Mozbase → Applications: MozharnessCore
Product: Testing → Release Engineering
QA Contact: jlund
Version: Version 3 → unspecified
Component: Applications: MozharnessCore → Mercurial: robustcheckout
Product: Release Engineering → Developer Services
QA Contact: jlund
Summary: Intermittent OSError: [Errno 2] No such file or directory: '/Users/cltbld/tasks/task_1564479937/checkouts/gecko/js/src/tests/test262/language/statements/class/dstr/private-meth-dflt-obj-ptrn-id-init-fn-name-cover.js' → Intermittent OSError: [Errno 2] No such file or directory: <test-path> | Unable to retrieve hgmointernal config using the secret service; falling back to public hg.mozilla.org service | robustcheckout.py failures

Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=282769622&repo=autoland

[taskcluster 2019-12-27T18:50:57.381Z] Result: SUCCEEDED
[taskcluster 2019-12-27T18:50:57.381Z] Executing command 1: /usr/local/bin/python3 run-task '--gecko-checkout=./checkouts/gecko' --task-cwd checkouts/gecko -- bash -cx 'LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 ./mach python-test --python /usr/local/bin/python3 --subsuite mach'
[setup 2019-12-27T18:50:57.494Z] run-task started in /Users/cltbld/tasks/task_1577472009
[vcs 2019-12-27T18:50:57.498Z] WARNING: vcs checkout path (./checkouts/gecko) not in cache or volume; performance will likely suffer
[vcs 2019-12-27T18:50:57.498Z] WARNING: HG_STORE_PATH (./checkouts/hg-shared) not in cache or volume; performance will likely suffer
[vcs 2019-12-27T18:50:57.498Z] TASKCLUSTER_WORKER_LOCATION environment variable not set; using public hg.mozilla.org service
[vcs 2019-12-27T18:50:57.501Z] executing ['hg', 'robustcheckout', '--sharebase', '/Users/cltbld/tasks/task_1577472009/checkouts/hg-shared', '--purge', '--upstream', 'https://hg.mozilla.org/mozilla-unified', '--revision', '86844c0cad26dd91e27f6f522bed4b872f2842d8', 'https://hg.mozilla.org/integration/autoland', '/Users/cltbld/tasks/task_1577472009/checkouts/gecko']
[vcs 2019-12-27T18:50:57.840Z] (using Mercurial 5.0.2)
[vcs 2019-12-27T18:50:57.841Z] ensuring https://hg.mozilla.org/integration/autoland@86844c0cad26dd91e27f6f522bed4b872f2842d8 is available at /Users/cltbld/tasks/task_1577472009/checkouts/gecko
[vcs 2019-12-27T18:50:57.843Z] (existing repository shared store: /Users/cltbld/tasks/task_1565663383/checkouts/hg-shared/8ba995b74e18334ab3707f27e9eb8f4e37ba3d29/.hg)
[vcs 2019-12-27T18:50:57.843Z] (shared store does not exist; deleting destination)
[vcs 2019-12-27T18:50:57.926Z] Traceback (most recent call last):
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/scmutil.py", line 167, in callcatch
[vcs 2019-12-27T18:50:57.926Z] return func()
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/dispatch.py", line 367, in _runcatchfunc
[vcs 2019-12-27T18:50:57.926Z] return _dispatch(req)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/dispatch.py", line 1021, in _dispatch
[vcs 2019-12-27T18:50:57.926Z] cmdpats, cmdoptions)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/dispatch.py", line 756, in runcommand
[vcs 2019-12-27T18:50:57.926Z] ret = _runcommand(ui, options, cmd, d)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/dispatch.py", line 1030, in _runcommand
[vcs 2019-12-27T18:50:57.926Z] return cmdfunc()
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/dispatch.py", line 1018, in <lambda>
[vcs 2019-12-27T18:50:57.926Z] d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/util.py", line 1680, in check
[vcs 2019-12-27T18:50:57.926Z] return func(*args, **kwargs)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/lib/hgext/robustcheckout.py", line 283, in robustcheckout
[vcs 2019-12-27T18:50:57.926Z] sparse_profile=sparseprofile)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/lib/hgext/robustcheckout.py", line 445, in _docheckout
[vcs 2019-12-27T18:50:57.926Z] destvfs.rmtree(forcibly=True)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/vfs.py", line 242, in rmtree
[vcs 2019-12-27T18:50:57.926Z] ignore_errors=ignore_errors, onerror=onerror)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 270, in rmtree
[vcs 2019-12-27T18:50:57.926Z] rmtree(fullname, ignore_errors, onerror)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 270, in rmtree
[vcs 2019-12-27T18:50:57.926Z] rmtree(fullname, ignore_errors, onerror)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 270, in rmtree
[vcs 2019-12-27T18:50:57.926Z] rmtree(fullname, ignore_errors, onerror)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 270, in rmtree
[vcs 2019-12-27T18:50:57.926Z] rmtree(fullname, ignore_errors, onerror)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 270, in rmtree
[vcs 2019-12-27T18:50:57.926Z] rmtree(fullname, ignore_errors, onerror)
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 275, in rmtree
[vcs 2019-12-27T18:50:57.926Z] onerror(os.remove, fullname, sys.exc_info())
[vcs 2019-12-27T18:50:57.926Z] File "/usr/local/Cellar/mercurial/5.0.2/lib/python2.7/site-packages/mercurial/vfs.py", line 234, in onerror
[vcs 2019-12-27T18:50:57.926Z] s = os.stat(path)
[vcs 2019-12-27T18:50:57.926Z] OSError: [Errno 2] No such file or directory: '/Users/cltbld/tasks/task_1577472009/checkouts/gecko/testing/web-platform/tests/webdriver/tests/navigate_to'
[vcs 2019-12-27T18:50:57.926Z] abort: No such file or directory: '/Users/cltbld/tasks/task_1577472009/checkouts/gecko/testing/web-platform/tests/webdriver/tests/navigate_to'
[taskcluster 2019-12-27T18:50:57.947Z] Exit Code: 255
[taskcluster 2019-12-27T18:50:57.947Z] User Time: 189.821ms

See Also: → 1607607

Not sure what the cause of this is or how to mitigate it at the moment. But the bug title includes a comment about the hgmointernal TC secret, which is largely irrelevant here. Updating to just the important parts.

Summary: Intermittent OSError: [Errno 2] No such file or directory: <test-path> | Unable to retrieve hgmointernal config using the secret service; falling back to public hg.mozilla.org service | robustcheckout.py failures → Intermittent OSError: [Errno 2] No such file or directory: <test-path> | robustcheckout.py failures
See Also: → 1651321
You need to log in before you can comment on or make changes to this bug.