Started by user ha:////4LhIf0vdZMLFequGTVnN1cMcIypvsThRPBC5Va3yiaavAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4J+E4TI7cOJHVzm0EmFp1ewOdMlDUx06wW9VUlETAUr1AAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz5EgY5/eT83ILSktQi/ZT85OzUIl0Dgywjg6zckrxy4yQLAGrFlvfTAAAAdocker-00j20jmtnw3b8 on gcloud1 (sbt) in workspace /home/jenkins/workspace/plugin-analytics-sbt-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-analytics-sbt-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/analytics # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/analytics 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/analytics +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 680948fb2b310f46b54adb30889eb63535da347d (origin/stable-3.5) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 680948fb2b310f46b54adb30889eb63535da347d # timeout=10 Commit message: "Set Gerrit to v3.5.0-rc2" > /usr/bin/git rev-list --no-walk 680948fb2b310f46b54adb30889eb63535da347d # timeout=10 [plugin-analytics-sbt-stable-3.5] $ /bin/bash -e /tmp/jenkins1148287734770564533.sh [plugin-analytics-sbt-stable-3.5] $ /bin/bash -e /tmp/jenkins4644235726507218089.sh Java set to: /usr/lib/jvm/java-11-openjdk-amd64/bin/java openjdk full version "11.0.12+7-post-Debian-2deb10u1" 2023/06/02 00:11:44 Downloading https://releases.bazel.build/6.2.0/release/bazel-6.2.0-linux-x86_64... Bazelisk version: v1.7.4 WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). Extracting Bazel installation... Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Build label: 6.2.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue May 9 18:33:08 2023 (1683657188) Build timestamp: 1683657188 Build timestamp as int: 1683657188 Previous HEAD position was 680948fb2b Set Gerrit to v3.5.0-rc2 Switched to a new branch 'gerrit-master' Branch 'gerrit-master' 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-analytics-sbt-stable-3.5/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-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' 2023/06/02 00:12:25 Downloading https://releases.bazel.build/5.3.1/release/bazel-5.3.1-linux-x86_64... Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 54b694d8-b0df-4299-9431-03b69d9ba422 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-analytics-sbt-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 Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //:api (1 packages loaded, 0 targets configured) Analyzing: target //:api (7 packages loaded, 5 targets configured) Analyzing: target //:api (7 packages loaded, 5 targets configured) Analyzing: target //:api (7 packages loaded, 5 targets configured) Analyzing: target //:api (7 packages loaded, 5 targets configured) Analyzing: target //:api (7 packages loaded, 5 targets configured) Analyzing: target //:api (7 packages loaded, 5 targets configured) Analyzing: target //:api (96 packages loaded, 8 targets configured) Analyzing: target //:api (272 packages loaded, 4318 targets configured) Analyzing: target //:api (296 packages loaded, 5566 targets configured) Analyzing: target //:api (296 packages loaded, 5566 targets configured) INFO: Analyzed target //:api (297 packages loaded, 6150 targets configured). INFO: Found 1 target... [0 / 12] [Prepa] BazelWorkspaceStatusAction stable-status.txt [36 / 531] Compiling src/google/protobuf/stubs/strutil.cc; 9s remote-cache, linux-sandbox ... (63 actions, 62 running) [60 / 531] Compiling src/google/protobuf/extension_set.cc; 23s remote-cache, linux-sandbox ... (64 actions running) [88 / 531] Compiling src/google/protobuf/compiler/js/js_generator.cc; 32s remote-cache, linux-sandbox ... (64 actions running) [120 / 531] Compiling src/google/protobuf/compiler/js/js_generator.cc; 50s remote-cache, linux-sandbox ... (64 actions running) [187 / 712] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc; 31s remote-cache, linux-sandbox ... (64 actions running) [340 / 712] Compiling src/google/protobuf/compiler/php/php_generator.cc [for host]; 15s remote-cache, linux-sandbox ... (64 actions 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) [580 / 751] Building java/com/google/gerrit/server/cancellation/libcancellation.jar (3 source files); 9s remote-cache ... (28 actions, 20 running) [598 / 751] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (907 source files); 33s remote-cache, multiplex-worker 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/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()); ^ 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/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) 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/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); ^ [708 / 751] Building java/com/google/gerrit/server/libserver-class.jar (1116 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 17s remote-cache, multiplex-worker ... (33 actions, 23 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); ^ 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); ^ 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/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/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/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/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()); ^ 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) 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); ^ [744 / 751] [Prepa] Building Java resource jar Target //:api up-to-date: bazel-bin/api.zip INFO: Elapsed time: 373.079s, Critical Path: 183.47s INFO: 751 processes: 41 internal, 618 linux-sandbox, 92 worker. INFO: Build completed successfully, 751 total actions INFO: Build completed successfully, 751 total actions INFO: Invocation ID: 0ee58c70-7d96-4f8b-92c4-fe82212a57c0 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-analytics-sbt-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 Analyzing: target //tools/maven:gen_api_install (1 packages loaded, 0 targets configured) INFO: Analyzed target //tools/maven:gen_api_install (1 packages loaded, 1 target configured). INFO: Found 1 target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt Target //tools/maven:gen_api_install up-to-date: bazel-bin/tools/maven/api_install.sh INFO: Elapsed time: 1.652s, Critical Path: 0.81s INFO: 2 processes: 1 internal, 1 linux-sandbox. INFO: Build completed successfully, 2 total actions INFO: Build completed successfully, 2 total actions WARNING: Option 'java_toolchain' is deprecated INFO: Invocation ID: 2f38bad1-110e-40d1-8d4c-d7e9cf7a4495 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-analytics-sbt-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 INFO: Build option --java_toolchain has changed, discarding analysis cache. Analyzing: 9 targets (0 packages loaded, 0 targets configured) INFO: Analyzed 9 targets (0 packages loaded, 6149 targets configured). INFO: Found 9 targets... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Elapsed time: 1.759s, Critical Path: 0.87s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action INFO: Build completed successfully, 1 total action 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 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 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Version: 3.5.7-SNAPSHOT warning: unable to rmdir 'modules/jgit': Directory not empty warning: unable to rmdir 'plugins/codemirror-editor': Directory not empty warning: unable to rmdir 'plugins/commit-message-length-validator': Directory not empty warning: unable to rmdir 'plugins/delete-project': Directory not empty warning: unable to rmdir 'plugins/download-commands': Directory not empty warning: unable to rmdir 'plugins/gitiles': Directory not empty warning: unable to rmdir 'plugins/hooks': Directory not empty warning: unable to rmdir 'plugins/plugin-manager': Directory not empty warning: unable to rmdir 'plugins/replication': Directory not empty warning: unable to rmdir 'plugins/reviewnotes': Directory not empty warning: unable to rmdir 'plugins/singleusergroup': Directory not empty warning: unable to rmdir 'plugins/webhooks': Directory not empty warning: unable to rmdir 'polymer-bridges': Directory not empty Note: switching to 'origin/stable-3.5'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 680948fb2b Set Gerrit to v3.5.0-rc2 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 copying runtime jar... Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [info] [launcher] getting org.scala-sbt sbt 1.2.3 (this may take some time)... [info] [launcher] getting Scala 2.12.6 (for sbt)... [info] Loading settings for project plugin-analytics-sbt-stable-3-5-build from plugins.sbt ... [info] Loading project definition from /home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/project [warn] There may be incompatibilities among your library dependencies. [warn] Run 'evicted' to see detailed eviction warnings [info] Loading settings for project root from build.sbt ... [info] Set current project to analytics (in build file:/home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/) [info] Executing in batch mode. For better performance use sbt's shell [info] Updating ... [info] Done updating. [info] Compiling 23 Scala sources to /home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/target/scala-2.11/classes ... [info] Non-compiled module 'compiler-bridge_2.11' for Scala 2.11.12. Compiling... [info] Compilation completed in 49.97s. [warn] there were four feature warnings; re-run with -feature for details [warn] one warning found [info] Done compiling. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/home/jenkins/.sbt/boot/scala-2.12.6/org.scala-sbt/sbt/1.2.3/protobuf-java-3.3.1.jar) to field java.nio.Buffer.address WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [success] Total time: 75 s, completed Jun 2, 2023, 12:24:18 AM [info] Compiling 16 Scala sources to /home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/target/scala-2.11/test-classes ... [info] Done compiling. log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Auto-configured "receive.autogc = false" to disable auto-gc after git-receive-pack. Initialized /tmp/junit3626908128689159184/junit6977321965856220814 Jun 02, 2023 12:24:36 AM com.google.gerrit.server.git.SystemReaderInstaller start INFO: Set JGit's SystemReader to read system config from /tmp/junit3626908128689159184/junit6977321965856220814/etc/jgit.config Jun 02, 2023 12:24:36 AM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 256m Jun 02, 2023 12:24:37 AM com.google.gerrit.server.cache.PersistentCacheBaseFactory getCacheDir INFO: Enabling disk cache /tmp/junit3626908128689159184/junit6977321965856220814/cache Jun 02, 2023 12:24:37 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jun 02, 2023 12:24:37 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jun 02, 2023 12:24:38 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jun 02, 2023 12:24:38 AM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jun 02, 2023 12:24:38 AM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/junit3626908128689159184/junit6977321965856220814/plugins Reindexed 0 documents in accounts index in 0.0s (0.0/s) Index accounts in version 11 is ready Warning: InterruptedException java.lang.InterruptedException at java.base/java.lang.Object.wait(Native Method) at java.base/java.lang.Thread.join(Thread.java:1308) at org.h2.util.MathUtils.getSecureRandom(MathUtils.java:105) at org.h2.util.MathUtils.secureRandomBytes(MathUtils.java:307) at org.h2.store.FileLock.setUniqueId(FileLock.java:315) at org.h2.store.FileLock.lockFile(FileLock.java:345) at org.h2.store.FileLock.lock(FileLock.java:136) at org.h2.engine.Database.open(Database.java:622) at org.h2.engine.Database.openDatabase(Database.java:260) at org.h2.engine.Database.(Database.java:254) at org.h2.engine.Engine.openSession(Engine.java:57) at org.h2.engine.Engine.openSession(Engine.java:164) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142) at org.h2.engine.Engine.createSession(Engine.java:125) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:331) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:107) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:91) at org.h2.Driver.connect(Driver.java:74) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlHandle.(H2CacheImpl.java:743) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore.acquire(H2CacheImpl.java:711) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore.buildBloomFilter(H2CacheImpl.java:429) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore.open(H2CacheImpl.java:401) at com.google.gerrit.server.cache.h2.H2CacheImpl.start(H2CacheImpl.java:218) at com.google.gerrit.server.logging.LoggingContextAwareRunnable.run(LoggingContextAwareRunnable.java:113) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Jun 02, 2023 12:24:39 AM com.google.gerrit.server.cache.h2.H2CacheFactory stop INFO: Finishing 14 disk cache updates Jun 02, 2023 12:24:40 AM com.google.gerrit.server.git.SystemReaderInstaller start INFO: Set JGit's SystemReader to read system config from /tmp/junit3626908128689159184/junit6977321965856220814/etc/jgit.config Jun 02, 2023 12:24:40 AM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 256m Jun 02, 2023 12:24:40 AM com.google.gerrit.server.cache.PersistentCacheBaseFactory getCacheDir INFO: Enabling disk cache /tmp/junit3626908128689159184/junit6977321965856220814/cache Jun 02, 2023 12:24:40 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jun 02, 2023 12:24:40 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jun 02, 2023 12:24:40 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jun 02, 2023 12:24:40 AM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jun 02, 2023 12:24:40 AM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/junit3626908128689159184/junit6977321965856220814/plugins Collecting projects: 1 Collecting projects: 2 Reindexing changes: project-slices: 100% (2/2), done Reindexed 0 documents in changes index in 0.0s (0.0/s) Index changes in version 71 is ready Jun 02, 2023 12:24:40 AM com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore buildBloomFilter WARNING: Cannot build BloomFilter for jdbc:h2:file:///tmp/junit3626908128689159184/junit6977321965856220814/cache/persisted_projects: Error opening database: "Sleep interrupted" [8000-176] Jun 02, 2023 12:24:40 AM com.google.gerrit.server.cache.h2.H2CacheFactory stop INFO: Finishing 13 disk cache updates Jun 02, 2023 12:24:41 AM com.google.gerrit.server.git.SystemReaderInstaller start INFO: Set JGit's SystemReader to read system config from /tmp/junit3626908128689159184/junit6977321965856220814/etc/jgit.config Jun 02, 2023 12:24:41 AM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 256m Jun 02, 2023 12:24:41 AM com.google.gerrit.server.cache.PersistentCacheBaseFactory getCacheDir INFO: Enabling disk cache /tmp/junit3626908128689159184/junit6977321965856220814/cache Jun 02, 2023 12:24:41 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jun 02, 2023 12:24:41 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jun 02, 2023 12:24:41 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jun 02, 2023 12:24:41 AM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jun 02, 2023 12:24:41 AM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/junit3626908128689159184/junit6977321965856220814/plugins Reindexing groups: 50% (1/2) Reindexing groups: 100% (2/2) Reindexing groups: 100% (2/2) Reindexed 2 documents in groups index in 0.1s (16.1/s) Index groups in version 8 is ready Jun 02, 2023 12:24:44 AM com.google.gerrit.server.cache.h2.H2CacheFactory stop INFO: Finishing 15 disk cache updates Jun 02, 2023 12:24:45 AM com.google.gerrit.server.git.SystemReaderInstaller start INFO: Set JGit's SystemReader to read system config from /tmp/junit3626908128689159184/junit6977321965856220814/etc/jgit.config Jun 02, 2023 12:24:45 AM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 256m Jun 02, 2023 12:24:45 AM com.google.gerrit.server.cache.PersistentCacheBaseFactory getCacheDir INFO: Enabling disk cache /tmp/junit3626908128689159184/junit6977321965856220814/cache Jun 02, 2023 12:24:45 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jun 02, 2023 12:24:45 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jun 02, 2023 12:24:45 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jun 02, 2023 12:24:45 AM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jun 02, 2023 12:24:45 AM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/junit3626908128689159184/junit6977321965856220814/plugins Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.1s (17.7/s) Index projects in version 4 is ready Jun 02, 2023 12:24:45 AM com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore buildBloomFilter WARNING: Cannot build BloomFilter for jdbc:h2:file:///tmp/junit3626908128689159184/junit6977321965856220814/cache/diff_intraline: Error opening database: "Sleep interrupted" [8000-176] Jun 02, 2023 12:24:45 AM com.google.gerrit.server.cache.h2.H2CacheFactory stop INFO: Finishing 13 disk cache updates Jun 02, 2023 12:24:46 AM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject WARNING: AssistedInject factory com.google.gerrit.server.api.changes.ChangeApiImpl$Factory will be slow because class com.google.gerrit.server.api.changes.ChangeApiImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.google.gerrit.server.api.changes.ChangeApiImpl.()[51]] Jun 02, 2023 12:24:48 AM com.google.gerrit.server.cache.PersistentCacheBaseFactory getCacheDir INFO: Enabling disk cache /tmp/junit3626908128689159184/junit6977321965856220814/cache Jun 02, 2023 12:24:49 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jun 02, 2023 12:24:49 AM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jun 02, 2023 12:24:49 AM com.google.gerrit.server.documentation.QueryDocumentationExecutor readIndexDirectory WARNING: No index available Jun 02, 2023 12:24:49 AM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jun 02, 2023 12:24:49 AM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "gc". Jun 02, 2023 12:24:49 AM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "changeCleanup". Jun 02, 2023 12:24:49 AM com.google.gerrit.server.config.GitwebCgiConfig WARNING: gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) Jun 02, 2023 12:24:50 AM com.google.gerrit.server.git.SystemReaderInstaller start INFO: Set JGit's SystemReader to read system config from /tmp/junit3626908128689159184/junit6977321965856220814/etc/jgit.config Jun 02, 2023 12:24:50 AM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 256m Jun 02, 2023 12:24:50 AM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/junit3626908128689159184/junit6977321965856220814/plugins Jun 02, 2023 12:24:50 AM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "accountDeactivation". Jun 02, 2023 12:24:50 AM com.google.gerrit.pgm.Daemon run INFO: Gerrit Code Review [headless] (dev) ready Gerrit Server Started [info] CommitStatisticsSpec: [info] CommitStatistics [info] - should stats a single file added [info] - should sum to another compatible CommitStatistics generating an aggregated stat [info] - should fail if trying to be added to a CommitStatistics object for a different isMerge value [info] - should stats multiple files added [info] - should stats lines eliminated [info] - should stats a Seq[RevCommit] [info] - should return zero value stats if the commit does not include any file [info] - should split merge commits and non-merge commits [info] BranchesExtractorSpec: [info] branchesOfCommit [info] - should extract one branch for a commit existing only in one branch [info] - should extract two branches for a commit existing in two different branches [info] BotLikeExtractorImplSpec: [info] isBotLike [info] - should return true when all files match bot-like identifiers [info] - should return false when at least one file does not match bot-like identifiers [info] - should return false when no bot-like identifiers have been provided [info] ContributorsServiceSpec: [info] ContributorsService [info] - should get commit statistics [info] AggregatedHistogramFilterByDatesSpec: [info] Author history filter [info] - should select one commit without intervals restriction [info] - should select only the second of two commits based on the start timestamp [info] - should select only the first of two commits based on the end timestamp [info] - should select only one middle commit out of three based on interval from/to timestamp [info] - should aggregate commits of the same user separately when they are in different branches and branchesExtractor is set [info] UserActivitySummarySpec: [info] numCommits [info] - should count only comments filtered by their merge status [info] UserActivityHistogramSpec: [info] UserActivityHistogram [info] - should return no activities [info] - should aggregate to one activity [info] CommitStatisticsCommentLinkSpec: [info] - should collect no commentslink if no matching [info] - should collect simple bugzilla comments [info] - should collect simple track link [info] - should collect multiple links [info] IgnoreFileSuffixFilterSpec: [info] IgnoreFileSuffixFilter [info] - should include a file with suffix not listed in configuration [info] - should not include a file with suffix listed in configuration [info] CommitInfoSpec: [info] CommitInfo [info] - should be serialised as JSON correctly [info] AggregationSpec: [info] AggregatedHistogramFilter by email and year [info] - should aggregate two commits from the same author the same year [info] - should keep as separate rows activity from the same author on two different year [info] - should keep as separate rows activity from two different authors on the same year [info] AggregatedHistogramFilter by email and month [info] - should aggregate two commits from the same author the same month [info] - should keep as separate rows activity from the same author on two different months [info] - should keep as separate rows activity from two different authors on the same month [info] AggregatedHistogramFilter by email and day [info] - should aggregate two commits of the same author the same day [info] - should keep as separate rows activity from the same author on two different days [info] - should keep as separate rows activity from two different authors on the same day [info] AggregatedHistogramFilter by email and hour [info] - should aggregate two commits of the same author on the same hour [info] - should keep separate commits from the same author on different hours [info] - should keep separate commits from different authors on the same hour [info] Run completed in 28 seconds, 795 milliseconds. [info] Total number of tests run: 41 [info] Suites: completed 11, aborted 0 [info] Tests: succeeded 41, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. [success] Total time: 40 s, completed Jun 2, 2023, 12:24:58 AM [info] CommitInfoSpec: [info] CommitInfo [info] - should be serialised as JSON correctly log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Auto-configured "receive.autogc = false" to disable auto-gc after git-receive-pack. Initialized /tmp/junit5387064741512608992/junit9705319832788321568 Reindexed 0 documents in accounts index in 0.0s (0.0/s) Index accounts in version 11 is ready Warning: InterruptedException java.lang.InterruptedException at java.base/java.lang.Object.wait(Native Method) at java.base/java.lang.Thread.join(Thread.java:1308) at org.h2.util.MathUtils.getSecureRandom(MathUtils.java:105) at org.h2.util.MathUtils.secureRandomBytes(MathUtils.java:307) at org.h2.store.FileLock.setUniqueId(FileLock.java:315) at org.h2.store.FileLock.lockFile(FileLock.java:345) at org.h2.store.FileLock.lock(FileLock.java:136) at org.h2.engine.Database.open(Database.java:622) at org.h2.engine.Database.openDatabase(Database.java:260) at org.h2.engine.Database.(Database.java:254) at org.h2.engine.Engine.openSession(Engine.java:57) at org.h2.engine.Engine.openSession(Engine.java:164) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142) at org.h2.engine.Engine.createSession(Engine.java:125) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:331) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:107) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:91) at org.h2.Driver.connect(Driver.java:74) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlHandle.(H2CacheImpl.java:743) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore.acquire(H2CacheImpl.java:711) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore.buildBloomFilter(H2CacheImpl.java:429) at com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore.open(H2CacheImpl.java:401) at com.google.gerrit.server.cache.h2.H2CacheImpl.start(H2CacheImpl.java:218) at com.google.gerrit.server.logging.LoggingContextAwareRunnable.run(LoggingContextAwareRunnable.java:113) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Collecting projects: 1 Collecting projects: 2 Reindexing changes: project-slices: 100% (2/2), done Reindexed 0 documents in changes index in 0.0s (0.0/s) Index changes in version 71 is ready Reindexing groups: 50% (1/2) Reindexing groups: 100% (2/2) Reindexing groups: 100% (2/2) Reindexed 2 documents in groups index in 3.0s (0.7/s) Index groups in version 8 is ready Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.1s (13.4/s) Index projects in version 4 is ready Jun 02, 2023 12:25:17 AM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject WARNING: AssistedInject factory com.google.gerrit.server.api.changes.ChangeApiImpl$Factory will be slow because class com.google.gerrit.server.api.changes.ChangeApiImpl has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.google.gerrit.server.api.changes.ChangeApiImpl.()[51]] INFO com.google.gerrit.server.cache.PersistentCacheBaseFactory : Enabling disk cache /tmp/junit5387064741512608992/junit9705319832788321568/cache INFO com.google.gerrit.server.git.WorkQueue : Adding metrics for 'WorkQueue' queue INFO com.google.gerrit.server.git.WorkQueue : Adding metrics for 'ReceiveCommits' queue WARN com.google.gerrit.server.documentation.QueryDocumentationExecutor : No index available INFO com.google.gerrit.server.rules.PrologEnvironment : reductionLimit: 100000, compileLimit: 1000000 INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "gc". INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "changeCleanup". [2023-06-02T00:25:20.433Z] [pool-87-thread-1] WARN com.google.gerrit.server.config.GitwebCgiConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) [2023-06-02T00:25:21.146Z] [pool-87-thread-1] INFO com.google.gerrit.server.git.SystemReaderInstaller : Set JGit's SystemReader to read system config from /tmp/junit5387064741512608992/junit9705319832788321568/etc/jgit.config [2023-06-02T00:25:21.148Z] [pool-87-thread-1] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 256m [2023-06-02T00:25:21.281Z] [pool-87-thread-1] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /tmp/junit5387064741512608992/junit9705319832788321568/plugins [2023-06-02T00:25:21.310Z] [pool-87-thread-1] INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "accountDeactivation". [2023-06-02T00:25:21.549Z] [pool-87-thread-1] INFO com.google.gerrit.pgm.Daemon : Gerrit Code Review [headless] (dev) ready Gerrit Server Started [info] AggregationSpec: [info] AggregatedHistogramFilter by email and year [info] - should aggregate two commits from the same author the same year [info] - should keep as separate rows activity from the same author on two different year [info] - should keep as separate rows activity from two different authors on the same year [info] AggregatedHistogramFilter by email and month [info] - should aggregate two commits from the same author the same month [info] - should keep as separate rows activity from the same author on two different months [info] - should keep as separate rows activity from two different authors on the same month [info] AggregatedHistogramFilter by email and day [info] - should aggregate two commits of the same author the same day [info] - should keep as separate rows activity from the same author on two different days [info] - should keep as separate rows activity from two different authors on the same day [info] AggregatedHistogramFilter by email and hour [info] - should aggregate two commits of the same author on the same hour [info] - should keep separate commits from the same author on different hours [info] - should keep separate commits from different authors on the same hour [info] IgnoreFileSuffixFilterSpec: [info] IgnoreFileSuffixFilter [info] - should include a file with suffix not listed in configuration [info] - should not include a file with suffix listed in configuration [info] AggregatedHistogramFilterByDatesSpec: [info] Author history filter [info] - should select one commit without intervals restriction [info] - should select only the second of two commits based on the start timestamp [info] - should select only the first of two commits based on the end timestamp [info] - should select only one middle commit out of three based on interval from/to timestamp [info] - should aggregate commits of the same user separately when they are in different branches and branchesExtractor is set [info] BotLikeExtractorImplSpec: [info] isBotLike [info] - should return true when all files match bot-like identifiers [info] - should return false when at least one file does not match bot-like identifiers [info] - should return false when no bot-like identifiers have been provided [info] BranchesExtractorSpec: [info] branchesOfCommit [info] - should extract one branch for a commit existing only in one branch [info] - should extract two branches for a commit existing in two different branches [info] UserActivitySummarySpec: [info] numCommits [info] - should count only comments filtered by their merge status [info] CommitStatisticsSpec: [info] CommitStatistics [info] - should stats a single file added [info] - should sum to another compatible CommitStatistics generating an aggregated stat [info] - should fail if trying to be added to a CommitStatistics object for a different isMerge value [info] - should stats multiple files added [info] - should stats lines eliminated [info] - should stats a Seq[RevCommit] [info] - should return zero value stats if the commit does not include any file [info] - should split merge commits and non-merge commits [info] ContributorsServiceSpec: [info] ContributorsService [info] - should get commit statistics [info] UserActivityHistogramSpec: [info] UserActivityHistogram [info] - should return no activities [info] - should aggregate to one activity [info] CommitStatisticsCommentLinkSpec: [info] - should collect no commentslink if no matching [info] - should collect simple bugzilla comments [info] - should collect simple track link [info] Run completed in 33 seconds, 452 milliseconds. [info] Total number of tests run: 41 [info] Suites: completed 11, aborted 0 [info] Tests: succeeded 41, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. [info] Strategy 'discard' was applied to 5 files (Run the task at debug level to see details) [info] Strategy 'rename' was applied to 2 files (Run the task at debug level to see details) [info] Packaging /home/jenkins/workspace/plugin-analytics-sbt-stable-3.5/target/scala-2.11/analytics.jar ... [info] Done packaging. [2023-06-02T00:25:38.960Z] [ShutdownCallback] INFO com.google.gerrit.pgm.Daemon : caught shutdown, cleaning up [success] Total time: 40 s, completed Jun 2, 2023, 12:25:38 AM Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Jun 02, 2023 12:25:40 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. % 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 2192 0 2192 0 0 18420 0 --:--:-- --:--:-- --:--:-- 18420 Archiving artifacts Finished: SUCCESS