Bot fails during compilation with error "third_party/android_tools/sdk/tools/lint: line 68: exec: java: not found". John says this is a new
bot, but just wanted to make sure you were aware of this issue.
https://build.chromium.org/p/chromium.android/builders/Android%20Cronet%20Marshmallow%2064bit%20Perf/builds/42/steps/compile/logs/stdio
FAILED: gen/build/android/prepare_android_lint_cache.d gen/build/android/prepare_android_lint_cache/config.xml gen/build/android/prepare_android_lint_cache/result.xml
python ../../build/android/gyp/lint.py --lint-path=../../third_party/android_tools/sdk/tools/lint --cache-dir android_lint_cache --platform-xml-path ../../third_party/android_tools/sdk/platform-tools/api/api-versions.xml --android-sdk-version=23 --depfile gen/build/android/prepare_android_lint_cache.d --config-path ../../build/android/lint/suppressions.xml --manifest-path ../../build/android/AndroidManifest.xml --product-dir=. --processed-config-path gen/build/android/prepare_android_lint_cache/config.xml --result-path gen/build/android/prepare_android_lint_cache/result.xml --enable --create-cache --silent
Traceback (most recent call last):
File "../../build/android/gyp/lint.py", line 363, in <module>
sys.exit(main())
File "../../build/android/gyp/lint.py", line 359, in main
depfile_deps=classpath)
File "/b/build/slave/Android_Cronet_Marshmallow_64bit_Perf/build/src/build/android/gyp/util/build_utils.py", line 536, in CallAndWriteDepfileIfStale
pass_changes=True)
File "/b/build/slave/Android_Cronet_Marshmallow_64bit_Perf/build/src/build/android/gyp/util/md5_check.py", line 87, in CallAndRecordIfStale
function(*args)
File "/b/build/slave/Android_Cronet_Marshmallow_64bit_Perf/build/src/build/android/gyp/util/build_utils.py", line 520, in on_stale_md5
function(*args)
File "../../build/android/gyp/lint.py", line 354, in <lambda>
silent=args.silent),
File "../../build/android/gyp/lint.py", line 185, in _OnStaleMd5
stderr_filter=stderr_filter)
File "/b/build/slave/Android_Cronet_Marshmallow_64bit_Perf/build/src/build/android/gyp/util/build_utils.py", line 174, in CheckOutput
raise CalledProcessError(cwd, args, stdout + stderr)
util.build_utils.CalledProcessError: Command failed: ( cd /b/build/slave/Android_Cronet_Marshmallow_64bit_Perf/build/src; third_party/android_tools/sdk/tools/lint -Werror --exitcode --showall --xml out/Release/gen/build/android/prepare_android_lint_cache/result.xml --config out/Release/gen/build/android/prepare_android_lint_cache/config.xml /tmp/tmp6azgtu/SRC_ROOT1 )
third_party/android_tools/sdk/tools/lint: line 68: exec: java: not found
Comment 1 by jbudorick@chromium.org
, Aug 5 2016Status: Duplicate (was: Untriaged)