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

Issue 666449 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 642120
issue 648700


Show other hotlists

Hotlists containing this issue:
speed-bisect


Sign in to add a comment

Bisect - Fails to run cc_perftests

Project Member Reported by simonhatch@chromium.org, Nov 17 2016

Issue description

https://build.chromium.org/p/tryserver.chromium.perf/builders/android_nexus6_perf_bisect/builds/2761

/usr/bin/python /b/c/b/android_nexus6_perf_bisect/src/build/android/test_runner.py gtest --release -s cc_perftests --verbose
I    0.002s Main  command: /b/c/b/android_nexus6_perf_bisect/src/build/android/test_runner.py gtest --release -s cc_perftests --verbose
C    0.003s Main  Could not find apk or executable for cc_perftests
E    0.003s Main  Unrecognized error occurred.
Traceback (most recent call last):
  File "/b/c/b/android_nexus6_perf_bisect/src/build/android/test_runner.py", line 946, in main
    return RunTestsCommand(args)
  File "/b/c/b/android_nexus6_perf_bisect/src/build/android/test_runner.py", line 766, in RunTestsCommand
    return RunTestsInPlatformMode(args)
  File "/b/c/b/android_nexus6_perf_bisect/src/build/android/test_runner.py", line 812, in RunTestsInPlatformMode
    with test_instance_factory.CreateTestInstance(args, infra_error) as test:
  File "/b/c/b/android_nexus6_perf_bisect/src/build/android/pylib/base/test_instance_factory.py", line 16, in CreateTestInstance
    args, isolator.Isolator(), error_func)
  File "/b/c/b/android_nexus6_perf_bisect/src/build/android/pylib/gtest/gtest_test_instance.py", line 219, in __init__
    error_func('Could not find apk or executable for %s' % self._suite)
  File "/b/c/b/android_nexus6_perf_bisect/src/build/android/test_runner.py", line 806, in infra_error
    sys.exit(constants.INFRA_EXIT_CODE)
SystemExit: 87
 
Cc: sullivan@chromium.org eyaich@chromium.org
Kinda looks like the apk wasn't installed before attempting to run the test?
Blocking: 648700
Blocking: 642120

Comment 4 by eyaich@chromium.org, Dec 22 2016

It looks like it can't find the cc_perftests executable.  I am not sure how this works for bisect, we got these errors in the swarming world when the builder wasn't building the right binaries and including them in the isolate.
The bisect should be building cc_perftests on android, although we should confirm that to be sure. It builds the same thing as the perf builders, and downloads those same binaries that are used by the perf waterfall. Poking around a tiny bit in the recipe, I see the bisect attempt to install a few apk's but no mention of any of the perf test related ones.

https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/auto_bisect/api.py?q=auto_bisect/api&sq=package:chromium&l=306
Components: Speed>Bisection

Sign in to add a comment