mozilla-services / updatebot

Automation for updating third party libraries for Firefox
Mozilla Public License 2.0
8 stars 5 forks source link

./mach try can timeout waiting for lock #319

Closed tomrittervg closed 1 year ago

tomrittervg commented 1 year ago
[task 2023-03-13T18:19:46.444Z] [Debug]   CommandProvider: stdout:
[task 2023-03-13T18:19:46.444Z] [Debug]   CommandProvider: Creating local state directory: /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69
[task 2023-03-13T18:19:46.444Z] Creating temporary commit for remote...
[task 2023-03-13T18:19:46.444Z] A try_task_config.json
[task 2023-03-13T18:19:46.444Z] pushing to ssh://hg.mozilla.org/try
[task 2023-03-13T18:19:46.444Z] searching for changes
[task 2023-03-13T18:19:46.444Z] remote: waiting for lock on working directory of /repo/hg/mozilla/try held by process '18116' on host 'hgssh1.dmz.mdc1.mozilla.com/effffffc'
[task 2023-03-13T18:19:46.444Z] remote: abort: working directory of /repo/hg/mozilla/try: timed out waiting for lock held by 'hgssh1.dmz.mdc1.mozilla.com/effffffc:20282'
[task 2023-03-13T18:19:46.444Z] temporary commit removed, repository restored
[task 2023-03-13T18:19:46.444Z] Error running mach:
[task 2023-03-13T18:19:46.444Z] 
[task 2023-03-13T18:19:46.444Z]     ['try', 'auto']
[task 2023-03-13T18:19:46.444Z] 
[task 2023-03-13T18:19:46.444Z] The error occurred in code that was called by the mach command. This is either
[task 2023-03-13T18:19:46.444Z] a bug in the called code itself or in the way that mach is calling it.
[task 2023-03-13T18:19:46.444Z] You can invoke ``./mach busted`` to check if this issue is already on file. If it
[task 2023-03-13T18:19:46.444Z] isn't, please use ``./mach busted file try`` to report it. If ``./mach busted`` is
[task 2023-03-13T18:19:46.444Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2023-03-13T18:19:46.444Z] 
[task 2023-03-13T18:19:46.444Z] If filing a bug, please include the full output of mach, including this error
[task 2023-03-13T18:19:46.444Z] message.
[task 2023-03-13T18:19:46.444Z] 
[task 2023-03-13T18:19:46.444Z] The details of the failure are as follows:
[task 2023-03-13T18:19:46.444Z] 
[task 2023-03-13T18:19:46.444Z] subprocess.CalledProcessError: Command '('/usr/bin/hg', 'push-to-try', '-m', 'Tasks automatically selected.\n\nPushed via `mach try auto`')' returned non-zero exit status 255.
[task 2023-03-13T18:19:46.444Z] 
[task 2023-03-13T18:19:46.444Z]   File "/builds/worker/checkouts/gecko/tools/tryselect/mach_commands.py", line 375, in try_auto
[task 2023-03-13T18:19:46.444Z]     return run(command_context, **kwargs)
[task 2023-03-13T18:19:46.444Z]   File "/builds/worker/checkouts/gecko/tools/tryselect/mach_commands.py", line 196, in run
[task 2023-03-13T18:19:46.444Z]     return mod.run(**kwargs)
[task 2023-03-13T18:19:46.444Z]   File "/builds/worker/checkouts/gecko/tools/tryselect/selectors/auto.py", line 108, in run
[task 2023-03-13T18:19:46.444Z]     return push_to_try(
[task 2023-03-13T18:19:46.444Z]   File "/builds/worker/checkouts/gecko/tools/tryselect/push.py", line 228, in push_to_try
[task 2023-03-13T18:19:46.445Z]     vcs.push_to_try(commit_message, allow_log_capture=allow_log_capture)
[task 2023-03-13T18:19:46.445Z]   File "/builds/worker/checkouts/gecko/python/mozversioncontrol/mozversioncontrol/__init__.py", line 555, in push_to_try
[task 2023-03-13T18:19:46.445Z]     subprocess.check_call(
[task 2023-03-13T18:19:46.445Z]   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
[task 2023-03-13T18:19:46.445Z]     raise CalledProcessError(retcode, cmd)
[task 2023-03-13T18:19:46.445Z] 
[task 2023-03-13T18:19:46.445Z] [Debug]   CommandProvider: -------
[task 2023-03-13T18:19:46.445Z] [Debug]   CommandProvider: stderr:
[task 2023-03-13T18:19:46.445Z] [Debug]   CommandProvider: remote: Failed to add the ED25519 host key for IP address '63.245.208.203' to the list of known hosts (/builds/worker/ssh_known_hosts).
[task 2023-03-13T18:19:46.445Z] abort: stream ended unexpectedly (got 0 bytes, expected 4)
[task 2023-03-13T18:19:46.445Z] 
[task 2023-03-13T18:19:46.445Z] [Debug]   CommandProvider: ----------------------------------------------
[task 2023-03-13T18:19:46.445Z] [Error]   CommandProvider: Expected a clean process return but got: 1
[task 2023-03-13T18:19:46.445Z] [Error]   CommandProvider:    ( ./mach try auto )