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

Issue 681862 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

scripts/slave/unittests/recipe_simulation_test.py failing

Project Member Reported by simonhatch@chromium.org, Jan 17 2017

Issue description

This was working just fine recently, was running this yesterday evening.


./scripts/slave/unittests/recipe_simulation_test.py test
Cloning into '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine'...
remote: Total 5533 (delta 3382), reused 5533 (delta 3382)
Receiving objects: 100% (5533/5533), 6.55 MiB | 0 bytes/s, done.
Resolving deltas: 100% (3382/3382), done.
WARNING:root:(Not Bad) Using custom deps path: /usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/tmpPnLB48_deps
Activating environment: '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/tmpPnLB48_deps/.virtualenv/ENV'
  Removing old environment: None
  Building new environment
  Activating environment
  Installing deps
    ndg_httpsclient: {'version': '0.4.2', 'gs': '03396d0b960c414e92ff355b4fe0fe210855fd58.tar.gz', 'build': '0'}
    pyOpenSSL: {'repo': 'external/github.com/pyca/pyopenssl', 'version': '0.14', 'rev': '496f40dca9a47c0f1dfe0cd841256485708c8442', 'build': '0'}
    coverage: {'repo': 'external/github.com/nedbat/coveragepy', 'version': '4.1', 'rev': '4e2faeead034005cda1bcb096afde921527a748f', 'build': '0'}

Traceback (most recent call last):
  File "/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/bootstrap.py", line 219, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/bootstrap.py", line 213, in main
    activate_env(opts.env_path, deps, opts.quiet, cache_root=opts.cache_root)
  File "/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/bootstrap.py", line 180, in activate_env
    install(deps, cache_root)
  File "/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/bootstrap.py", line 105, in install
    env=env)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/recipes.py", line 704, in <module>
    ret = main()
  File "/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/recipes.py", line 609, in main
    cwd=ROOT_DIR)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['/usr/bin/python', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/bootstrap.py', '--deps-file', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/deps.pyl', '--cache-root', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/tmpPnLB48_deps/.virtualenv/bootstrap_cache', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/tmpPnLB48_deps/.virtualenv/ENV']' returned non-zero exit status 1
Uncaught exception (CalledProcessError): Command '['/usr/bin/python', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/bootstrap.py', '--deps-file', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/bootstrap/deps.pyl', '--cache-root', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/tmpPnLB48_deps/.virtualenv/bootstrap_cache', '/usr/local/google/home/simonhatch/infra_internal_test/build/scripts/slave/.recipe_deps/recipe_engine/tmpPnLB48_deps/.virtualenv/ENV']' returned non-zero exit status 1
 
Cc: benhenry@chromium.org
Owner: iannucci@chromium.org
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build.git/+/7808adc17a3e66793944b6779d7bcd67e49fb26c

commit 7808adc17a3e66793944b6779d7bcd67e49fb26c
Author: Robert Iannucci <iannucci@chromium.org>
Date: Tue Jan 17 21:34:37 2017

Improve recipe_simulation_test.py for bots and devs.

BUG= 681862 

Change-Id: I77f7a7290db7bd84a448a8eaf48bb85cf31d8a11
Reviewed-on: https://chromium-review.googlesource.com/428971
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>

[modify] https://crrev.com/7808adc17a3e66793944b6779d7bcd67e49fb26c/scripts/slave/unittests/recipe_simulation_test.py

Comment 4 by iannu...@google.com, Jan 17 2017

Cc: iannucci@chromium.org
Owner: simonhatch@chromium.org
Status: Assigned (was: Untriaged)
Give it a spin now?
Status: Fixed (was: Assigned)
Looks like this is working, thanks!

Sign in to add a comment