New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 702786 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Chromedriver Android bot is failing

Project Member Reported by gmanikpure@chromium.org, Mar 17 2017

Issue description

First build that failed - https://build.chromium.org/p/chromium.fyi/builders/Android%20ChromeDriver%20Tests%20%28dbg%29/builds/32956

[E2017-03-17T14:03:50.696751-07:00 3144 0 subcommand_run.go:333] Command completed with non-zero return code. {"returnCode":1}
[I2017-03-17T14:03:50.735226-07:00 3144 0 main.go:349] Terminating.                                {"returnCode":1}
Traceback (most recent call last):
  File "../../../scripts/slave/annotated_run.py", line 378, in <module>
    sys.exit(shell_main(sys.argv))
  File "../../../scripts/slave/annotated_run.py", line 373, in shell_main
    return main(argv[1:])
  File "../../../scripts/slave/annotated_run.py", line 364, in main
    return _exec_recipe(rt, opts, stream, basedir, tdir, properties)
  File "../../../scripts/slave/annotated_run.py", line 300, in _exec_recipe
    with open(recipe_result_path, 'r') as f:
IOError: [Errno 2] No such file or directory: '/b/build/slave/Android_ChromeDriver_Tests__dbg_/.recipe_runtime/tmpY_wZip/recipe_result.json'

 
More info:

INFO:root:Running ['git', 'checkout', '--quiet', '78f105cbebb6e8dc99d64638d400868851cb0c40']
fatal: Unable to create '/b/build/scripts/slave/.recipe_deps/recipe_engine/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
ERROR:root:ensure_engine failed
Traceback (most recent call last):
  File "/b/build/scripts/slave/recipes.py", line 226, in main
    ensure_engine()
  File "/b/build/scripts/slave/recipes.py", line 223, in ensure_engine
    [git, 'checkout', '--quiet', engine_revision], cwd=engine_root_path)
  File "/b/build/scripts/slave/recipes.py", line 163, in _subprocess_check_call
    subprocess.check_call(argv, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['git', 'checkout', '--quiet', '78f105cbebb6e8dc99d64638d400868851cb0c40']' returned non-zero exit status 128
INFO:root:Running ['git', 'rev-parse', '--verify', '78f105cbebb6e8dc99d64638d400868851cb0c40^{commit}']
INFO:root:Running ['git', 'checkout', '--quiet', '78f105cbebb6e8dc99d64638d400868851cb0c40']
fatal: Unable to create '/b/build/scripts/slave/.recipe_deps/recipe_engine/.git/index.lock': File exists.
Owner: sergeybe...@chromium.org
Status: Started (was: Untriaged)
I removed /b/build/scripts/slave/.recipe_deps/recipe_engine/.git/index.lock - it appears to be stale:

$ ls -l .recipe_deps/recipe_engine/.git/index.lock 
-rw-rw-r-- 1 chrome-bot chrome-bot 0 Mar 17 09:15 .recipe_deps/recipe_engine/.git/index.lock

Let's see if this gets the bot unstuck.
Status: Verified (was: Started)
yes, build is up and running again.
Thanks for the fix, Sergey!

Closing the issue.

Sign in to add a comment