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

Issue 912869 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 7
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

ToTAndroid x64 fails android:chrome_java__lint

Project Member Reported by h...@chromium.org, Dec 7

Issue description

Example build:
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/ToTAndroid%20x64/1452


[70086/102267] ACTION //chrome/android:chrome_java__lint(//build/toolchain/android:android_clang_x64)
FAILED: gen/chrome/android/chrome_java__lint/result.xml gen/chrome/android/chrome_java__lint/config.xml 
python ../../build/android/gyp/lint.py --lint-path ../../third_party/android_tools/sdk/tools-lint/bin/lint --cache-dir android_lint_cache --platform-xml-path ../../third_party/android_tools/sdk/platform-tools/api/api-versions.xml --android-sdk-version=26 --depfile gen/chrome/android/chrome_java__lint.d --config-path ../../build/android/lint/suppressions.xml --product-dir=. --processed-config-path gen/chrome/android/chrome_java__lint/config.xml --result-path gen/chrome/android/chrome_java__lint/result.xml --include-unexpected-failures --manifest-path gen/chrome/android/chrome_public_apk/AndroidManifest.xml --java-sources-file=gen/chrome/android/chrome_java.sources --srcjars=@FileArg\(gen/chrome/android/chrome_java.build_config:gradle:bundled_srcjars\) --can-fail-build --resource-sources=@FileArg\(gen/chrome/android/chrome_java.build_config:deps_info:owned_resources_dirs\) --resource-sources=@FileArg\(gen/chrome/android/chrome_java.build_config:deps_info:owned_resources_zips\)

../resource_zips/chrome/android/chrome_strings_grd.resources.zip/values-fr/android_chrome_strings.xml:364 Inconsistent number of arguments in formatting string `data_reduction_benefits_description`; found both 0 and 1: StringFormatCount [warning]
<string name="data_reduction_benefits_description">"En mode simplifié, Chrome charge les pages plus rapidement et consomme jusqu\'à 60 % de données en moins."</string>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../resource_zips/chrome/android/chrome_strings_grd.resources.zip/values-fr/android_chrome_strings.xml:389 Inconsistent number of arguments in formatting string `data_reduction_promo_summary`; found both 0 and 1: StringFormatCount [warning]
<string name="data_reduction_promo_summary">"En mode simplifié, Chrome charge les pages plus rapidement et consomme jusqu\'à 60 % de données en moins. La technologie cloud de Google optimise les pages que vous consultez."</string>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Lint found 2 new issues.
 - For full explanation, please refer to out/Release/gen/chrome/android/chrome_java__lint/result.xml
 - For more information about lint and how to fix lint issues, please refer to https://chromium.googlesource.com/chromium/src/+/master/build/android/docs/lint.md

Traceback (most recent call last):
  File "../../build/android/gyp/lint.py", line 399, in <module>
    sys.exit(main())
  File "../../build/android/gyp/lint.py", line 395, in main
    add_pydeps=False)
  File "/b/s/w/ir/cache/builder/src/build/android/gyp/util/build_utils.py", line 644, in CallAndWriteDepfileIfStale
    pass_changes=True)
  File "/b/s/w/ir/cache/builder/src/build/android/gyp/util/md5_check.py", line 87, in CallAndRecordIfStale
    function(*args)
  File "/b/s/w/ir/cache/builder/src/build/android/gyp/util/build_utils.py", line 629, in on_stale_md5
    function(*args)
  File "../../build/android/gyp/lint.py", line 389, in <lambda>
    silent=args.silent),
  File "../../build/android/gyp/lint.py", line 248, in _OnStaleMd5
    raise Exception('Lint failed.')
Exception: Lint failed.



I'm guessing it started here:
https://chromium-review.googlesource.com/c/chromium/src/+/1355851

I don't know why this isn't breaking other bots.
 
Cc: tasak@chromium.org
> I'm guessing it started here:
> https://chromium-review.googlesource.com/c/chromium/src/+/1355851

Maybe more like this one:
https://chromium-review.googlesource.com/c/chromium/src/+/1366870

Which was reverted earlier this morning by tasak..
Status: Fixed (was: Assigned)
Yup, the bot is getting past that stage now.
Yeah, culprit cl was reverted - https://chromium-review.googlesource.com/c/chromium/src/+/1366465.

Related bug 912813.

Sign in to add a comment