Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4O2GiwajcgaK1cJgYoOIMpmdViSF2/uJaw6cfAL4FvQPAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz5EgY5/eT83ILSktQi/ZT85OzUIl0DgyyTkqzEjMysypJEAHFIM6nTAAAAdocker-00j4tjahijyta on gcloud1 (bazel-debian bazel-chrome-69 bazel-debian-chrome-69) in workspace /home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Avoid fetching tags Cloning repository https://gerrit.googlesource.com/a/gerrit > /usr/bin/git init /home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 > /usr/bin/git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/code-owners # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/code-owners using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/plugins/code-owners +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-3.5^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-3.5^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-3.5^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-3.5^{commit} # timeout=10 Checking out Revision ea463ecca1b39c3fa218be53139c6dbcf609995e (origin/stable-3.5) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f ea463ecca1b39c3fa218be53139c6dbcf609995e # timeout=10 Commit message: "Fix calls to logger's log(string)" > /usr/bin/git rev-list --no-walk 926d29d24bcf744c9f5e21f30768b377605b3dd4 # timeout=10 [plugin-code-owners-bazel-stable-3.5] $ /bin/bash -e /tmp/jenkins890511437715920631.sh [plugin-code-owners-bazel-stable-3.5] $ /bin/bash -e /tmp/jenkins4105186067453218258.sh Java set to: /usr/lib/jvm/java-11-openjdk-amd64/bin/java Previous HEAD position was ea463ecca1 Fix calls to logger's log(string) Switched to a new branch 'stable-3.5' Branch 'stable-3.5' set up to track remote branch 'stable-3.5' from 'gerrit'. Submodule 'modules/jgit' (https://gerrit.googlesource.com/a/jgit) registered for path 'modules/jgit' Submodule 'plugins/codemirror-editor' (https://gerrit.googlesource.com/a/plugins/codemirror-editor) registered for path 'plugins/codemirror-editor' Submodule 'plugins/commit-message-length-validator' (https://gerrit.googlesource.com/a/plugins/commit-message-length-validator) registered for path 'plugins/commit-message-length-validator' Submodule 'plugins/delete-project' (https://gerrit.googlesource.com/a/plugins/delete-project) registered for path 'plugins/delete-project' Submodule 'plugins/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/gitiles' (https://gerrit.googlesource.com/a/plugins/gitiles) registered for path 'plugins/gitiles' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' Submodule 'plugins/plugin-manager' (https://gerrit.googlesource.com/a/plugins/plugin-manager) registered for path 'plugins/plugin-manager' Submodule 'plugins/replication' (https://gerrit.googlesource.com/a/plugins/replication) registered for path 'plugins/replication' Submodule 'plugins/reviewnotes' (https://gerrit.googlesource.com/a/plugins/reviewnotes) registered for path 'plugins/reviewnotes' Submodule 'plugins/singleusergroup' (https://gerrit.googlesource.com/a/plugins/singleusergroup) registered for path 'plugins/singleusergroup' Submodule 'plugins/webhooks' (https://gerrit.googlesource.com/a/plugins/webhooks) registered for path 'plugins/webhooks' Submodule 'polymer-bridges' (https://gerrit.googlesource.com/a/polymer-bridges) registered for path 'polymer-bridges' Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/polymer-bridges'... Submodule path 'modules/jgit': checked out '74fa245b3c3ccf13afcbec7911c7c8459e48527d' Submodule path 'plugins/codemirror-editor': checked out 'c5bda5b6b5fe91a2f7cd40c5a917dd2280b04814' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out '612f143792652d571ecfcb19915ad5754a3ba1a7' Submodule path 'plugins/download-commands': checked out 'b4209a5a4c334077b255002cbadc2ef659adee3c' Submodule path 'plugins/gitiles': checked out '406c99fc5c5a5b88d09767690e07a5488d7496b2' Submodule path 'plugins/hooks': checked out '4e07d16a644ea823f6538a176621acee466d865b' Submodule path 'plugins/plugin-manager': checked out 'e0664f668ab5bac96a1e105b80d886de66743b1b' Submodule path 'plugins/replication': checked out 'e7f35226d0ad3ccb5751c468168409705ae8e719' Submodule path 'plugins/reviewnotes': checked out 'a28ae590486934690e4e0a95d7eb75f8b60644a6' Submodule path 'plugins/singleusergroup': checked out '3239ce3a471f5aa9edd8f6f702bee655ea81f77d' Submodule path 'plugins/webhooks': checked out 'ff779a381b120869efced4cc5331e62ba18e6828' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' From https://gerrit.googlesource.com/a/plugins/code-owners * branch HEAD -> FETCH_HEAD openjdk full version "11.0.18+10-post-Debian-1deb10u1" 2023/06/05 07:19:17 Downloading https://releases.bazel.build/5.3.1/release/bazel-5.3.1-linux-x86_64... 2023/06/05 07:19:17 Skipping basic authentication for releases.bazel.build because no credentials found in /home/jenkins/.netrc Bazelisk version: v1.12.0 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 5.3.1 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Mon Sep 19 17:28:49 2022 (1663608529) Build timestamp: 1663608529 Build timestamp as int: 1663608529 INFO: Invocation ID: 28ef717b-61db-4e36-b56c-0ec8e7446e6a INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/.bazelrc: 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/code-owners:code-owners (1 packages loaded, 0 targets configured) Analyzing: target //plugins/code-owners:code-owners (34 packages loaded, 7 targets configured) Analyzing: target //plugins/code-owners:code-owners (34 packages loaded, 7 targets configured) Analyzing: target //plugins/code-owners:code-owners (34 packages loaded, 7 targets configured) Analyzing: target //plugins/code-owners:code-owners (41 packages loaded, 214 targets configured) Analyzing: target //plugins/code-owners:code-owners (41 packages loaded, 214 targets configured) Analyzing: target //plugins/code-owners:code-owners (41 packages loaded, 214 targets configured) Analyzing: target //plugins/code-owners:code-owners (41 packages loaded, 214 targets configured) Analyzing: target //plugins/code-owners:code-owners (41 packages loaded, 214 targets configured) Analyzing: target //plugins/code-owners:code-owners (258 packages loaded, 5520 targets configured) Analyzing: target //plugins/code-owners:code-owners (262 packages loaded, 6038 targets configured) Analyzing: target //plugins/code-owners:code-owners (262 packages loaded, 6038 targets configured) INFO: Analyzed target //plugins/code-owners:code-owners (307 packages loaded, 7444 targets configured). INFO: Found 1 target... [0 / 22] [Prepa] Creating source manifest for @npm//@bazel/terser/bin:terser [200 / 423] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc [for host]; 8s remote-cache, linux-sandbox ... (63 actions, 62 running) INFO: From Bundling JavaScript plugins/code-owners/ui/code-owners-bundle.js [rollup]: plugins/code-owners/ui/plugin.js → bazel-out/k8-fastbuild/bin/plugins/code-owners/ui/code-owners-bundle.js... created bazel-out/k8-fastbuild/bin/plugins/code-owners/ui/code-owners-bundle.js in 619ms [342 / 619] Compiling src/google/protobuf/descriptor.pb.cc [for host]; 9s remote-cache, linux-sandbox ... (63 actions, 62 running) [462 / 619] Compiling src/google/protobuf/descriptor.cc [for host]; 20s remote-cache, linux-sandbox ... (63 actions, 62 running) [537 / 621] Building external/com_google_protobuf/java/core/liblite.jar (86 source files); 12s remote-cache, multiplex-worker ... (5 actions, 4 running) [561 / 621] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (907 source files); 31s remote-cache, multiplex-worker ... (4 actions running) [583 / 621] Compiling Java headers java/com/google/gerrit/server/logging/liblogging-hjar.jar (16 source files); 0s remote-cache, linux-sandbox [620 / 621] Executing genrule //plugins/code-owners:code-owners; 0s remote-cache, linux-sandbox Target //plugins/code-owners:code-owners up-to-date: bazel-bin/plugins/code-owners/code-owners.jar INFO: Elapsed time: 183.092s, Critical Path: 90.46s INFO: 621 processes: 1 disk cache hit, 48 internal, 554 linux-sandbox, 18 worker. INFO: Build completed successfully, 621 total actions INFO: Build completed successfully, 621 total actions WARNING: Option 'java_toolchain' is deprecated INFO: Invocation ID: 0d11e5d0-287b-48ad-8522-61059f28776f INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/.bazelrc: Inherited 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-code-owners-bazel-stable-3.5/.bazelrc: 'test' options: --build_tests_only --test_output=errors --java_toolchain=//tools:error_prone_warnings_toolchain_java11 Loading: Loading: 0 packages loaded INFO: Build options --java_toolchain and --test_env have changed, discarding analysis cache. Analyzing: 63 targets (15 packages loaded, 0 targets configured) Analyzing: 63 targets (82 packages loaded, 6697 targets configured) INFO: Analyzed 63 targets (83 packages loaded, 6781 targets configured). INFO: Found 63 test targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [711 / 952] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (49 actions, 37 running) INFO: From Building java/com/google/gerrit/json/libjson.jar (4 source files): java/com/google/gerrit/json/JavaSqlTimestampHelper.java:85: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. Timestamp result = new Timestamp(Date.UTC(yy, mm, dd, hh, mi, ss) - off); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [831 / 1,073] 1 / 63 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (15 actions, 12 running) [858 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/extensions/libapi.jar (353 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 2s remote-cache, multiplex-worker ... (62 actions, 40 running) [874 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/extensions/libapi.jar (353 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 3s remote-cache, multiplex-worker ... (63 actions, 37 running) [884 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/extensions/libapi.jar (353 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 4s remote-cache, multiplex-worker ... (64 actions, 44 running) [900 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/extensions/libapi.jar (353 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 6s remote-cache, multiplex-worker ... (64 actions, 43 running) [911 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/extensions/libapi.jar (353 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 7s remote-cache, multiplex-worker ... (63 actions, 38 running) [918 / 1,073] 1 / 63 tests; Building proto/libcache_proto-speed.jar (1 source jar); 7s remote-cache, multiplex-worker ... (64 actions, 37 running) INFO: From Building java/com/google/gerrit/common/libserver.jar (18 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/common/Version.java:57: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(e.getMessage()); ^ [924 / 1,073] 1 / 63 tests; Building proto/libcache_proto-speed.jar (1 source jar); 9s remote-cache, multiplex-worker ... (64 actions, 37 running) INFO: From Building java/com/google/gerrit/lucene/libquery_builder.jar (1 source file): java/com/google/gerrit/lucene/QueryBuilder.java:235: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. r.getField().getName(), r.getMinTimestamp().getTime(), r.getMaxTimestamp().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/lucene/QueryBuilder.java:235: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. r.getField().getName(), r.getMinTimestamp().getTime(), r.getMaxTimestamp().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/lucene/QueryBuilder.java:241: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. if (r.getMinTimestamp().getTime() == 0) { ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/lucene/QueryBuilder.java:243: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. r.getField().getName(), r.getMaxTimestamp().getTime(), Long.MAX_VALUE); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/lucene/QueryBuilder.java:283: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return (int) (ts.getTime() / 60000); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [944 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/auth/libauth.jar (14 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 6s remote-cache ... (64 actions, 37 running) INFO: From Building java/com/google/gerrit/index/libindex.jar (48 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/index/query/QueryProcessor.java:270: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atFine().log("Query options: " + opts); ^ java/com/google/gerrit/index/query/QueryProcessor.java:270: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atFine().log("Query options: " + opts); ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean 'logger.atFine().log("Query options: %s", opts);'? INFO: From Building java/com/google/gerrit/entities/libentities.jar (74 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor, AutoValueGsonAdapterFactoryProcessor): java/com/google/gerrit/entities/CachedProjectConfig.java:230: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atInfo().withCause(e).log("Config for " + configFileName + " not parsable"); ^ java/com/google/gerrit/entities/CachedProjectConfig.java:230: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atInfo().withCause(e).log("Config for " + configFileName + " not parsable"); ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean 'logger.atInfo().withCause(e).log("Config for %s not parsable", configFileName);'? java/com/google/gerrit/entities/PatchSetApproval.java:62: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return granted(new Timestamp(granted.getTime())); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/entities/EmailHeader.java:160: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return (o instanceof Date) && value.getTime() == ((Date) o).value.getTime(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/entities/EmailHeader.java:160: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return (o instanceof Date) && value.getTime() == ((Date) o).value.getTime(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) INFO: From Building java/com/google/gerrit/auth/libauth.jar (14 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/auth/ldap/LdapRealm.java:202: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(msg); ^ [954 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/metrics/dropwizard/libdropwizard.jar (22 source files); 7s remote-cache ... (62 actions, 37 running) [963 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/httpd/auth/oauth/liboauth-class.jar (4 source files); 10s remote-cache ... (52 actions, 32 running) INFO: From Building java/com/google/gerrit/server/git/receive/libreceive.jar (18 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/server/git/receive/LazyPostReceiveHookChain.java:75: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log(msg); ^ [976 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/gpg/libgpg.jar (18 source files); 12s remote-cache ... (49 actions, 28 running) INFO: From Building java/com/google/gerrit/server/restapi/librestapi.jar (304 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/server/restapi/change/Revisions.java:168: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. .createdOn(new Timestamp(editCommit.getCommitterIdent().getWhen().getTime())) ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/restapi/change/CommentPorter.java:195: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log( ^ java/com/google/gerrit/server/restapi/change/ReplyAttentionSetUpdates.java:330: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atFine().log(ex.getMessage()); ^ java/com/google/gerrit/server/restapi/change/ReplyAttentionSetUpdates.java:355: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(ex.getMessage()); ^ java/com/google/gerrit/server/restapi/change/ReviewersUtil.java:416: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atFine().log("maxAllowedWithoutConfirmation: " + maxAllowedWithoutConfirmation); ^ java/com/google/gerrit/server/restapi/change/ReviewersUtil.java:416: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atFine().log("maxAllowedWithoutConfirmation: " + maxAllowedWithoutConfirmation); ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean 'logger.atFine().log("maxAllowedWithoutConfirmation: %d", maxAllowedWithoutConfirmation);'? java/com/google/gerrit/server/restapi/config/ListTasks.java:132: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. this.startTime = new Timestamp(task.getStartTime().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/restapi/project/DeleteRef.java:272: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(msg); ^ java/com/google/gerrit/server/restapi/project/GetReflog.java:106: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(msg); ^ java/com/google/gerrit/server/restapi/project/GetReflog.java:118: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. Timestamp timestamp = new Timestamp(e.getWho().getWhen().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/restapi/project/ListTags.java:200: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. tagger != null ? new Timestamp(tagger.getWhen().getTime()) : null); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/restapi/project/ListTags.java:205: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. ? new Timestamp(((RevCommit) object).getCommitterIdent().getWhen().getTime()) ^ (see https://errorprone.info/bugpattern/JavaUtilDate) INFO: From Building java/com/google/gerrit/httpd/libhttpd-class.jar (102 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/httpd/GitOverHttpServlet.java:501: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log( ^ java/com/google/gerrit/httpd/ProjectBasicAuthFilter.java:189: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().withCause(e).log(authenticationFailedMsg(username, req)); ^ java/com/google/gerrit/httpd/ProjectBasicAuthFilter.java:203: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().withCause(e).log(authenticationFailedMsg(username, req)); ^ java/com/google/gerrit/httpd/ProjectBasicAuthFilter.java:216: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log( ^ java/com/google/gerrit/httpd/ProjectBasicAuthFilter.java:216: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atWarning().log( ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean '"%s: password does not match the one stored in Gerrit", authenticationFailedMsg(username, req));'? java/com/google/gerrit/httpd/ProjectOAuthFilter.java:160: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log( ^ java/com/google/gerrit/httpd/ProjectOAuthFilter.java:160: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atWarning().log( ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean '"%s: account inactive or not provisioned in Gerrit", authenticationFailedMsg(authInfo.username, req));'? java/com/google/gerrit/httpd/ProjectOAuthFilter.java:183: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().withCause(e).log(authenticationFailedMsg(authInfo.username, req)); ^ java/com/google/gerrit/httpd/auth/container/HttpsClientSslCertAuthFilter.java:83: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(err); ^ java/com/google/gerrit/httpd/gitweb/GitwebServlet.java:723: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(err); ^ java/com/google/gerrit/httpd/plugins/PluginServletContext.java:67: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ [982 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/pgm/libpgm-class.jar (19 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 15s remote-cache ... (64 actions, 37 running) INFO: From Building java/com/google/gerrit/gpg/libgpg.jar (18 source files): java/com/google/gerrit/gpg/PublicKeyChecker.java:65: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. private Date effectiveTime = new Date(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/gpg/PublicKeyChecker.java:192: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. long msSinceCreation = now.getTime() - key.getCreationTime().getTime(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/gpg/PublicKeyChecker.java:192: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. long msSinceCreation = now.getTime() - key.getCreationTime().getTime(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/gpg/PublicKeyChecker.java:229: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. || revocation.getCreationTime().before(now); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/gpg/PushCertificateChecker.java:109: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ INFO: From Building java/com/google/gerrit/sshd/libsshd.jar (110 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/sshd/commands/ShowCaches.java:117: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. Date now = new Date(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/sshd/commands/ShowCaches.java:123: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. stdout.format("%-25s %-20s uptime %16s\n", "", "", uptime(now.getTime() - serverStarted)); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/sshd/commands/ShowConnections.java:175: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return new SimpleDateFormat("HH:mm:ss").format(new Date(time)); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/sshd/commands/ShowConnections.java:177: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return new SimpleDateFormat("MMM-dd").format(new Date(time)); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/sshd/commands/ShowQueue.java:181: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. Date when = new Date(now + delay); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/sshd/commands/ShowQueue.java:186: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return format(when, TimeUtil.nowMs() - when.getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) INFO: From Building java/com/google/gerrit/pgm/init/libinit-class.jar (30 source files): java/com/google/gerrit/pgm/init/BaseInit.java:127: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ INFO: From Building java/com/google/gerrit/extensions/common/testing/libcommon-test-util.jar (13 source files): java/com/google/gerrit/extensions/common/testing/GitPersonSubject.java:78: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. check("roundedDate()").that(new Date(gitPerson.date.getTime())).isEqualTo(ident.getWhen()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) INFO: From Building java/com/google/gerrit/pgm/libpgm-class.jar (19 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/pgm/JythonShell.java:176: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(e.getMessage()); ^ java/com/google/gerrit/pgm/SwitchSecureStore.java:199: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(e.getMessage()); ^ [995 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 18s remote-cache, multiplex-worker ... (64 actions, 37 running) [1,009 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 23s remote-cache, multiplex-worker ... (64 actions, 37 running) INFO: From Building java/com/google/gerrit/acceptance/libframework-lib.jar (105 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/acceptance/testsuite/change/ChangeOperationsImpl.java:514: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return date.getTime() / 1000; ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [1,045 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 29s remote-cache, multiplex-worker ... (54 actions, 32 running) [1,071 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 36s remote-cache, multiplex-worker [1,071 / 1,073] 1 / 63 tests; Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 44s remote-cache, multiplex-worker INFO: From Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/server/IdentifiedUser.java:430: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return newRefLogIdent(new Date(), TimeZone.getDefault()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/account/externalids/ExternalIdFactory.java:326: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ java/com/google/gerrit/server/CommonConverters.java:33: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. result.date = new Timestamp(ident.getWhen().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/git/MergeUtil.java:787: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e2).log("Failed to set merge failure status for " + n.name()); ^ java/com/google/gerrit/server/git/MergeUtil.java:787: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atSevere().withCause(e2).log("Failed to set merge failure status for " + n.name()); ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean 'logger.atSevere().withCause(e2).log("Failed to set merge failure status for %s", n.name());'? java/com/google/gerrit/server/PatchSetUtil.java:109: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. .createdOn(new Timestamp(update.getWhen().getTime())) ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/account/Emails.java:121: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. u.setDate(new Timestamp(who.getWhen().getTime())); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/query/account/InternalAccountQuery.java:85: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log(msg.toString()); ^ java/com/google/gerrit/server/query/account/AccountQueryBuilder.java:131: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ java/com/google/gerrit/server/submit/SubmitDryRun.java:155: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(errorMsg); ^ java/com/google/gerrit/server/update/BatchUpdate.java:758: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atFine().log(msg); ^ java/com/google/gerrit/server/git/validators/CommitValidators.java:451: warning: [FloggerArgumentToString] Use Flogger's printf-style formatting instead of explicitly converting arguments to strings logger.atWarning().withCause(e).log( ^ (see https://errorprone.info/bugpattern/FloggerArgumentToString) Did you mean '"Failed to validate file count for commit: %s", receiveEvent.commit);'? java/com/google/gerrit/server/git/validators/CommitValidators.java:790: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().withCause(e).log(m); ^ java/com/google/gerrit/server/git/validators/CommitValidators.java:831: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().withCause(e).log(m); ^ java/com/google/gerrit/server/git/validators/CommitValidators.java:888: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(m); ^ java/com/google/gerrit/server/mail/send/ChangeEmail.java:193: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. setHeader(FieldName.DATE, new Date(timestamp.getTime())); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/mail/send/OutgoingEmail.java:321: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. setHeader(FieldName.DATE, new Date()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/patch/AutoMerger.java:148: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atInfo().log("Computing in-memory AutoMerge for " + merge.name()); ^ java/com/google/gerrit/server/patch/AutoMerger.java:148: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atInfo().log("Computing in-memory AutoMerge for " + merge.name()); ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean 'logger.atInfo().log("Computing in-memory AutoMerge for %s", merge.name());'? java/com/google/gerrit/server/rules/PrologRuleEvaluator.java:325: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(err); ^ java/com/google/gerrit/server/rules/PrologRuleEvaluator.java:404: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(err); ^ java/com/google/gerrit/server/config/ConfigUtil.java:148: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log(ex.getMessage()); ^ java/com/google/gerrit/server/LibModuleLoader.java:91: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ java/com/google/gerrit/server/account/AccountsUpdate.java:335: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. new Timestamp(committerIdent.getWhen().getTime())); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/git/WorkQueue.java:507: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. this.startTime = new Date(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/group/db/AuditLogReader.java:169: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. new Timestamp(c.getAuthorIdent().getWhen().getTime()), ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/account/externalids/ExternalIdCaseSensitivityMigrator.java:130: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(e.getMessage()); ^ java/com/google/gerrit/server/account/externalids/ExternalIdCaseSensitivityMigrator.java:134: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(e.getMessage()); ^ java/com/google/gerrit/server/approval/RecursiveApprovalCopier.java:255: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(e.getMessage()); ^ java/com/google/gerrit/server/args4j/AccountIdHandler.java:94: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ java/com/google/gerrit/server/args4j/TimestampHandler.java:48: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. setter.addValue(new Timestamp(fmt.parse(timestamp).getTime())); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/change/AbandonUtil.java:102: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg.toString()); ^ java/com/google/gerrit/server/config/DownloadConfig.java:63: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log("not a core download scheme: " + s); ^ java/com/google/gerrit/server/config/DownloadConfig.java:63: warning: [FloggerStringConcatenation] Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation logger.atWarning().log("not a core download scheme: " + s); ^ (see https://errorprone.info/bugpattern/FloggerStringConcatenation) Did you mean 'logger.atWarning().log("not a core download scheme: %s", s);'? java/com/google/gerrit/server/edit/tree/ChangeFileContentModification.java:101: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(message); ^ java/com/google/gerrit/server/git/BanCommit.java:158: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. Date now = new Date(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/git/GarbageCollection.java:139: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atInfo().log(b.toString()); ^ java/com/google/gerrit/server/git/GarbageCollection.java:179: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(b.toString()); ^ java/com/google/gerrit/server/git/LocalDiskRepositoryManager.java:321: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log(e.getMessage()); ^ java/com/google/gerrit/server/git/validators/RefOperationValidators.java:111: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(header); ^ java/com/google/gerrit/server/group/db/GroupsNoteDbConsistencyChecker.java:290: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().log(p.message); ^ java/com/google/gerrit/server/group/db/GroupsNoteDbConsistencyChecker.java:292: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(p.message); ^ java/com/google/gerrit/server/index/change/AllChangesIndexer.java:143: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(e.getMessage()); ^ java/com/google/gerrit/server/index/change/AllChangesIndexer.java:184: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(e.getMessage()); ^ java/com/google/gerrit/server/index/change/AllChangesIndexer.java:264: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atWarning().withCause(e).log(error); ^ java/com/google/gerrit/server/mail/send/SmtpEmailSender.java:284: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. Date expiry = new Date(TimeUtil.nowMs() + expiryDays * 24 * 60 * 60 * 1000L); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/notedb/ChangeNotesParser.java:1223: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return new Timestamp(commit.getCommitterIdent().getWhen().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/notedb/CommitRewriter.java:577: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. && newIdent.getWhen().getTime() == originalIdent.getWhen().getTime() ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/notedb/CommitRewriter.java:577: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. && newIdent.getWhen().getTime() == originalIdent.getWhen().getTime() ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/notedb/DeleteZombieCommentsRefs.java:144: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atInfo().log(message); ^ java/com/google/gerrit/server/plugins/JarPluginProvider.java:108: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return PLUGIN_TMP_PREFIX + name + "_" + fmt.format(new Date()) + "_"; ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/project/ProjectCreator.java:140: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ java/com/google/gerrit/server/query/change/AfterPredicate.java:42: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return new Date(Long.MAX_VALUE); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/query/change/AfterPredicate.java:51: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return valueTimestamp.getTime() >= cut.getTime(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/query/change/BeforePredicate.java:37: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return new Date(0); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/query/change/BeforePredicate.java:51: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. return valueTimestamp.getTime() <= cut.getTime(); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/securestore/SecureStoreProvider.java:60: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(e).log(msg); ^ java/com/google/gerrit/server/submit/SubmitStrategyOp.java:289: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().withCause(err).log(msg); ^ java/com/google/gerrit/server/submit/SubmitStrategyFactory.java:93: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(errorMsg); ^ java/com/google/gerrit/server/submit/LocalMergeSuperSetComputation.java:283: warning: [FloggerLogString] Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead. logger.atSevere().log(msg); ^ [1,073 / 1,105] 1 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/restapi:restapi; 11s remote-cache, linux-sandbox ... (64 actions running) [1,073 / 1,105] 1 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/restapi:restapi; 35s remote-cache, linux-sandbox ... (64 actions running) [1,073 / 1,105] 1 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/restapi:restapi; 50s remote-cache, linux-sandbox ... (64 actions running) [1,077 / 1,109] 5 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/restapi:restapi; 66s remote-cache, linux-sandbox ... (64 actions running) [1,078 / 1,110] 6 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/restapi:restapi; 86s remote-cache, linux-sandbox ... (64 actions running) [1,082 / 1,114] 10 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:PutCodeOwnerProjectConfigIT; 108s remote-cache, linux-sandbox ... (64 actions running) [1,087 / 1,119] 15 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config; 134s remote-cache, linux-sandbox ... (64 actions running) [1,091 / 1,123] 19 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config; 163s remote-cache, linux-sandbox ... (64 actions running) [1,100 / 1,132] 28 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config; 197s remote-cache, linux-sandbox ... (64 actions running) [1,108 / 1,135] 36 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config; 236s remote-cache, linux-sandbox ... (54 actions running) [1,121 / 1,135] 49 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config; 280s remote-cache, linux-sandbox ... (28 actions running) [1,127 / 1,135] 55 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config; 332s remote-cache, linux-sandbox ... (16 actions running) [1,130 / 1,135] 58 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:OnCodeOwnerOverrrideIT; 391s remote-cache, linux-sandbox ... (10 actions running) [1,134 / 1,135] 62 / 63 tests; Testing //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:OnCodeOwnerApprovalIT; 293s remote-cache, linux-sandbox INFO: Elapsed time: 547.402s, Critical Path: 480.00s INFO: 541 processes: 251 internal, 137 linux-sandbox, 153 worker. INFO: Build completed successfully, 541 total actions //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CheckCodeOwnerConfigFilesIT PASSED in 310.8s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CheckCodeOwnerConfigFilesInRevisionIT PASSED in 279.4s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CheckCodeOwnerIT PASSED in 247.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnerConfigValidatorErrorHandlingIT PASSED in 298.4s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnerConfigValidatorIT PASSED in 408.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnerConfigValidatorOnSubmitIT PASSED in 307.2s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnerHasOperandsIT PASSED in 254.1s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnerSubmitRuleIT PASSED in 365.6s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnersOnAddReviewerIT PASSED in 181.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:CodeOwnersPluginConfigValidatorIT PASSED in 251.8s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnerBranchConfigIT PASSED in 117.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnerConfigFilesIT PASSED in 171.6s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnerConfigForPathInBranchIT PASSED in 53.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnerProjectConfigIT PASSED in 103.1s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnerStatusIT PASSED in 272.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnersForPathInBranchIT PASSED in 233.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetCodeOwnersForPathInChangeIT PASSED in 421.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:GetOwnedPathsIT PASSED in 276.7s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:NotImplementedIT PASSED in 53.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:OnCodeOwnerApprovalIT PASSED in 319.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:OnCodeOwnerOverrrideIT PASSED in 391.4s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:PutCodeOwnerProjectConfigIT PASSED in 111.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/api:RenameEmailIT PASSED in 104.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/batch:acceptance_batch PASSED in 85.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/restapi:acceptance_restapi PASSED in 289.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/acceptance/testsuite:code_owners_testsuite PASSED in 116.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:ChangedFileTest PASSED in 67.8s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:ChangedFilesTest PASSED in 155.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerApprovalCheckForAccountTest PASSED in 75.6s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerApprovalCheckTest PASSED in 396.7s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerApprovalCheckWithAllUsersAsFallbackCodeOwnersTest PASSED in 145.7s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerApprovalCheckWithProjectOwnersAsFallbackCodeOwnersTest PASSED in 219.8s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerApprovalCheckWithSelfApprovalsIgnoredTest PASSED in 167.1s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerBackendIdTest PASSED in 32.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerConfigFileTest PASSED in 50.4s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerConfigFileUpdateScannerTest PASSED in 70.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerConfigHierarchyTest PASSED in 68.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerConfigReferenceTest PASSED in 47.1s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerConfigScannerTest PASSED in 134.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerConfigTest PASSED in 45.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerResolverResultTest PASSED in 44.6s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerResolverTest PASSED in 93.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerScoreTest PASSED in 38.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerScoringTest PASSED in 49.4s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerScoringsTest PASSED in 58.0s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerSetModificationTest PASSED in 73.4s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerSetTest PASSED in 61.6s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnerSubmitRuleTest PASSED in 125.6s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnersExceptionHookTest PASSED in 66.1s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnersTest PASSED in 50.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:CodeOwnersUpdateTest PASSED in 46.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:FindOwnersGlobMatcherTest PASSED in 48.8s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:GlobMatcherTest PASSED in 56.3s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:PathCodeOwnersResultTest PASSED in 56.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:PathCodeOwnersTest PASSED in 101.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:SimplePathExpressionMatcherTest PASSED in 40.9s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend:UnresolvedImportTest PASSED in 52.5s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/config:config PASSED in 337.7s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/findowners:findowners_backend PASSED in 117.2s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/backend/proto:proto_backend PASSED in 85.7s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/restapi:restapi PASSED in 93.2s //plugins/code-owners/javatests/com/google/gerrit/plugins/codeowners/util:util PASSED in 55.9s //tools/bzl:always_pass_test PASSED in 0.1s Executed 63 out of 63 tests: 63 tests pass. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. INFO: Build completed successfully, 541 total actions Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Jun 05, 2023 7:31:34 AM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [plugin-code-owners-bazel-stable-3.5] $ /bin/bash -e /tmp/jenkins5887852124442701319.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2302 0 2302 0 0 43433 0 --:--:-- --:--:-- --:--:-- 43433 Archiving artifacts Finished: SUCCESS